1 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6 2012-05-02 Andreas Jaeger <aj@suse.de>
8 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9 since we manipulate rounding mode.
10 (CPPFLAGS-test-idouble.c): Likewise.
11 (CPPFLAGS-test-ifloat.c): Likewise.
12 (CFLAGS-test-ldouble.c): Likewise.
13 (CFLAGS-test-double.c): Likewise.
14 (CFLAGS-test-float.c): Likewise.
15 (CFLAGS-test-misc.c): Likewise.
16 (CFLAGS-test-test-fenv.c): Likewise.
18 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23 comparisons to determine direction to adjust input.
25 2012-05-01 Roland McGrath <roland@hack.frob.com>
27 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30 * scripts/localplt.awk: New file.
31 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32 (check-localplt-CFLAGS): Variable removed.
33 ($(all-built-dso:=.jmprel)): New static pattern rule.
34 (generated): Add those targets.
35 (localplt-built-dso): New variable.
36 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38 * elf/check-localplt.c: File removed.
40 * scripts/check-execstack.awk: New file.
41 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42 (check-execstack-CFLAGS): Variable removed.
43 ($(objpfx)check-execstack.h): Target removed.
44 ($(objpfx)execstack-default): New target.
45 (generated): Add that instead of check-execstack.h.
46 ($(all-built-dso:=.phdr)): New static pattern rule.
47 (generated): Add those targets.
48 * elf/check-execstack.c: File removed.
50 * scripts/check-textrel.awk: New file.
51 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52 (check-textrel-CFLAGS): Variable removed.
53 (all-built-dso): Use := to define.o
54 ($(all-built-dso:=.dyn)): New static pattern rule.
55 (generated): Add those targets.
56 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
57 * config.make.in (READELF): New substituted variable.
58 * elf/check-textrel.c: File removed.
60 2012-05-01 Joseph Myers <joseph@codesourcery.com>
62 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64 * conform/data/ctype.h-data [C99-based standards] (isblank):
66 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70 Specify type. Require positive value.
73 [ISO || POSIX] (EILSEQ): Do not expect.
74 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
75 Specify type. Require positive value.
76 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
77 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
78 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
79 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
80 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
81 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
82 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
84 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
85 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
86 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
87 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
88 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
89 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
90 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
91 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
92 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
93 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
94 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
95 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
96 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
97 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
98 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
99 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
100 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
101 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
102 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
103 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
104 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
105 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
106 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
107 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
108 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
109 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
110 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
111 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
112 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
113 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
114 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
115 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
116 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
117 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
118 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
119 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
120 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
121 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
122 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
123 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
124 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
125 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
126 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
127 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
128 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
129 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
130 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
131 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
132 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
133 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
134 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
135 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
136 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
137 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
138 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
139 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
140 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
141 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
142 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
143 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
144 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
145 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
146 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
147 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
148 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
149 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
150 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
151 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
152 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
154 (FLT_ROUNDS): Expect as macro, not constant.
155 (FLT_MANT_DIG): Use macro-int-constant.
156 (DBL_MANT_DIG): Likewise.
157 (LDBL_MANT_DIG): Likewise.
160 (LDBL_DIG): Likewise.
161 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
162 (DBL_MIN_EXP): Likewise.
163 (LDBL_MIN_EXP): Likewise.
164 (FLT_MAX_EXP): Use macro-int-constant.
165 (DBL_MAX_EXP): Likewise.
166 (LDBL_MAX_EXP): Likewise.
167 (FLT_MAX_10_EXP): Likewise.
168 (DBL_MAX_10_EXP): Likewise.
169 (LDBL_MAX_10_EXP): Likewise.
170 (FLT_MAX): Use macro-constant.
172 (LDBL_MAX): Likewise.
173 (FLT_EPSILON): Use macro-constant. Give upper bound.
174 (DBL_EPSILON): Likewise.
175 (LDBL_EPSILON): Likewise.
178 (LDBL_MIN): Likewise.
179 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
180 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
181 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
182 [ISO11] (FLT_HAS_SUBNORM): Likewise.
183 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
184 [ISO11] (DBL_DECIMAL_DIG): Likewise.
185 [ISO11] (FLT_DECIMAL_DIG): Likewise.
186 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
187 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
188 [ISO11] (FLT_TRUE_MIN): Likewise.
189 [ISO11] (LDBL_TRUE_MIN): Likewise.
190 [ISO || ISO99 || ISO11] (*_t): Do not allow.
191 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
192 (SCHAR_MIN): Use macro-int-constant. Specify type.
193 (SCHAR_MAX): Likewise.
194 (UCHAR_MAX): Likewise.
195 (CHAR_MIN): Likewise.
196 (CHAR_MAX): Likewise.
197 (MB_LEN_MAX): Use macro-int-constant.
198 (SHRT_MIN): Use macro-int-constant. Specify type.
199 (SHRT_MAX): Likewise.
200 (USHRT_MAX): Likewise.
202 (INT_MIN): Use macro-int-constant. Specify type. Make upper
204 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
206 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
208 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
209 bound negative. Suffix upper bound with "L".
210 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
212 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
214 [C99-based standards] (LLONG_MAX): Likewise.
215 [C99-based standards] (ULLONG_MAX): Likewise.
216 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
218 [ISO11] (max_align_t): Require type.
219 [ISO || ISO99 || ISO11] (*_t): Do not allow.
221 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
222 from $CFLAGS, without defining away __attribute__ calls.
223 (checknamespace): Use $CFLAGS_namespace.
225 * conform/conformtest.pl (@keywords): Only include C99 keywords
226 for standards based on C99 or C11.
228 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
230 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
233 * conform/conformtest.pl: Handle "macro-int-constant" and test for
234 usability of symbols in #if.
236 * conform/conformtest.pl: If macro or constant types start
237 "promoted:", expect the symbol to be of the following type
238 promoted by the integer promotions.
240 * conform/conformtest.pl: Parse all "constant" and "macro" lines
241 in one place. Also handle "macro-constant".
243 * conform/conformtest.pl: Only accept expected macro values with
244 "==". Parse all "macro" lines in one place.
245 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
247 * conform/conformtest.pl: Handle braced types on "constant" lines
248 instead of handling "typed-constant".
249 * conform/data/signal.h-data: Use "constant" instead of
252 * conform/conformtest.pl: Handle "optional-" at start of lines in
253 one place rather than duplicating several cases. Handle each
254 format of "macro" line with initial "optional-".
256 * conform/conformtest.pl: Only accept expected constant or
257 optional-constant values with "==". Parse all "constant" lines in
258 one place. Parse all "optional-constant" lines in one place.
259 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
260 * conform/data/fmtmsg.h-data: Likewise.
261 * conform/data/netinet/in.h-data: Likewise.
262 * conform/data/tar.h-data: Likewise.
263 * conform/data/limits.h-data: Use "==" form on "constant" and
264 "optional-constant" lines.
266 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
267 Use -std=c99 for XOPEN2K.
268 (@knownproblems): Remove.
269 (newtoken): Don't check %isknown.
271 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
273 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
274 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
275 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
276 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
277 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
278 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
279 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
280 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
281 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
282 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
283 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
284 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
285 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
286 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
287 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
288 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
289 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
290 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
291 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
292 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
293 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
294 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
295 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
296 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
297 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
298 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
299 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
300 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
301 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
302 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
303 [XPG3] (acosh): Likewise.
304 [XPG3] (asinh): Likewise.
305 [XPG3] (atanh): Likewise.
306 [XPG3] (cbrt): Likewise.
307 [XPG3] (expm1): Likewise.
308 [XPG3] (ilogb): Likewise.
309 [XPG3] (log1p): Likewise.
310 [XPG3] (logb): Likewise.
311 [XPG3] (nextafter): Likewise.
312 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
313 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
314 [XPG3] (remainder): Likewise.
315 [XPG3] (rint): Likewise.
316 [XPG3 || XPG4 || UNIX98] (round): Likewise.
317 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
318 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
319 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
320 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
321 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
322 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
323 [UNIX98 || XOPEN2K] (scalb): Expect.
324 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
325 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
326 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
327 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
328 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
329 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
330 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
331 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
332 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
333 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
334 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
335 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
336 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
337 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
338 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
339 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
340 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
341 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
342 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
343 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
344 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
345 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
346 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
347 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
348 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
349 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
350 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
351 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
352 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
353 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
354 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
355 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
356 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
357 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
358 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
359 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
360 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
361 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
362 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
363 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
364 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
365 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
366 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
367 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
368 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
369 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
370 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
371 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
372 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
373 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
374 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
375 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
376 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
377 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
378 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
379 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
380 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
381 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
382 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
383 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
384 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
385 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
386 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
387 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
388 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
389 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
390 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
391 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
392 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
393 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
394 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
395 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
396 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
397 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
398 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
399 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
400 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
401 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
402 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
403 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
404 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
405 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
406 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
407 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
408 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
409 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
410 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
411 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
412 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
413 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
414 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
415 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
416 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
417 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
418 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
419 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
420 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
421 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
422 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
423 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
424 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
425 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
426 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
427 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
428 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
429 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
430 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
431 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
432 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
433 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
434 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
435 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
436 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
437 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
438 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
439 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
440 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
441 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
442 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
443 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
444 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
445 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
446 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
447 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
448 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
449 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
450 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
451 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
452 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
453 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
454 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
455 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
456 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
457 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
458 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
459 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
460 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
462 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
463 _XOPEN_SOURCE_EXTENDED for XPG4.
465 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
467 * Makeconfig (localtime): Remove variable.
468 (inst_localtime-file): Likewise.
470 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
491 2012-05-01 Joseph Myers <joseph@codesourcery.com>
495 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
496 comparisons to determine direction to adjust input.
497 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
498 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
499 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
501 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
503 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
505 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
506 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
508 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
510 * math/libm-test.inc (nexttoward_test): Add more tests.
512 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
515 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
516 in version GLIBC_2.1, not GLIBC_2.0.
517 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
520 2012-04-30 Joseph Myers <joseph@codesourcery.com>
523 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
525 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
526 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
527 * math/libm-test.inc (acos_test): Add more tests.
528 (asin_test): Likewise.
529 * sysdeps/i386/fpu/libm-test-ulps: Update.
530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
533 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
535 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
536 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
537 * math/libm-test.inc (acos_test_tonearest): New function.
538 (acos_test_towardzero): Likewise.
539 (acos_test_downward): Likewise.
540 (acos_test_upward): Likewise.
541 (asin_test_tonearest): Likewise.
542 (asin_test_towardzero): Likewise.
543 (asin_test_downward): Likewise.
544 (asin_test_upward): Likewise.
545 (main): Call the new functions.
546 * sysdeps/i386/fpu/libm-test-ulps: Update.
547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
551 * math/e_exp10.c: Include <float.h>.
552 (__ieee754_exp10): Handle underflow here rather than multiplying
553 large negative argument by M_LN10.
554 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
556 * math/e_exp10l.c: Include <float.h>.
557 (__ieee754_exp10l): Handle underflow here rather than multiplying
558 large negative argument by M_LN10l.
559 * math/libm-test.inc (exp10_test): Add another test. Do not allow
560 spurious overflow exception on underflow.
562 2012-04-29 Marek Polacek <polacek@redhat.com>
564 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
565 (__fortify_function): New macro.
566 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
567 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
568 __extern_always_inline.
569 * libio/bits/stdio2.h: Likewise.
570 * libio/bits/stdio.h: Likewise.
571 * string/string.h: Likewise.
572 * string/bits/string3.h: Likewise.
573 * include/stdio.h: Likewise.
574 * stdlib/bits/stdlib.h: Likewise.
575 * stdlib/stdlib.h: Likewise.
576 * rt/bits/mqueue2.h: Likewise.
577 * rt/mqueue.h: Likewise.
578 * posix/bits/unistd.h: Likewise.
579 * posix/unistd.h: Likewise.
580 * io/bits/poll2.h: Likewise.
581 * io/bits/fcntl2.h: Likewise.
582 * io/fcntl.h: Likewise.
583 * io/sys/poll.h: Likewise.
584 * misc/bits/syslog.h: Likewise.
585 * misc/bits/syslog-ldbl.h: Likewise.
586 * misc/sys/syslog.h: Likewise.
587 * socket/bits/socket2.h: Likewise.
588 * socket/sys/socket.h: Likewise.
589 * debug/tst-chk1.c: Likewise.
590 * wcsmbs/bits/wchar2.h: Likewise.
591 * wcsmbs/bits/wchar-ldbl.h: Likewise.
592 * wcsmbs/wchar.h: Likewise.
594 2012-04-29 Andreas Jaeger <aj@suse.de>
596 * Makerules (tests): Remove enable-check-abi protection.
597 (check-abi-warn): Remove.
598 (check-abi-%): Remove check-abi-warn usage.
600 * configure.in: Remove check-abi configure option.
601 * configure: Regenerated.
602 * config.make.in (enable-check-abi): Remove.
604 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
607 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
608 double functions to double *_finite functions.
611 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
612 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
614 * stdio-common/Makefile (tests): Add tst-sprintf3.
615 * stdio-common/tst-sprintf3.c: New file.
617 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
618 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
620 2012-04-28 Joseph Myers <joseph@codesourcery.com>
622 * conform/conformtest.pl: Remove duplicate typed-constant
625 2012-04-28 David S. Miller <davem@davemloft.net>
627 * Makerules (%.abilist): Add vpath on sysdep_dirs.
628 (check-abi-%): Remove AWK script prerequisite and explicit
630 (check-abi): Rewrite to just diff the symlist with the abilist.
631 (config-tls, config-abi-config): Delete, no longer used.
632 (update-abi-%): Remove AWK script and explicit abilist directory.
633 (update-abi): Rewrite to simply compare and conditionally copy the
634 symlist and the sysdep abilist file. Remove update-abi-config
636 * abilist/ld.abilist: Remove.
637 * abilist/libBrokenLocale.abilist: Remove.
638 * abilist/libanl.abilist: Remove.
639 * abilist/libcrypt.abilist: Remove.
640 * abilist/libdl.abilist: Remove.
641 * abilist/librt.abilist: Remove.
642 * abilist/libthread_db.abilist: Remove.
643 * abilist/libutil.abilist: Remove.
644 * scripts/extract-abilist.awk: Remove.
645 * scripts/merge-abilist.awk: Remove.
646 * sysdeps/generic/libcidn.abilist: New file.
647 * sysdeps/generic/libnss_compat.abilist: New file.
648 * sysdeps/generic/libnss_db.abilist: New file.
649 * sysdeps/generic/libnss_dns.abilist: New file.
650 * sysdeps/generic/libnss_files.abilist: New file.
651 * sysdeps/generic/libnss_hesiod.abilist: New file.
652 * sysdeps/generic/libnss_nis.abilist: New file.
653 * sysdeps/generic/libnss_nisplus.abilist: New file.
654 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
655 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
656 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
658 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
659 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
660 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
661 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
662 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
663 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
664 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
665 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
666 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
668 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
669 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
670 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
671 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
673 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
674 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
675 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
676 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
677 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
678 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
680 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
681 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
682 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
684 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
787 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
788 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
789 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
791 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
792 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
793 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
794 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
795 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
796 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
797 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
798 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
799 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
800 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
852 2012-04-28 Joseph Myers <joseph@codesourcery.com>
854 * conform/conformtest.pl: Fix typo in handling typed-constant from
857 2012-04-27 Joseph Myers <joseph@codesourcery.com>
859 * README: Cut down references to pre-2.6 Linux kernels and
860 Linuxthreads. Update lists of configurations in libc and ports
861 and sort alphabetically. Say "or newer" with Linux kernel version
864 * config.h.in [IS_IN_build]: Allow compiling without optimization.
866 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
869 * math/libm-test.inc (logb_test_downward): New test to expose
870 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
873 2012-04-27 Joseph Myers <joseph@codesourcery.com>
876 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
878 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
879 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
881 2012-04-26 Joseph Myers <joseph@codesourcery.com>
883 * sysdeps/unix/i386/brk.S: Remove file.
884 * sysdeps/unix/i386/dl-brk.S: Likewise.
885 * sysdeps/unix/i386/pipe.S: Likewise.
886 * sysdeps/unix/i386/sigreturn.S: Likewise.
887 * sysdeps/unix/i386/syscall.S: Likewise.
888 * sysdeps/unix/i386/vfork.S: Likewise.
889 * sysdeps/unix/i386/wait.S: Likewise.
891 * sysdeps/unix/common/tcsendbrk.c: Move to ...
892 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
894 * configure.in (arm*-none*): Do not allow without
895 --enable-hacker-mode.
896 (netbsd*): Remove case setting base_os.
898 (freebsd*): Likewise.
913 (solaris[2-9]*): Likewise.
915 * configure: Regenerated.
917 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
920 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
921 overflow or cancellation in calculating denominator.
922 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
923 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
924 down expression to avoid unexpected rounding in newer GCCs.
925 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
927 2012-04-26 David S. Miller <davem@davemloft.net>
929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
930 long-double compat symbols.
931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
945 2012-04-25 David S. Miller <davem@davemloft.net>
947 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
948 HWCAP_* values only after the memory barriers have been defined.
949 (atomic_full_barrier): Define.
950 (atomic_read_barrier): Define.
951 (atomic_write_barrier): Define.
953 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
955 * shlib-versions: Add libgcc_s version information.
956 * sysdeps/generic/libgcc_s.h: Remove.
957 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
959 * sysdeps/gnu/unwind-resume.c: Likewise.
960 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
962 2012-04-25 David S. Miller <davem@davemloft.net>
964 * sysdeps/unix/sparc/brk.S: Delete.
965 * sysdeps/unix/sparc/dl-brk.S: Delete.
966 * sysdeps/unix/sparc/pipe.S: Delete.
967 * sysdeps/unix/sparc/sysdep.S: Delete.
968 * sysdeps/unix/sparc/sysdep.h: Delete.
969 * sysdeps/unix/sparc/vfork.S: Delete.
970 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
971 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
972 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
973 ret_ERRVAL, r0, r1, MOVE): Define.
974 (JUMPTARGET): Remove.
975 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
976 sysdeps/unix/sparc/sysdep.h
977 (ENTRY, END): Remove.
978 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
980 2012-04-25 Joseph Myers <joseph@codesourcery.com>
982 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
983 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
986 * timezone/README: Update upstream location and email address for
988 * timezone/zdump.c: Update from tzcode 2012b.
989 * timezone/zic.c: Likewise.
991 * configure.in (libc_cv_as_needed): Remove test.
992 * configure: Regenerated.
993 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
994 conditional definition.
995 [$(have-as-needed) != yes] (no-as-needed): Likewise.
996 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
997 * config.make.in (have-as-needed): Remove variable.
999 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1000 Paul Pluzhnikov <ppluzhnikov@google.com>
1002 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1005 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1007 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1008 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1009 * sysdeps/sh/strlen.S: Likewise.
1011 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1013 * sysdeps/unix/fork.S: Remove file.
1014 * sysdeps/unix/i386/fork.S: Likewise.
1015 * sysdeps/unix/sparc/fork.S: Likewise.
1017 * sysdeps/unix/system.c: Remove file.
1018 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1020 * sysdeps/unix/getegid.S: Remove file.
1021 * sysdeps/unix/geteuid.S: Likewise.
1023 2012-04-24 Roland McGrath <roland@hack.frob.com>
1025 * scripts/check-localplt.awk: New file.
1026 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1028 * scripts/data/localplt-generic.data: Add a comment.
1030 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1031 NODE when __dir_mkfile failed.
1032 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1033 Reported by Ludovic Courtès <ludo@gnu.org>.
1035 2012-04-24 Andreas Jaeger <aj@suse.de>
1037 * Makerules (common-clean): Also remove gen-as-const-headers
1040 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1042 * Makerules (native-compile): Do not change working directory for
1043 build. Use $(OUTPUT_OPTION) in command.
1044 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1046 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1049 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1050 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1051 * math/libm-test.inc (floor_test): Add more tests.
1052 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1054 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1056 * sysdeps/unix/getdents.c: Remove file.
1057 * sysdeps/unix/sysv/getdents.c: Likewise.
1058 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1060 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1061 sysdeps/unix/mman/syscalls.list.
1063 (mprotect): Likewise.
1066 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1067 * sysdeps/unix/mman/syscalls.list: Remove.
1068 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1070 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1071 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1072 * configure: Regenerated.
1073 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1075 * config.make.in (libgcc_s_suffix): Remove variable.
1077 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1079 * sysdeps/unix/sysv/gethostname.c: Move to ...
1080 * sysdeps/posix/gethostname.c: ... here.
1082 * sysdeps/unix/execve.S: Remove file.
1084 * sysdeps/unix/_exit.S: Remove file.
1086 2012-04-23 Andreas Jaeger <aj@suse.de>
1089 * manual/Makefile: Remove make dist support, there's no
1090 need for a stand-alone documentation tar ball.
1091 (TEXI2DVI): Define always, it's not in Makeconfig.
1095 (glibc-doc-$(edition).tar): Removed
1099 (ETAGS): Remove, it's in Makeconfig.
1100 (move-if-change): Remove, it's in Makeconfig.
1102 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1105 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1106 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1107 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1108 (strtod_l, strtof_l, strtold_l): Remove __wur.
1109 It is not necessarily an error to ignore strtol's return value.
1110 One can reliably look at the stored endptr to decide whether
1111 the number had valid syntax.
1113 2012-04-21 Andreas Jaeger <aj@suse.de>
1116 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1118 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1120 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1121 * sysdeps/unix/sysv/Versions: Remove file.
1123 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1128 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
1131 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1132 version from __vm86.
1134 2012-04-20 Joseph Myers <joseph@codesourcery.com>
1136 * sysdeps/unix/common/lxstat.c: Remove file.
1137 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1139 * sysdeps/unix/sysv/Makefile: Remove file.
1141 * sysdeps/unix/sysv/direct.h: Remove file.
1143 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1144 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1145 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1146 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1147 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1148 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1149 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1151 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1153 * sysdeps/unix/xmknod.c: Remove file.
1154 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1156 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1158 * sysdeps/unix/sysv/i386/time.S: Remove file.
1160 * sysdeps/unix/fxstat.c: Remove file.
1161 * sysdeps/unix/xstat.c: Likewise.
1162 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1164 * sysdeps/unix/sysv/sigaction.c: Remove file.
1166 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1167 (sysdep_headers): Remove variable.
1168 [termio.h not in sysdep_headers] (generated): Likewise.
1169 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1170 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1171 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1172 * sysdeps/unix/sysv/tcflow.c: Likewise.
1173 * sysdeps/unix/sysv/tcflush.c: Likewise.
1174 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1175 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1176 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1177 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1178 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1180 * sysdeps/unix/siglist.c: Remove file.
1182 * sysdeps/unix/getppid.S: Remove file.
1184 * sysdeps/unix/mkdir.c: Remove file.
1185 * sysdeps/unix/rmdir.c: Likewise.
1187 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1189 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1191 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1192 errlist-compat value.
1194 2012-04-18 David S. Miller <davem@davemloft.net>
1196 * sysdeps/generic/memcopy.h (reg_char): Delete.
1197 * debug/strcat_chk.c: Use char, not reg_char.
1198 * debug/strcpy_chk.c: Likewise.
1199 * debug/strncat_chk.c: Likewise.
1200 * debug/strncpy_chk.c: Likewise.
1201 * string/memchr.c: Likewise.
1202 * string/memrchr.c: Likewise.
1203 * string/rawmemchr.c: Likewise.
1204 * string/strcat.c: Likewise.
1205 * string/strchr.c: Likewise.
1206 * string/strchrnul.c: Likewise.
1207 * string/strcmp.c: Likewise.
1208 * string/strcpy.c: Likewise.
1209 * string/strncat.c: Likewise.
1210 * string/strncmp.c: Likewise.
1211 * string/strncpy.c: Likewise.
1213 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1215 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1216 __builtin_memcopy is called when src and dest ranges are known to not
1219 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1221 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1222 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1223 fwd_align_merge macro call.
1224 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1225 bwd_align_merge macro call.
1226 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1228 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1230 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1231 bwd_align_merge macros.
1232 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1233 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1234 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1236 2012-04-18 David S. Miller <davem@davemloft.net>
1238 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1240 2012-04-18 Andreas Jaeger <aj@suse.de>
1243 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1244 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1245 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1247 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1248 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1249 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1251 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1252 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1253 Adjust for changed ldbl-128 files.
1255 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1256 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1257 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1259 2012-04-17 David S. Miller <davem@davemloft.net>
1261 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1263 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1265 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1266 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1267 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1268 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1269 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1270 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1272 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1275 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1276 * math/libm-test.inc: Add ilogb errno and exception tests.
1277 * math/w_ilogb.c: New file: ilogb wrapper.
1278 * math/w_ilogbf.c: New file: ilogbf wrapper.
1279 * math/w_ilogbl.c: New file: ilogbl wrapper.
1280 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1281 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1282 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1283 exception being thrown with 0.0 as argument.
1284 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1285 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1286 exception being thrown with 0.0 as argument.
1287 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1288 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1289 exception being thrown with 0.0 as argument.
1290 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1291 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1292 exception being thrown with 0.0 as argument.
1293 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1294 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1295 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1296 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1297 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1298 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1299 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1300 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1301 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1303 2012-04-17 Petr Baudis <pasky@ucw.cz>
1305 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1308 2012-04-16 Marek Polacek <polacek@redhat.com>
1310 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1312 2012-04-16 Marek Polacek <polacek@redhat.com>
1314 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1315 operands of fdivp instruction.
1317 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1319 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1320 * elf/tst-auditmod3b.c: Likewise.
1321 * elf/tst-auditmod4b.c: Likewise.
1322 * elf/tst-auditmod5b.c: Likewise.
1323 * elf/tst-auditmod6b.c: Likewise.
1324 * elf/tst-auditmod6c.c: Likewise.
1325 * elf/tst-auditmod7b.c: Likewise.
1326 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1327 * sysdeps/x86_64/preconfigure.in: Likewise.
1328 * sysdeps/x86_64/preconfigure: Regenerated.
1330 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1332 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1335 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1337 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1338 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1340 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1343 * locale/iso-639.def: Fix gl language name. Spotted by
1346 2012-04-12 Roland McGrath <roland@hack.frob.com>
1349 * libio/libio.h (__io_write_fn): Update comment.
1351 2012-04-12 Petr Baudis <pasky@ucw.cz>
1354 * stdio.texi (Hook Functions): The user provided writer function
1355 is not allowed to return -1.
1357 2012-04-11 David S. Miller <davem@davemloft.net>
1359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1361 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1363 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1364 Add a leading slash to rtkaio.
1366 2012-04-11 Jim Meyering <meyering@redhat.com>
1369 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1370 It is not necessarily an error to ignore fwrite's return
1371 value. One can reliably use ferror to test for errors after
1374 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1376 * bits/types.h (__snseconds_t): New type.
1377 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1379 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1380 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1381 (__SNSECONDS_T_TYPE): Likewise.
1382 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1383 (__SNSECONDS_T_TYPE): Likewise.
1384 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1385 (__SNSECONDS_T_TYPE): Likewise.
1387 2012-04-10 Andreas Jaeger <aj@suse.de>
1390 * manual/time.texi (Processor Time): Return type of times is
1391 elapsed real time since an arbitrary point in the past.
1392 (CPU Time): Move CLK_TCK from here...
1393 (Processor Time): ...to here. Correct description.
1394 * manual/conf.texi (Constants for Sysconf): Correct description of
1397 2012-04-10 David S. Miller <davem@davemloft.net>
1400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1401 where the is a gap between DT_REL(A) and DT_JMPREL.
1403 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1405 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1406 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1407 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1409 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1411 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1412 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1413 (dl_main): Handle --inhibit-cache.
1414 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1416 * elf/dl-load.c (_dl_map_object): Use it.
1417 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1419 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1422 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1423 (__ieee754_powl): Saturate large exponents rather than testing for
1424 overflow of y*log2(x).
1425 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1426 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1430 * math/s_ctan.c: Include <float.h>.
1431 (__ctan): Avoid internal overflow or cancellation in calculating
1433 * math/s_ctanf.c: Likewise.
1434 * math/s_ctanl.c: Likewise.
1435 * math/s_ctanh.c: Likewise.
1436 * math/s_ctanhf.c: Likewise.
1437 * math/s_ctanhl.c: Likewise.
1438 * math/libm-test.inc (ctan_test): Add more tests.
1439 (ctanh_test): Likewise.
1440 * sysdeps/i386/fpu/libm-test-ulps: Update.
1441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1443 2012-04-09 Andreas Jaeger <aj@suse.de>
1446 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1447 is an optional BSD extension.
1450 * manual/stdio.texi (Opening Streams): Document additional fopen
1453 2012-04-09 Roland McGrath <roland@hack.frob.com>
1455 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1456 %eax without telling the compiler.
1458 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1461 * manual/install.texi: Use sourceware.org.
1463 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1466 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1467 (__ieee754_pow): Generate overflow and underflow using huge*huge
1468 and tiny*tiny rather than just returning constant infinity or zero
1469 for large exponents.
1470 * math/libm-test.inc (pow_test): Require overflow exceptions for
1471 applicable cases of large exponents.
1474 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1475 (__ieee754_pow): Use iterative multiplication algorithm only for
1476 integer exponents with absolute value below 1024. Check for odd
1477 integer exponents when using algorithm for real exponents.
1478 * math/libm-test.inc (pow_test): Add more tests.
1479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1481 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1484 * math/libm-test.inc (exp_test): Do not allow overflow exception
1487 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1490 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1491 instead of __kernel_standard_f.
1493 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1495 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1496 * sysdeps/x86_64/memset_chk.S: Likewise.
1498 2012-04-08 Andreas Jaeger <aj@suse.de>
1501 * manual/startup.texi (Environment Access): Describe return value
1502 for putenv and setenv.
1505 * manual/filesys.texi (Directory Entries): Add description for
1509 * manual/filesys.texi (Directory Entries): Clarify that it's file
1510 system not operating system in the description of DT_UNKNOWN.
1513 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1515 2012-04-08 Stephen Compall <s11@member.fsf.org>
1518 * manual/llio.texi (Opening and Closing Files): Add cross
1519 reference to explain mode argument.
1521 2012-04-07 Mike Frysinger <vapier@gentoo.org>
1523 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1524 * sysdeps/x86_64/memset_chk.S: Likewise.
1526 2012-04-07 David S. Miller <davem@davemloft.net>
1528 * elf/elf.h (R_SPARC_WDISP10): Define.
1529 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1531 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1532 R_SPARC_SIZE64 and R_SPARC_H34.
1534 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1536 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1537 conditions and remove no longer applicable assertion.
1539 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1541 * bits/byteswap.h: Include <features.h>.
1542 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1543 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1545 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1547 * bits/byteswap.h (__bswap_16): Removed.
1548 Include <bits/byteswap-16.h> to get __bswap_16.
1549 * sysdeps/i386/bits/byteswap.h: Likewise.
1550 * sysdeps/s390/bits/byteswap.h: Likewise.
1551 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1552 * bits/byteswap-16.h: New file.
1553 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1554 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1555 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1556 * string/Makefile (headers): Add bits/byteswap-16.h.
1558 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1561 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1563 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1564 * nss/tst-nss-static.c: New.
1566 2012-04-06 Robert Millan <rmh@gnu.org>
1569 * manual/llio.texi (File Position Primitive): lseek
1570 refers to WHENCE when it really means OFFSET.
1572 2012-04-06 Andreas Jaeger <aj@suse.de>
1574 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1575 strncmp declarations.
1577 * abilist/libc.abilist: Add __poll and __ppoll.
1579 2012-04-05 David S. Miller <davem@davemloft.net>
1581 * scripts/check-local-headers.sh: Accept a host triplet in the
1582 path matched by the exclude regexp.
1584 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1586 * sysdeps/powerpc/powerpc32/dl-machine.h
1587 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1588 * sysdeps/s390/s390-32/dl-machine.h
1589 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1590 * sysdeps/sparc/sparc32/dl-machine.h
1591 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1592 * sysdeps/sparc/sparc64/dl-machine.h
1593 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1595 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1597 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1598 undefined symbol errors.
1600 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1603 2012-04-05 Michael Matz <matz@suse.de>
1606 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1608 2012-04-05 Andreas Jaeger <aj@suse.de>
1611 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1614 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1616 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1617 which ROUND is no valid rounding mode.
1619 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1621 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1623 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1625 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1627 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1628 an exception using FPU order intentionally.
1630 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1632 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1633 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1634 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1635 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1637 2012-04-05 Simon Josefsson <simon@josefsson.org>
1640 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1641 EINVAL when BUFLEN is too smal.
1643 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1646 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1647 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1649 2012-04-03 Andreas Jaeger <aj@suse.de>
1652 * manual/setjmp.texi (System V contexts): Fix sentence.
1655 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1656 New macro for this case.
1657 [!__GNUC__] (__bswap_64): New inline function for this case.
1658 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1659 * bits/byteswap.h: Likewise.
1660 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1661 ull, guard with __GLIBC_HAVE_LONG_LONG.
1663 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1664 __GLIBC_HAVE_LONG_LONG.
1666 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1667 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1669 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1672 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1673 inptr and inend, rather than using last_ch.
1675 2012-04-02 David S. Miller <davem@davemloft.net>
1677 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1678 * stdio-common/printf-parse.h (read_int): Change return type to
1679 'int', return -1 on INT_MAX overflow.
1680 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1681 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1682 overflows INT_MAX. Check for overflow of in-format-string precision
1683 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1684 SIZE_MAX not INT_MAX for integer overflow test.
1685 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1686 skip the construct in the format string but do not record anything.
1687 * stdio-common/bug22.c: Adjust to test both width/prevision
1688 INT_MAX overflow as well as total length INT_MAX overflow. Check
1689 explicitly for proper errno values.
1691 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1693 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1695 * string/test-strcmp.c [! WIDE]: Likewise.
1696 * time/tst-mktime2.c: Likewise for INT_MAX.
1697 * string/test-string.h: #include <sys/param.h> for MIN.
1699 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1700 * sysdeps/i386/init-first.c (init): Likewise.
1701 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1702 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1703 * sysdeps/sh/init-first.c (init): Likewise.
1705 2012-04-01 Ulrich Drepper <drepper@gmail.com>
1707 * po/ru.po: Update from translation team.
1708 * po/vi.po: Likewise.
1710 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1712 * resolv/nss_dns/dns-host.c: Merge copyright years.
1714 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1716 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1717 Optimize memcpy with prefetch if
1718 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1719 src, dst pointers have unequal 16 byte alignments.
1721 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1724 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1725 from a CNAME entry and return the minimum ttl for the query.
1726 (gaih_getanswer_slice): Likewise.
1728 2012-03-30 Jeff Law <law@redhat.com>
1730 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1732 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1733 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1735 * resolv/nss_dns/dns-host.c: Update copyright year.
1737 2012-03-30 Ulrich Drepper <drepper@gmail.com>
1739 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1740 requests to save a system call. Fix check that all bytes are sent.
1742 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1743 comments for sendmmsg.
1745 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1748 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1749 with only 1 character between 0x0041 and 0x01b0.
1750 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1751 * wcsmbs/tst-mbsnrtowcs.c: New file.
1753 2012-03-29 David S. Miller <davem@davemloft.net>
1755 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1756 small copies by hand.
1758 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1761 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1762 _nss_compat_initgroups_dyn): Fall back to malloc/free
1763 for large group memberships.
1765 2012-03-28 David S. Miller <davem@davemloft.net>
1767 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1768 that branches into memcpy.
1769 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1770 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1772 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1773 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1775 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1777 * sysdeps/sparc/mempcpy.S: New file.
1779 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1780 the IFUNC routine in the libc case.
1781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1783 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1784 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1785 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1786 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1787 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1788 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1789 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1790 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1792 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1793 loop to 256 bytes instead of 64 bytes and fix test signedness.
1795 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1796 * sysdeps/sparc/sparc32/Makefile: rather than here...
1797 * sysdeps/sparc/sparc64/Makefile: and here.
1799 2012-03-28 Ulrich Drepper <drepper@gmail.com>
1801 * malloc/mallocbug.c: Avoid warnings about unused variables.
1803 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1806 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1807 in the right place. Discard and retry query if response is
1808 larger than input buffer size.
1810 2012-03-28 Joseph Myers <joseph@codesourcery.com>
1815 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1816 x for large integer exponent.
1817 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1818 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1819 sign of result as needed afterwards.
1820 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1821 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1822 result for underflowing pow the same as for overflow.
1823 (__kernel_standard_l): Handle powl overflow and underflow here
1824 rather than calling __kernel_standard.
1825 * math/libm-test.inc (pow_test): Add more tests.
1840 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1841 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1842 (__kernel_standard_l): New function.
1843 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1845 * math/w_acosl.c (__acosl): Likewise.
1846 * math/w_asinl.c (__asinl): Likewise.
1847 * math/w_atan2l.c (__atan2l): Likewise.
1848 * math/w_atanhl.c (__atanhl): Likewise.
1849 * math/w_coshl.c (__coshl): Likewise.
1850 * math/w_exp10l.c (__exp10l): Likewise.
1851 * math/w_exp2l.c (__exp2l): Likewise.
1852 * math/w_fmodl.c (__fmodl): Likewise.
1853 * math/w_hypotl.c (__hypotl): Likewise.
1854 * math/w_j0l.c (__j0l, __y0l): Likewise.
1855 * math/w_j1l.c (__j1l, __y1l): Likewise.
1856 * math/w_jnl.c (__jnl, __ynl): Likewise.
1857 * math/w_lgammal.c (__lgammal): Likewise.
1858 * math/w_log10l.c (__log10l): Likewise.
1859 * math/w_log2l.c (__log2l): Likewise.
1860 * math/w_logl.c (__logl): Likewise.
1861 * math/w_powl.c (__powl): Likewise.
1862 * math/w_remainderl.c (__remainderl): Likewise.
1863 * math/w_scalbl.c (sysv_scalbl): Likewise.
1864 * math/w_sinhl.c (__sinhl): Likewise.
1865 * math/w_sqrtl.c (__sqrtl): Likewise.
1866 * math/w_tgammal.c (__tgammal): Likewise.
1867 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1868 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1869 * math/libm-test.inc (acos_test): Add more tests.
1870 (acosh_test): Likewise.
1871 (asin_test): Likewise.
1872 (atanh_test): Likewise.
1873 (exp_test): Likewise.
1874 (exp10_test): Likewise.
1875 (exp2_test): Likewise.
1876 (expm1_test): Likewise.
1877 (lgamma_test): Likewise.
1878 (log_test): Likewise.
1879 (log10_test): Likewise.
1880 (log1p_test): Likewise.
1881 (log2_test): Likewise.
1882 (pow_test): Do not allow some spurious overflow exceptions.
1883 (sqrt_test): Add more tests.
1884 (tgamma_test): Likewise.
1885 (y0_test): Likewise.
1886 (y1_test): Likewise.
1887 (yn_test): Likewise.
1889 2012-03-27 Anton Blanchard <anton@samba.org>
1891 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1893 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1894 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1895 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1897 2012-03-27 David S. Miller <davem@davemloft.net>
1899 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1901 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1904 2012-03-27 Andreas Jaeger <aj@suse.de>
1906 * sysdeps/x86_64/elf/configure.in: Moved to ...
1907 * sysdeps/x86_64/configure.in: ... here.
1908 * sysdeps/x86_64/elf/start.S: Moved to ...
1909 * sysdeps/x86_64/start.S: ... here.
1910 * sysdeps/x86_64/elf/configure: Delete.
1912 * sysdeps/x86_64/configure.in: Merge contents from
1913 sysdeps/i386/configure.in (without i686 check).
1915 * sysdeps/i386/elf/Versions: Merge into ...
1916 * sysdeps/i386/Versions: ... this.
1917 * sysdeps/i386/elf/Versions: Delete file.
1918 * sysdeps/i386/elf/start.S: Moved to ...
1919 * sysdeps/i386/start.S: ...here.
1920 * sysdeps/i386/elf/configure.in: Merge into...
1921 * sysdeps/i386/configure.in: ...here.
1922 * sysdeps/i386/elf/configure.in: Delete file.
1923 * sysdeps/i386/elf/configure: Delete file.
1925 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1926 * debug/backtracesyms.c: ... here.
1927 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1928 * debug/backtracesymsfd.c: ... here.
1929 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1930 * sysdeps/generic/ifunc-sel.h: ... here.
1932 * sysdeps/unix/i386/start.c: Delete file.
1933 * sysdeps/unix/sparc/start.c: Delete file.
1934 * sysdeps/unix/start.c: Delete file.
1936 * sysdeps/sh/elf/configure.in: Moved to ...
1937 * sysdeps/sh/configure.in: ... here.
1938 * sysdeps/sh/elf/start.S: Moved to ...
1939 * sysdeps/sh/start.S: ... here.
1940 * sysdeps/sh/elf/configure: Delete file.
1942 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1943 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1944 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1945 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1946 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1947 * sysdeps/powerpc/powerpc64/start.S: here.
1948 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1949 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1950 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1951 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1952 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1954 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1955 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1956 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1957 * sysdeps/powerpc/powerpc32/start.S: ... here.
1958 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1959 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1960 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1962 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1963 * sysdeps/powerpc/ifunc-sel.h: ... here.
1964 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1965 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1967 * sysdeps/sparc/elf/configure.in: Moved to ...
1968 * sysdeps/sparc/configure.in: ... here.
1969 * sysdeps/sparc/elf/configure: Delete file.
1970 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1971 * sysdeps/sparc/sparc32/start.S: ... here.
1972 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1973 * sysdeps/sparc/sparc64/start.S: ... here.
1974 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1975 * sysdeps/sparc/sparc32/Makefile: ... this.
1976 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1977 * sysdeps/sparc/sparc64/Makefile: ... this.
1979 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1980 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1981 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1982 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1983 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1984 * sysdeps/s390/s390-32/setjmp.S: ... here.
1985 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1986 * sysdeps/s390/s390-32/configure.in: ... here.
1987 * sysdeps/s390/s390-32/elf/configure: Delete file.
1988 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1989 * sysdeps/s390/s390-32/start.S: ... here.
1991 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1992 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1993 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1994 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1995 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1996 * sysdeps/s390/s390-64/setjmp.S: ... here.
1997 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1998 * sysdeps/s390/s390-64/configure.in: ... here
1999 * sysdeps/s390/s390-64/elf/configure: Delete file.
2000 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2001 * sysdeps/s390/s390-64/start.S: ... here.
2002 * sysdeps/s390/s390-64/elf/configure: Delete.
2004 * configure.in: Remove support for elf directories in sysdeps.
2006 * configure: Regenerated.
2007 * sysdeps/i386/configure: Regenerated.
2008 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2009 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2010 * sysdeps/s390/s390-32/configure: Regenerated.
2011 * sysdeps/s390/s390-64/configure: Regenerated.
2012 * sysdeps/sh/configure: Regenerated.
2013 * sysdeps/sparc/configure: Regenerated.
2014 * sysdeps/x86_64/configure: Regenerated.
2016 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2020 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2021 denormal result into account.
2023 2012-03-25 Roland McGrath <roland@hack.frob.com>
2025 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2026 Reported by Allan McRae <allan@archlinux.org>.
2028 2012-03-23 Jeff Law <law@redhat.com>
2030 * nss/getnssent.c (__nss_getent): Fix typo.
2032 2012-03-23 David S. Miller <davem@davemloft.net>
2034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2036 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2038 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2039 to pad to uint64_t for each field.
2040 (dl_tls_index): Replace unsigned long with uint64_t.
2042 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2043 Paul Pluzhnikov <ppluzhnikov@google.com>
2046 * grp/Makefile (otherlibs): Don't set it.
2047 * inet/Makefile (otherlibs): Likewise.
2048 * login/Makefile (otherlibs): Likewise.
2049 * nscd/Makefile (otherlibs): Likewise.
2050 * posix/Makefile (otherlibs): Likewise.
2051 * pwd/Makefile (otherlibs): Likewise.
2052 * rt/Makefile (otherlibs): Likewise.
2053 * sunrpc/Makefile (otherlibs): Likewise.
2054 * nss/Makefile (otherlibs): Likewise.
2055 Add libnss_files to routines and static-only-routines.
2056 ($(objpfx)getent): Remove rule.
2057 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2058 static-only-routines.
2060 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2063 * math/s_cexp.c: Include <float.h>.
2064 (__cexp): Handle exp result overflowing not necessarily
2065 overflowing both real and imaginary parts of result.
2066 * math/s_cexpf.c: Likewise.
2067 * math/s_cexpl.c: Likewise.
2068 * math/libm-test.inc (cexp_test): Add more tests.
2069 * sysdeps/i386/fpu/libm-test-ulps: Update.
2070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2072 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2074 * include/link.h (ELFW): New macro.
2075 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2076 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2078 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2080 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2083 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2085 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2087 (struct La_x32_retval): Likewise.
2089 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2091 * sysdeps/x86_64/preconfigure.in: New file.
2092 * sysdeps/x86_64/preconfigure: New generated file.
2094 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2097 * math/e_exp2l.c: Include <float.h>.
2098 (__ieee754_exp2l): Handle overflow and underflow cases
2099 separately. Only pass fractional part of argument to
2101 * math/libm-test.inc (exp2_test): Add more tests.
2103 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2104 negating x to take absolute value.
2105 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2107 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2108 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2110 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2111 computing low part if x was negated.
2112 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2114 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2116 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2118 (pltexit): Cast int_retval to ptrdiff_t.
2119 * elf/tst-auditmod3b.c: Likewise.
2120 * elf/tst-auditmod4b.c: Likewise.
2121 * elf/tst-auditmod5b.c: Likewise.
2122 * elf/tst-auditmod6b.c: Likewise.
2123 * elf/tst-auditmod6c.c: Likewise.
2124 * elf/tst-auditmod7b.c: Likewise.
2126 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2127 and x32_gnu_pltexit.
2129 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2131 (La_x32_regs): New macro.
2132 (La_x32_retval): Likewise.
2133 (la_x32_gnu_pltenter): New function prototype.
2134 (la_x32_gnu_pltexit): Likewise.
2136 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2138 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2143 * configure.in (libc_cv_cc_nofma): Check for option to disable
2144 generation of FMA instructions.
2145 * configure: Regenerate.
2146 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2147 * sysdeps/ieee754/dbl-64/Makefile: New file.
2148 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2149 Remove brandred-fma4.
2150 (CFLAGS-brandred-fma4.c): Remove.
2151 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2152 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2154 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2157 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2159 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2160 LLONG_MAX != LONG_MAX.
2161 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2162 (_fitoa_word): Likewise.
2163 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2164 LLONG_MAX != LONG_MAX.
2165 * stdio-common/_itowa.h: Include <_itoa.h>.
2166 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2167 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2168 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2169 only if not defined.
2170 (_ITOA_WORD_TYPE): Likewise.
2171 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2172 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2174 2012-03-21 David S. Miller <davem@davemloft.net>
2176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2178 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2180 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2181 of x86_64 when setting libc_cv_slibdir, libdir and
2183 * sysdeps/unix/sysv/linux/configure: Regenerated.
2185 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2187 * manual/lang.texi (Old Varargs): Remove section.
2188 (How Variadic): Update menu.
2189 (va_start): Do not mention varargs.h.
2191 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2192 Joseph Myers <joseph@codesourcery.com>
2194 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2196 * configure: Regenerated.
2198 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2200 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2201 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2204 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2207 * Makefile (files-for-dist): Remove NOTES.
2208 (NOTES): Remove rule.
2209 * README: Don't refer to NOTES.
2210 * manual/creature.texi: Don't include macros.texi.
2211 * manual/intro.texi (creature.texi): Remove comment referring to
2214 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2215 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2216 * configure: Regenerated.
2217 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2219 (libc_cv_as_i686): Likewise.
2220 (libc_cv_cc_avx): Likewise.
2221 (libc_cv_cc_sse2avx): Likewise.
2222 (libc_cv_cc_fma4): Likewise.
2223 (libc_cv_cc_novzeroupper): Likewise.
2224 * sysdeps/i386/configure: Regenerated.
2227 * sysdeps/i386/fpu/s_cexp.S: Remove.
2228 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2229 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2230 * math/libm-test.inc (cexp_test): Add more tests.
2231 * sysdeps/i386/fpu/libm-test-ulps: Update.
2232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2234 2012-03-21 Allan McRae <allan@archlinux.org>
2236 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2238 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2241 * math/w_exp2.c: Do not include <float.h>.
2242 (o_threshold, u_threshold): Remove.
2243 (__exp2): Calculate result before checking finiteness and calling
2245 * math/w_exp2f.c: Likewise.
2246 * math/w_exp2l.c: Likewise.
2247 * math/libm-test.inc (exp2_test): Require overflow exception for
2251 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2252 range of signed 64-bit integers before using fistpll. Remove
2253 checks for whether integers fit in mantissa bits.
2254 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2255 the range of signed 32-bit integers before using fistpl. Remove
2256 checks for whether integers fit in mantissa bits.
2257 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2258 (__ieee754_powl): Test for y outside the range of signed 64-bit
2259 integers before using fistpll. Reduce 64-bit values to 63-bit
2261 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2262 divide-by-zero is raised for zero to large negative powers.
2263 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2264 (__ieee754_powl): Test for y outside the range of signed 64-bit
2265 integers before using fistpll. Reduce 64-bit values to 63-bit
2267 * math/libm-test.inc (pow_test): Add more tests.
2269 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2271 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2272 <stdio-common/_itoa.h>.
2273 * debug/segfault.c: Likewise.
2274 * elf/dl-cache.c: Likewise.
2275 * elf/dl-minimal.c: Likewise.
2276 * elf/dl-misc.c: Likewise.
2277 * elf/dl-sysdep.c: Likewise.
2278 * elf/dl-version.c: Likewise.
2279 * elf/rtld.c: Likewise.
2280 * hurd/hurdsock.c: Likewise.
2281 * hurd/lookup-retry.c: Likewise.
2282 * malloc/malloc.c: Likewise.
2283 * malloc/mtrace.c: Likewise.
2284 * nscd/nscd_getgr_r.c: Likewise.
2285 * nscd/nscd_getpw_r.c: Likewise.
2286 * nscd/nscd_getserv_r.c: Likewise.
2287 * posix/getopt_init.c: Likewise.
2288 * posix/wordexp.c: Likewise.
2289 * stdio-common/_itoa.c: Likewise.
2290 * stdio-common/printf_fphex.c: Likewise.
2291 * stdio-common/vfprintf.c: Likewise.
2292 * string/_strerror.c: Likewise.
2293 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2294 * sysdeps/i386/i686/hp-timing.h: Likewise.
2295 * sysdeps/mach/_strerror.c: Likewise.
2296 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2297 * sysdeps/mach/hurd/sethostid.c: Likewise.
2298 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2299 * sysdeps/mach/xpg-strerror.c: Likewise.
2300 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2301 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2302 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2303 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2304 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2305 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2306 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2307 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2308 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2309 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2310 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2311 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2312 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2313 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2314 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2315 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2316 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2317 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2318 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2319 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2320 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2322 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2324 * stdio-common/_itoa.h: Moved to ...
2325 * sysdeps/generic/_itoa.h: Here.
2327 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2329 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2330 instead of "_itoa.h" and "_itowa.h".
2331 * stdio-common/vfprintf.: Likewise.
2333 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2335 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2337 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2338 (__signbit): Likwise.
2342 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2344 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2347 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2349 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2350 OVERFLOW_EXCEPTION_OK.
2351 * math/libm-test.inc ("Philosophy"): Update comment about
2353 (OVERFLOW_EXCEPTION): Define.
2354 (OVERFLOW_EXCEPTION_OK): Likewise.
2355 (INVALID_EXCEPTION_OK): Renumber.
2356 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2357 (IGNORE_ZERO_INF_SIGN): Likewise.
2358 (test_exceptions): Handle FE_OVERFLOW.
2359 (exp10_test): Expect overflow exceptions.
2360 (exp2_test): Likewise.
2361 (expm1_test): Likewise.
2362 (nextafter_test): Likewise.
2363 (pow_test): Likewise.
2364 (scalbn_test): Likewise.
2365 (scalbln_test): Likewise.
2367 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2369 * sysdeps/x86_64/bits/atomic.h
2370 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2372 (atomic_exchange_acq): Likewise.
2373 (__arch_exchange_and_add_body): Likewise.
2374 (__arch_add_body): Likewise.
2375 (atomic_add_negative): Likewise.
2376 (atomic_add_zero): Likewise.
2378 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2380 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2381 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2383 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2385 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2386 Check __x86_64__ instead of __WORDSIZE.
2388 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2390 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2392 2012-03-19 David S. Miller <davem@davemloft.net>
2394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2396 * sysdeps/sparc/fpu/fenv_private.h: New file.
2397 * sysdeps/sparc/fpu/math_private.h: Use it.
2398 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2400 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2401 (libc_feholdexcept_setroundl): Remove.
2402 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2404 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2405 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2407 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2409 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2410 int64_t instead of long int.
2411 (INSERT_WORDS64): Likwise.
2413 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2415 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2416 _Unwind_GetCFA return to _Unwind_Ptr first.
2418 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2421 * math/s_clog.c: Include <float.h>.
2422 (__clog): Scale large or subnormal inputs.
2423 * math/s_clogf.c: Likewise.
2424 * math/s_clogl.c: Likewise.
2425 * math/s_clog10.c: Include <float.h>.
2426 (M_LOG10_2): Define.
2427 (__clog10): Scale large or subnormal inputs.
2428 * math/s_clog10f.c: Likewise.
2429 * math/s_clog10l.c: Likewise.
2430 * math/libm-test.inc (clog_test): Add more tests.
2431 (clog10_test): Likewise.
2432 * sysdeps/i386/fpu/libm-test-ulps: Update.
2433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2436 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2438 * math/libm-test.inc (atan2_test): Add another test.
2440 * Makerules (common-objdir-compile): Remove.
2441 * sysdeps/unix/Makefile (config-generated): Do not add
2442 $(unix-generated) to variable.
2443 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2444 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2446 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2448 [generic bits/local_lim.h] (before-compile): Do not append to
2450 [generic bits/local_lim.h] (common-generated): Likewise.
2451 [generic sys/param.h] (before-compile): Do not append to variable.
2452 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2453 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2454 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2455 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2457 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2458 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2459 [generic sys/param.h] ($(addprefix
2460 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2461 [generic sys/param.h] (common-generated): Do not append to
2463 [generic sys/param.h] (sysdep_headers): Likewise.
2464 [generic bits/errno.h] (before-compile): Do not append to
2466 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2468 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2469 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2470 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2471 [generic bits/errno.h] (common-generated): Do not append to
2473 [generic bits/ioctls.h] (before-compile): Do not append to
2475 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2477 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2478 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2479 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2481 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2482 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2483 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2484 [generic bits/ioctls.h] (common-generated): Do not append to
2486 [generic sys/syscall.h] (syscall.h): Remove variable.
2487 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2489 [generic sys/syscall.h] (before-compile): Do not append to
2491 [generic sys/syscall.h] (common-generated): Likewise.
2492 * sysdeps/unix/errnos-tmpl.c: Remove file.
2493 * sysdeps/unix/errnos.awk: Likewise.
2494 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2495 * sysdeps/unix/ioctls.awk: Likewise.
2496 * sysdeps/unix/mk-local_lim.c: Likewise.
2497 * sysdeps/unix/snarf-ioctls: Likewise.
2499 2012-03-19 Richard Henderson <rth@twiddle.net>
2501 * sysdeps/i386/fpu/fenv_private.h: New file.
2502 * sysdeps/i386/fpu/math_private.h: Use it.
2503 (math_opt_barrier, math_force_eval): Remove.
2504 (libc_feholdexcept_setround_53bit): Remove.
2505 (libc_feupdateenv_53bit): Remove.
2506 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2507 (math_opt_barrier, math_force_eval): Remove.
2508 (libc_feholdexcept): Remove.
2509 (libc_feholdexcept_setround): Remove.
2510 (libc_fetestexcept, libc_fesetenv): Remove.
2511 (libc_feupdateenv_test): Remove.
2512 (libc_feupdateenv, libc_feholdsetround): Remove.
2513 (libc_feresetround): Remove.
2515 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2516 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2518 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2519 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2520 (libc_feupdateenv_testl): New.
2521 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2522 (libc_feupdateenv_testf): New.
2523 (libc_feupdateenv): Use libc_feupdateenv_test.
2524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2525 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2527 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2528 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2529 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2530 (libc_feresetround_noex): New.
2531 (libc_feresetround_noexf): New.
2532 (libc_feresetround_noexl): New.
2533 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2534 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2535 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2536 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2539 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2541 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2542 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2543 SET_RESTORE_ROUND_NOEX.
2544 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2545 SET_RESTORE_ROUND_NOEXF.
2546 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2547 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2548 (libc_feholdsetroundf): New.
2549 (libc_feresetround, libc_feresetroundf): New.
2551 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2552 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2553 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2555 * sysdeps/generic/math_private.h: Include <fenv.h>.
2556 (default_libc_feholdexcept): New.
2557 (default_libc_feholdexcept_setround): New.
2558 (default_libc_fesetenv, default_libc_feupdateenv): New.
2559 (libc_feholdexcept): Only define if undefined.
2560 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2561 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2562 (libc_feholdexcept_setroundl): Likewise.
2563 (libc_feholdexcept_setround_53bit): Likewise.
2564 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2565 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2566 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2567 (libc_feupdateenv_53bit): Likewise.
2568 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2569 (libc_feholdexcept): Convert from macro to inline function.
2570 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2571 (libc_fesetenv, libc_feupdateenv): Likewise.
2573 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2574 not previously defined.
2575 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2576 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2577 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2578 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2579 * sysdeps/ieee754/flt-32/math_private.h: New file.
2580 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2581 math_private.h below SET_FLOAT_WORD.
2582 (__isnan, __isinf_ns, __finite): Remove.
2583 (__isnanf, __isinf_nsf, __finitef): Remove.
2585 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2589 2012-03-17 David S. Miller <davem@davemloft.net>
2592 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2595 2012-03-16 David S. Miller <davem@davemloft.net>
2597 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2601 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2603 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2604 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2605 sysdep_routines when subdir is sysvipc.
2606 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2609 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2611 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2613 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2616 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2618 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2619 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2620 (__lround): Renamed to ...
2621 (__llround): This. Replace long int with long long int.
2622 Define lround functions as aliases of llround functions.
2623 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2625 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2627 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2628 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2629 adresses to uintptr_t. Replace "long int" and "unsigned long
2630 int" with "greg_t" on va_arg.
2632 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2634 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2635 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2637 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2638 Move e_machine check before EI_CLASS check. Handle x32
2639 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2640 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2641 SKIP_EM_IA_64 and include
2642 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2644 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2645 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2646 (add_system_dir): New macro.
2648 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2649 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2651 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2662 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2664 * math/w_j0f.c (j0f): Likewise.
2666 * math/w_j0l.c (__j0l): Likewise.
2668 * math/w_j1.c (j1): Likewise.
2670 * math/w_j1f.c (j1f): Likewise.
2672 * math/w_j1l.c (__j1l): Likewise.
2674 * math/w_jn.c (jn): Likewise.
2676 * math/w_jnf.c (jnf): Likewise.
2678 * math/w_jnl.c (__jnl): Likewise.
2680 * math/libm-test.inc (j0_test): Add more tests.
2681 (j1_test): Likewise.
2682 (jn_test): Likewise. Add trailing semicolon to existing test.
2683 (y0_test): Likewise.
2684 (y1_test): Likewise.
2685 * sysdeps/i386/fpu/libm-test-ulps: Update.
2686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2690 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2691 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2692 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2693 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2694 (__tanl): Set errno for infinite argument.
2695 * sysdeps/i386/fpu/mptan.c: Remove.
2696 * sysdeps/i386/fpu/s_tan.S: Likewise.
2697 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2698 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2699 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2700 * math/libm-test.inc (tan_test): Add more tests and enable more
2701 tests for double and long double.
2702 * sysdeps/i386/fpu/libm-test-ulps: Update.
2703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2705 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2707 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2708 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2710 2012-03-16 Roland McGrath <roland@hack.frob.com>
2712 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2713 * configure.in: Use it for both main tree and add-ons.
2714 * configure: Regenerated.
2716 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2718 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2720 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2722 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2726 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2727 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2728 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2729 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2730 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2732 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2733 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2735 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2736 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2737 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2738 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2739 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2740 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2741 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2742 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2743 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2744 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2745 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2746 * math/libm-test.inc (cos_test): Add more tests and enable more
2747 tests for long double.
2748 (sin_test): Likewise.
2749 (sincos_test): Likewise.
2750 * sysdeps/i386/fpu/libm-test-ulps: Update.
2751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2753 2012-03-16 David S. Miller <davem@davemloft.net>
2755 * sysdeps/sparc/fpu/math_private.h: New file.
2757 2012-03-15 David S. Miller <davem@davemloft.net>
2759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2769 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2773 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2774 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2776 * sysdeps/sparc/sparc-ifunc.h: New file.
2777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2803 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2804 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2815 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2816 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2817 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2818 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2819 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2820 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2822 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2824 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2828 2012-03-15 Andreas Jaeger <aj@suse.de>
2831 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2832 ieee754/flt-32 implementation for sin, cos and sincos.
2833 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2834 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2835 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2836 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2837 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2838 ieee754/flt-32 implementation for tan.
2840 * math/libm-test.inc (cos_test): Enable some large input tests for
2842 (sin_test): Likewise.
2843 (sincos_test): Likewise.
2844 (tan_test): Add tests for large input.
2846 * sysdeps/i386/fpu/libm-test-ulps: Update.
2848 2012-03-15 Andreas Jaeger <aj@suse.de>
2851 * math/libm-test.inc (cos_test): Add more test cases.
2852 (sin_test): Likewise.
2853 (sincos_test): Likewise.
2855 2012-03-15 Andreas Jaeger <aj@suse.de>
2858 * math/libm-test.inc (cos_test): Add a test case for large input
2860 (sin_test): Likewise.
2861 (sincos_test): Likewise.
2863 2012-03-15 Andreas Jaeger <aj@suse.de>,
2864 Joseph Myers <joseph@codesourcery.com>
2867 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2868 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2869 * sysdeps/i386/fpu/branred.c: Likewise.
2870 * sysdeps/i386/fpu/dosincos.c: Likewise.
2871 * sysdeps/i386/fpu/mpa.c: Likewise.
2872 * sysdeps/i386/fpu/s_cos.S: Likewise.
2873 * sysdeps/i386/fpu/s_sin.S: Likewise.
2874 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2875 * sysdeps/i386/fpu/sincos32.c: Likewise.
2877 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2879 (libc_feupdateenv_53bit): Define.
2880 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2882 (libc_feupdateenv_53bit): Define.
2884 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2885 53 bit (without extend i386 double precision).
2887 * math/libm-test.inc (sincos_test): Add tests for large input.
2891 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2893 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2897 2012-03-15 David S. Miller <davem@davemloft.net>
2899 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2900 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2901 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2902 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2926 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2927 fmin/fmax sysdep routines.
2928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2930 2012-03-14 David S. Miller <davem@davemloft.net>
2932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2936 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2937 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2938 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2939 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2952 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2953 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2956 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2957 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2958 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2959 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3004 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3009 * sysdeps/sparc/configure.in: New file.
3010 * sysdeps/sparc/configure: Generate.
3011 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3012 * configure: Regenerate.
3013 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3014 * config.make.in (have-as-vis3): New.
3015 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3016 available use -Av9d instead of -Av9a.
3017 * sysdeps/sparc/sparc64/Makefile: Likewise.
3018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3027 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3028 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3029 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3030 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3033 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3034 fzeros/fnegs to load 0x80000000 into a float register instead of
3036 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3038 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3042 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3043 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3044 ($(inst_includedir)/bits/syscall.h): Remove rule.
3045 ($(objpfx)bits/syscall.d): Include instead of
3046 $(objpfx)syscall-list.d.
3047 (generated): Change syscall-list.h and syscall-list.d to
3048 bits/syscall.h and bits/syscall.d.
3050 2012-03-14 Roland McGrath <roland@hack.frob.com>
3053 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3055 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3058 * math/s_csqrt.c: Include <float.h>.
3059 (__csqrt): Scale large or subnormal inputs.
3060 * math/s_csqrtf.c: Likewise.
3061 * math/s_csqrtl.c: Likewise.
3062 * math/libm-test.inc (csqrt_test): Add more tests.
3063 * sysdeps/i386/fpu/libm-test-ulps: Update.
3064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3067 * math/libm-test.inc (hypot_test): Add more tests.
3069 2012-03-13 David S. Miller <davem@davemloft.net>
3072 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3073 double-precision for the calculation instead of scaling.
3075 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3077 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3078 manipulate bits before adding and subtracting TWO52[sx].
3079 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3080 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3082 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3084 2012-03-13 David S. Miller <davem@davemloft.net>
3086 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3087 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3088 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3089 rtld-global-offsets.h
3090 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3092 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3095 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3097 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3098 'err' in the ifdef scope in which it is actually used.
3100 * nss/nss_db/db-init.c: Include string.h
3102 2012-03-12 David S. Miller <davem@davemloft.net>
3104 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3105 masking out of the most significant byte of random value used.
3106 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3107 Fix coding style in previous change.
3109 * sysdeps/unix/sysv/linux/kernel-features.h
3110 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3111 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3113 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3116 2012-03-11 David S. Miller <davem@davemloft.net>
3118 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3119 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3120 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3121 for 'resultvar' otherwise things get truncated on 64-bit.
3123 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3124 Fix masking out of the most significant byte of random value used.
3126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3128 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3132 2012-03-09 David S. Miller <davem@davemloft.net>
3134 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3135 variables with appropriate CPP guards.
3136 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3137 frame pointer, not the stack pointer. Correct layout comments. Fix test
3138 on resulting framesize and the management of the outregs buffer for pltexit.
3139 Preserve floating point return values across _dl_call_pltexit call.
3140 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3141 framesize and the management of the outregs buffer for pltexit.
3142 Preserve floating point return values across _dl_call_pltexit
3144 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3145 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3146 (print_exit): Fix format string for return register value.
3148 2012-03-10 Joseph Myers <joseph@codesourcery.com>
3150 * sunrpc/Makefile (others): Add rpcgen.
3151 ($(objpfx)rpcgen): Remove special build rule and dependency on
3153 * sunrpc/rpcgen.c: New file.
3155 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3158 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3159 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3160 * sysdeps/i386/crti.S: Likewise.
3161 * sysdeps/i386/crtn.S: Likewise.
3162 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3163 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3164 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3165 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3166 * sysdeps/sh/crti.S: Likewise.
3167 * sysdeps/sh/crtn.S: Likewise.
3168 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3171 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3173 * locale/programs/locfile-kw.gperf: Likewise.
3174 * locale/programs/charmap-kw.h: Regenerated.
3175 * locale/programs/locfile-kw.h: Likewise.
3178 * intl/plural.y: Replace FSF snail mail address with URL.
3179 * intl/plural.c: Regenerated.
3181 2012-03-09 Richard Henderson <rth@twiddle.net>
3183 * include/math_private.h: Remove file.
3184 * math/math_private.h: Move file ...
3185 * sysdeps/generic/math_private.h: ... here.
3187 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3188 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3189 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3191 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3192 and <math_private.h>.
3193 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3194 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3195 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3196 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3197 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3198 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3199 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3201 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3202 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3204 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3205 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3207 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3208 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3209 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3210 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3211 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3212 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3213 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3214 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3215 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3216 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3217 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3218 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3219 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3220 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3222 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3223 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3224 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3225 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3226 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3227 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3228 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3229 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3230 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3231 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3232 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3233 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3234 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3235 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3236 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3237 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3238 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3239 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3240 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3241 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3242 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3243 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3244 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3245 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3246 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3247 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3248 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3249 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3250 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3251 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3252 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3253 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3254 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3255 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3256 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3257 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3258 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3259 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3260 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3261 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3262 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3263 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3264 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3265 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3266 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3267 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3268 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3270 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3271 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3272 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3273 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3274 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3275 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3276 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3277 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3278 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3280 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3281 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3282 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3283 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3284 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3285 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3286 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3287 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3288 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3289 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3290 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3291 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3292 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3293 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3294 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3295 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3296 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3297 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3298 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3299 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3300 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3301 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3302 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3303 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3304 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3305 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3306 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3307 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3308 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3309 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3310 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3311 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3312 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3313 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3314 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3315 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3316 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3317 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3318 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3319 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3320 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3321 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3322 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3323 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3324 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3325 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3326 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3327 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3328 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3329 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3330 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3331 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3332 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3333 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3334 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3335 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3336 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3337 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3338 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3339 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3340 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3341 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3342 * sysdeps/ieee754/k_standard.c: Likewise.
3343 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3344 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3345 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3346 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3347 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3348 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3349 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3350 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3351 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3353 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3355 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3356 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3357 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3359 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3360 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3361 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3362 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3363 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3364 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3365 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3366 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3367 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3368 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3369 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3370 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3371 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3372 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3373 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3374 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3375 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3376 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3378 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3379 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3381 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3383 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3384 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3385 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3386 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3387 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3388 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3389 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3390 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3391 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3392 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3393 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3394 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3395 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3396 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3397 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3398 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3399 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3400 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3401 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3402 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3403 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3404 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3405 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3406 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3407 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3408 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3409 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3410 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3411 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3412 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3413 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3415 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3416 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3417 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3418 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3419 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3420 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3421 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3422 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3423 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3424 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3425 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3426 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3427 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3428 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3429 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3430 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3431 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3432 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3433 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3434 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3435 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3436 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3437 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3438 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3439 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3440 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3441 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3442 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3443 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3444 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3445 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3446 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3447 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3448 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3449 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3450 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3451 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3452 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3453 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3454 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3455 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3456 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3457 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3458 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3459 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3460 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3461 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3462 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3463 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3464 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3465 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3466 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3467 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3468 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3469 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3470 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3471 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3472 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3473 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3474 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3475 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3476 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3477 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3478 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3479 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3480 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3481 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3482 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3483 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3484 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3485 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3486 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3487 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3488 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3489 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3490 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3491 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3492 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3493 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3494 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3495 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3496 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3497 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3498 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3499 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3500 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3501 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3502 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3503 * sysdeps/ieee754/s_lib_version.c: Likewise.
3504 * sysdeps/ieee754/s_matherr.c: Likewise.
3505 * sysdeps/ieee754/s_signgam.c: Likewise.
3506 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3507 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3508 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3509 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3510 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3511 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3512 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3513 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3514 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3515 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3516 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3517 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3518 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3519 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3520 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3521 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3522 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3523 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3524 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3525 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3528 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3530 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3531 * sunrpc/rpc_main.c: Likewise.
3532 * sunrpc/rpc_svcout.c: Likewise.
3534 2012-03-09 David S. Miller <davem@davemloft.net>
3536 * include/math_private.h: New file.
3538 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3540 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3541 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3542 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3543 from <bits/socket_type.h>.
3544 (enum __socket_type): Don't define here.
3545 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3550 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3553 * Makerules ($(inst_includedir)/%.h): New rule.
3554 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3555 (install-others): Remove variable setting.
3556 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3558 2012-03-08 Richard Henderson <rth@twiddle.net>
3560 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3561 from macro to inline function; merge with the
3562 !__LIBC_INTERNAL_MATH_INLINES version.
3563 (__ieee754_sqrtf): Likewise.
3565 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3567 (__rintf, __floor, __floorf): Likewise.
3569 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3570 macro to inline function.
3571 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3573 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3574 not <math/math_private.h>.
3576 2012-03-08 David S. Miller <davem@davemloft.net>
3578 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3580 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3582 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3584 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3586 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3587 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3589 2012-03-08 Ulrich Drepper <drepper@gmail.com>
3591 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3592 be defined individually, they must be defined as a block. Define
3593 S for printing a string instead of hidint the different by using a
3594 macro for adding the 'l'.
3595 * stdio-common/tst-fphex-wide.c: Adjust.
3597 2012-03-07 Marek Polacek <polacek@redhat.com>
3599 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3601 2012-03-08 Marek Polacek <polacek@redhat.com>
3604 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3605 * stdio-common/tst-fphex.c: Define a few macros to make the
3606 test reusable. Use them.
3607 * stdio-common/tst-fphex-wide.c: New file.
3609 2012-03-08 Joseph Myers <joseph@codesourcery.com>
3612 * manual/macros.texi (gnusystems): New macro.
3613 (nongnusystems): Likewise.
3614 (gnulinuxhurdsystems): Likewise.
3615 (gnuhurdsystems): Likewise..
3616 (gnulinuxsystems): Likewise.
3617 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3618 variants of the GNU system, not "GNU system".
3619 * manual/conf.texi: Likewise.
3620 * manual/errno.texi: Likewise. Update example of errno macro
3622 * manual/filesys.texi: Likewise.
3623 (getumask): Document as specific to GNU/Hurd.
3624 * manual/install.texi: Likewise. Reword some references to
3626 * manual/intro.texi: Likewise.
3627 * manual/io.texi: Likewise.
3628 (File Name Portability): Detail which constraints are inapplicable
3629 to all GNU systems and which are only inapplicable to GNU/Hurd.
3630 * manual/job.texi: Likewise.
3631 * manual/llio.texi: Likewise.
3632 (O_NOCTTY): Document as present on GNU/Linux.
3633 * manual/maint.texi: Likewise.
3634 * manual/memory.texi: Likewise.
3635 * manual/pattern.texi: Likewise.
3636 * manual/pipe.texi: Likewise.
3637 * manual/process.texi: Likewise.
3638 * manual/resource.texi: Likewise.
3639 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3641 * manual/setjmp.texi: Likewise.
3642 * manual/signal.texi: Likewise.
3643 * manual/startup.texi: Likewise.
3644 * manual/stdio.texi: Likewise.
3645 * manual/terminal.texi: Likewise.
3646 (ONLCR): Document as POSIX.
3647 (OXTABS): Document availability on GNU/Linux as XTABS.
3648 (ONOEOT): Document availability separately from other bits.
3649 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3650 * manual/time.texi: Likewise.
3651 * manual/users.texi: Likewise.
3652 * INSTALL: Regenerated.
3653 * sysdeps/gnu/errlist.c: Regenerated.
3655 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3656 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3657 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3659 * configure: Regenerated.
3661 2012-03-07 Joseph Myers <joseph@codesourcery.com>
3663 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3664 default includes instead of AC_HEADER_CHECK.
3665 * sysdeps/i386/configure: Regenerated.
3668 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3669 * math/s_cacoshf.c (__cacoshf): Likewise.
3670 * math/s_cacoshl.c (__cacoshl): Likewise.
3671 * math/s_casinh.c (__casinh): Set signs of result from argument.
3672 * math/s_casinhf.c (__casinhf): Likewise.
3673 * math/s_casinhl.c (__casinhl): Likewise.
3674 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3675 (casinh_test): Add more tests.
3676 * sysdeps/i386/fpu/libm-test-ulps: Update.
3677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3679 2012-03-07 Ulrich Drepper <drepper@gmail.com>
3681 * po/zh_TW.po: Update from translation team.
3683 * login/Makefile (distribute): Remove variable.
3684 * catgets/Makefile: Likewise.
3685 * mach/Makefile: Likewise.
3686 * malloc/Makefile: Likewise.
3687 * misc/Makefile: Likewise.
3688 * iconv/Makefile: Likewise.
3689 * nscd/Makefile: Likewise.
3690 * hurd/Makefile: Likewise.
3691 * manual/Makefile: Likewise.
3692 * locale/Makefile: Likewise.
3693 * intl/Makefile: Likewise.
3694 * conform/Makefile: Likewise.
3695 * nss/Makefile: Likewise.
3696 * time/Makefile: Likewise.
3697 * soft-fp/Makefile: Likewise.
3698 * dirent/Makefile: Likewise.
3699 * gmon/Makefile: Likewise.
3700 * po/Makefile: Likewise.
3701 * rt/Makefile: Likewise.
3702 * socket/Makefile: Likewise.
3703 * math/Makefile: Likewise.
3704 * signal/Makefile: Likewise.
3705 * debug/Makefile: Likewise.
3706 * elf/Makefile: Likewise.
3707 * timezone/Makefile: Likewise.
3708 * stdlib/Makefile: Likewise.
3709 * iconvdata/Makefile: Likewise.
3710 * sunrpc/Makefile: Likewise.
3711 * io/Makefile: Likewise.
3712 * argp/Makefile: Likewise.
3713 * inet/Makefile: Likewise.
3714 * hesiod/Makefile: Likewise.
3715 * grp/Makefile: Likewise.
3716 * csu/Makefile: Likewise.
3717 * wctype/Makefile: Likewise.
3718 * crypt/Makefile: Likewise.
3719 * libio/Makefile: Likewise.
3720 * string/Makefile: Likewise.
3721 * nis/Makefile: Likewise.
3722 * resolv/Makefile: Likewise.
3723 * stdio-common/Makefile: Likewise.
3724 * wcsmbs/Makefile: Likewise.
3725 * dlfcn/Makefile: Likewise.
3726 * posix/Makefile: Likewise.
3729 * timezone/Makefile: Don't install timezone files, just the programs
3732 2012-03-06 Ulrich Drepper <drepper@gmail.com>
3734 * nss/databases.def: Add missing gshadow entry.
3736 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3738 2012-03-06 Marek Polacek <polacek@redhat.com>
3741 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3742 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3743 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3744 * stdio-common/tst-long-dbl-fphex.c: New file.
3746 2012-03-06 David S. Miller <davem@davemloft.net>
3748 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3749 (set_obp_int): New function.
3750 (get_obp_int): New function.
3751 (__get_clockfreq_via_dev_openprom): Likewise.
3752 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3753 Avoid unused variable warnings on 'val' and use builtin_expect.
3754 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3756 (INLINE_CLONE_SYSCALL): Likewise.
3758 2012-03-05 David S. Miller <davem@davemloft.net>
3760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3762 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3766 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3768 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3770 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
3772 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3773 Replace gettimeofday with __vdso_gettimeofday.
3775 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3776 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3777 __vdso_clock_gettime and __vdso_getcpu.
3779 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3780 time with __vdso_time.
3782 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3784 * manual/lang.texi (size_t): Note types to which size_t may be
3785 equivalent with the GNU C Library, but do not describe when
3786 differences between them are significant.
3788 2012-03-05 Andreas Jaeger <aj@suse.de>
3790 * sysdeps/i386/fpu/libm-test-ulps: Update.
3792 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3795 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3796 (__ieee754_pow): Save and restore rounding mode and use
3797 round-to-nearest for main computations.
3798 * math/libm-test.inc (pow_test_tonearest): New function.
3799 (pow_test_towardzero): Likewise.
3800 (pow_test_downward): Likewise.
3801 (pow_test_upward): Likewise.
3802 (main): Call the new functions.
3803 * sysdeps/i386/fpu/libm-test-ulps: Update.
3804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3807 * math/libm-test.inc (cosh_test_tonearest): New function.
3808 (cosh_test_towardzero): Likewise.
3809 (cosh_test_downward): Likewise.
3810 (cosh_test_upward): Likewise.
3811 (sinh_test_tonearest): Likewise.
3812 (sinh_test_towardzero): Likewise.
3813 (sinh_test_downward): Likewise.
3814 (sinh_test_upward): Likewise.
3815 (main): Call the new functions.
3816 * sysdeps/i386/fpu/libm-test-ulps: Update.
3817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3819 2012-03-05 Tom de Vries <tom@codesourcery.com>
3821 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3822 default stack guard is set in last bytes.
3823 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3825 2012-03-05 Kees Cook <keescook@chromium.org>
3827 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3830 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3831 possibly allocate from heap instead of stack.
3832 * stdio-common/bug-vfprintf-nargs.c: New file.
3833 * stdio-common/Makefile (tests): Add nargs overflow test.
3835 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3839 2012-03-03 Marek Polacek <polacek@redhat.com>
3841 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3842 * math/math_private.h: Likewise.
3843 * stdlib/tst-strtod.c: Likewise.
3844 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3845 * sysdeps/x86_64/bits/atomic.h: Likewise.
3847 2012-03-02 David S. Miller <davem@davemloft.net>
3849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3853 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3854 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3855 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3856 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3858 2012-03-02 Roland McGrath <roland@hack.frob.com>
3861 * manual/examples/README: New file, says the example source files
3862 can be used under GPL>=2.
3863 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3864 line containing just "*/".
3865 * manual/examples/add.c: Add copyright header (GPL>=2).
3866 * manual/examples/argp-ex1.c: Likewise.
3867 * manual/examples/argp-ex2.c: Likewise.
3868 * manual/examples/argp-ex3.c: Likewise.
3869 * manual/examples/argp-ex4.c: Likewise.
3870 * manual/examples/atexit.c: Likewise.
3871 * manual/examples/db.c: Likewise.
3872 * manual/examples/dir.c: Likewise.
3873 * manual/examples/dir2.c: Likewise.
3874 * manual/examples/execinfo.c: Likewise.
3875 * manual/examples/filecli.c: Likewise.
3876 * manual/examples/filesrv.c: Likewise.
3877 * manual/examples/fmtmsgexpl.c: Likewise.
3878 * manual/examples/genpass.c: Likewise.
3879 * manual/examples/inetcli.c: Likewise.
3880 * manual/examples/inetsrv.c: Likewise.
3881 * manual/examples/isockad.c: Likewise.
3882 * manual/examples/longopt.c: Likewise.
3883 * manual/examples/memopen.c: Likewise.
3884 * manual/examples/memstrm.c: Likewise.
3885 * manual/examples/mkfsock.c: Likewise.
3886 * manual/examples/mkisock.c: Likewise.
3887 * manual/examples/mygetpass.c: Likewise.
3888 * manual/examples/pipe.c: Likewise.
3889 * manual/examples/popen.c: Likewise.
3890 * manual/examples/rprintf.c: Likewise.
3891 * manual/examples/search.c: Likewise.
3892 * manual/examples/select.c: Likewise.
3893 * manual/examples/setjmp.c: Likewise.
3894 * manual/examples/sigh1.c: Likewise.
3895 * manual/examples/sigusr.c: Likewise.
3896 * manual/examples/stpcpy.c: Likewise.
3897 * manual/examples/strdupa.c: Likewise.
3898 * manual/examples/strftim.c: Likewise.
3899 * manual/examples/strncat.c: Likewise.
3900 * manual/examples/subopt.c: Likewise.
3901 * manual/examples/swapcontext.c: Likewise.
3902 * manual/examples/termios.c: Likewise.
3903 * manual/examples/testopt.c: Likewise.
3904 * manual/examples/testpass.c: Likewise.
3905 * manual/examples/timeval_subtract.c: Likewise.
3908 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3910 * manual/timeval_subtract.c.texi: ... here, new file.
3912 2012-03-02 David S. Miller <davem@davemloft.net>
3914 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3916 2012-03-02 Joseph Myers <joseph@codesourcery.com>
3919 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3920 (__sin): Save and restore rounding mode and use round-to-nearest
3921 for all computations.
3922 (__cos): Save and restore rounding mode and use round-to-nearest
3923 for all computations.
3924 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3926 (tan): Save and restore rounding mode and use round-to-nearest for
3928 * math/libm-test.inc (cos_test_tonearest): New function.
3929 (cos_test_towardzero): Likewise.
3930 (cos_test_downward): Likewise.
3931 (cos_test_upward): Likewise.
3932 (sin_test_tonearest): Likewise.
3933 (sin_test_towardzero): Likewise.
3934 (sin_test_downward): Likewise.
3935 (sin_test_upward): Likewise.
3936 (tan_test_tonearest): Likewise.
3937 (tan_test_towardzero): Likewise.
3938 (tan_test_downward): Likewise.
3939 (tan_test_upward): Likewise.
3940 (main): Call the new functions.
3941 * sysdeps/i386/fpu/libm-test-ulps: Update.
3942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3945 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3946 small n, then large n, before computing and testing k+n.
3947 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3950 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3952 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3953 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3954 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3955 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3956 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3957 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3958 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3959 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3960 * math/libm-test.inc (scalbn_test): Add more tests.
3961 (scalbln_test): Likewise.
3963 * manual/filesys.texi (mode_t): Describe constraints on size and
3964 signedness, not exact equivalence to a particular type.
3966 (ino64_t): Likewise.
3968 (nlink_t): Likewise.
3969 (blkcnt_t): Likewise.
3970 (blkcnt64_t): Likewise.
3971 * manual/llio.texi (off_t): Likewise.
3974 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3975 (__ieee754_exp): Save and restore rounding mode and use
3976 round-to-nearest for all computations.
3977 * math/libm-test.inc (exp_test_tonearest): New function.
3978 (exp_test_towardzero): Likewise.
3979 (exp_test_downward): Likewise.
3980 (exp_test_upward): Likewise.
3981 (main): Call the new functions.
3982 * sysdeps/i386/fpu/libm-test-ulps: Update.
3983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3985 2012-03-01 Chris Demetriou <cgd@google.com>
3987 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3988 have predictable order.
3990 2012-03-01 David S. Miller <davem@davemloft.net>
3992 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3994 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3995 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3996 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3997 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3999 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4000 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4001 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4003 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4004 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4005 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4006 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4007 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4011 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4012 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4013 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4015 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4016 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4017 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4018 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4019 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4020 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4022 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4023 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4024 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4025 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4026 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4027 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4028 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4029 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4031 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4032 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4033 * sysdeps/sparc/elf/configure: Regenerated.
4035 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4037 * configure.in (AS, LD): Require binutils 2.20 or later.
4038 * configure: Regenerated.
4039 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4040 as required minimum version.
4041 * INSTALL: Regenerated.
4045 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4046 before squaring exponent.
4047 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4048 bottom long double and 27 bits of top long double before squaring
4050 * math/libm-test.inc (erfc_test): Add more tests.
4051 * sysdeps/i386/fpu/libm-test-ulps: Update.
4052 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4055 2012-03-01 Kai Tietz <ktietz@redhat.com>
4057 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4058 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4059 containing bit-fields.
4060 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4061 * soft-fp/single.h (_FP_UNION_S): Likewise.
4062 * soft-fp/double.h (_FP_UNION_D): Likewise.
4064 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4067 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4068 not include ../strcmp.S.
4069 [USE_AS_STRNCASECMP_L]: Likewise.
4070 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4071 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4072 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4073 (__strncasecmp_l_ia32): Define as alias to
4074 __strncasecmp_l_nonascii.
4077 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4078 * sysdeps/i386/fpu/libm-test-ulps: Update.
4079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4081 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4084 2012-02-29 Jeff Law <law@redhat.com>
4086 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4089 2012-02-29 Marek Polacek <polacek@redhat.com>
4092 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4093 * elf/Makefile: Add rules to run tst-unused-dep.out.
4095 2012-02-28 David S. Miller <davem@davemloft.net>
4097 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4098 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4099 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4100 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4101 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4102 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4104 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4106 * math/libm-test.inc (llround_test): Move one test from
4107 lround_test. Use TEST_f_L in moved test.
4108 (lround_test): Move misplaced test to llround_test. Add testcase
4111 2012-02-28 Ulrich Drepper <drepper@gmail.com>
4113 * sysdeps/x86_64/fpu/e_expf.S: New file.
4114 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4116 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4119 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4120 of remain_len that may cause incomplete multi-byte character and
4122 * posix/bug-regex33.c: New file.
4123 * posix/Makefile (tests): Add bug-regex33.
4125 2012-02-28 Joseph Myers <joseph@codesourcery.com>
4127 * manual/macros.texi: New file.
4128 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4129 * manual/libc.texinfo: Include macros.texi.
4130 * manual/creatute.texi: Likewise.
4131 * manual/install.texi: Likewise.
4132 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4133 @glibcadj{} in references to the GNU C Library.
4134 * manual/charset.texi: Likewise.
4135 * manual/conf.texi: Likewise.
4136 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4137 when not using those macros.
4138 * manual/creature.texi: Likewise.
4139 * manual/crypt.texi: Likewise.
4140 * manual/errno.texi: Likewise.
4141 * manual/filesys.texi: Likewise.
4142 * manual/header.texi: Likewise.
4143 * manual/install.texi: Likewise.
4144 * manual/intro.texi: Likewise.
4145 * manual/io.texi: Likewise.
4146 * manual/job.texi: Likewise.
4147 * manual/lang.texi: Likewise.
4148 * manual/libc.texiinfo: Likewise.
4149 * manual/llio.texi: Likewise.
4150 * manual/locale.texi: Likewise.
4151 * manual/maint.texi: Likewise.
4152 * manual/math.texi: Likewise.
4153 * manual/memory.texi: Likewise.
4154 * manual/message.texi: Likewise.
4155 * manual/nss.texi: Likewise.
4156 * manual/pattern.texi: Likewise.
4157 * manual/process.texi: Likewise.
4158 * manual/resource.texi: Likewise.
4159 * manual/search.texi: Likewise.
4160 * manual/setjmp.texi: Likewise.
4161 * manual/signal.texi: Likewise.
4162 * manual/socket.texi: Likewise.
4163 * manual/startup.texi: Likewise.
4164 * manual/stdio.texi: Likewise.
4165 * manual/string.texi: Likewise.
4166 * manual/sysinfo.texi: Likewise.
4167 * manual/syslog.texi: Likewise.
4168 * manual/terminal.texi: Likewise.
4169 * manual/time.texi: Likewise.
4170 * manual/users.texi: Likewise.
4171 * INSTALL: Regenerated.
4172 * NOTES: Regenerated.
4173 * sysdeps/gnu/errlist.c: Regenerated.
4175 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4177 * include/dirent.h: Include <dirstream.h> before
4180 2012-02-28 David S. Miller <davem@davemloft.net>
4182 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4183 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4184 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4185 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4187 2012-02-27 David S. Miller <davem@davemloft.net>
4189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4191 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4192 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4195 frame pointer instead of stack pointer relative arg slot.
4196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4197 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4198 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4200 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4203 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4205 2012-02-27 David S. Miller <davem@davemloft.net>
4207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4211 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4212 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4213 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4214 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4216 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4218 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4219 later. Allow versions 5-9.
4220 * configure: Regenerated.
4221 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4222 required minimum version and 4.6 as recommended version. Do not
4223 mention bugs in GCC 2.7 and 2.8.
4224 * INSTALL: Regenerated.
4226 2012-02-27 David S. Miller <davem@davemloft.net>
4228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4232 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4233 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4234 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4235 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4237 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4238 manipulate bits before adding and subtracting TWO112[sx].
4239 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4241 2012-02-27 Roland McGrath <roland@hack.frob.com>
4244 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4245 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4246 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4247 being in POSIX, because they are in 1003.1-2008.
4249 * rt/tst-aio.c: Include <fcntl.h>.
4250 * rt/tst-aio7.c: Likewise.
4251 * rt/tst-aio64.c: Likewise.
4253 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4255 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4257 * manual/install.texi (--with-headers): Describe headers as
4258 interface headers, not private headers.
4259 (Specific advice for GNU/Linux systems): Describe use of headers
4260 from "make headers_install", not private headers from older
4262 * INSTALL: Regenerated.
4263 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4265 * sysdeps/unix/sysv/linux/configure: Regenerated.
4267 * manual/llio.texi (fclean): Remove documentation.
4269 * manual/Makefile (libc-texi-generated): New variable. Include
4271 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4272 $(libc-texi-generated), not duplicated list of files.
4273 (version.texi, stamp-version): New rules.
4274 (realclean): Remove $(libc-texi-generated), not individual files
4275 from that list. Do not remove dir-add.texinfo.
4276 * manual/libc.texinfo: Comment out uses of edition numbers and
4277 references to printed manual. Remove last-updated dates.
4278 (EDITION): Comment out.
4280 (VERSION, UPDATED): Remove.
4281 (version.texi): Include.
4283 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4285 * sysdeps/posix/spawni.c: Include <signal.h>.
4286 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4287 * sysdeps/pthread/aio_fsync.c: Likewise.
4289 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4291 * conform/Makefile (tests): Run only when not cross-compiling and
4292 when fast-check is not defined.
4294 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4295 * conform/data/limits.h-data: Fixes for POSIX2008.
4296 * conform/run-conformtest.sh: Run all tests.
4297 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4299 * include/bits/dlfcn.h: Likewise.
4300 * include/langinfo.h: Likewise.
4301 * include/monetary.h: Likewise.
4302 * include/sys/poll.h: Likewise.
4304 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4306 * posix/spawn.h: Define __need_sigset_t.
4307 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4308 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4309 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4310 to get sigevent_t only.
4311 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4314 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4315 process_vm_writev only for __USE_GNU.
4316 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4318 * conform/Makefile: For now ignore errors from run-conformtest.
4319 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4320 POSIX to avoid namespace pollution. Don't prepend headers.
4321 * conform/data/aio.h-data: Fixes for POSIX testing.
4322 * conform/data/fcntl.h-data: Likewise.
4323 * conform/data/glob.h-data: Likewise.
4324 * conform/data/grp.h-data: Likewise.
4325 * conform/data/pthread.h-data: Likewise.
4326 * conform/data/pwd.h-data: Likewise.
4327 * conform/data/signal.h-data: Likewise.
4328 * conform/data/spawn.h-data: Likewise.
4329 * conform/data/stdio.h-data: Likewise.
4330 * conform/data/stdlib.h-data: Likewise.
4331 * conform/data/stropts.h-data: Likewise.
4332 * conform/data/sys/mman.h-data: Likewise.
4333 * conform/data/sys/stat.h-data: Likewise.
4334 * conform/data/sys/types.h-data: Likewise.
4335 * conform/data/sys/wait.h-data: Likewise.
4336 * conform/data/time.h-data: Likewise.
4337 * conform/data/unistd.h-data: Likewise.
4338 * conform/data/utime.h-data: Likewise.
4340 * io/sys/stat.h: fchmod was always in POSIX.
4341 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4342 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4343 * rt/aio.h: Define __need_timespec before including <time.h>.
4344 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4345 struct. Add forward declaration of pthread_attr_t and use it in
4347 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4348 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4349 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4350 always remove CLK_TCK definition.
4352 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4354 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4356 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4358 * conform/run-conformtest.sh: New file.
4359 * conform/Makefile: Run run-conformtest for tests.
4360 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4363 * conform/data/uchar.h-data: New file.
4364 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4365 * conform/data/arpa/inet.h-data: Likewise.
4366 * conform/data/assert.h-data: Likewise.
4367 * conform/data/complex.h-data: Likewise.
4368 * conform/data/cpio.h-data: Likewise.
4369 * conform/data/ctype.h-data: Likewise.
4370 * conform/data/dirent.h-data: Likewise.
4371 * conform/data/dlfcn.h-data: Likewise.
4372 * conform/data/errno.h-data: Likewise.
4373 * conform/data/fcntl.h-data: Likewise.
4374 * conform/data/float.h-data: Likewise.
4375 * conform/data/fmtmsg.h-data: Likewise.
4376 * conform/data/fnmatch.h-data: Likewise.
4377 * conform/data/ftw.h-data: Likewise.
4378 * conform/data/glob.h-data: Likewise.
4379 * conform/data/grp.h-data: Likewise.
4380 * conform/data/iconv.h-data: Likewise.
4381 * conform/data/inttypes.h-data: Likewise.
4382 * conform/data/langinfo.h-data: Likewise.
4383 * conform/data/libgen.h-data: Likewise.
4384 * conform/data/limits.h-data: Likewise.
4385 * conform/data/locale.h-data: Likewise.
4386 * conform/data/math.h-data: Likewise.
4387 * conform/data/monetary.h-data: Likewise.
4388 * conform/data/mqueue.h-data: Likewise.
4389 * conform/data/ndbm.h-data: Likewise.
4390 * conform/data/net/if.h-data: Likewise.
4391 * conform/data/netdb.h-data: Likewise.
4392 * conform/data/netinet/in.h-data: Likewise.
4393 * conform/data/nl_types.h-data: Likewise.
4394 * conform/data/poll.h-data: Likewise.
4395 * conform/data/pthread.h-data: Likewise.
4396 * conform/data/pwd.h-data: Likewise.
4397 * conform/data/regex.h-data: Likewise.
4398 * conform/data/sched.h-data: Likewise.
4399 * conform/data/search.h-data: Likewise.
4400 * conform/data/semaphore.h-data: Likewise.
4401 * conform/data/setjmp.h-data: Likewise.
4402 * conform/data/signal.h-data: Likewise.
4403 * conform/data/spawn.h-data: Likewise.
4404 * conform/data/stdarg.h-data: Likewise.
4405 * conform/data/stdio.h-data: Likewise.
4406 * conform/data/stdlib.h-data: Likewise.
4407 * conform/data/string.h-data: Likewise.
4408 * conform/data/strings.h-data: Likewise.
4409 * conform/data/stropts.h-data: Likewise.
4410 * conform/data/sys/ipc.h-data: Likewise.
4411 * conform/data/sys/mman.h-data: Likewise.
4412 * conform/data/sys/msg.h-data: Likewise.
4413 * conform/data/sys/resource.h-data: Likewise.
4414 * conform/data/sys/select.h-data: Likewise.
4415 * conform/data/sys/sem.h-data: Likewise.
4416 * conform/data/sys/shm.h-data: Likewise.
4417 * conform/data/sys/socket.h-data: Likewise.
4418 * conform/data/sys/stat.h-data: Likewise.
4419 * conform/data/sys/statvfs.h-data: Likewise.
4420 * conform/data/sys/time.h-data: Likewise.
4421 * conform/data/sys/timeb.h-data: Likewise.
4422 * conform/data/sys/times.h-data: Likewise.
4423 * conform/data/sys/types.h-data: Likewise.
4424 * conform/data/sys/uio.h-data: Likewise.
4425 * conform/data/sys/un.h-data: Likewise.
4426 * conform/data/sys/utsname.h-data: Likewise.
4427 * conform/data/sys/wait.h-data: Likewise.
4428 * conform/data/syslog.h-data: Likewise.
4429 * conform/data/tar.h-data: Likewise.
4430 * conform/data/termios.h-data: Likewise.
4431 * conform/data/utime.h-data: Likewise.
4432 * conform/data/utmpx.h-data: Likewise.
4433 * conform/data/varargs.h-data: Likewise.
4434 * conform/data/wchar.h-data: Likewise.
4435 * conform/data/wctype.h-data: Likewise.
4436 * conform/data/wordexp.h-data: Likewise.
4438 * include/stropts.h: New file.
4439 * include/uchar.h: New file.
4440 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4441 * include/assert.h: Likewise.
4442 * include/ctype.h: Likewise.
4443 * include/dirent.h: Likewise.
4444 * include/dlfcn.h: Likewise.
4445 * include/fcntl.h: Likewise.
4446 * include/fnmatch.h: Likewise.
4447 * include/glob.h: Likewise.
4448 * include/grp.h: Likewise.
4449 * include/libio.h: Likewise.
4450 * include/locale.h: Likewise.
4451 * include/math.h: Likewise.
4452 * include/net/if.h: Likewise.
4453 * include/netdb.h: Likewise.
4454 * include/netinet/in.h: Likewise.
4455 * include/pthread.h: Likewise.
4456 * include/pwd.h: Likewise.
4457 * include/regex.h: Likewise.
4458 * include/sched.h: Likewise.
4459 * include/search.h: Likewise.
4460 * include/setjmp.h: Likewise.
4461 * include/signal.h: Likewise.
4462 * include/stdio.h: Likewise.
4463 * include/stdlib.h: Likewise.
4464 * include/string.h: Likewise.
4465 * include/sys/cdefs.h: Likewise.
4466 * include/sys/mman.h: Likewise.
4467 * include/sys/msg.h: Likewise.
4468 * include/sys/resource.h: Likewise.
4469 * include/sys/select.h: Likewise.
4470 * include/sys/socket.h: Likewise.
4471 * include/sys/stat.h: Likewise.
4472 * include/sys/statvfs.h: Likewise.
4473 * include/sys/time.h: Likewise.
4474 * include/sys/times.h: Likewise.
4475 * include/sys/uio.h: Likewise.
4476 * include/sys/utsname.h: Likewise.
4477 * include/sys/wait.h: Likewise.
4478 * include/termios.h: Likewise.
4479 * include/time.h: Likewise.
4480 * include/ulimit.h: Likewise.
4481 * include/unistd.h: Likewise.
4482 * include/utime.h: Likewise.
4483 * include/wchar.h: Likewise.
4484 * include/wctype.h: Likewise.
4485 * include/wordexp.h: Likewise.
4487 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4489 * time/time.h: TIME_UTC must be a macro.
4490 Make timespec_get available for ISO C11 only as well.
4492 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4494 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4495 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4497 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4499 * configure.in: Use -o not -a in test for unsupported multi-arch.
4501 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4503 * manual/texinfo.tex: Update to version 2012-01-19.16.
4505 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4507 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4509 2012-02-24 Roland McGrath <roland@hack.frob.com>
4512 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4513 * manual/fdl-1.3.texi: New file.
4514 * manual/fdl-1.1.texi: File removed.
4517 * manual/libc.texinfo (FDL_VERSION): New @set.
4518 Use it for mention of FDL in cover text.
4519 (Documentation License): Use it in @include file name.
4521 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4522 Roland McGrath <roland@hack.frob.com>
4525 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4526 not LONG_LONG_MAX and LONG_LONG_MIN.
4527 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4528 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4530 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4532 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4536 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4537 manipulate bits before adding and subtracting TWO23[sx].
4538 * math/libm-test.inc (nearbyint_test): Add more tests.
4540 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4543 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4544 bits before adding and subtracting TWO23[sx].
4545 * math/libm-test.inc (rint_test): Add more tests.
4546 (rint_test_tonearest): Likewise.
4547 (rint_test_towardzero): Likewise.
4548 (rint_test_downward): Likewise.
4549 (rint_test_upward: Likewise.
4551 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4554 * include/stdc-predef.h: New file. Extracted from features.h.
4555 * include/features.h: Include stdc-predef.h.
4556 * Makefile (headers): Add stdc-predef.h.
4557 * CONFORMANCE (Compiler limitations): Update.
4559 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4561 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4563 2012-02-21 David S. Miller <davem@davemloft.net>
4565 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4566 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4568 2012-02-20 David S. Miller <davem@davemloft.net>
4570 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4571 using a normal save/restore sequence, rather than allocating a
4572 dummy stack frame just to store a frame pointer and restore.
4573 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4575 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4577 * manual/install.texi: Fix stray word in line-wrapped comment.
4579 2012-02-20 David S. Miller <davem@davemloft.net>
4581 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4582 both binutils and gcc support GOTDATA.
4584 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4585 "rd %pc" in the PIC register setup sequences.
4587 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4588 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4589 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4590 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4591 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4593 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4594 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4595 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4596 (SYSCALL_ERROR_HANDLER): Likewise.
4597 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4598 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4600 (SYSCALL_ERROR_HANDLER): Likewise.
4602 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4603 (HAVE_GCC_GOTDATA): New.
4604 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4605 relocation support in both binutils and gcc.
4606 * sysdeps/sparc/elf/configure: Regenerate.
4608 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4609 * sysdeps/sparc/sparc32/elf/configure: Delete.
4610 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4611 * sysdeps/sparc/sparc64/elf/configure: Delete.
4612 * sysdeps/sparc/elf/configure.in: New file.
4613 * sysdeps/sparc/elf/configure: Generate.
4615 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4616 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4617 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4618 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4619 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4621 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4623 * manual/install.texi: Do not mention specific glibc version
4625 * manual/libc.texinfo (VERSION, UPDATED): Update.
4626 (@copying): Use @copyright{} and range of years.
4628 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4631 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4632 [crti.S not in sysdirs] (generated): Do not append.
4633 [crti.S not in sysdirs] (omit-deps): Likewise.
4634 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4635 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4636 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4637 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4638 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4640 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4641 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4642 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4643 * csu/defs.awk: Remove file.
4644 * sysdeps/generic/initfini.c: Likewise.
4645 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4647 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4650 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4652 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4653 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4654 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4655 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4656 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4657 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4659 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4660 (__EPOLL_PACKED): Define to empty if not defined by
4662 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4666 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4668 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4669 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4670 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4671 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4673 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4677 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4679 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4681 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4682 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4683 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4686 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4688 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4689 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4691 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4693 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4694 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4696 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4698 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4701 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4703 * math/w_acos.c: Use non-signaling floating-point comparisons.
4704 * math/w_acosf.c: Likewise.
4705 * math/w_acosh.c: Likewise.
4706 * math/w_acoshf.c: Likewise.
4707 * math/w_acoshl.c: Likewise.
4708 * math/w_acosl.c: Likewise.
4709 * math/w_asin.c: Likewise.
4710 * math/w_asinf.c: Likewise.
4711 * math/w_asinl.c: Likewise.
4712 * math/w_atanh.c: Likewise.
4713 * math/w_atanhf.c: Likewise.
4714 * math/w_atanhl.c: Likewise.
4715 * math/w_exp2.c: Likewise.
4716 * math/w_exp2f.c: Likewise.
4717 * math/w_exp2l.c: Likewise.
4718 * math/w_j0.c: Likewise.
4719 * math/w_j0f.c: Likewise.
4720 * math/w_j0l.c: Likewise.
4721 * math/w_j1.c: Likewise.
4722 * math/w_j1f.c: Likewise.
4723 * math/w_j1l.c: Likewise.
4724 * math/w_jn.c: Likewise.
4725 * math/w_jnf.c: Likewise.
4726 * math/w_log.c: Likewise.
4727 * math/w_log10.c: Likewise.
4728 * math/w_log10f.c: Likewise.
4729 * math/w_log10l.c: Likewise.
4730 * math/w_log2.c: Likewise.
4731 * math/w_log2f.c: Likewise.
4732 * math/w_log2l.c: Likewise.
4733 * math/w_logf.c: Likewise.
4734 * math/w_logl.c: Likewise.
4735 * math/w_sqrt.c: Likewise.
4736 * math/w_sqrtf.c: Likewise.
4737 * math/w_sqrtl.c: Likewise.
4738 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4739 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4740 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4741 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4742 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4744 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4747 * manual/string.texi (strnlen): Use correct parameter name in
4748 equivalent expression.
4750 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4753 * manual/users.texi (seteuid): Consistently use neweuid for
4756 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4759 * manual/nss.texi (Services in the NSS configuration): Correct
4760 list of services in example configuration file.
4762 2012-02-19 Nick Bowler <nbowler@draconx.ca>
4765 * manual/arith.texi: Remove statements about negative zero
4766 behaving identically to zero.
4768 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4771 * manual/install.texi: Do not document upgrading from libc5.
4773 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4776 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4778 2012-02-18 David S. Miller <davem@davemloft.net>
4780 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4781 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4782 %o7 across the call.
4783 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4788 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4789 * sysdeps/sparc/crtn.S: Likewise.
4791 2012-02-17 Ulrich Drepper <drepper@gmail.com>
4793 * aout/Makefile: Remove.
4795 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4798 * manual/examples/argp-ex1.c (main): Format definition in GNU
4800 * manual/examples/argp-ex2.c (main): Likewise.
4801 * manual/examples/argp-ex3.c (main): Likewise.
4802 * manual/examples/argp-ex4.c (main): Likewise.
4803 * manual/examples/longopt.c (main): Use new-style prototype
4805 * manual/examples/strncat.c (main): Specify return type and use
4806 (void) for arguments.
4807 * manual/examples/subopt.c (main): Use char **argv argument.
4809 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4812 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4815 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4818 * manual/string.texi (strchr): Change when strchrnul is
4821 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4824 * manual/locale.texi (setlocale): Document LOCPATH.
4826 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4829 * manual/process.texi (execle): Move @dots{} before last argument.
4831 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
4834 * manual/charset.texi (Generic Charset Conversion): Fix typo
4835 (LC_TYPE -> LC_CTYPE).
4837 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4840 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4841 (scalbnf): Likewise.
4842 (scalbnl): Likewise.
4843 (scalbln): Likewise.
4844 (scalblnf): Likewise.
4845 (scalblnl): Likewise.
4846 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4850 * manual/filesys.texi (telldir): Use braces around return type.
4851 * manual/llio.texi (mmap): Add space after comma.
4853 * manual/math.texi (jn): Use @var{} on parameter names.
4859 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4861 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4863 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4864 (sched_get_priority_max): Likewise.
4865 * manual/signal.texi (sigvec): Add space after comma.
4866 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4868 (if_indextoname): Likewise.
4869 (if_freenameindex): Likewise.
4870 (sendto): Use ',' instead of '.' in prototype.
4871 * manual/startup.texi (syscall): Use @dots{} instead of literal
4873 * manual/stdio.texi (__fpending): Separate initial words of
4874 paragraph from @deftypefun line.
4875 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4877 (vsyslog): Use @var{} on parameter names.
4878 * manual/terminal.texi (stty): Use @var{} on parameter names.
4879 * manual/users.texi (getutmp): Use @var{} on parameter names.
4880 (getutmpx): Likewise.
4882 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4885 * manual/stdio.texi (fopen): Fix typos in description of
4888 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4891 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4892 get clock_id definition.
4894 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
4897 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4898 (madvise): Cast every argument to void on its own.
4900 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4903 * manual/startup.texi (Exit Status): Fix typo.
4905 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4908 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4909 * manual/examples/argp-ex2.c: Likewise.
4910 * manual/examples/argp-ex3.c: Likewise.
4912 2012-02-16 Richard Henderson <rth@redhat.com>
4914 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4915 * sysdeps/s390/s390-32/initfini.c: Remove.
4916 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4917 * sysdeps/s390/s390-64/initfini.c: Remove.
4919 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4921 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4922 compiler output for sysdeps/generic/initfini.c.
4923 * sysdeps/sh/elf/initfini.c: Remove file.
4925 2012-02-16 David S. Miller <davem@davemloft.net>
4928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4930 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4931 * sysdeps/sparc/crti.S: New file.
4932 * sysdeps/sparc/crtn.S: New file.
4933 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4934 * sysdeps/sparc/sparc64/Makefile: Likewise.
4936 2012-02-15 Mike Frysinger <vapier@gentoo.org>
4939 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4941 2012-02-15 Roland McGrath <roland@hack.frob.com>
4944 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4946 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4947 (write, read, close): Likewise.
4948 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4950 2012-02-15 Joseph Myers <joseph@codesourcery.com>
4952 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4953 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4954 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4955 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4957 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4961 2012-02-14 Marek Polacek <polacek@redhat.com>
4963 * sysdeps/x86_64/crti.S: New file.
4964 * sysdeps/x86_64/crtn.S: New file.
4965 * sysdeps/x86_64/elf/initfini.c: Remove file.
4967 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4969 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4970 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4971 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4972 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4974 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4978 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4980 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4981 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4983 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4985 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4989 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4991 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4992 __feraiseexcept instead of feraiseexcept.
4994 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4995 nanosleep invocations.
4996 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4997 strings, and add error checking for a nanosleep invocations.
4999 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5001 Replace FSF snail mail address with URLs, as per GNU coding standards.
5002 Most of the snail mail addresses were wrong anyway, and omitting
5003 them makes the source code easier to maintain. Almost all of the
5004 changes are to license notices and to locale LC_IDENTIFICATION
5005 addresses, except for this one:
5006 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5007 not its snail mail address.
5009 2012-02-09 Richard Henderson <rth@twiddle.net>
5011 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5012 of kernel-features.h.
5014 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5016 2012-02-08 Marek Polacek <polacek@redhat.com>
5018 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5019 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5020 * sysdeps/gnu/_G_config.h: Likewise.
5021 * sysdeps/generic/_G_config.h: Likewise.
5023 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5025 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5029 * sysdeps/powerpc/powerpc32/crti.S: New file.
5030 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5031 * sysdeps/powerpc/powerpc64/crti.S: New file.
5032 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5034 * Makeconfig (have-initfini): Don't set.
5035 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5036 * configure.in (nopic_initfini): Don't substitute.
5037 * config.h.in (HAVE_INITFINI): Don't #undef.
5038 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5039 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5041 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5043 Support crti.S and crtn.S provided directly by architectures.
5044 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5045 [crti.S in sysdirs] (omit-deps): Likewise.
5046 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5047 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5048 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5049 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5050 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5051 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5052 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5053 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5054 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5055 compiler output for sysdeps/generic/initfini.c.
5056 * sysdeps/i386/elf/Makefile: Remove file.
5057 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5059 2012-02-07 Marek Polacek <polacek@redhat.com>
5061 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5062 * sysdeps/gnu/_G_config.h: Likewise.
5063 * sysdeps/mach/hurd/_G_config.h: Likewise.
5065 2012-02-07 Marek Polacek <polacek@redhat.com>
5067 * math/Makefile (tests): Add tst-CMPLX2.
5068 * math/tst-CMPLX2.c: New file.
5070 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5072 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5074 * math/libm-test.inc (jn_test): Add missing L suffix.
5076 2012-02-06 Marek Polacek <polacek@redhat.com>
5078 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5079 * sysdeps/i386/fpu/e_powf.S: Likewise.
5080 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5081 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5082 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5083 * sysdeps/i386/fpu/e_pow.S: Likewise.
5084 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5085 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5086 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5087 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5088 * sysdeps/i386/fpu/e_log2.S: Likewise.
5089 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5090 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5091 * sysdeps/i386/fpu/e_powl.S: Likewise.
5092 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5093 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5094 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5095 * sysdeps/i386/fpu/e_logl.S: Likewise.
5096 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5097 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5098 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5099 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5100 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5101 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5102 * sysdeps/i386/fpu/e_log.S: Likewise.
5103 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5104 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5105 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5106 * sysdeps/i386/fpu/e_logf.S: Likewise.
5107 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5108 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5109 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5110 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5111 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5112 * sysdeps/i386/fpu/e_log10.S: Likewise.
5113 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5114 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5115 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5116 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5117 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5118 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5119 * sysdeps/i386/asm-syntax.h: Likewise.
5120 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5121 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5122 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5123 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5124 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5125 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5126 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5127 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5128 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5129 * sysdeps/powerpc/sysdep.h: Likewise.
5130 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5131 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5133 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5136 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5138 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5140 * sysdeps/i386/sysdep.h: Include <features.h>.
5141 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5144 2012-02-05 Joseph Myers <joseph@codesourcery.com>
5146 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5148 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5151 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5153 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5154 (SETUP_PIC_REG): Use GET_PC_THUNK.
5155 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5158 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5160 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5161 for non-PIC compilation.
5162 (SETUP_PIC_REG): Add .p2align directive.
5163 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5164 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5165 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5166 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5167 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5168 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5169 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5170 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5171 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5172 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5173 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5174 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5175 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5176 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5177 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5178 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5179 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5180 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5181 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5182 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5183 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5184 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5185 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5186 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5187 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5188 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5189 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5190 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5191 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5192 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5193 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5194 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5195 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5196 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5197 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5198 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5199 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5200 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5201 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5202 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5203 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5205 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5207 * math/tst-CMPLX.c: Include <stdio.h>.
5209 2012-01-31 Joseph Myers <joseph@codesourcery.com>
5211 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5213 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5214 * sysdeps/sparc/bits/mathdef.h: Likewise.
5216 2012-01-31 Marek Polacek <polacek@redhat.com>
5218 * libio/libio.h: Don't define _PARAMS.
5219 * locale/programs/config.h: Don't define PARAMS.
5220 * stdlib/strtol_l.c: Likewise.
5221 (__strtol_l): Remove PARAMS from the prototype.
5223 2012-01-31 Ulrich Drepper <drepper@gmail.com>
5225 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5226 names. Just use the correct names. Remove unnecessary wrapper
5228 * malloc/arena.c: Likewise.
5229 * malloc/hooks.c: Likewise.
5231 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5232 ARENA_TEST says not to. Simplify test for creation of a new arena.
5233 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5235 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5237 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5239 (update_get_addr): New function.
5240 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5241 GET_ADDR_MODULE parameter.
5243 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5245 * crypt/cert.c: Remove __STDC__ conditionals.
5246 * crypt/crypt-entry.c: Likewise.
5247 * crypt/crypt_util.c: Likewise.
5248 * libio/filedoalloc.c: Likewise.
5249 * libio/fileops.c: Likewise.
5250 * libio/genops.c: Likewise.
5251 * libio/iofclose.c: Likewise.
5252 * libio/iofdopen.c: Likewise.
5253 * libio/iofopen.c: Likewise.
5254 * libio/iofopen64.c: Likewise.
5255 * libio/iogetdelim.c: Likewise.
5256 * libio/iopopen.c: Likewise.
5257 * libio/obprintf.c: Likewise.
5258 * libio/oldfileops.c: Likewise.
5259 * libio/oldiofclose.c: Likewise.
5260 * libio/oldiofdopen.c: Likewise.
5261 * libio/oldiofopen.c: Likewise.
5262 * libio/oldiopopen.c: Likewise.
5263 * libio/wfiledoalloc.c: Likewise.
5264 * libio/wgenops.c: Likewise.
5265 * locale/programs/xmalloc.c: Likewise.
5266 * misc/syslog.c: Likewise.
5267 * stdio-common/xbug.c: Likewise.
5268 * string/memchr.c: Likewise.
5269 * string/memcmp.c: Likewise.
5270 * string/memrchr.c: Likewise.
5271 * string/rawmemchr.c: Likewise.
5272 * sysdeps/posix/getcwd.c: Likewise.
5273 * time/strftime_l.c: Likewise.
5275 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5277 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5278 * config.make.in (config-cflags-sse2avx): Define.
5279 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5282 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5284 * scripts/config.guess: Update from upstream config git repository.
5285 * scripts/config.sub: Likewise.
5287 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5289 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5291 (R_TILEPRO_*, R_TILEGX_*): New macros.
5293 * scripts/firstversions.awk: Fix bug in version range handling.
5295 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5297 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5299 * include/sys/epoll.h: New file.
5300 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5303 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5305 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5306 Avoid unnecessary __WORDSIZE == 64 test.
5307 (fmaxf): Use VEX format if possible.
5312 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5313 * math/math_private.h: Remove libc_fegetround* and
5315 * sysdeps/i386/configure.in: Check for -msse2avx.
5316 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5317 also if SSE2AVX is defined.
5318 Remove libc_fegetround* and libc_fesetround*.
5319 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5320 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5321 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5323 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5324 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5325 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5326 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5327 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5329 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5331 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5333 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5335 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5337 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5340 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5342 * Makeconfig (libm): Define.
5343 * elf/Makefile: Add rules to build and run tst-relsort1.
5344 * elf/tst-relsort1.c: New file.
5345 * elf/tst-relsort1mod1.c: New file.
5346 * elf/tst-relsort1mod2.c: New file.
5348 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5350 * math/s_ldexp.c: Remove __STDC__ conditionals.
5351 * math/s_ldexpf.c: Likewise.
5352 * math/s_ldexpl.c: Likewise.
5353 * math/s_nextafter.c: Likewise.
5354 * math/s_nexttowardf.c: Likewise.
5355 * math/s_significand.c: Likewise.
5356 * math/s_significandf.c: Likewise.
5357 * math/s_significandl.c: Likewise.
5358 * math/w_jnl.c: Likewise.
5359 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5360 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5361 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5362 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5363 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5378 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5379 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5380 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5381 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5382 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5383 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5384 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5385 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5386 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5387 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5388 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5389 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5390 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5391 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5392 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5393 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5394 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5395 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5396 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5397 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5398 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5399 * sysdeps/ieee754/k_standard.c: Likewise.
5400 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5404 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5424 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5425 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5426 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5428 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5430 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5432 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5435 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5436 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5437 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5438 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5439 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5441 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5442 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5443 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5446 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5447 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5448 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5452 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5453 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5454 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5455 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5456 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5461 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5464 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5466 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5467 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5470 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5471 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5472 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5474 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5475 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5477 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5479 * sysdeps/ieee754/s_matherr.c: Likewise.
5480 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5481 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5482 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5483 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5485 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5487 * crypt/md5.h: Remove __STDC__ conditionals.
5488 * libio/libioP.h: Likewise.
5489 * locale/programs/config.h: Likewise.
5490 * sysdeps/generic/sysdep.h: Likewise.
5491 * sysdeps/i386/asm-syntax.h: Likewise.
5492 * sysdeps/s390/asm-syntax.h: Likewise.
5493 * sysdeps/unix/sysdep.h: Likewise.
5494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5497 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5499 * libio/libio.h: Remove __STDC__ conditionals.
5500 * malloc/obstack.h: Likewise.
5501 * math/complex.h: Likewise.
5502 * math/math.h: Likewise.
5503 * sysdeps/generic/_G_config.h: Likewise.
5504 * sysdeps/gnu/_G_config.h: Likewise.
5505 * sysdeps/mach/hurd/_G_config.h: Likewise.
5506 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5507 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5508 * sysdeps/sparc/bits/mathdef.h: Likewise.
5510 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5513 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5514 Clean up HAS_* macros.
5515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5516 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5518 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5520 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5521 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5522 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5523 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5524 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5526 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5528 * elf/tst-unique3.cc (gets): Remove declaration.
5529 * elf/tst-unique3lib.cc (gets): Likewise.
5530 * elf/tst-unique3lib2.cc (gets): Likewise.
5531 * elf/tst-unique4.cc (gets): Likewise.
5533 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5535 * include/stdio.h: Add C++ protection. Add gets declarations and
5537 * debug/tst-chk1.c: Don't declare gets here.
5538 * stdio-common/tst-gets.c: Likewise.
5540 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5542 * posix/glob: Remove directory.
5544 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5546 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5548 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5550 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5551 of the non-standard EPFNOSUPPORT.
5553 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5555 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5556 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5557 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5559 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5561 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5563 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5565 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5567 * nscd/grpcache.c (cache_addgr): Likewise.
5568 * nscd/hstcache.c (cache_addhst): Likewise.
5569 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5570 * nscd/pwdcache.c (cache_addpw): Likewise.
5571 * nscd/servicescache.c (cache_addserv): Likewise.
5573 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5575 * malloc/malloc.c: Various cleanups.
5576 * malloc/hooks.c: Likewise.
5578 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5579 * stdlib/bug-fmtmsg1.c: New file.
5581 * stdlib/fmtmsg.c (init): Add missing unlock.
5582 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5584 2012-01-12 Marek Polacek <polacek@redhat.com>
5586 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5589 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5591 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5592 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5593 macro to ensure uniqueness of label name.
5594 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5595 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5597 2012-01-11 Ulrich Drepper <drepper@gmail.com>
5599 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5601 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5602 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5603 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5604 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5606 2012-01-10 Ulrich Drepper <drepper@gmail.com>
5608 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5610 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5611 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5612 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5614 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5616 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5617 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5618 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5619 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5621 * math/bits/math-finite.h: Add ldexp support.
5623 2012-01-10 Marek Polacek <polacek@redhat.com>
5625 * locale/programs/localedef.h (show_archive_content): Add noreturn
5628 2012-01-09 Ulrich Drepper <drepper@gmail.com>
5630 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5632 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5634 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5636 * io/Makefile (headers): Add bits/poll2.h.
5638 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5641 typo #include statement.
5643 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5645 * include/sys/cdefs.h: Define __attribute_alloc_size.
5646 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5647 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5648 * elf/pldd.c: Likewise.
5649 * iconv/iconv_charmap.c: Likewise.
5650 * iconv/iconvconfig.c: Likewise.
5651 * iconv/strtab.c: Likewise.
5652 * locale/programs/locale.c: Likewise.
5653 * locale/programs/localedef.h: Likewise.
5654 * locale/programs/simple-hash.c: Likewise.
5655 * nscd/nscd.h: Likewise.
5656 * nss/makedb.c: Likewise.
5657 * sysdeps/generic/ldconfig.h: Likewise.
5658 * locale/programs/localedef.c: Remove xmalloc prototype.
5659 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5661 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5663 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5666 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5668 * math/Makefile (tests): Add tst-CMPLX.
5669 * math/tst-CMPLX.c: New file.
5671 * math/complex.h (CMPLXL): Fix typo.
5673 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5674 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5676 * debug/tst-chk1.c: Add poll and ppoll tests.
5677 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5678 * include/sys/poll.h: Add hidden proto for ppoll.
5679 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5680 * sysdeps/mach/hurd/ppoll.c: Likewise.
5681 * io/ppoll.c: Likewise.
5682 * debug/poll_chk.c: New file.
5683 * debug/ppoll_chk.c: New file.
5684 * include/bits/poll2.h: New file.
5685 * io/bits/poll2.h: New file.
5688 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5690 * configure.in: static is always set to yes. Remove.
5691 * config.make.in: Don't set build-static.
5692 * Makeconfig: Remove use of build-static.
5693 * dlfcn/Makefile: Likewise.
5694 * elf/Makefile: Likewise.
5695 * math/Makefile: Likewise.
5696 * misc/Makefile: Likewise.
5697 * nptl/Makefile: Likewise.
5698 * sysdeps/mach/hurd/Makefile: Likewise.
5700 * configure.in: PWD_P is not used anymore.
5701 * config.make.in: Remove PWD_P entry.
5703 * configure.in: Remove last remnants of RANLIB.
5704 No need to check for signed size_t anymore.
5705 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5707 Remove __builtin_expect test because we require at least gcc 3.4.
5708 * aclocal.m4: Likewise.
5710 * wcsmbs/mbrtoc16.c: Implement using towc function.
5711 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5712 * wcsmbs/wcsmbsload.c: Likewise.
5713 * iconv/gconv_simple.c: Likewise.
5714 * iconv/gconv_int.h: Likewise.
5715 * iconv/gconv_builtin.h: Likewise.
5716 * iconv/iconv_prog.c: Remove CHAR16 handling.
5718 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5720 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5722 * configure.in: Remove --with-elf and --enable-bounded options.
5723 Dont set base_machine for ia64. More non-ELF conditions removed.
5724 Remove testing and setting of leading underscore information.
5725 * config.make.in (build-bounded): Set to no.
5726 * config.h.in: Remove NO_UNDERSCORES entry.
5727 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5729 * csu/start.c: Remove !NO_UNDERSCORE code.
5730 * locale/localeinfo.h: Likewise.
5731 * sysdeps/generic/machine-gmon.h: Likewise.
5732 * sysdeps/generic/sysdep.h: Likewise.
5733 * sysdeps/i386/sysdep.h: Likewise.
5734 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5735 * sysdeps/mach/sysdep.h: Likewise.
5736 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5737 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5738 * sysdeps/sh/sysdep.h: Likewise.
5739 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5740 * sysdeps/unix/i386/sysdep.S: Likewise.
5741 * sysdeps/unix/sparc/start.c: Likewise.
5742 * sysdeps/unix/sparc/sysdep.S: Likewise.
5743 * sysdeps/unix/sparc/sysdep.h: Likewise.
5744 * sysdeps/unix/start.c: Likewise.
5745 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5746 * sysdeps/x86_64/sysdep.h: Likewise.
5748 2012-01-07 Ulrich Drepper <drepper@gmail.com>
5751 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5753 * argp/argp-fmtstream.h: Use const instead __const.
5754 * argp/argp.h: Likewise.
5755 * assert/assert.h: Likewise.
5756 * bits/fenv.h: Likewise.
5757 * bits/sched.h: Likewise.
5758 * bits/sigset.h: Likewise.
5759 * bits/sigthread.h: Likewise.
5760 * catgets/nl_types.h: Likewise.
5761 * conform/data/pthread.h-data: Likewise.
5762 * crypt/crypt-private.h: Likewise.
5763 * crypt/crypt.h: Likewise.
5764 * crypt/crypt_util.c: Likewise.
5765 * ctype/ctype.h: Likewise.
5766 * debug/execinfo.h: Likewise.
5767 * debug/mbsnrtowcs_chk.c: Likewise.
5768 * debug/mbsrtowcs_chk.c: Likewise.
5769 * debug/wcsnrtombs_chk.c: Likewise.
5770 * debug/wcsrtombs_chk.c: Likewise.
5771 * debug/wcstombs_chk.c: Likewise.
5772 * dirent/dirent.h: Likewise.
5773 * dlfcn/dlfcn.h: Likewise.
5774 * elf/neededtest4.c: Likewise.
5775 * grp/grp.h: Likewise.
5776 * gshadow/gshadow.h: Likewise.
5777 * iconv/gconv.h: Likewise.
5778 * iconv/gconv_int.h: Likewise.
5779 * iconv/gconv_simple.c: Likewise.
5780 * iconv/iconv.h: Likewise.
5781 * iconv/loop.c: Likewise.
5782 * iconv/skeleton.c: Likewise.
5783 * include/aio.h: Likewise.
5784 * include/aliases.h: Likewise.
5785 * include/argz.h: Likewise.
5786 * include/arpa/inet.h: Likewise.
5787 * include/assert.h: Likewise.
5788 * include/dirent.h: Likewise.
5789 * include/dlfcn.h: Likewise.
5790 * include/execinfo.h: Likewise.
5791 * include/fcntl.h: Likewise.
5792 * include/fenv.h: Likewise.
5793 * include/glob.h: Likewise.
5794 * include/grp.h: Likewise.
5795 * include/libintl.h: Likewise.
5796 * include/mntent.h: Likewise.
5797 * include/netdb.h: Likewise.
5798 * include/pwd.h: Likewise.
5799 * include/rpc/netdb.h: Likewise.
5800 * include/sched.h: Likewise.
5801 * include/search.h: Likewise.
5802 * include/shadow.h: Likewise.
5803 * include/signal.h: Likewise.
5804 * include/stdio.h: Likewise.
5805 * include/stdlib.h: Likewise.
5806 * include/string.h: Likewise.
5807 * include/sys/socket.h: Likewise.
5808 * include/sys/stat.h: Likewise.
5809 * include/sys/statfs.h: Likewise.
5810 * include/sys/statvfs.h: Likewise.
5811 * include/sys/syslog.h: Likewise.
5812 * include/sys/time.h: Likewise.
5813 * include/sys/uio.h: Likewise.
5814 * include/time.h: Likewise.
5815 * include/unistd.h: Likewise.
5816 * include/utmp.h: Likewise.
5817 * include/wchar.h: Likewise.
5818 * include/wctype.h: Likewise.
5819 * inet/aliases.h: Likewise.
5820 * inet/arpa/inet.h: Likewise.
5821 * inet/netinet/ether.h: Likewise.
5822 * inet/netinet/in.h: Likewise.
5823 * intl/libintl.h: Likewise.
5824 * io/bits/fcntl2.h: Likewise.
5825 * io/fcntl.h: Likewise.
5826 * io/ftw.h: Likewise.
5827 * io/sys/poll.h: Likewise.
5828 * io/sys/stat.h: Likewise.
5829 * io/sys/statfs.h: Likewise.
5830 * io/sys/statvfs.h: Likewise.
5831 * io/utime.h: Likewise.
5832 * libio/bits/stdio.h: Likewise.
5833 * libio/bits/stdio2.h: Likewise.
5834 * libio/libio.h: Likewise.
5835 * libio/libioP.h: Likewise.
5836 * libio/stdio.h: Likewise.
5837 * locale/lc-ctype.c: Likewise.
5838 * locale/locale.h: Likewise.
5839 * login/utmp.h: Likewise.
5840 * malloc/arena.c: Likewise.
5841 * malloc/malloc.c: Likewise.
5842 * malloc/malloc.h: Likewise.
5843 * malloc/mcheck.c: Likewise.
5844 * malloc/mtrace.c: Likewise.
5845 * math/bits/mathcalls.h: Likewise.
5846 * math/fenv.h: Likewise.
5847 * math/math_private.h: Likewise.
5848 * misc/bits/error.h: Likewise.
5849 * misc/bits/syslog.h: Likewise.
5850 * misc/err.h: Likewise.
5851 * misc/error.h: Likewise.
5852 * misc/fstab.h: Likewise.
5853 * misc/mntent.h: Likewise.
5854 * misc/regexp.h: Likewise.
5855 * misc/search.h: Likewise.
5856 * misc/sgtty.h: Likewise.
5857 * misc/sys/mman.h: Likewise.
5858 * misc/sys/syslog.h: Likewise.
5859 * misc/sys/uio.h: Likewise.
5860 * misc/sys/xattr.h: Likewise.
5861 * misc/ttyent.h: Likewise.
5862 * nis/rpcsvc/ypclnt.h: Likewise.
5863 * nss/nss.h: Likewise.
5864 * posix/bits/unistd.h: Likewise.
5865 * posix/fnmatch.h: Likewise.
5866 * posix/glob.h: Likewise.
5867 * posix/sched.h: Likewise.
5868 * posix/spawn.h: Likewise.
5869 * posix/sys/wait.h: Likewise.
5870 * posix/unistd.h: Likewise.
5871 * posix/wordexp.h: Likewise.
5872 * pwd/pwd.h: Likewise.
5873 * resolv/netdb.h: Likewise.
5874 * resource/sys/resource.h: Likewise.
5875 * rt/aio.h: Likewise.
5876 * rt/bits/mqueue2.h: Likewise.
5877 * rt/mqueue.h: Likewise.
5878 * shadow/shadow.h: Likewise.
5879 * signal/signal.h: Likewise.
5880 * socket/send.c: Likewise.
5881 * socket/sendto.c: Likewise.
5882 * socket/sys/socket.h: Likewise.
5883 * stdio-common/printf.h: Likewise.
5884 * stdlib/bits/stdlib.h: Likewise.
5885 * stdlib/fmtmsg.h: Likewise.
5886 * stdlib/monetary.h: Likewise.
5887 * stdlib/stdlib.h: Likewise.
5888 * stdlib/ucontext.h: Likewise.
5889 * streams/stropts.h: Likewise.
5890 * string/argz.h: Likewise.
5891 * string/bits/string2.h: Likewise.
5892 * string/string.h: Likewise.
5893 * string/strings.h: Likewise.
5894 * sunrpc/rpc/auth.h: Likewise.
5895 * sunrpc/rpc/auth_des.h: Likewise.
5896 * sunrpc/rpc/clnt.h: Likewise.
5897 * sunrpc/rpc/netdb.h: Likewise.
5898 * sunrpc/rpc/pmap_clnt.h: Likewise.
5899 * sunrpc/rpc/xdr.h: Likewise.
5900 * sysdeps/generic/inttypes.h: Likewise.
5901 * sysdeps/generic/net/if.h: Likewise.
5902 * sysdeps/generic/sys/swap.h: Likewise.
5903 * sysdeps/gnu/net/if.h: Likewise.
5904 * sysdeps/gnu/utmpx.h: Likewise.
5905 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5906 * sysdeps/i386/i486/bits/string.h: Likewise.
5907 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5908 * sysdeps/s390/bits/string.h: Likewise.
5909 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5910 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5911 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5912 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5913 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5914 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5915 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5916 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5917 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5918 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5919 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5920 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5921 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5922 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5923 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5924 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5925 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5926 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5927 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5928 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5929 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5930 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5931 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5932 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5933 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5934 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5935 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5936 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5937 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5938 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5939 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5940 * sysvipc/sys/ipc.h: Likewise.
5941 * sysvipc/sys/msg.h: Likewise.
5942 * sysvipc/sys/sem.h: Likewise.
5943 * sysvipc/sys/shm.h: Likewise.
5944 * termios/termios.h: Likewise.
5945 * time/sys/time.h: Likewise.
5946 * time/time.h: Likewise.
5947 * wcsmbs/bits/wchar2.h: Likewise.
5948 * wcsmbs/uchar.h: Likewise.
5949 * wcsmbs/wchar.h: Likewise.
5950 * wctype/wctype.h: Likewise.
5953 * Makeconfig: Remove all but ELF support including AIX support.
5954 * Makerules: Likewise.
5955 * config.h.in: Likewise.
5956 * config.make.in: Likewise.
5957 * configure: Likewise.
5958 * configure.in: Likewise.
5959 * csu/Makefile: Likewise.
5960 * csu/version.c: Likewise.
5961 * debug/Makefile: Likewise.
5962 * dlfcn/Makefile: Likewise.
5963 * elf/Makefile: Likewise.
5964 * extra-lib.mk: Likewise.
5965 * iconv/Makefile: Likewise.
5966 * include/libc-symbols.h: Likewise.
5967 * include/shlib-compat.h: Likewise.
5968 * resolv/Makefile: Likewise.
5969 * resolv/res_libc.c: Likewise.
5970 * rt/Makefile: Likewise.
5971 * sysdeps/i386/asm-syntax.h: Likewise.
5972 * sysdeps/i386/sysdep.h: Likewise.
5973 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5974 * sysdeps/mach/sysdep.h: Likewise.
5975 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5976 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5977 * sysdeps/s390/asm-syntax.h: Likewise.
5978 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5979 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5980 * sysdeps/sh/sysdep.h: Likewise.
5981 * sysdeps/unix/sparc/sysdep.h: Likewise.
5982 * sysdeps/wordsize-32/divdi3.c: Likewise.
5983 * sysdeps/x86_64/sysdep.h: Likewise.
5985 * argp/Versions: Remove _argp_unlock_xxx.
5988 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5989 * abilist/libBrokenLocale.abilist: Likewise.
5990 * abilist/libanl.abilist: Likewise.
5991 * abilist/libc.abilist: Likewise.
5992 * abilist/libcrypt.abilist: Likewise.
5993 * abilist/libdl.abilist: Likewise.
5994 * abilist/libm.abilist: Likewise.
5995 * abilist/libnsl.abilist: Likewise.
5996 * abilist/libpthread.abilist: Likewise.
5997 * abilist/libresolv.abilist: Likewise.
5998 * abilist/librt.abilist: Likewise.
5999 * abilist/libthread_db.abilist: Likewise.
6000 * abilist/libutil.abilist: Likewise.
6001 * abilist/libnss_db.abilist: New file.
6003 * scripts/abilist.awk: Add support for indirect functions.
6005 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6007 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6009 * shlib-versions: Remove entries for ports architectures.
6011 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6013 * elf/stackguard-macros.h: Remove support for IA-64.
6014 * elf/tst-auditmod1.c: Likewise.
6015 * sysdeps/generic/ldsodefs.h: Likewise.
6017 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6018 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6022 * configure.in: Remove --enable-omitfp support.
6024 * config.make.in: Likewise.
6025 * Makeconfig: Likewise.
6026 * manual/install.texi: Likewise.
6028 In case anyone cares, the IA-64 architecture could move to ports.
6029 * sysdeps/ia64/*: Removed.
6030 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6031 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6034 * configure.in: Remove entries for unsupported architectures.
6037 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6038 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6040 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6041 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6042 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6043 fall back to using wcrtomb.
6044 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6045 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6047 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6048 * wcsmbs/tst-c16c32-1.c: New file.
6050 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6053 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6055 * elf/tst-unique3.cc: Add explicit declaration of gets.
6056 * elf/tst-unique3lib.cc: Likewise.
6057 * elf/tst-unique3lib2.cc: Likewise.
6058 * elf/tst-unique4.cc: Likewise.
6060 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6062 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6065 * assert/assert.h (static_assert): Don't define for C++.
6066 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6067 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6069 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6071 * iconv/loop.c (single loop): Fix assertion in storing of
6074 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6076 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6078 * posix/getconf.c: Update copyright year.
6079 * nss/getent.c: Likewise.
6080 * nss/makedb.c: Likewise.
6081 * iconv/iconvconfig.c: Likewise.
6082 * iconv/iconv_prog.c: Likewise.
6083 * elf/ldconfig.c: Likewise.
6084 * elf/pldd.c: Likewise.
6085 * elf/sotruss.ksh: Likewise.
6086 * catgets/gencat.c: Likewise.
6087 * csu/version.c: Likewise.
6088 * elf/ldd.bash.in: Likewise.
6089 * elf/sprof.c (print_version): Likewise.
6090 * locale/programs/locale.c: Likewise.
6091 * locale/programs/localedef.c: Likewise.
6092 * login/programs/pt_chown.c: Likewise.
6093 * nscd/nscd.c (print_version): Likewise.
6094 * debug/xtrace.sh: Likewise.
6095 * malloc/memusage.sh: Likewise.
6096 * malloc/mtrace.pl: Likewise.
6097 * debug/catchsegv.sh: Likewise.
6099 2011-12-30 Jakub Jelinek <jakub@redhat.com>
6101 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6104 2011-12-24 Ulrich Drepper <drepper@gmail.com>
6107 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6108 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6110 * iconv/gconv_int.h: Likewise.
6111 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6112 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6113 from libc for GLIBC_2.16.
6114 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6115 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6116 * wcsmbs/uchar.h: Really define mbstate_t.
6117 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6118 * wcsmbs/c16rtomb.c: New file.
6119 * wcsmbs/mbrtoc16.c: New file.
6120 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6122 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6123 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6125 * wcsmbs/wchar.h: Add missing __restrict.
6127 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6130 * time/Makefile (routines): Add timespec_get.
6131 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6132 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6133 timespec for ISO C11.
6134 * time/timespec_get.c: New file.
6135 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6136 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6139 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6140 * stdlib/stdlib.h: Declare aligned_alloc.
6141 * Versions.def: Add GLIBC_2.16 for libc.
6142 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6145 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6148 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6152 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6155 * assert/assert.h (static_assert): Define.
6157 * version.h: Update for 2.16 development version.
6160 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6163 * version.h (RELEASE): Bump for 2.15 release.
6164 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6166 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6167 Patch by Marek Polacek <mpolacek@redhat.com>.
6169 * bits/byteswap.h: Protect long long constants with __extension__.
6170 * sysdeps/i386/bits/byteswap.h: Likewise.
6171 * sysdeps/ia64/bits/byteswap.h: Likewise.
6172 * sysdeps/s390/bits/byteswap.h: Likewise.
6173 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6175 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6180 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6182 2011-12-23 Marek Polacek <polacek@redhat.com>
6184 * elf/dl-addr.c (determine_info): Add inline keyword.
6185 * elf/tst-auditmod4b.c (check_avx): Likewise.
6186 * elf/tst-auditmod6b.c (check_avx): Likewise.
6187 * elf/tst-auditmod6c.c (check_avx): Likewise.
6188 * elf/tst-auditmod7b.c (check_avx): Likewise.
6190 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6192 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6195 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6198 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6199 processing for last bytes.
6201 2011-08-06 Bruno Haible <bruno@clisp.org>
6204 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6205 U+0385, not to U+1FEE.
6208 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6209 entry for U+00A5 U+0301.
6211 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6214 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6215 buffer for the output is too small.
6217 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6221 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6222 SSE flags if possible.
6224 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6227 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6228 processing for last bytes.
6230 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6232 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6233 (syscall-list-default-options, syscall-list-default-condition)
6234 (syscall-list-includes): Define.
6235 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6236 list of ABIs and options and #if conditions for each ABI. Do not
6237 handle common syscalls between ABIs specially.
6238 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6240 (syscall-list-variants, syscall-list-32bit-options)
6241 (syscall-list-32bit-condition, syscall-list-64bit-options)
6242 (syscall-list-64bit-condition): Define.
6243 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6244 (syscall-list-variants, syscall-list-32bit-options)
6245 (syscall-list-32bit-condition, syscall-list-64bit-options)
6246 (syscall-list-64bit-condition): Define.
6247 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6249 (syscall-list-variants, syscall-list-32bit-options)
6250 (syscall-list-32bit-condition, syscall-list-64bit-options)
6251 (syscall-list-64bit-condition): Define.
6252 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6254 (syscall-list-variants, syscall-list-32bit-options)
6255 (syscall-list-32bit-condition, syscall-list-64bit-options)
6256 (syscall-list-64bit-condition): Define.
6258 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6260 * locale/iso-639.def: Add brx entry.
6263 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6264 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6266 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6267 __feraiseexcept_renamed.
6269 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6272 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6273 EPOLLET with unsigned values.
6274 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6275 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6277 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6278 to large cancellation.
6279 * math/s_cacoshf.c: Likewise.
6280 * math/s_cacoshl.c: Likewise.
6282 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6286 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6287 * math/s_cacoshf.c: Likewise.
6288 * math/s_cacoshl.c: Likewise.
6290 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6293 * iconv/gconv.h: Define __GCONV_SWAP.
6294 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6295 * iconvdata/utf-16.c: Likewise.
6296 * iconvdata/utf-32.c: Likewise.
6298 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6301 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6302 numerator after shifting it by one limb.
6304 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6306 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6307 under [__USE_EXTERN_INLINES].
6309 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6312 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6314 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6316 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6317 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6319 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6320 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6321 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6322 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6323 for strncasecmp/strncasecmp_l compilation.
6324 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6325 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6327 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6330 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6333 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6336 * time/tzfile.c (__tzfile_read): Check values from file header.
6338 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6340 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6341 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6342 * powerpc/powerpc32/dl-start.S: Likewise.
6343 * powerpc/powerpc32/elf/start.S: Likewise.
6344 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6345 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6346 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6347 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6348 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6349 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6350 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6351 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6352 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6353 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6354 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6355 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6356 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6357 * powerpc/powerpc32/memset.S: Likewise.
6358 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6359 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6360 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6361 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6362 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6363 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6364 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6365 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6366 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6367 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6368 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6369 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6370 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6372 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6374 * math/libm-test.inc: Added more nearbyint tests.
6375 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6376 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6377 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6378 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6380 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6382 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6385 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6387 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6388 Add wcscpy-ssse3 wcscpy-c.
6389 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6390 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6391 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6392 * sysdeps/x86_64/wcschr.S: New file.
6393 * sysdeps/x86_64/wcsrchr.S: New file.
6394 * string/test-strcmp.c: Remove checking of wcscmp function for
6396 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6397 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6398 wcsrchr-sse2 wcsrchr-c.
6399 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6400 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6401 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6402 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6403 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6404 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6405 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6406 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6407 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6408 * wcsmbc/wcschr.c (WCSCHR): New macro.
6410 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6412 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6413 * wcsmbs/test-wcsrchr.c: New file.
6414 * string/test-strrchr.c: Add wcsrchr support.
6416 * wcsmbs/test-wcscpy.c: New file.
6417 * string/test-strcpy.c: Add wcscpy support.
6420 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6422 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6425 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6428 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6430 2011-12-04 Ulrich Drepper <drepper@gmail.com>
6432 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6433 Minor optimizations.
6435 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6436 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6437 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6439 2011-12-03 Ulrich Drepper <drepper@gmail.com>
6441 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6442 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6443 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6444 for gcc to avoid warnings.
6445 * inet/Makefile (tests): Add tst-checks.
6446 * inet/tst-checks.c: New file.
6448 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6451 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6454 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6455 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6457 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6459 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6461 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6464 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6466 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6468 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6469 conditional on GCC version.
6470 (__arch_compare_and_exchange_val_8_acq)
6471 (__arch_compare_and_exchange_val_16_acq)
6472 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6473 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6474 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6476 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6478 * sysdeps/sh/backtrace.c: New file.
6480 2011-12-02 Andreas Schwab <schwab@redhat.com>
6482 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6485 2011-12-01 Andreas Schwab <schwab@redhat.com>
6487 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6488 falling back to utime.
6490 2011-11-30 Andreas Schwab <schwab@redhat.com>
6492 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6493 expectations for float.
6495 2011-11-29 Andreas Schwab <schwab@redhat.com>
6497 * locale/weight.h (findidx): Add parameter len.
6498 * locale/weightwc.h (findidx): Likewise.
6499 * posix/fnmatch_loop.c (FCT): Adjust caller.
6500 * posix/regcomp.c (build_equiv_class): Likewise.
6501 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6502 * posix/regexec.c (check_node_accept_bytes): Likewise.
6503 * string/strcoll_l.c (STRCOLL): Likewise.
6504 * string/strxfrm_l.c (STRXFRM): Likewise.
6506 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6508 * Makefile.in: Remove CVSOPT handling.
6509 * configure.in: Remove use of AC_REVISION.
6510 * iconvdata/Makefile (distribute): No need to filter out CVS.
6511 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6514 2011-11-16 Andreas Schwab <schwab@redhat.com>
6516 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6517 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6518 [USE_AS_STRNCASECMP_L]: Likewise.
6519 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6520 NO_TLS_DIRECT_SEG_REFS.
6521 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6522 Fix argument offsets for non-PIC.
6523 [USE_AS_STRNCASECMP_L]: Likewise.
6524 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6525 NO_TLS_DIRECT_SEG_REFS.
6527 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6529 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6531 * locale/loadlocale.c (_nl_load_locale): Likewise.
6533 2011-11-15 Andreas Schwab <schwab@redhat.com>
6535 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6536 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6537 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6538 (SYSCALL_GETTIME): Set errno on error.
6540 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6541 count references to noai6ai_cached.
6543 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6545 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6547 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6548 FD_CLOEXEC for /proc/self/maps.
6550 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6551 FD_CLOEXEC for /proc/meminfo.
6553 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6556 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6557 FD_CLOEXEC for given file.
6559 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6561 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6562 FD_CLOEXEC for /etc/hosts.
6563 (_gethtent): Likewise.
6565 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6567 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6568 cancellation and set FD_CLOEXEC for /etc/netgroup.
6570 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6571 reading /etc/publickey.
6573 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6574 allow cancellation when reading /etc/group.
6576 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6578 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6580 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6581 when using data file.
6583 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6585 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6586 (write_nis_obj): Use "c" and "e" in fopen.
6588 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6590 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6592 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6594 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6596 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6599 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6601 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6603 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6605 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6606 file parsing and set FD_CLOEXEC.
6608 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6610 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6612 2011-11-14 Andreas Schwab <schwab@redhat.com>
6614 * malloc/arena.c (arena_get2): Don't call reused_arena when
6615 _int_new_arena failed.
6617 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6619 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6620 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6621 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6622 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6623 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6624 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6625 to compile strcasecmp and strncasecmp.
6626 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6627 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6629 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6631 2011-11-13 Ulrich Drepper <drepper@gmail.com>
6633 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6634 locale-defines.sym to gen-as-const-headers.
6635 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6636 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6637 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6638 to compile strcasecmp and strncasecmp.
6639 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6640 strcasecmp_l and strncasecmp_l.
6641 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6642 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6643 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6644 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6645 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6646 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6647 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6648 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6649 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6650 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6651 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6653 2011-11-12 Ulrich Drepper <drepper@gmail.com>
6655 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6656 result of SYSDEP_GETTIME_CPU to retval.
6657 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6658 parameter list to macro. Remove trailing semicolon. Adjust users.
6660 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6663 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6665 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6667 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6668 from unused variable.
6670 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6672 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6675 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6678 * sunrpc/rpc_prot.c (rejected): Fix case value.
6680 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6681 unsigned long long int to avoid warnings in shift.
6683 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6685 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6688 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6689 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6690 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6692 * nis/nis_table.c (nis_list): Use variable of correct type for
6693 result of __follow_path call.
6695 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6697 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6698 of math functions ceil, trunc, floor, round, and sqrt, when
6699 avaliable on the platform.
6700 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6702 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6703 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6704 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6706 2011-10-30 Marek Polacek <mpolacek@redhat.com>
6708 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6709 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6711 2011-11-11 Roland McGrath <roland@hack.frob.com>
6713 * include/unistd.h: Fix __readlink return type.
6714 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6716 2011-11-11 Ulrich Drepper <drepper@gmail.com>
6718 * stdlib/ucontext.h: Undo last change for makecontext.
6720 2011-11-11 Andreas Schwab <schwab@redhat.com>
6722 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6724 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6725 * setjmp/setjmp.h: Mark functions as non-leaf.
6726 * setjmp/bits/setjmp2.h: Likewise.
6727 * stdlib/ucontext.h: Likewise.
6729 2011-11-10 Andreas Schwab <schwab@redhat.com>
6731 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6732 (reused_arena): Don't check arena limit.
6733 (arena_get2): Atomically check arena limit.
6735 2011-11-08 Ulrich Drepper <drepper@gmail.com>
6737 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6738 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6743 2011-11-07 Andreas Schwab <schwab@redhat.com>
6745 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6746 handler when locking.
6748 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6749 Fix size of allocated buffer.
6751 2011-11-04 Andreas Schwab <schwab@redhat.com>
6754 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6755 declarations for long double functions.
6756 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6758 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6760 2011-11-03 Andreas Schwab <schwab@redhat.com>
6762 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6765 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6768 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6770 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6772 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6774 * include/alloca.h (stackinfo_alloca_round): Define.
6775 (extend_alloca): Use it.
6776 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6777 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6780 * scripts/check-local-headers.sh: Ignore libaudit.h.
6782 * nscd/Makefile (extra-objs): Make recursively expanded.
6784 2011-11-01 Ulrich Drepper <drepper@gmail.com>
6786 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6787 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6789 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6790 * posix/tst-rfc3484-2.c: Likewise.
6791 * posix/tst-rfc3484-3.c: Likewise.
6793 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6795 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6797 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6798 process_vm_writev from libc using GLIBC_2.15 version.
6800 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6802 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6804 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6807 2011-10-31 Ulrich Drepper <drepper@gmail.com>
6810 * nss/getent.c (initgroups_keys): Show error message in case no group
6813 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6814 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6815 __bump_nl_timestamp.
6816 * nscd/connections (nscd_init): When host database is served open
6817 netlink socket and request notification about configuration changes.
6818 (main_loop_poll): Track netlink file descriptor and bump timestamp
6819 in case data becomes available.
6820 (main_loop_epoll): Likewise.
6821 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6822 (database_pers_head): Add extra_data fileds.
6823 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6824 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6825 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6827 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6828 in6ai data, call __free_in6ai.
6829 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6831 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6832 interface information. Reuse previous data if netlink timestamp
6834 (__bump_nl_timestamp): New function.
6835 (__free_in6ai): New function.
6837 2011-10-30 Ulrich Drepper <drepper@gmail.com>
6839 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6840 close_not_cancel_no_status here.
6841 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6843 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6846 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6849 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6850 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6851 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6853 2011-07-03 Andreas Jaeger <aj@suse.de>
6856 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6857 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6858 * math/libm-test.inc (sin_test): Add test case.
6860 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6863 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6864 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6866 * elf/chroot_canon.c (chroot_canon): Cleanups.
6868 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6871 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6872 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6874 * string/test-strchr.c: Make usable for strchrnul testing.
6875 * string/test-strchrnul.c: New file.
6876 * string/Makefile (strop-tests): Add strchrnul.
6878 * po/it.po: Update from translation team.
6879 * po/es.po: Likewise.
6881 2011-10-28 Ulrich Drepper <drepper@gmail.com>
6883 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6884 the three constants needed as parameters. Drop the others.
6885 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6886 __m128i_strloadu_tolower.
6887 Create and initialize variable zero and use it in all the places
6888 where _mm_setzero_si128 was used.
6890 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6891 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6892 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6893 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6895 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6896 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6897 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6898 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6899 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6900 __mpranred, __mptan.
6901 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6902 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6903 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6904 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6905 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6906 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6908 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6909 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6911 2011-10-28 Andreas Schwab <schwab@redhat.com>
6913 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6915 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6918 wide char related routines to wcsmbs subdir.
6920 2011-10-27 Andreas Schwab <schwab@redhat.com>
6923 * misc/sys/cdefs.h (__THROWNL): Define.
6924 * posix/unistd.h: Use __THREADNL instead of __THREAD
6925 for memory synchronization functions.
6927 2011-10-26 Roland McGrath <roland@hack.frob.com>
6930 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6932 * manual/stdio.texi (Obstack Streams): Node removed.
6934 2011-10-26 Andreas Schwab <schwab@redhat.com>
6936 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6937 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6938 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6940 * math/math_private.h (math_force_eval): Allow non-addressable
6942 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6944 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6946 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6949 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6950 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6951 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6952 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6953 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6954 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6955 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6956 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6958 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6959 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6960 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6961 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6962 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6963 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6964 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6965 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6966 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6967 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6968 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6969 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6970 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6971 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6972 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6973 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6974 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6975 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6976 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6978 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6979 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6981 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6982 place. Use VEX encoding when compiling for AVX.
6984 2011-10-25 Andreas Schwab <schwab@redhat.com>
6986 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6987 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6989 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6991 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6993 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6994 useless if() expression.
6995 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6997 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7001 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7002 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7004 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7005 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7006 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7007 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7008 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7009 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7010 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7011 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7012 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7013 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7015 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7017 2011-10-25 Andreas Schwab <schwab@redhat.com>
7019 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7021 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7023 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7025 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7026 .text section. Avoid duplicate constants.
7027 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7037 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7039 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7040 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7041 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7042 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7043 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7044 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7045 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7046 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7047 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7048 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7049 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7050 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7051 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7052 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7053 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7054 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7055 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7056 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7057 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7058 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7059 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7060 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7061 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7062 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7063 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7064 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7065 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7066 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7067 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7068 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7069 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7070 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7071 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7073 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7075 * sysdeps/x86_64/dla.h: Move to ...
7076 * sysdeps/x86_64/fpu/dla.h: ...here.
7077 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7078 situations. Use __builtin_fma only for gcc 4.6 and up.
7080 * config.make.in: Add have-mfma4 entry.
7081 * configure.in: Substitute libc_cv_cc_fma4.
7082 * math/Makefile (dbl-only-routines): Add sincostab.
7083 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7084 Use __sincostab not sincos.
7085 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7087 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7090 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7092 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7093 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7094 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7095 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7097 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7098 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7100 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7101 define aliases when function name is a macro.
7102 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7103 sysdeps/ieee754/dbl-64/sincos.tbl.
7104 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7105 fma4-enabled routines.
7106 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7107 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7108 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7109 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7110 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7111 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7112 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7113 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7114 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7115 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7116 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7117 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7118 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7119 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7120 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7121 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7122 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7123 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7124 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7125 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7126 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7127 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7128 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7129 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7130 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7131 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7132 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7133 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7134 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7135 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7137 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7145 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7146 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7148 2011-10-24 Andreas Schwab <schwab@redhat.com>
7150 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7152 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7154 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7156 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7158 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7160 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7161 Remove unused variable magic_bits.
7162 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7164 * string/strnlen.c: Define and use STRNLEN macro.
7165 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7166 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7167 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7168 * wcsmbs/wcslen.c: Define and use WCSLEN.
7169 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7170 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7171 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7172 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7173 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7174 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7175 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7177 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7180 strnlen-sse2-no-bsf.
7181 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7182 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7183 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7184 Add strnlen support.
7185 (USE_AS_STRNLEN): New macro.
7186 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7187 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7188 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7189 * sysdeps/x86_64/wcslen.S: New file.
7191 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7193 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7194 XMM-moves are used for copying on small sizes.
7196 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7198 * wcsmbs/Makefile (strop-tests): Add wcschr.
7199 * wcsmbs/test-wcschr.c: New file.
7200 * string/test-strchr.c: Update.
7204 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7206 * wcsmbs/Makefile (strop-tests): Add wcslen.
7207 * wcsmbs/test-wcslen.c: New file.
7208 * string/test-strlen.c: Update.
7212 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7214 * po/it.po: Update from translation team.
7216 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7218 * sysdeps/x86_64/wcscmp.S: Update.
7219 Fix wrong comparison semantics.
7220 wcscmp shall use signed comparison not unsigned.
7221 Don't use substraction to avoid overflow bug.
7222 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7223 * wcsmbc/wcscmp.c: Likewise.
7224 * string/test-strcmp.c: Likewise.
7225 Add new tests to check cases with negative values.
7227 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7229 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7230 * sysdeps/x86_64/dla.h: ...here. New file.
7231 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7232 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7236 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7237 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7238 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7239 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7241 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7244 __ynl_finite aliases.
7246 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7250 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7252 [DLA_FMA] (EMULV): Use DLA_FMA.
7253 [DLA_FMA] (MUL12): Use EMULV.
7254 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7255 that are not needed.
7256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7257 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7258 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7259 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7260 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7261 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7264 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7266 * math/s_nan.c: Undef __nan.
7267 * math/s_nanf.c: Undef __nanf.
7268 * math/s_nanl.c: Undef __nanl.
7269 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7272 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7274 * math/s_catan.c: Add branch predictions.
7275 * math/s_catanf.c: Likewise.
7276 * math/s_catanh.c: Likewise.
7277 * math/s_catanhf.c: Likewise.
7278 * math/s_catanhl.c: Likewise.
7279 * math/s_catanl.c: Likewise.
7280 * math/s_cexp.c: Likewise.
7281 * math/s_cexpf.c: Likewise.
7282 * math/s_cexpl.c: Likewise.
7283 * math/s_clog.c: Likewise.
7284 * math/s_clog10.c: Likewise.
7285 * math/s_clog10f.c: Likewise.
7286 * math/s_clog10l.c: Likewise.
7287 * math/s_clogf.c: Likewise.
7288 * math/s_clogl.c: Likewise.
7289 * math/s_csqrt.c: Likewise.
7290 * math/s_csqrtf.c: Likewise.
7291 * math/s_csqrtl.c: Likewise.
7292 * math/s_ctanf.c: Likewise.
7293 * math/s_ctanh.c: Likewise.
7294 * math/s_ctanhf.c: Likewise.
7295 * math/s_ctanhl.c: Likewise.
7296 * math/s_ctanl.c: Likewise.
7298 * math/math_private.h: Define __nan, __nanf, __nanl.
7299 * math/s_cacosh.c: Include <math_private.h>.
7300 * math/s_cacoshl.c: Likewise.
7301 * math/s_casinh.c: Likewise.
7302 * math/s_casinhf.c: Likewise.
7303 * math/s_casinhl.c: Likewise.
7304 * math/s_ccos.c: Rely entire on ccosh.
7305 * math/s_ccosf.c: Rely entire on ccoshf.
7306 * math/s_ccosl.c: Rely entirely on ccoshl.
7307 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7308 Remove tests for FE_INVALID.
7309 * math/s_ccoshf.c: Likewise.
7310 * math/s_ccoshl.c: Likewise.
7311 * math/s_csin.c: Likewise.
7312 * math/s_csinf.c: Likewise.
7313 * math/s_csinh.c Likewise.
7314 * math/s_csinhf.c: Likewise.
7315 * math/s_csinhl.c: Likewise.
7316 * math/s_csinl.c: Likewise.
7317 * math/s_ctan.c: Likewise.
7318 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7319 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7320 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7322 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7325 compilation problems.
7327 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7330 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7332 * sysdeps/i386/configure.in: Test for -mfma4 option.
7333 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7334 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7335 COMMON_CPUID_INDEX_80000001.
7336 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7337 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7338 use it if FMA3 is not supported.
7339 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7341 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7342 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7344 2011-10-20 Andreas Schwab <schwab@redhat.com>
7347 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7348 it would create a cycle with a link time dependency.
7350 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7352 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7354 * string/Makefile (strop-tests): Add rawmemchr.
7355 * string/test-rawmemchr.c: New file.
7357 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7358 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7359 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7360 when compiling str{,n}casecmp and when AVX is available. Hook up
7361 new optimized code in initializers.
7363 2011-10-19 Andreas Schwab <schwab@redhat.com>
7365 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7366 __feraiseexcept instead of feraiseexcept.
7368 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7370 * math/math_private.h: Define defaults for libc_fetestexcept and
7372 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7373 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7374 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7375 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7376 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7377 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7378 libc_fetestexcept and libc_feupdateenv.
7380 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7381 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7382 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7383 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7384 libc_feholdexcept_setround.
7386 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7387 Add s_nearbyint-c and s_nearbyintf-c.
7388 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7390 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7391 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7392 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7393 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7395 * math/math_private.h: Define defaults for libc_fegetround,
7396 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7397 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7398 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7400 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7402 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7403 Remove comments and hacks for old compiler versions.
7404 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7405 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7408 2011-10-18 Andreas Schwab <schwab@redhat.com>
7410 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7411 (__feraiseexcept_renamed): Add __NTH.
7412 (feraiseexcept): Add __NTH. Rename local variables to fix
7413 namespace violations.
7415 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7417 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7419 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7421 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7422 recently added interfaces.
7423 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7425 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7426 about macro parameter expansion.
7428 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7429 __NO_MATH_INLINES is defined. Cleanups.
7431 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7432 and __floorf is target has SSE4.1.
7433 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7434 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7435 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7436 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7438 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7442 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7444 2011-10-17 Andreas Schwab <schwab@redhat.com>
7446 * misc/sys/cdefs.h: Fix last change.
7448 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7451 2011-10-16 Ulrich Drepper <drepper@gmail.com>
7453 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7455 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7456 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7457 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7458 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7460 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7461 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7462 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7463 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7464 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7465 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7466 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7467 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7468 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7469 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7470 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7471 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7472 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7473 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7474 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7475 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7476 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7478 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7479 ceil, ceilf, floor, floorf.
7481 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7482 Perform IRELATIVE relocations last.
7484 * elf/do-rel.h: Add another parameter nrelative, replacing the
7485 local variable with the same name. Change name of the function
7486 to end in Rel or Rela (uppercase).
7487 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7488 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7489 elf_dynamic_do_##reloc function.
7491 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7493 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7494 is sufficient, at least on modern CPUs.
7496 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7498 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7499 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7501 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7503 * math/bits/math-finite.h: Add entries for exp.
7504 * math/e_expl.c: Add __*_finite alias.
7505 * sysdeps/i386/fpu/e_exp.S: Likewise.
7506 * sysdeps/i386/fpu/e_expf.S: Likewise.
7507 * sysdeps/i386/fpu/e_expl.c: Likewise.
7508 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7509 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7510 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7511 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7512 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7513 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7514 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7516 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7517 is sufficient, at least on modern CPUs.
7519 * ctype/ctype-info.c (__ctype_init): Define.
7520 * include/ctype.h (__ctype_init): Declare.
7521 (__ctype_b_loc): The variable is always initialized.
7522 (__ctype_toupper_loc): Likewise.
7523 (__ctype_tolower_loc): Likewise.
7524 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7525 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7527 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7529 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7531 * configure.in: Also look in $cxxmachine/include for C++ system
7534 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7536 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7537 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7538 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7539 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7540 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7541 (USE_AS_WMEMCMP): New macro.
7543 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7544 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7545 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7546 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7547 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7548 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7549 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7550 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7551 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7552 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7553 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7554 (USE_AS_WMEMCMP): New macro.
7555 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7556 * sysdeps/string/test-memcmp.c: Update.
7559 * wcsmbs/wmemcmp.c: Update.
7560 (WMEMCMP): New macro.
7563 2011-10-12 Andreas Jaeger <aj@suse.de>
7566 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7568 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7570 * libio/iofwide.c (do_length): Avoid warning.
7572 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7574 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7576 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7578 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7579 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7580 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7581 * sysdeps/i386/i686/fpu/e_log.S: New file.
7582 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7583 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7585 * ctype/ctype.h: Add support for inlined isXXX functions when
7588 2011-10-14 Andreas Schwab <schwab@redhat.com>
7590 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7592 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7594 2011-10-13 Roland McGrath <roland@hack.frob.com>
7597 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7599 2011-10-13 Andreas Schwab <schwab@redhat.com>
7601 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7602 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7605 * sysdeps/x86_64/memrchr.S: Check for zero size.
7607 * string/stratcliff.c: Add memrchr tests.
7609 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7612 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7613 rawmemchr-sse2 rawmemchr-sse2-bsf.
7614 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7615 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7616 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7617 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7618 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7619 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7620 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7621 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7622 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7623 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7624 * string/memrchr.c (MEMRCHR): New macro.
7626 2011-10-12 Ulrich Drepper <drepper@gmail.com>
7628 Add integration with gcc's -ffinite-math-only and optimize wrapper
7630 * Versions.def: Define GLIBC_2.15 version for libm.
7631 * math/Makefile (headers): Add bits/math-finite.h.
7632 * math/bits/math-finite.h: New file.
7633 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7634 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7635 * math/e_acoshl.c: Add __*_finite alias.
7636 * math/e_acosl.c: Likewise.
7637 * math/e_asinl.c: Likewise.
7638 * math/e_atan2l.c: Likewise.
7639 * math/e_atanhl.c: Likewise.
7640 * math/e_coshl.c: Likewise.
7641 * math/e_exp10.c: Likewise.
7642 * math/e_exp10f.c: Likewise.
7643 * math/e_exp10l.c: Likewise.
7644 * math/e_exp2l.c: Likewise.
7645 * math/e_fmodl.c: Likewise.
7646 * math/e_gammal_r.c: Likewise.
7647 * math/e_hypotl.c: Likewise.
7648 * math/e_j0l.c: Likewise.
7649 * math/e_j1l.c: Likewise.
7650 * math/e_jnl.c: Likewise.
7651 * math/e_lgammal_r.c: Likewise.
7652 * math/e_log10l.c: Likewise.
7653 * math/e_log2l.c: Likewise.
7654 * math/e_logl.c: Likewise.
7655 * math/e_powl.c: Likewise.
7656 * math/e_sinhl.c: Likewise.
7657 * math/e_sqrtl.c: Likewise.
7658 * math/e_scalb.c: Completely rewritten and optimized.
7659 * math/e_scalbf.c: Likewise.
7660 * math/e_scalbl.c: Likewise.
7661 * math/w_acos.c: Likewise.
7662 * math/w_acosf.c: Likewise.
7663 * math/w_acosl.c: Likewise.
7664 * math/w_acosh.c: Likewise.
7665 * math/w_acoshf.c: Likewise.
7666 * math/w_acoshl.c: Likewise.
7667 * math/w_asin.c: Likewise.
7668 * math/w_asinf.c: Likewise.
7669 * math/w_asinl.c: Likewise.
7670 * math/w_atan2.c: Likewise.
7671 * math/w_atan2f.c: Likewise.
7672 * math/w_atan2l.c: Likewise.
7673 * math/w_atanh.c: Likewise.
7674 * math/w_atanhf.c: Likewise.
7675 * math/w_atanhl.c: Likewise.
7676 * math/w_exp10.c: Likewise.
7677 * math/w_exp10f.c: Likewise.
7678 * math/w_exp10l.c: Likewise.
7679 * math/w_fmod.c: Likewise.
7680 * math/w_fmodf.c: Likewise.
7681 * math/w_fmodl.c: Likewise.
7682 * math/w_j0.c: Likewise.
7683 * math/w_j0f.c: Likewise.
7684 * math/w_j0l.c: Likewise.
7685 * math/w_j1.c: Likewise.
7686 * math/w_j1f.c: Likewise.
7687 * math/w_j1l.c: Likewise.
7688 * math/w_jn.c: Likewise.
7689 * math/w_jnf.c: Likewise.
7690 * math/w_log.c: Likewise.
7691 * math/w_logf.c: Likewise.
7692 * math/w_logl.c: Likewise.
7693 * math/w_log10.c: Likewise.
7694 * math/w_log10f.c: Likewise.
7695 * math/w_log10l.c: Likewise.
7696 * math/w_log2.c: Likewise.
7697 * math/w_log2f.c: Likewise.
7698 * math/w_log2l.c: Likewise.
7699 * math/w_pow.c: Likewise.
7700 * math/w_powf.c: Likewise.
7701 * math/w_powl.c: Likewise.
7702 * math/w_remainder.c: Likewise.
7703 * math/w_remainderf.c: Likewise.
7704 * math/w_remainderl.c: Likewise.
7705 * math/w_scalb.c: Likewise.
7706 * math/w_scalbf.c: Likewise.
7707 * math/w_scalbl.c: Likewise.
7708 * math/w_sqrt.c: Likewise.
7709 * math/w_sqrtf.c: Likewise.
7710 * math/w_sqrtl.c: Likewise.
7711 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7712 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7714 * math/math_private.h: Declare __kernel_standard_f.
7715 * math/w_cosh.c: Remove cruft and optimize a bit.
7716 * math/w_coshf.c: Likewise.
7717 * math/w_coshl.c: Likewise.
7718 * math/w_exp2.c: Likewise.
7719 * math/w_exp2f.c: Likewise.
7720 * math/w_exp2l.c: Likewise.
7721 * math/w_hypot.c: Likewise.
7722 * math/w_hypotf.c: Likewise.
7723 * math/w_hypotl.c: Likewise.
7724 * math/w_lgamma.c: Likewise.
7725 * math/w_lgamma_r.c: Likewise.
7726 * math/w_lgammaf.c: Likewise.
7727 * math/w_lgammaf_r.c: Likewise.
7728 * math/w_lgammal.c: Likewise.
7729 * math/w_lgammal_r.c: Likewise.
7730 * math/w_sinh.c: Likewise.
7731 * math/w_sinhf.c: Likewise.
7732 * math/w_sinhl.c: Likewise.
7733 * math/w_tgamma.c: Likewise.
7734 * math/w_tgammaf.c: Likewise.
7735 * math/w_tgammal.c: Likewise.
7736 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7737 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7738 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7739 Minor optimizations. Pretty printing. Remove cruft.
7740 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7741 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7742 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7743 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7744 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7745 * sysdeps/i386/fpu/e_asin.S: Likewise.
7746 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7747 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7748 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7749 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7750 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7751 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7752 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7753 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7754 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7755 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7756 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7757 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7758 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7759 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7760 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7761 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7762 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7763 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7764 * sysdeps/i386/fpu/e_log.S: Likewise.
7765 * sysdeps/i386/fpu/e_log10.S: Likewise.
7766 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7767 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7768 * sysdeps/i386/fpu/e_log2.S: Likewise.
7769 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7770 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7771 * sysdeps/i386/fpu/e_logf.S: Likewise.
7772 * sysdeps/i386/fpu/e_logl.S: Likewise.
7773 * sysdeps/i386/fpu/e_pow.S: Likewise.
7774 * sysdeps/i386/fpu/e_powf.S: Likewise.
7775 * sysdeps/i386/fpu/e_powl.S: Likewise.
7776 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7777 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7778 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7779 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7780 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7781 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7782 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7783 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7784 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7785 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7786 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7788 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7789 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7790 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7791 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7792 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7793 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7794 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7795 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7796 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7798 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7799 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7801 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7802 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7803 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7804 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7805 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7806 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7807 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7808 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7809 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7810 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7811 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7812 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7813 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7814 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7815 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7816 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7817 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7818 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7819 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7820 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7821 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7822 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7823 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7824 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7825 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7826 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7827 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7831 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7833 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7835 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7837 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7838 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7845 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7850 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7851 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7853 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7854 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7857 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7858 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7859 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7860 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7861 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7862 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7863 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7864 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7865 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7866 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7867 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7868 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7869 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7870 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7871 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7872 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7873 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7876 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7877 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7878 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7879 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7880 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7881 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7882 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7883 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7884 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7885 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7886 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7887 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7888 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7889 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7890 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7891 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7892 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7893 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7894 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7895 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7896 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7897 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7898 (__isnanf): Likewise.
7899 (__isinf_ns): Likewise.
7900 (__isinf_nsf): Likewise.
7901 (__finite): Likewise.
7902 (__finitef): Likewise.
7903 (__ieee754_sqrt): Define as macro.
7904 (__ieee754_sqrtf): Define as macro.
7905 (__ieee754_sqrtl): Define as macro.
7906 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7908 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7909 __FINITE_MATH_ONLY__ consistent.
7910 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7912 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7914 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7917 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7919 2011-10-09 Ulrich Drepper <drepper@gmail.com>
7921 * po/ja.po: Update from translation team.
7923 2011-10-08 Roland McGrath <roland@hack.frob.com>
7925 * locale/programs/locarchive.c (prepare_address_space): New function.
7926 (create_archive, enlarge_archive, open_archive): Use it.
7928 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7929 inside [SHARED], where it is used.
7931 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7933 * nss/getent.c (netgroup_keys): Remove unused variable.
7934 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7936 2011-10-08 Ulrich Drepper <drepper@gmail.com>
7938 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7939 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7940 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7941 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7942 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7943 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7944 * math/Makefile (libm-calls): Add s_isinf_ns.
7945 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7946 * math/multc3.c: Likewise.
7947 * math/s_casin.c: Likewise.
7948 * math/s_casinf.c: Likewise.
7949 * math/s_casinl.c: Likewise.
7950 * math/s_ccos.c: Likewise.
7951 * math/s_ccosf.c: Likewise.
7952 * math/s_ccosl.c: Likewise.
7953 * math/s_ctan.c: Likewise.
7954 * math/s_ctanf.c: Likewise.
7955 * math/s_ctanh.c: Likewise.
7956 * math/s_ctanhf.c: Likewise.
7957 * math/s_ctanhl.c: Likewise.
7958 * math/s_ctanl.c: Likewise.
7959 * math/w_fmod.c: Likewise.
7960 * math/w_fmodf.c: Likewise.
7961 * math/w_fmodl.c: Likewise.
7962 * math/w_remainder.c: Likewise.
7963 * math/w_remainderf.c: Likewise.
7964 * math/w_remainderl.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7966 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7967 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7969 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7970 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7971 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7972 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7974 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7976 * stdio-common/printf_fphex.c: Likewise.
7977 * stdio-common/printf_size.c: Likewise.
7979 * math/e_exp10.c: Include math_private.h using <...> not "...".
7980 * math/e_exp10f.c: Likewise.
7981 * math/e_exp10l.c: Likewise.
7982 * math/e_exp2l.c: Likewise.
7983 * math/e_j0l.c: Likewise.
7984 * math/e_j1l.c: Likewise.
7985 * math/e_jnl.c: Likewise.
7986 * math/e_lgammal_r.c: Likewise.
7987 * math/e_rem_pio2l.c: Likewise.
7988 * math/e_scalb.c: Likewise.
7989 * math/e_scalbf.c: Likewise.
7990 * math/e_scalbl.c: Likewise.
7991 * math/k_cosl.c: Likewise.
7992 * math/k_sinl.c: Likewise.
7993 * math/k_tanl.c: Likewise.
7994 * math/s_cacoshf.c: Likewise.
7995 * math/s_catan.c: Likewise.
7996 * math/s_catanf.c: Likewise.
7997 * math/s_catanh.c: Likewise.
7998 * math/s_catanhf.c: Likewise.
7999 * math/s_catanhl.c: Likewise.
8000 * math/s_catanl.c: Likewise.
8001 * math/s_ccosh.c: Likewise.
8002 * math/s_ccoshf.c: Likewise.
8003 * math/s_ccoshl.c: Likewise.
8004 * math/s_cexp.c: Likewise.
8005 * math/s_cexpf.c: Likewise.
8006 * math/s_cexpl.c: Likewise.
8007 * math/s_clog.c: Likewise.
8008 * math/s_clog10.c: Likewise.
8009 * math/s_clog10f.c: Likewise.
8010 * math/s_clog10l.c: Likewise.
8011 * math/s_clogf.c: Likewise.
8012 * math/s_clogl.c: Likewise.
8013 * math/s_csin.c: Likewise.
8014 * math/s_csinf.c: Likewise.
8015 * math/s_csinh.c: Likewise.
8016 * math/s_csinhf.c: Likewise.
8017 * math/s_csinhl.c: Likewise.
8018 * math/s_csinl.c: Likewise.
8019 * math/s_csqrt.c: Likewise.
8020 * math/s_csqrtf.c: Likewise.
8021 * math/s_csqrtl.c: Likewise.
8022 * math/s_ctan.c: Likewise.
8023 * math/s_ctanf.c: Likewise.
8024 * math/s_ctanh.c: Likewise.
8025 * math/s_ctanhf.c: Likewise.
8026 * math/s_ctanhl.c: Likewise.
8027 * math/s_ctanl.c: Likewise.
8028 * math/s_ldexp.c: Likewise.
8029 * math/s_ldexpf.c: Likewise.
8030 * math/s_ldexpl.c: Likewise.
8031 * math/s_significand.c: Likewise.
8032 * math/s_significandf.c: Likewise.
8033 * math/s_significandl.c: Likewise.
8034 * math/w_acos.c: Likewise.
8035 * math/w_acosf.c: Likewise.
8036 * math/w_acosh.c: Likewise.
8037 * math/w_acoshf.c: Likewise.
8038 * math/w_acoshl.c: Likewise.
8039 * math/w_acosl.c: Likewise.
8040 * math/w_asin.c: Likewise.
8041 * math/w_asinf.c: Likewise.
8042 * math/w_asinl.c: Likewise.
8043 * math/w_atan2.c: Likewise.
8044 * math/w_atan2f.c: Likewise.
8045 * math/w_atan2l.c: Likewise.
8046 * math/w_atanh.c: Likewise.
8047 * math/w_atanhf.c: Likewise.
8048 * math/w_atanhl.c: Likewise.
8049 * math/w_cosh.c: Likewise.
8050 * math/w_coshf.c: Likewise.
8051 * math/w_coshl.c: Likewise.
8052 * math/w_dremf.c: Likewise.
8053 * math/w_exp10.c: Likewise.
8054 * math/w_exp10f.c: Likewise.
8055 * math/w_exp10l.c: Likewise.
8056 * math/w_exp2.c: Likewise.
8057 * math/w_exp2f.c: Likewise.
8058 * math/w_fmod.c: Likewise.
8059 * math/w_fmodf.c: Likewise.
8060 * math/w_fmodl.c: Likewise.
8061 * math/w_hypot.c: Likewise.
8062 * math/w_hypotf.c: Likewise.
8063 * math/w_hypotl.c: Likewise.
8064 * math/w_j0.c: Likewise.
8065 * math/w_j0f.c: Likewise.
8066 * math/w_j0l.c: Likewise.
8067 * math/w_j1.c: Likewise.
8068 * math/w_j1f.c: Likewise.
8069 * math/w_j1l.c: Likewise.
8070 * math/w_jn.c: Likewise.
8071 * math/w_jnf.c: Likewise.
8072 * math/w_jnl.c: Likewise.
8073 * math/w_lgamma.c: Likewise.
8074 * math/w_lgamma_r.c: Likewise.
8075 * math/w_lgammaf.c: Likewise.
8076 * math/w_lgammaf_r.c: Likewise.
8077 * math/w_lgammal.c: Likewise.
8078 * math/w_lgammal_r.c: Likewise.
8079 * math/w_log.c: Likewise.
8080 * math/w_log10.c: Likewise.
8081 * math/w_log10f.c: Likewise.
8082 * math/w_log10l.c: Likewise.
8083 * math/w_log2.c: Likewise.
8084 * math/w_log2f.c: Likewise.
8085 * math/w_log2l.c: Likewise.
8086 * math/w_logf.c: Likewise.
8087 * math/w_logl.c: Likewise.
8088 * math/w_pow.c: Likewise.
8089 * math/w_powf.c: Likewise.
8090 * math/w_powl.c: Likewise.
8091 * math/w_remainder.c: Likewise.
8092 * math/w_remainderf.c: Likewise.
8093 * math/w_remainderl.c: Likewise.
8094 * math/w_scalb.c: Likewise.
8095 * math/w_scalbf.c: Likewise.
8096 * math/w_scalbl.c: Likewise.
8097 * math/w_sinh.c: Likewise.
8098 * math/w_sinhf.c: Likewise.
8099 * math/w_sinhl.c: Likewise.
8100 * math/w_sqrt.c: Likewise.
8101 * math/w_sqrtf.c: Likewise.
8102 * math/w_sqrtl.c: Likewise.
8103 * math/w_tgamma.c: Likewise.
8104 * math/w_tgammaf.c: Likewise.
8105 * math/w_tgammal.c: Likewise.
8107 * po/ja.po: Update from translation team.
8109 2011-09-29 Andreas Jaeger <aj@suse.de>
8112 * sunrpc/netname.c (netname2host): Fix logic.
8116 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8118 * math/w_remainder.c (__remainder): Likewise.
8119 * math/w_remainderf.c (__remainderf): Likewise.
8120 * math/libm-test.inc (remainder_test): Add test cases.
8122 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8124 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8127 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8129 * string/test-memcmp.c: Avoid unncessary #defines.
8130 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8132 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8134 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8135 Use new sse2 version for core i3 - i7 as it's faster
8137 (bit_Prefer_PMINUB_for_stringop): New.
8138 * sysdeps/x86_64/rawmemchr.S: Update.
8139 Replace with faster SSE2 version.
8140 * sysdeps/x86_64/memrchr.S: New file.
8141 * sysdeps/x86_64/memchr.S: Update.
8142 Replace with faster SSE2 version.
8144 2011-09-12 Marek Polacek <mpolacek@redhat.com>
8146 * elf/dl-load.c (lose): Add cast to avoid warning.
8148 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8150 * po/ca.po: Update from translation team.
8152 * inet/getnetgrent_r.c: Hook up nscd.
8153 * nscd/Makefile (routines): Add nscd_netgroup.
8154 (nscd-modules): Add netgroupcache.
8155 (CFLAGS-netgroupcache.c): Define.
8156 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8157 (cache_search): Add const to second parameter.
8158 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8160 (dbs): Add netgrdb entry.
8161 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8162 (verify_persistent_db): Handle netgrdb.
8163 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8164 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8166 (netgroup_response_header): Define.
8167 (innetgroup_response_header): Define.
8168 (datahead): Add netgroup_response_header and innetgroup_response_header
8170 * nscd/nscd.conf: Add entries for netgroup cache.
8171 * nscd/nscd.h (dbtype): Add netgrdb.
8172 (_PATH_NSCD_NETGROUP_DB): Define.
8173 (netgroup_iov_disabled): Declare.
8174 (xmalloc, xcalloc, xrealloc): Move declarations here.
8175 (cache_search): Adjust prototype.
8176 Add netgroup-related prototypes.
8177 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8178 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8179 (__nscd_innetgr): Declare.
8180 * nscd/selinux.c (perms): Use access_vector_t as element type and
8181 add netgroup-related initializers.
8182 * nscd/netgroupcache.c: New file.
8183 * nscd/nscd_netgroup.c: New file.
8184 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8185 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8186 For four parameters use innetgr.
8187 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8188 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8189 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8190 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8192 * nscd/connections.c (register_traced_file): Don't register file
8193 for disabled databases.
8195 2011-10-06 Ulrich Drepper <drepper@gmail.com>
8197 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8199 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8200 from tree and freeing node.
8202 2011-09-25 Jiri Olsa <jolsa@redhat.com>
8204 * nss/nsswitch.c (__nss_database_lookup): Handle
8205 nss_parse_service_list out of memory case.
8207 2011-09-15 Jiri Olsa <jolsa@redhat.com>
8209 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8212 2011-10-04 Andreas Schwab <schwab@redhat.com>
8214 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8215 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8217 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8218 elf_machine_rela, elf_machine_lazy_rel.
8219 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8220 (ELF_DYNAMIC_DO_REL): Likewise.
8221 (ELF_DYNAMIC_DO_RELA): Likewise.
8222 (ELF_DYNAMIC_RELOCATE): Likewise.
8223 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8224 to ELF_DYNAMIC_DO_REL.
8225 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8226 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8227 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8229 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8230 skip_ifunc, don't call ifunc function if non-zero.
8231 (elf_machine_rela): Likewise.
8232 (elf_machine_lazy_rel): Likewise.
8233 (elf_machine_lazy_rela): Likewise.
8234 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8235 (elf_machine_lazy_rel): Likewise.
8236 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8238 (elf_machine_lazy_rel): Likewise.
8239 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8241 (elf_machine_lazy_rel): Likewise.
8242 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8243 (elf_machine_lazy_rel): Likewise.
8244 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8245 (elf_machine_lazy_rel): Likewise.
8246 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8247 (elf_machine_lazy_rel): Likewise.
8248 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8249 (elf_machine_lazy_rel): Likewise.
8250 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8251 (elf_machine_lazy_rel): Likewise.
8252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8253 (elf_machine_lazy_rel): Likewise.
8255 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8257 * nss/nss_files/files-init.c (_nss_files_init): Use static
8258 initialization for all the *_traced_file variables.
8260 2011-09-28 Andreas Schwab <schwab@redhat.com>
8262 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8264 2011-09-27 Roland McGrath <roland@hack.frob.com>
8267 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8269 2011-09-27 Andreas Schwab <schwab@redhat.com>
8271 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8272 Reread the line before reparsing it.
8274 2011-09-26 Andreas Schwab <schwab@redhat.com>
8276 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8278 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8279 Maxim Kuvyrkov <maxim@codesourcery.com>
8280 Joseph Myers <joseph@codesourcery.com>
8282 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8283 if needed for __stack_chk_guard.
8285 2011-09-19 Roland McGrath <roland@hack.frob.com>
8287 * sysdeps/posix/spawni.c (script_execute): Always define it.
8288 It will be optimized away if unused.
8289 (maybe_script_execute): New function.
8290 (__spawni): Call it.
8292 * Makerules: Don't include tls.make.
8293 (config-tls): Always set to thread.
8294 * tls.make.c: File removed.
8296 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8298 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8299 * config.make.in (CPPFLAGS-config): New substituted variable.
8301 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8303 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8306 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8307 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8309 2011-09-15 Roland McGrath <roland@hack.frob.com>
8311 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8312 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8313 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8314 (CALL_FAIL): Likewise.
8315 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8316 (CALL_FAIL): Macro removed.
8317 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8319 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8321 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8322 for __FINITE_MATH_ONLY__ == 1.
8324 2011-09-15 Andreas Schwab <schwab@redhat.com>
8326 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8327 __ieee754_sqrt instead of sqrt.
8328 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8329 __ieee754_sqrtf instead of sqrtf.
8330 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8331 __floorf instead of floorf.
8332 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8333 __floorf, __truncf instead of floorf, truncf.
8335 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8337 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8339 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8340 __extern_always_inline.
8341 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8344 2011-09-14 Andreas Schwab <schwab@redhat.com>
8346 * elf/rtld.c (dl_main): Also relocate in dependency order when
8347 doing symbol dependency testing.
8349 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8352 Always define `refsym'.
8354 2011-09-13 Andreas Schwab <schwab@redhat.com>
8356 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8357 (__FD_ELT): Renamed from __FDELT.
8358 * misc/bits/select2.h (__FD_ELT): Likewise.
8359 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8360 __FD_MASK instead of __FDELT, __FDMASK.
8361 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8363 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8366 * elf/Makefile (gen-ldd): Fix pattern.
8368 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8369 (init_tls): Likewise.
8371 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8373 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8375 2011-09-12 Andreas Schwab <schwab@redhat.com>
8377 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8378 `struct cmsghdr *' instead of `void *'.
8379 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8382 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8384 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8386 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8389 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8391 * configure.in: Remove --with-tls option.
8392 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8393 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8394 out in case it is missing.
8395 * sysdeps/ia64/elf/configure.in: Likewise.
8396 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8397 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8398 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8399 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8400 * sysdeps/sh/elf/configure.in: Likewise.
8401 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8402 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8403 * sysdeps/x86_64/elf/configure.in: Likewise.
8404 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8405 * sysdeps/mach/hurd/tls.h: Likewise.
8408 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8411 * configure.in: Fix use of AC_INIT.
8413 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8415 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8417 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8419 * malloc/hooks.c: Likewise.
8422 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8423 variables statically.
8424 (narenas): Initialize.
8425 (list_lock): Initialize.
8426 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8427 initializtion of main_arena and list_lock. Small cleanups.
8428 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8429 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8430 Add initializers to main_arena and mp_.
8431 (malloc_state): Remove pagesize member. Change all users to use
8434 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8435 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8436 is always initialized.
8438 * malloc/malloc.c: Removed unused configurations and dead code.
8439 * malloc/arena.c: Likewise.
8440 * malloc/hooks.c: Likewise.
8441 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8443 * include/tls.h: Removed. USE___THREAD must always be defined.
8444 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8445 * elf/dl-libc.c: Likewise.
8446 * elf/dl-tsd.c: Likewise.
8447 * include/errno.h: Likewise.
8448 * include/netdb.h: Likewise.
8449 * include/resolv.h: Likewise.
8450 * inet/herrno-loc.c: Likewise.
8451 * inet/herrno.c: Likewise.
8452 * malloc/arena.c: Likewise.
8453 * malloc/hooks.c: Likewise.
8454 * malloc/malloc.c: Likewise.
8455 * resolv/res-state.c: Likewise.
8456 * resolv/res_libc.c: Likewise.
8457 * sysdeps/i386/dl-machine.h: Likewise.
8458 * sysdeps/ia64/dl-machine.h: Likewise.
8459 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8460 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8461 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8462 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8463 * sysdeps/sh/dl-machine.h: Likewise.
8464 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8465 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8466 * sysdeps/unix/i386/sysdep.S: Likewise.
8467 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8468 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8469 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8470 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8471 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8472 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8473 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8474 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8477 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8478 * sysdeps/x86_64/dl-machine.h: Likewise.
8479 * tls.make.c: Likewise.
8481 * configure.in: Remove --with-__thread option. Make tests for
8482 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8483 tls_model attribute fail if no support is available. Remove
8485 * Makeconfig: Adjust for dropped configure option. All features are
8487 * Makerules: Likewise.
8488 * Versions.def: Likewise.
8489 * argp/argp-fmtstream.c: Likewise.
8490 * argp/argp-fmtstream.h: Likewise.
8491 * argp/argp-help.c: Likewise.
8492 * assert/assert.c: Likewise.
8493 * config.h.in: Likewise.
8494 * config.make.in: Likewise.
8495 * configure: Likewise.
8496 * configure.in: Likewise.
8497 * csu/Versions: Likewise.
8498 * csu/init.c: Likewise.
8499 * elf/tst-audit2.c: Likewise.
8500 * elf/tst-tls10.c: Likewise.
8501 * elf/tst-tls10.h: Likewise.
8502 * elf/tst-tls11.c: Likewise.
8503 * elf/tst-tls12.c: Likewise.
8504 * elf/tst-tls14.c: Likewise.
8505 * elf/tst-tlsmod11.c: Likewise.
8506 * elf/tst-tlsmod12.c: Likewise.
8507 * elf/tst-tlsmod13.c: Likewise.
8508 * elf/tst-tlsmod13a.c: Likewise.
8509 * elf/tst-tlsmod14a.c: Likewise.
8510 * elf/tst-tlsmod15b.c: Likewise.
8511 * elf/tst-tlsmod16a.c: Likewise.
8512 * elf/tst-tlsmod16b.c: Likewise.
8513 * elf/tst-tlsmod7.c: Likewise.
8514 * elf/tst-tlsmod8.c: Likewise.
8515 * elf/tst-tlsmod9.c: Likewise.
8516 * gmon/gmon.c: Likewise.
8517 * grp/fgetgrent_r.c: Likewise.
8518 * grp/putgrent.c: Likewise.
8519 * hurd/fopenport.c: Likewise.
8520 * include/libc-symbols.h: Likewise.
8521 * include/tls.h: Likewise.
8522 * intl/gettextP.h: Likewise.
8523 * intl/loadinfo.h: Likewise.
8524 * locale/global-locale.c: Likewise.
8525 * locale/localeinfo.h: Likewise.
8526 * mach/devstream.c: Likewise.
8527 * malloc/arena.c: Likewise.
8528 * malloc/set-freeres.c: Likewise.
8529 * misc/err.c: Likewise.
8530 * misc/getttyent.c: Likewise.
8531 * misc/mntent_r.c: Likewise.
8532 * posix/getopt.c: Likewise.
8533 * posix/wordexp.c: Likewise.
8534 * pwd/fgetpwent_r.c: Likewise.
8535 * resolv/Versions: Likewise.
8536 * resolv/res_hconf.c: Likewise.
8537 * shadow/fgetspent_r.c: Likewise.
8538 * shadow/putspent.c: Likewise.
8539 * stdio-common/printf_fphex.c: Likewise.
8540 * stdio-common/tmpfile.c: Likewise.
8541 * stdlib/abort.c: Likewise.
8542 * stdlib/fmtmsg.c: Likewise.
8543 * sunrpc/auth_unix.c: Likewise.
8544 * sunrpc/clnt_perr.c: Likewise.
8545 * sunrpc/clnt_tcp.c: Likewise.
8546 * sunrpc/clnt_udp.c: Likewise.
8547 * sunrpc/clnt_unix.c: Likewise.
8548 * sunrpc/openchild.c: Likewise.
8549 * sunrpc/svc_simple.c: Likewise.
8550 * sunrpc/svc_tcp.c: Likewise.
8551 * sunrpc/svc_udp.c: Likewise.
8552 * sunrpc/svc_unix.c: Likewise.
8553 * sunrpc/xdr.c: Likewise.
8554 * sunrpc/xdr_array.c: Likewise.
8555 * sunrpc/xdr_rec.c: Likewise.
8556 * sunrpc/xdr_ref.c: Likewise.
8557 * sunrpc/xdr_stdio.c: Likewise.
8559 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8561 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8563 2011-07-03 Andreas Jaeger <aj@suse.de>
8565 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8566 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8567 regenerate with gen-libm-tests.pl.
8569 2010-05-12 Petr Baudis <pasky@suse.cz>
8572 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8573 around j0() zero points by switching to j1().
8574 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8575 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8576 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8577 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8579 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8581 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8583 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8586 Patch in part by Pavel Roskin <proski@gnu.org>.
8589 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8591 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8592 Free memory block if necessary.
8595 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8596 be NULL. Don't lock in this case.
8598 2011-09-09 Roland McGrath <roland@hack.frob.com>
8600 * elf/elf.h (ELFOSABI_GNU): New macro.
8601 (ELFOSABI_LINUX): Define to that.
8603 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8605 * string/strncat.c (strncat): Undef the symbol in case it has been
8606 defined in bits/string.h.
8608 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8610 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8612 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8615 2011-08-17 Andreas Jaeger <aj@suse.de>
8617 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8619 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8620 Ian Lance Taylor <iant@google.com>
8622 * math/libm-test.inc (lround_test): New testcase.
8623 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8625 2011-09-08 Ulrich Drepper <drepper@gmail.com>
8627 * Makefile: Remove support for automatic cvs check-ins.
8628 * Makerules: Likewise.
8629 * config.make.in: Likewise.
8630 * configure.in: Likewise.
8631 * intl/Makefile: Likewise.
8632 * locale/Makefile: Likewise.
8633 * po/Makefile: Likewise.
8634 * posix/Makefile: Likewise.
8635 * sysdeps/gnu/Makefile: Likewise.
8636 * sysdeps/mach/hurd/Makefile: Likewise.
8637 * sysdeps/sparc/sparc32/Makefile: Likewise.
8640 * posix/Makefile (bug-regex32-ENV): Define.
8641 Patch by John Stanley <jpsinthemix@verizon.net>.
8643 * misc/Makefile (headers): Add bits/select2.h.
8644 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8645 * misc/bits/select2.h: New file.
8646 * include/bits/select2.h: New file.
8647 * debug/Makefile (routines): Add fdelt_chk.
8648 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8649 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8651 * debug/fdelt_chk.c: New file.
8653 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8654 * wcsmbs/test-wmemcmp.c: Likewise.
8655 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8656 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8658 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8660 * string/Makefile (strop-tests): Add memcmp.
8661 * string/test-wmemcmp.c: New file.
8662 * string/test-memcmp.c: Add wmemcmp support.
8664 2011-09-08 Roland McGrath <roland@hack.frob.com>
8667 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8670 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8671 garbage value in a __mach_port_mod_refs call in the cases of the
8672 task-self and thread-self ports.
8674 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8676 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8678 2011-09-08 Andreas Schwab <schwab@redhat.com>
8680 * elf/dl-load.c (lose): Check for non-null L.
8682 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8684 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8686 * elf/dl-libc.c (dlerror_run): Pass back error code from
8690 * elf/dl-load.c (lose): Free l_origin if it is valid.
8692 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8694 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8695 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8696 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8697 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8698 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8699 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8701 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8703 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8704 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8705 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8706 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8707 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8708 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8709 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8710 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8711 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8712 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8714 2011-08-15 Alan Modra <amodra@gmail.com>
8717 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8718 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8719 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8720 ppc_mcount to static-only-routines.
8721 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8723 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8724 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8726 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8728 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8729 for finite and infinity parameters.
8731 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8733 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8734 and add nop instructions for throughput optimization.
8735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8737 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8739 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8740 aligned copy for power7 with vector-scalar instructions.
8741 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8743 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8745 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8748 2011-09-07 Andreas Schwab <schwab@redhat.com>
8751 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8754 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8756 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8757 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8758 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8759 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8762 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8764 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8765 Forgot to demangle the pointer.
8767 * sysdeps/i386/sysdep.h: Define atom_text_section.
8768 * sysdeps/x86_64/sysdep.h: Likewise.
8769 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8770 section with atom_text_section.
8771 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8772 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8773 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8774 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8775 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8777 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8778 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8779 already be defined. Change to take two parameters and don't assign
8780 result to variable. Adjust all users.
8781 Define INTERNAL_GETTIME if not already defined.
8782 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8784 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8785 HAVE_CLOCK_GETTIME_VSYSCALL.
8786 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8788 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8789 gettimeofday vsyscall, just use time.
8791 2011-09-06 Andreas Schwab <schwab@redhat.com>
8793 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8796 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8798 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8800 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8802 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8803 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8804 syscall if possible.
8806 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8808 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8809 e_ident. Don't pass to find_mapsXX.
8810 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8812 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8815 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8816 * sysdeps/x86_64/multiarch/strchr.S: Update.
8817 Check bit_slow_BSF bit.
8818 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8819 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8820 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8822 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8825 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8828 (__spawni): Change last parameter to be flag. Test
8829 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8830 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8831 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8832 * posix/spawni.c: Likewise.
8833 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8834 * posix/spawnp.c: Likewise. Change normal version to use
8835 SPAWN_XFLAGS_USE_PATH.
8836 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8837 SPAWN_XFLAGS_TRY_SHELL.
8840 * posix/glob.h: Remove gcc 1.x support.
8843 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8845 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8848 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8850 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8851 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8852 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8853 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8854 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8855 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8857 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8859 * sysdeps/x86_64/wcscmp.S: New file.
8861 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8862 wcscmp-c wcscmp-sse2
8863 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8864 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8865 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8866 * wcsmbs/wcscmp.c: Allow renaming.
8868 2011-09-05 David S. Miller <davem@davemloft.net>
8870 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8871 stack slot, rather than the struct return pointer slot.
8872 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8873 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8875 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8877 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8879 * po/ja.po: Update from translation team.
8882 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8883 kernel in 64-bit binaries.
8885 2011-09-01 David S. Miller <davem@davemloft.net>
8887 * elf/elf.h (HWCAP_SPARC_*): Move to..
8888 * sysdeps/sparc/sysdep.h: this new file and add new values.
8889 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8890 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8891 _DL_HWCAP_COUNT to 24.
8892 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8894 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8895 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8896 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8898 instead of magic constants.
8899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8901 2011-08-31 David S. Miller <davem@davemloft.net>
8903 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8905 Reimplement to do errno handling inline.
8906 (SYSCALL_ERROR_HANDLER): New macro.
8907 (__SYSCALL_STRING): Do not do errno handling in asm.
8908 (__CLONE_SYSCALL_STRING): Delete.
8909 (__INTERNAL_SYSCALL_STRING): Delete.
8910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8911 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8912 (PSEUDO): Reimplement to do errno handling inline.
8913 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8914 (SYSCALL_ERROR_HANDLER): New macro.
8915 (__SYSCALL_STRING): Do not do errno handling in asm.
8916 (__CLONE_SYSCALL_STRING): Delete.
8917 (__INTERNAL_SYSCALL_STRING): Delete.
8918 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8919 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8921 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8922 (inline_syscall*): Add 'err' argument.
8923 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8924 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8925 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8926 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8928 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8929 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8931 2011-08-30 Andreas Schwab <schwab@redhat.com>
8933 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8935 2011-08-29 Jiri Olsa <jolsa@redhat.com>
8937 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8940 2011-08-24 David S. Miller <davem@davemloft.net>
8942 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8944 2011-08-24 Andreas Schwab <schwab@redhat.com>
8946 * elf/Makefile: Add rules to build and run unload8 test.
8947 * elf/unload8.c: New file.
8948 * elf/unload8mod1.c: New file.
8949 * elf/unload8mod1x.c: New file.
8950 * elf/unload8mod2.c: New file.
8951 * elf/unload8mod3.c: New file.
8953 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8956 2011-08-23 David S. Miller <davem@davemloft.net>
8958 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8959 subtract stack bias.
8960 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8961 %sp not %fp in calculations.
8962 (_JMPBUF_UNWINDS_ADJ): Likewise.
8964 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8965 (aio_suspend): Call it to force an exception region around the
8966 AIO_MISC_WAIT() invocation.
8968 2011-08-23 Andreas Schwab <schwab@redhat.com>
8970 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8973 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8975 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8977 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8979 (Elf64_FuncDesc): Remove.
8981 2011-08-22 David S. Miller <davem@davemloft.net>
8983 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8984 sigaltstack check, add missing cfi directives.
8985 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8986 missing cfi directives, and sigaltstack handling.
8988 2011-08-16 Andreas Schwab <schwab@redhat.com>
8991 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8992 object is seen twice.
8993 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8995 * elf/Makefile (distribute): Add tst-initorder2.c.
8996 (tests): Add tst-initorder2.
8997 (modules-names): Add tst-initorder2a tst-initorder2b
8998 tst-initorder2c tst-initorder2d. Add rules to build them.
8999 ($(objpfx)tst-initorder2.out): New rule.
9000 * elf/tst-initorder2.c: New file.
9001 * elf/tst-initorder2.exp: New file.
9003 2011-08-22 Andreas Schwab <schwab@redhat.com>
9005 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9007 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9008 dependencies back to end of function.
9010 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9013 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9015 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9016 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9018 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9019 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9020 of __vdso_gettimeofday.
9021 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9022 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9024 (_libc_vdso_platform_setup): Remove initialization of
9025 __vdso_gettimeofday and __vdso_time.
9027 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9029 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9031 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9034 * elf/dl-open.c (add_to_global): Report additions to the global scope
9035 for LD_DEBUG=scopes.
9036 (dl_open_worker): Also print scope of newly loaded dependencies.
9037 (_dl_show_scope): Indicate if there is no scope.
9040 * stdio-common/Makefile (tests): Add bug24.
9041 * stdio-common/bug24.c: New file.
9043 2011-08-19 Andreas Jaeger <aj@suse.de>
9046 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9047 non-existant file when using close-on-exec mode.
9049 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9052 the very first instruction.
9054 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9055 the CFI state in the end.
9056 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9057 inclusion of dl-trampoline.h.
9058 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9060 2011-08-19 Andreas Schwab <schwab@redhat.com>
9062 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9063 expectations for long double.
9065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9066 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9068 2011-08-14 David S. Miller <davem@davemloft.net>
9070 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9071 artificual limit depends upon the system page size.
9073 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9075 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9076 * resolv/Makefile: Define CFLAGS-libresolv.
9078 2011-08-17 Andreas Schwab <schwab@redhat.com>
9080 * nss/makedb.c (compute_tables): Make variables used in nested
9083 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9085 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9086 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9087 if buffer was too small.
9089 * elf/pldd.c (main): Attach to all threads in the process.
9090 Rewrite /proc handling to use *at functions.
9092 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9094 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9095 specifies first scope to show.
9096 (dl_open_worker): Update callers. Move printing scope of new
9097 object to before the relocation.
9098 * elf/rtld.c (dl_main): Update _dl_show_scope call.
9099 * sysdeps/generic/ldsodefs.h: Update declaration.
9101 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9102 string for the scope number.
9104 2011-08-14 Ulrich Drepper <drepper@gmail.com>
9106 * nscd/servicescache.c (cache_addserv): Make sure written is always
9109 2011-08-14 Roland McGrath <roland@hack.frob.com>
9111 * sysdeps/i386/i486/bits/atomic.h
9112 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9113 statement expression, so as to suppress "set but not used" warning.
9114 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9116 * string/strncat.c (STRNCAT): Use prototype definition.
9118 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9119 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9121 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9122 (localedef-modules): Add localedef.
9123 (locale-modules): Add locale.
9125 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9126 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9129 2011-08-14 David S. Miller <davem@davemloft.net>
9131 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9132 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9134 2011-08-13 Ulrich Drepper <drepper@gmail.com>
9136 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9137 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9138 * elf/rtld.c (dl_main): Set l_name of vDSO.
9139 Call _dl_show_scope when DL_DEBUG_SCOPES.
9140 (process_dl_debug): Recognize scopes flag and also set it for all.
9141 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9142 Declare _dl_show_scope.
9144 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9145 (do_dlopen): Pass caller_dlopen to dl_open.
9146 (__libc_dlopen_mode): Initialize caller_dlopen.
9148 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9149 of libc. Make tolower call locale-independent. Optimize a bit by
9150 using isdigit instead of isalnum.
9151 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9153 2011-08-12 Ulrich Drepper <drepper@gmail.com>
9155 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9156 was a dependency or dynamically loaded.
9158 2011-08-11 Ulrich Drepper <drepper@gmail.com>
9160 * intl/l10nflist.c: Allow architecture-specific pop function.
9161 * sysdeps/x86_64/l10nflist.c: New file.
9163 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9166 2011-08-10 Andreas Schwab <schwab@redhat.com>
9168 * include/dirent.h: Add libc_hidden_proto for scandirat and
9169 scandirat64. Don't declare __scandirat64.
9170 * dirent/scandirat.c: Add libc_hidden_def.
9171 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9172 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9174 2011-08-10 David S. Miller <davem@davemloft.net>
9176 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9178 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9179 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9180 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9182 2011-08-09 Ulrich Drepper <drepper@gmail.com>
9184 * Versions.def [libc]: Add GLIBC_2.15.
9185 * dirent/Makefile (routines): Add scandirat and scandirat64.
9186 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9188 * dirent/dirent.h: Declare scandirat and scandirat64.
9189 * dirent/scandirat.c: New file.
9190 * dirent/scandirat64.c: New file.
9191 * sysdeps/wordsize-64/scandirat.c: New file.
9192 * sysdeps/wordsize-64/scandirat64.c: New file.
9193 * dirent/opendir.c: Define opendirat.
9194 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9196 * dirent/scandir64.c: Adjust for scandir.c change.
9197 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9198 __scandirat64, and __scandir_cancel_handler.
9199 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9200 additional parameter and use openat instead of open (outside of ld.so).
9201 Add new __opendir as wrapper around __opendirat.
9202 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9203 here without requiring old scandirat implementation.
9205 2011-08-08 Ulrich Drepper <drepper@gmail.com>
9207 * dirent/scandir.c (cancel_handler): Renamed to
9208 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9209 defined. Adjust users.
9210 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9211 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9213 2011-08-04 Ulrich Drepper <drepper@gmail.com>
9215 * string/test-string.h (IMPL): Use __STRING to expand name and then
9218 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9221 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9223 * string/Makefile: Update.
9224 (strop-tests): Append strncat.
9225 * string/test-wcscmp.c: New file.
9226 New comprehensive test for wcscmp.
9227 * string/test-strcmp.c: Update.
9230 2011-07-22 Andreas Schwab <schwab@redhat.com>
9232 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9235 2011-07-26 Andreas Schwab <schwab@redhat.com>
9237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9238 encoding to ACE if AI_IDN.
9240 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9242 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9243 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9245 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9247 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9248 Fix overflow bug in strncat.
9249 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9251 * string/test-strncat.c: Update.
9252 Add new tests for checking overflow bugs.
9254 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9256 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9257 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9258 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9259 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9260 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9261 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9262 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9263 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9264 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9266 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9267 (USE_AS_STRCAT): Define.
9268 Add strcat and strncat support.
9269 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9271 2011-07-25 Andreas Schwab <schwab@redhat.com>
9273 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9274 __n bigger than INT_MAX+1.
9275 (__strncmp_g): Likewise.
9277 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9279 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9280 * libio/stido.h: Likewise.
9282 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9284 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9287 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9288 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9289 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9290 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9291 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9294 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9297 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9299 (_dl_x86_64_save_sse): Likewise.
9301 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9303 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9305 (_dl_x86_64_save_sse): Likewise.
9307 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9309 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9311 2011-07-21 Andreas Schwab <schwab@redhat.com>
9313 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9315 (_dl_x86_64_save_sse): Use correct AVX check.
9317 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9319 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9320 bug in strncpy/strncat.
9321 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9323 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9325 * string/tester.c (test_strcat): Add tests for different alignments
9326 of source and destination.
9327 (test_strncat): Likewise.
9329 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9332 * posix/glob.c (glob): Check passed in values before using them in
9333 expressions to avoid some overflows.
9334 (glob_in_dir): Likewise.
9337 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9338 check for AVX enablement so that we don't crash with old kernels and
9340 * elf/tst-audit4.c: Add same checks here.
9341 * elf/tst-audit6.c: Likewise.
9343 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9345 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9347 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9349 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9351 * po/cs.po: Update from translation team.
9352 * po/bg.po: Likewise.
9354 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9356 * misc/sys/cdefs.h: Add support for const attribute.
9357 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9358 to gnu_dev_{major,minor,makedev} functions.
9360 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9362 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9364 2011-07-20 Andreas Schwab <schwab@redhat.com>
9366 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9369 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9372 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9373 register in order to avoid conflicts with the soft frame pointer
9374 being held in r11 when necessary.
9375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9376 (INTERNAL_VSYSCALL_NCS): Likewise.
9378 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9380 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9381 * elf/dl-fini.c (_dl_fini): Adjust caller.
9382 * elf/dl-close.c (_dl_close_worker): Likewise.
9383 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9385 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9387 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9388 "aux_cache->nlibs < 0".
9390 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9391 in the reload-count case.
9393 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9396 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9397 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9398 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9399 * sysdeps/x86_64/multiarch/strcat.S: New file.
9400 * sysdeps/x86_64/multiarch/strncat.S: New file.
9401 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9402 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9403 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9404 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9405 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9406 (USE_AS_STRCAT): Define.
9407 Add strcat and strncat support.
9408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9409 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9410 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9411 * string/strncat.c: Update.
9412 (USE_AS_STRNCAT): Define.
9413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9414 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9416 * sysdeps/x86_64/multiarch/init-arch.h
9417 (bit_Prefer_PMINUB_for_stringop): New.
9418 (index_Prefer_PMINUB_for_stringop): Likewise.
9419 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9420 bit_Prefer_PMINUB_for_stringop.
9422 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9424 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9426 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9427 of casting of buffer.
9428 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9429 buffer32 and buffer64.
9430 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9431 writes instead of casting of buffer.
9432 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9434 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9437 2011-07-19 Andreas Schwab <schwab@redhat.com>
9439 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9441 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9443 * nscd/nscd.c (termination_handler): Don't do anything for a database
9444 if it has not yet been initialized.
9446 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9448 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9450 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9452 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9454 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9456 * po/nl.po: Update from translation team.
9457 * po/sv.po: Likewise.
9459 2011-07-16 Roland McGrath <roland@hack.frob.com>
9461 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9462 now disallowed by GCC.
9464 * configure.in (use-default-link): Default to yes if a test -shared
9465 link meets our qualifications.
9466 * configure: Regenerated.
9468 * config.make.in (output-format): New variable.
9469 * configure.in: Check for ld --print-output-format support.
9470 * configure: Regenerated.
9471 * Makerules ($(common-objpfx)format.lds)
9472 [$(output-format) != unknown]: Just use $(output-format),
9473 instead of the linker-script munging.
9475 2011-07-14 Roland McGrath <roland@hack.frob.com>
9477 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9478 of $(common-objpfx)shlib.lds.
9479 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9481 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9482 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9484 * configure.in (-z relro check): Adjust test code to add a large
9485 writable data section after it.
9486 * configure: Regenerated.
9488 2011-07-11 Roland McGrath <roland@hack.frob.com>
9490 * configure.in (-z relro check): Fix test code to make the variable
9492 * configure: Regenerated.
9494 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9496 * nscd/nscd.h (struct traced_file): Define.
9497 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9498 elements. Add traced_files.
9499 (inotify_fd): Declare.
9500 (register_traced_file): Declare.
9501 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9502 (inotify_fd): Export.
9503 (resolv_conf_descr): Remove.
9504 (nscd_init): Move inotify descriptor creation to main.
9505 Don't register files for notification here.
9506 (register_traced_file): New function.
9507 (invalidate_cache): Don't use reset_res to determine whether to call
9508 res_init, go through the list of registered files.
9509 (main_loop_poll): The inotify descriptors are now stored in the
9510 structures for the traced files.
9511 (main_loop_epoll): Likewise
9512 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9513 to __nss_disable_nscd.
9514 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9515 for a database anymore. Check the records for all the registered
9517 * nss/Makefile (libnss_files-routines): Add files-init.
9518 (libnss_db-routines): Add db-init.
9519 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9520 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9521 * nss/nss_db/db-init.c: New file.
9522 * nss/nss_files/files-init.c: New file.
9523 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9524 __nss_lookup_function.
9525 (__nss_lookup_function): Call nss_load_library.
9526 (nss_load_all_libraries): New function.
9527 (__nss_disable_nscd): Take parameter with callback function for files
9528 to register. Set is_nscd. Load all the DSOs for the NSS modules
9529 used for the cached services.
9530 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9531 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9532 options for features to all the files in nscd.
9534 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9536 2011-07-10 Roland McGrath <roland@hack.frob.com>
9538 * csu/elf-init.c (__libc_csu_init): Comment typo.
9540 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9542 * po/pl.po: Update from translation team.
9543 * po/ja.po: Likewise.
9544 * po/ru.po: Likewise.
9545 * po/ko.po: Likewise.
9546 * po/fr.po: Likewise.
9548 2011-07-09 Roland McGrath <roland@hack.frob.com>
9550 * configure.in (.ctors/.dtors header and trailer check):
9551 Use an empirical test on a built program.
9552 * configure: Regenerated.
9554 * configure.in (-z relro check): Use an empirical test on a built DSO.
9555 Detect, but do not require, on ia64.
9556 * configure: Regenerated.
9558 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9559 Update tests that use readelf to use $READELF instead.
9560 * configure: Regenerated.
9562 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9564 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9565 if the result is not used.
9567 2011-07-05 Andreas Jaeger <aj@suse.de>
9570 * stdlib/tst-strtod.c: Add testcase.
9572 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9574 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9575 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9576 The latter has a higher limit. Take additional parameter to pass to
9578 (__pathconf): Pass file to __statfs_link_max.
9579 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9581 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9585 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9586 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9588 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9589 (__statfs_filesize_max): Likewise.
9590 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9592 2011-07-05 Andreas Jaeger <aj@suse.de>
9594 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9596 2011-07-06 Marek Polacek <mpolacek@redhat.com>
9598 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9600 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9603 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9605 * Makefile (strop-tests): Add strncat.
9606 * string/test-strncat.c: New file.
9608 2011-06-30 Marek Polacek <mpolacek@redhat.com>
9610 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9612 2011-06-21 Andreas Jaeger <aj@suse.de>
9614 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9615 Copy rule from iconvdata/Makefile.
9617 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9620 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9621 but no long options are defined, just return 'W'.
9623 2011-06-22 Marek Polacek <mpolacek@redhat.com>
9626 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9628 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9630 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9632 (innetgr): Likewise.
9634 2011-07-05 Roland McGrath <roland@hack.frob.com>
9636 * config.make.in (install_root): Default to $(DESTDIR).
9638 2011-07-05 Ulrich Drepper <drepper@gmail.com>
9640 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9642 2011-07-02 Roland McGrath <roland@hack.frob.com>
9644 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9646 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9647 containing directory rather than embedding absolute directory names.
9649 * scripts/check-local-headers.sh: Rewritten using awk.
9650 Match by word, not by line. Print error messages for matches.
9651 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9653 * Makerules [shlib-lds-flags empty]:
9654 ($(common-objpfx)libc_pic.opts): New target.
9655 ($(common-objpfx)libc_pic.os.clean): New target.
9656 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9658 * config.make.in (OBJCOPY): New variable.
9659 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9660 * configure: Regenerated.
9662 * config.make.in (use-default-link): New variable.
9663 * configure.in (use_default_link): Grok --with-default-link to set it.
9664 * configure: Regenerated.
9665 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9666 (shlib-lds, shlib-lds-flags): Define to empty.
9668 * Makerules (shlib-lds): New variable.
9669 (shlib-lds-flags): New variable.
9670 (build-shlib, build-moduile, build-module-asneeded): Use it.
9671 ($(common-objpfx)libc.so): Use $(shlib-lds).
9672 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9673 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9675 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9676 DT_FLAGS/DT_FLAGS_1 with zero flags.
9678 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9679 linker script munging.
9681 2011-07-02 Ulrich Drepper <drepper@gmail.com>
9683 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9685 * crypt/sha512.c (sha512_process_block): Perform total addition using
9686 128-bit if possible.
9687 (__sha512_finish_ctx): Likewise.
9688 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9690 * crypt/sha256.c (SWAP64): Define.
9691 (sha256_process_block): Perform total addition using 64-bit if
9693 (__sha256_finish_ctx): Likewise.
9695 2011-07-01 Ulrich Drepper <drepper@gmail.com>
9697 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9698 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9699 * nscd/hstcache.c (cache_addhst): Likewise.
9700 * nscd/grpcache.c (cache_addgr): Likewise.
9701 * nscd/aicache.c (addhstaiX): Likewise
9702 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9704 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
9706 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9707 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9708 * nscd/hstcache.c (cache_addhst): Likewise.
9709 * nscd/grpcache.c (cache_addgr): Likewise.
9710 * nscd/aicache.c (addhstaiX): Likewise
9712 2011-07-01 Andreas Schwab <schwab@redhat.com>
9714 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9715 domain only when needed.
9717 2011-06-30 Andreas Schwab <schwab@redhat.com>
9719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9722 2011-06-29 Ulrich Drepper <drepper@gmail.com>
9724 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9725 are re-adding the entry.
9726 * nscd/servicescache.c (cache_addserv): Likewise.
9728 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9730 * sysdeps/generic/dl-irel.h: fix protection against multiple
9732 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9734 2011-06-28 Ulrich Drepper <drepper@gmail.com>
9737 * malloc/memusage.sh: Fix quoting in message.
9738 * debug/xtrace.sh: Likewise.
9740 * configure.in: Remove support for --experimental-malloc option, make
9742 * config.make.in: Likewise.
9743 * malloc/Makefile: Likewise.
9745 2011-06-27 Andreas Schwab <schwab@redhat.com>
9747 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9748 two-byte characters.
9750 2011-06-27 Roland McGrath <roland@hack.frob.com>
9752 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9753 AC_CACHE_CHECK invocation.
9754 * configure: Regenerated.
9756 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9758 2011-06-27 Ulrich Drepper <drepper@gmail.com>
9761 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9762 bit from old_res_options.
9764 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9766 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9767 value type for setfct.
9769 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9771 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9772 __gettimeofday instead of gettimeofday.
9774 2011-06-26 Ulrich Drepper <drepper@gmail.com>
9776 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9778 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9780 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9782 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9785 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9788 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9789 strcpy-sse2-unaligned strncpy-sse2-unaligned
9790 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9791 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9792 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9793 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9794 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9795 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9796 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9797 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9798 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9799 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9800 (STRCPY): Support SSE2 and SSSE3 versions.
9802 2011-06-24 Ulrich Drepper <drepper@gmail.com>
9805 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9806 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9807 kernels which artificially limit size of requests.
9809 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9812 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9813 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9814 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9815 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9816 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9817 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9818 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9819 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9820 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9821 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9822 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9823 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9824 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9825 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9827 Enable unaligned load optimization for Intel Core i3, i5 and i7
9829 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9831 (index_Fast_Unaligned_Load): Define.
9832 (HAS_FAST_UNALIGNED_LOAD): Define.
9834 2011-06-23 Marek Polacek <mpolacek@redhat.com>
9836 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9838 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9841 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9842 until it is clear that the information is realy needed.
9843 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9845 2011-06-22 Andreas Schwab <schwab@redhat.com>
9847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9849 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9851 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9852 /sys/devices/system/cpu/online if it is usable.
9854 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9855 reading the information from the /proc filesystem to once a second.
9857 2011-06-21 Andreas Jaeger <aj@suse.de>
9859 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9860 NULL after inclusion of kernel headers.
9862 2011-06-21 Ulrich Drepper <drepper@gmail.com>
9864 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9865 calls to internal_setent.
9868 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9869 addresses using gethostbyname4_r ignore IPv4 addresses.
9871 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9872 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9874 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9876 2011-06-20 David S. Miller <davem@davemloft.net>
9878 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9880 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9882 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9884 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9885 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9886 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9887 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9888 * sysdeps/x86_64/dl-irel.h: Likewise.
9890 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9891 * elf/dl-sym.c: Likewise.
9893 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9895 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9896 need to dereference resplen2.
9898 2011-06-14 Andreas Schwab <schwab@redhat.com>
9900 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9902 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9904 * Makeconfig: Define vardbdir and inst_vardbdir.
9905 * nss/Makefile: Add rules to install db-Makefile.
9907 * nss/nss_db/db-XXX.c: Cleanup.
9909 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9910 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9912 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9913 * nss/makedb.c: Implement -g option to specify that value strings
9914 are generated and should not be added to table iterated over for
9916 * nss/nss_db/db-initgroups.c: New file.
9918 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9921 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9922 (internal_getgrouplist): Adjust to name change.
9923 Update use_initgroups_entry if this is not the first call.
9924 * nss/databases.def: Add initgroups entry.
9926 * nss/makedb.c (compute_tables): Check result of multiple hash table
9927 sizes to minimize maximum chain length.
9929 2011-06-14 Ulrich Drepper <drepper@gmail.com>
9931 * Versions.def: Add entry for libnss_db.
9932 * shlib-versions: Likewise.
9933 * nss/Makefile: Add rules to build libnss_db.
9934 * nss/Versions: Add libnss_db information. Organize libnss_files
9936 * nss/db-Makefile: Add gshadow support. Change rules for the new
9937 makedb progra. Some minor improvements to generate smaller files.
9938 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9940 * nss/makedb.c: ...here.
9941 Improve database format to be smaller and require less memory at
9943 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9945 * nss/nss_db/db-netgrp.c: Likewise.
9946 * nss/nss_db/db-open.c: Likewise.
9947 * nss/nss_files/flies-XXX.x: Adjust comments.
9948 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9949 * nss/nss_files/files-grp.c: Likewise.
9950 * nss/nss_files/files-hosts.c: Likewise.
9951 * nss/nss_files/files-network.c: Likewise.
9952 * nss/nss_files/files-proto.c: Likewise.
9953 * nss/nss_files/files-pwd.c: Likewise.
9954 * nss/nss_files/files-rpc.c: Likewise.
9955 * nss/nss_files/files-service.c: Likewise.
9956 * nss/nss_files/files-sgrp.c: Likewise.
9957 * nss/nss_files/files-spwd.c: Likewise.
9958 * nss/nss_db/db-alias.c: Removed.
9959 * nss/nss_db/dummy-db.h: Removed.
9961 2011-06-02 Ulrich Drepper <drepper@gmail.com>
9963 * nss/makedb.c: Rewritten to not use database library.
9964 * nss/Makefile: Update to build new makedb program.
9966 2011-06-14 Andreas Jaeger <aj@suse.de>
9968 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9971 2011-06-10 Andreas Schwab <schwab@redhat.com>
9973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9976 2011-06-10 Roland McGrath <roland@hack.frob.com>
9978 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9979 * elf/Makefile ($(objpfx)ld.so): Likewise.
9981 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9982 Don't list ld.so twice in dependencies.
9984 * posix/bug-regex31.c: Include <stdlib.h>.
9986 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9988 * nis/nss_compat/compat-spwd.c
9989 (getspent_next_nss_netgr): Remove unused variable.
9990 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9992 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9993 nonmembers" output to use the right array.
9995 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9997 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9999 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10000 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10001 * catgets/gencat.c (read_input_file): Likewise.
10002 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10004 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10005 variable definition inside #if's controlling its use.
10007 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10009 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10011 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10013 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10016 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10018 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10019 * configure: Regenerated.
10021 * Makerules: Revert last change.
10022 * elf/Makefile: Likewise.
10024 2011-06-09 Roland McGrath <roland@hack.frob.com>
10026 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10027 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10028 (reloc-link): Likewise.
10030 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10032 * elf/Makefile: Add rules to build pldd.
10033 * elf/pldd.c: New file.
10034 * elf/pldd-xx.c: New file.
10036 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10038 * version.h: Update for 2.15 development version.
10040 2011-06-07 David S. Miller <davem@davemloft.net>
10042 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10044 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10045 elf_machine_lazy_rel): Likewise.
10046 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10047 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10048 elf_machine_lazy_rel): Likewise.
10049 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10050 dl_hwcap via passed in argument.
10051 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10054 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10056 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10058 2011-06-06 Roland McGrath <roland@hack.frob.com>
10061 * manual/fdl-1.1.texi: New file, verbatim from:
10062 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10063 * manual/lgpl-2.1.texi: New file, verbatim from:
10064 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10065 * manual/Makefile (licenses): New variable, list those new file names.
10067 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10069 * manual/fdl.texi: File removed.
10070 * manual/lesser.texi: File removed.
10071 * manual/libc.texinfo (Copying, Documentation License):
10072 Use new @include file names, put @appendix directive before @include.
10074 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10077 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10078 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10079 (mq_open): Add __NTH.
10081 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10084 Assume Intel Core i3/i5/i7 processor if AVX is available.
10086 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10088 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10091 2011-05-31 Andreas Schwab <schwab@redhat.com>
10093 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10094 memory. Use alloca_account. Fix memory leak when retrying.
10096 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10098 * version.h (RELEASE): Bump for 2.14 release.
10099 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10101 * config.make.in (RANLIB): Remove entry.
10103 2011-05-30 Ulrich Drepper <drepper@gmail.com>
10105 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10106 (libc.pot): Work around missing support for .ksh extension in xgettext.
10109 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10110 if both request failed.
10111 (send_dg): In case of server errors clear resplen or *resplen2.
10114 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10115 when there are multiple maps.
10116 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10117 (_dl_fini): Remove test here.
10119 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10121 2011-05-29 Ulrich Drepper <drepper@gmail.com>
10124 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10125 bit from old_res_options.
10126 (gaih_inet): Likewise.
10129 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10132 * resolv/res_init.c (res_setoptions): Make the code more compact.
10135 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10139 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10141 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10144 * malloc/malloc.h: Declare malloc hook variables as volatile.
10146 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10150 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10151 raise in the comment.
10152 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10153 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10154 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10156 2011-05-28 Ulrich Drepper <drepper@gmail.com>
10159 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10160 grow the buffers more if it already has to be sufficient.
10161 (build_wcs_upper_buffer): Likewise.
10162 * posix/regexec.c (check_matching): Likewise.
10163 (clean_state_log_if_needed): Likewise.
10164 (extend_buffers): Don't enlarge buffers beyond size of the input
10166 Patches mostly by Emil Wojak <emil@wojak.eu>.
10167 * posix/bug-regex32.c: New file.
10168 * posix/Makefile (tests): Add bug-regex32.
10170 * locale/findlocale.c (_nl_find_locale): Return right away if
10171 _nl_explode_name failed.
10172 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10174 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10176 * debug/xtrace.sh: Unify messages.
10177 * malloc/memusage.sh: Likewise.
10180 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10181 time symbol from vDSO. Substitute with vsyscall if not available.
10182 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10185 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10186 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10187 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10188 Add sendmmsg and internal_sendmmsg.
10189 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10190 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10191 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10193 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10194 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10195 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10197 2011-05-27 Ulrich Drepper <drepper@gmail.com>
10200 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10201 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10203 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10207 * iconvdata/Makefile (tests): Add bug-iconv9.
10208 * iconvdata/bug-iconv9.c: New file.
10210 2011-05-27 Andreas Schwab <schwab@redhat.com>
10213 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10215 2011-05-25 Jakub Jelinek <jakub@redhat.com>
10217 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10218 (struct user_regs_struct): Change intcs field back to cs.
10220 2011-05-25 Ulrich Drepper <drepper@gmail.com>
10222 * po/ja.po: Update from translation team.
10224 2011-05-23 Ulrich Drepper <drepper@gmail.com>
10227 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10228 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10230 2011-05-20 Andreas Schwab <schwab@redhat.com>
10232 * stdlib/longlong.h: Update from GCC.
10234 2011-05-23 Andreas Schwab <schwab@redhat.com>
10236 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10238 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10239 Add parameter name.
10240 (__sysconf): Pass it down.
10242 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10245 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10247 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10248 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10249 add in in __libc_use_alloca calls. Adjust callers.
10250 (glob): Use malloc in some situations.
10252 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10253 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10256 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10258 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10259 and CLOCK_BOOTTIME_ALARM.
10262 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10265 * string/_strerror.c (__strerror_r): Print negative errors as signed
10269 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10270 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10271 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10273 * configure.in: Fix typo in redirection and correct removal of test
10274 files in two cases.
10277 * locale/setlocale.c (new_composite_name): Fix test to check for
10278 identical name of all categories.
10281 * libio/filedoalloc.c (local_isatty): New function.
10282 (_IO_file_doallocate): Use local_isatty.
10283 * stdio-common/perror.c (perror): In case a new stream is used
10284 forward the stream error.
10285 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10288 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10293 * include/alloca.h (extend_alloca_account): Define.
10296 * posix/regex.h: Fix comments with documentation of user-accessible
10297 fields after compilation and describe correct free'ing of pattern
10298 after re_compile_pattern.
10299 Patch by Reuben Thomas <rrt@sc3d.org>.
10301 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10303 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10304 and -mno-altivec to prevent the compiler from using Altivec and/or
10305 VSX instructions when the corresponding registers are not available.
10307 2011-05-19 Andreas Schwab <schwab@redhat.com>
10309 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10311 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10313 * libio/freopen.c (freopen): Use __dup2, not dup2.
10314 * libio/freopen64.c (freopen64): Likewise.
10316 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10319 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10320 * math/Makefile (tests): Add test-powl.
10321 (CFLAGS-test-powl.c): Define.
10322 * math/test-powl.c: New file.
10324 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10326 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10328 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10331 * iconvdata/gb18030.c: Update to GB18020-2005.
10333 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10335 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10336 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10337 Patch by Aharon Robbins <arnold@skeeve.com>.
10340 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10344 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10345 through underflows.
10348 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10349 point to strings before performing equality test for error_one_per_line
10353 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10356 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10357 (struct user_fpregs_struct): Avoid __uint*_t types.
10360 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10361 symbol info. Use it instead of calling _dl_addr locally.
10362 (lock_and_info): New function.
10363 (tr_freehook): Call lock_and_info and pass symbol info as additional
10364 parameter to tr_where.
10365 (tr_mallochook): Likewise.
10366 (tr_reallochook): Likewise.
10367 (tr_memalignhook): Likewise.
10369 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10370 used and couldn't be at all thread-safe.
10372 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10374 * libio/freopen.c (freopen): Don't close old file descriptor
10375 before the new one is opened. Instead dup the new file descriptor
10376 to the old one after the new stream is created.
10377 * libio/freopen64.c (freopen64): Likewise.
10378 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10379 * libio/fileops.c (_IO_new_file_close_it): Handle new
10380 _IO_FLAGS2_NOCLOSE flag.
10381 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10382 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10383 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10384 _IO_FLAGS2_NOCLOSE flag.
10385 * include/unistd.h: Add hidden_proto for dup3.
10386 Define __have_dup3.
10387 * io/dup3.c: Define hidden symbol.
10388 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10391 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10392 when an incomplete long option is used.
10393 * posix/tst-getopt_long1.c: New file.
10394 * posix/Makefile (tests): Add tst-getopt_long1.
10397 * scripts/config.guess: Update from autoconf-2.68.
10398 * scripts/config.sub: Likewise.
10401 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10403 (has_cpuclock): ...this. New function.
10404 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10405 macro here based on has_cpuclock code.
10408 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10409 First byte (not low byte) is now always NUL.
10410 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10412 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10413 Use non-cancelable interfaces.
10416 * locale/iso-639.def: Add entry for Sorani.
10419 * include/stdlib.h: Move include protection to the right place.
10420 Define abort_msg_s. Declare __abort_msg with it.
10421 * stdlib/abort.c (__abort_msg): Adjust type.
10422 * assert/assert.c (__assert_fail_base): New function. Majority
10423 of code from __assert_fail. Allocate memory for __abort_msg with
10425 (__assert_fail): Now call __assert_fail_base.
10426 * assert/assert-perr.c: Remove bulk of implementation. Use
10427 __assert_fail_base.
10428 * include/assert.hL Declare __assert_fail_base.
10429 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10431 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10433 2011-05-14 Ulrich Drepper <drepper@gmail.com>
10437 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10438 until all modules are registered in the DTV.
10439 * elf/Makefile: Add rules to build and run tst-tls19.
10440 * elf/tst-tls19.c: New file.
10441 * elf/tst-tls19mod1.c: New file.
10442 * elf/tst-tls19mod2.c: New file.
10443 * elf/tst-tls19mod3.c: New file.
10444 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10447 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10451 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10452 two-byte sequence errors.
10453 * iconvdata/Makefile (tests): Add bug-iconv8.
10454 * iconvdata/bug-iconv8.c: New file.
10457 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10460 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10463 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10464 (dummy_getcfa): New function.
10465 (init): Get _Unwind_GetCFA address, use dummy if not found.
10466 (backtrace_helper): In recursion check, also check whether CFA changes.
10467 (__backtrace): Completely initialize arg.
10469 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10470 storing incomplete byte sequence in state object. Avoid testing for
10471 guaranteed too small input if we know there is enough data available.
10473 2011-05-11 Andreas Schwab <schwab@redhat.com>
10475 * Makeconfig (+link-pie): Indent.
10476 * Rules (binaries-pie): Define if $(have-fpie) and
10478 (binaries-shared): Also filter out $(binaries-pie).
10479 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10480 * nscd/Makefile (others-pie): Add nscd.
10481 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10482 ($(objpfx)nscd): Remove command override.
10483 * login/Makefile (others-pie): Add pt_chown.
10484 ($(objpfx)pt_chown): Remove command override.
10485 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10486 remove command overrides.
10488 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10490 * libio/tst_putwc.c: Fix error messages.
10493 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10494 currently writing and seek to current position when not.
10495 * libio/Makefile (tests): Add bug-fclose1.
10496 * libio/bug-fclose1.c: New file.
10498 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10501 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10502 don't set DF_1_NODELETE here.
10503 (do_lookup_x): When entering new entry test for copy relocation
10504 and if necessary set DF_1_NODELETE flag.
10505 * elf/tst-unique4.cc: New file.
10506 * elf/tst-unique4.h: New file.
10507 * elf/tst-unique4lib.cc: New file.
10508 * elf/Makefile: Add rules to build and run tst-unique4.
10509 Patch by Piotr Bury <pbury@goahead.com>.
10511 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10514 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10517 * misc/mntent_r.c (addmntent): Flush the stream after the output
10520 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10521 (is_trusted_path_normalize): Skip initial colon. Append slash
10522 to empty buffer. Duplicate is_trusted_path code but allow
10523 constructed patch to be prefix.
10524 (is_dst): Allow $ORIGIN followed by /.
10525 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10526 Correct testing of result of is_trusted_path_normalize
10527 (decompose_rpath): Fix warning.
10529 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10532 * grp/initgroups.c (internal_getgrouplist): When we found the service
10533 list through the initgroups entry in nsswitch.conf do not always
10534 continue on a successful lookup. Don't always use the
10535 __nss_group_database value if it is set.
10536 * nss/nsswitch.conf (initgroups): Change action for successful db
10537 lookup to continue for compatibility.
10539 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10542 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10544 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10546 * iconvdata/tst-tables.sh: Likewise.
10547 * iconvdata/cp770.c: New file.
10548 * iconvdata/cp771.c: New file.
10549 * iconvdata/cp772.c: New file.
10550 * iconvdata/cp773.c: New file.
10551 * iconvdata/cp774.c: New file.
10552 * iconvdata/testdata/CP770: New file.
10553 * iconvdata/testdata/CP770..UTF8: New file.
10554 * iconvdata/testdata/CP771: New file.
10555 * iconvdata/testdata/CP771..UTF8: New file.
10556 * iconvdata/testdata/CP772: New file.
10557 * iconvdata/testdata/CP772..UTF8: New file.
10558 * iconvdata/testdata/CP773: New file.
10559 * iconvdata/testdata/CP773..UTF8: New file.
10560 * iconvdata/testdata/CP774: New file.
10561 * iconvdata/testdata/CP774..UTF8: New file.
10563 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10565 * iconvdata/gen-8bit-gap.sh: Likewise.
10566 * iconvdata/gen-8bit.sh: Likewise.
10568 * locale/iso-639.def: Add ary entry.
10571 * locale/C-translit.h.in: Add U20A1 transliteration.
10574 * locale/iso-639.def: Add wae entry.
10575 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10578 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10582 * locale/C-translit.h.in: Add entry for U20B9.
10583 Patch by pravin.d.s@gmail.com.
10585 2011-05-08 Ulrich Drepper <drepper@gmail.com>
10588 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10589 ENAMETOOLONG use generic getcwd.
10590 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10591 in rtld. Use *stat64.
10592 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10593 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10594 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10595 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10596 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10597 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10598 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10599 __fstatat64 macros.
10600 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10601 * dirent/rewinddir.c: Add libc_hidden_def.
10602 * sysdeps/mach/hurd/rewinddir.c: Likewise.
10603 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
10605 * include/dirent.h (__alloc_dir): Add flags parameter.
10606 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10607 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10609 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10610 from fdopendir if O_CLOEXEC is already set.
10612 2011-03-15 Alan Modra <amodra@gmail.com>
10614 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10615 l_tls_firstbyte_offset non-zero. Save padding offset in
10616 l_tls_firstbyte_offset for later use.
10617 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10618 freeing static tls block.
10620 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10622 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10623 where #ifdef was intended. The intent is to prevent ARG_MAX from
10624 being defined by the kernel headers.
10626 2011-05-07 Ulrich Drepper <drepper@gmail.com>
10629 * resolv/resolv.h: Define RES_NOTLDQUERY.
10630 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10631 no-tld-query and set RES_NOTLDQUERY.
10632 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10633 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10634 modern BIND to search name as TLD unless forbidden.
10636 2011-05-07 Petr Baudis <pasky@suse.cz>
10637 Ulrich Drepper <drepper@gmail.com>
10640 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10641 (is_trusted_path): ...to here.
10642 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10643 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10644 using is_trusted_path_normalize() in setuid scripts.
10646 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10648 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10649 __BEGIN/__END_DECLS.
10651 2011-05-06 Ulrich Drepper <drepper@gmail.com>
10653 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10654 NSS_STATUS_NOTFOUND if no record was found.
10656 2011-05-05 Andreas Schwab <schwab@redhat.com>
10658 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10659 (headers-not-in-tirpc): Remove rpc/netdb.h
10660 * resolv/netdb.h: Revert last change.
10662 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10664 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10665 circular dependency between libgcc.a and libc.a.
10667 2011-05-05 Andreas Schwab <schwab@redhat.com>
10669 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10670 * nis/Makefile: Don't install rpcsvc/*.
10671 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10672 instead of <rpc/types.h>.
10673 (MAXHOSTNAMELEN): Define.
10675 2011-05-03 Andreas Schwab <schwab@redhat.com>
10677 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10679 2011-04-28 Maciej Babinski <mbabinski@google.com>
10682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10683 gethostbyname4_r when IPv6 results are possible.
10685 2011-05-02 Ulrich Drepper <drepper@gmail.com>
10688 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10689 _PC_PIPE_BUF handling.
10691 2011-04-30 Bruno Haible <bruno@clisp.org>
10694 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10695 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10697 * inet/getnameinfo.c (getnameinfo): Likewise.
10699 2011-04-29 Ulrich Drepper <drepper@gmail.com>
10701 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10702 to groups setting in database lookup.
10703 * nss/nsswitch.conf: Add initgroups entry.
10705 2011-04-22 Ulrich Drepper <drepper@gmail.com>
10708 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10710 Patch by Eric Blake <eblake@redhat.com>.
10712 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10714 * sunrpc/Makefile (need-export-routines): Add svc_run.
10715 (routines): Remove svc_run.
10716 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10717 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10718 * sunrpc/svc_run.c (svc_run): Likewise.
10719 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10721 2011-04-21 Ulrich Drepper <drepper@gmail.com>
10723 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10724 problem in reallocation in last patch.
10726 2011-04-20 Ulrich Drepper <drepper@gmail.com>
10728 * sunrpc/Makefile: Move inclusion of Rules.
10730 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10732 * nss/nss_files/files-initgroups.c: New file.
10733 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10734 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10735 _nss_files_initgroups_dyn.
10737 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10739 * elf/elf.h (R_ARM_IRELATIVE): Define.
10741 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10743 * po/ru.po: Update from translation team.
10745 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10747 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10750 2011-02-06 Mike Frysinger <vapier@gentoo.org>
10753 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10754 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10755 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10756 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10757 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10759 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10761 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10763 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10764 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10767 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10770 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10772 * stdlib/bug-getcontext.c: New file.
10773 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10775 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10777 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10778 instructions into .machine "z9-109".
10779 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10780 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10782 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10784 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10785 between environment variables and auxiliary vector.
10787 2011-04-16 Ulrich Drepper <drepper@gmail.com>
10789 * Makefile: Add rules to build linkobj/libc.so.
10790 * include/libc-symbols.h: Define libc_hidden_nolink.
10791 * include/rpc/auth.h: Mark functions which are to be hidden.
10792 * include/rpc/auth_des.h: Likewise.
10793 * include/rpc/auth_unix.h: Likewise.
10794 * include/rpc/clnt.h: Likewise.
10795 * include/rpc/des_crypt.h: Likewise.
10796 * include/rpc/key_prot.h: Likewise.
10797 * include/rpc/pmap_clnt.h: Likewise.
10798 * include/rpc/pmap_prot.h: Likewise.
10799 * include/rpc/pmap_rmt.h: Likewise.
10800 * include/rpc/rpc_msg.h: Likewise.
10801 * include/rpc/svc.h: Likewise.
10802 * include/rpc/svc_auth.h: Likewise.
10803 * include/rpc/xdr.h: Likewise.
10804 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10805 * nss/Makefile: Likewise.
10806 * sunrpc/Makefile: Don't install headers. Build library with normal
10807 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10808 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10809 for the compat linking library. Remove use of INTDEF/INTUSE.
10810 * sunrpc/auth_none.c: Likewise.
10811 * sunrpc/auth_unix.c: Likewise.
10812 * sunrpc/authdes_prot.c: Likewise.
10813 * sunrpc/authuxprot.c: Likewise.
10814 * sunrpc/clnt_gen.c: Likewise.
10815 * sunrpc/clnt_perr.c: Likewise.
10816 * sunrpc/clnt_raw.c: Likewise.
10817 * sunrpc/clnt_simp.c: Likewise.
10818 * sunrpc/clnt_tcp.c: Likewise.
10819 * sunrpc/clnt_udp.c: Likewise.
10820 * sunrpc/clnt_unix.c: Likewise.
10821 * sunrpc/des_crypt.c: Likewise.
10822 * sunrpc/des_soft.c: Likewise.
10823 * sunrpc/get_myaddr.c: Likewise.
10824 * sunrpc/key_call.c: Likewise.
10825 * sunrpc/key_prot.c: Likewise.
10826 * sunrpc/netname.c: Likewise.
10827 * sunrpc/pm_getmaps.c: Likewise.
10828 * sunrpc/pm_getport.c: Likewise.
10829 * sunrpc/pmap_clnt.c: Likewise.
10830 * sunrpc/pmap_prot.c: Likewise.
10831 * sunrpc/pmap_prot2.c: Likewise.
10832 * sunrpc/pmap_rmt.c: Likewise.
10833 * sunrpc/publickey.c: Likewise.
10834 * sunrpc/rpc_cmsg.c: Likewise.
10835 * sunrpc/rpc_common.c: Likewise.
10836 * sunrpc/rpc_dtable.c: Likewise.
10837 * sunrpc/rpc_prot.c: Likewise.
10838 * sunrpc/rpc_thread.c: Likewise.
10839 * sunrpc/rtime.c: Likewise.
10840 * sunrpc/svc.c: Likewise.
10841 * sunrpc/svc_auth.c: Likewise.
10842 * sunrpc/svc_authux.c: Likewise.
10843 * sunrpc/svc_raw.c: Likewise.
10844 * sunrpc/svc_run.c: Likewise.
10845 * sunrpc/svc_simple.c: Likewise.
10846 * sunrpc/svc_tcp.c: Likewise.
10847 * sunrpc/svc_udp.c: Likewise.
10848 * sunrpc/svc_unix.c: Likewise.
10849 * sunrpc/svcauth_des.c: Likewise.
10850 * sunrpc/xcrypt.c: Likewise.
10851 * sunrpc/xdr.c: Likewise.
10852 * sunrpc/xdr_array.c: Likewise.
10853 * sunrpc/xdr_float.c: Likewise.
10854 * sunrpc/xdr_intXX_t.c: Likewise.
10855 * sunrpc/xdr_mem.c: Likewise.
10856 * sunrpc/xdr_rec.c: Likewise.
10857 * sunrpc/xdr_ref.c: Likewise.
10858 * sunrpc/xdr_sizeof.c: Likewise.
10859 * sunrpc/xdr_stdio.c: Likewise.
10861 2011-04-10 Ulrich Drepper <drepper@gmail.com>
10864 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10865 * sysdeps/ia64/dl-tls.h: Likewise.
10866 * sysdeps/powerpc/dl-tls.h: Likewise.
10867 * sysdeps/s390/dl-tls.h: Likewise.
10868 * sysdeps/sh/dl-tls.h: Likewise.
10869 * sysdeps/sparc/dl-tls.h: Likewise.
10870 * sysdeps/x86_64/dl-tls.h: Likewise.
10871 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10873 2011-03-14 Andreas Schwab <schwab@redhat.com>
10875 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10876 rpath element also skip the following colon.
10877 (expand_dynamic_string_token): Add is_path parameter and pass
10878 down to DL_DST_REQUIRED and _dl_dst_substitute.
10879 (decompose_rpath): Call expand_dynamic_string_token with
10880 non-zero is_path. Ignore empty rpaths.
10881 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10884 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10889 2011-04-09 Ulrich Drepper <drepper@gmail.com>
10892 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10893 Patch by Filipe David Manana <fdmanana@apache.org>.
10895 2011-04-07 Andreas Schwab <schwab@redhat.com>
10897 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10898 Maintain aligned stack.
10899 (CHECK_RSP): Remove unused macro.
10901 2011-04-03 Ulrich Drepper <drepper@gmail.com>
10903 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10904 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10906 2011-04-02 Ulrich Drepper <drepper@gmail.com>
10908 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10910 * include/features.h: Mention __USE_XOPEN2K8 in comment.
10912 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10915 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10916 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10917 * sysdeps/x86_64/memmove.c: New file.
10918 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10919 (memcpy): Renamed to ...
10920 (__new_memcpy): This.
10921 (memcpy): Provide GLIBC_2_14 memcpy.
10922 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10923 (memcpy): Provide GLIBC_2_2_5 memcpy.
10925 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10928 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10930 2011-03-30 Andreas Schwab <schwab@redhat.com>
10932 * misc/syncfs.c: New file.
10933 * misc/Makefile (routines): Add syncfs.
10934 * posix/unistd.h: Declare syncfs.
10935 * sysdeps/unix/syscalls.list: Add syncfs.
10937 2011-04-01 Andreas Schwab <schwab@redhat.com>
10939 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10941 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10942 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10944 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10946 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10947 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10949 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10951 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10952 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10953 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10954 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10955 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10956 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10957 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10959 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10960 sync_file_range.c with -fexceptions.
10961 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10962 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10963 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10964 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10965 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10966 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10967 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10968 sync_file_range as cancellation point
10969 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10970 now a wrapper around __call_sync_file_range with cancellation handling.
10971 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10972 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10973 function name to __call_sync_file_range.
10974 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10975 Add call_sync_file_range.
10977 2011-04-01 Andreas Schwab <schwab@redhat.com>
10979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10982 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10984 * iconv/iconv.h: Fix typo in comment.
10985 * io/fcntl.h: Likewise.
10986 * libio/stdio.h: Likewise.
10987 * posix/spawn.h: Likewise.
10988 * posix/unistd.h: Likewise.
10989 * stdlib/stdlib.h: Likewise.
10990 * time/time.h: Likewise.
10991 * wcsmbs/wchar.h: Likewise.
10993 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10994 open_by_handle): Add.
10995 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10996 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10997 Augment a few comments.
10998 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10999 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11000 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11003 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11006 * io/fcntl.h (AT_EMPTY_PATH): Define.
11008 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11010 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11011 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11012 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11014 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11015 * Versions.def: Add GLIBC_2.14.
11016 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11019 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11021 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11023 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11025 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11028 * string/test-strncmp.c (do_page_test): New function.
11029 (check2): Likewise.
11030 (test_main): Call check2.
11031 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11033 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11036 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11037 Handle cache information in CPU leaf 4.
11038 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11040 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11043 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11044 character representation.
11045 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11047 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11049 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11050 END(__isnan) to END(__isnanf) to match function entry point/label
11051 EALIGN(__isnanf,...).
11053 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11055 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11057 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11060 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11061 copy from the symbol referenced in the relocation to initialize the
11063 Patch by Piotr Bury <pbury@goahead.com>.
11064 * elf/Makefile: Add rules to build and tst-unique3.
11065 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11066 * elf/tst-unique3.cc: New file.
11067 * elf/tst-unique3.h: New file.
11068 * elf/tst-unique3lib.cc: New file.
11069 * elf/tst-unique3lib2.cc: New file.
11071 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11073 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11075 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11076 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11079 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11081 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11082 to-be-loaded object along a path to loader is ld.so.
11084 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11085 Ulrich Drepper <drepper@gmail.com>
11087 * sysdeps/x86_64/memset.S: After aligning destination, code
11088 branches to different locations depending on the value of
11089 misalignment, when multiarch is enabled. Fix this.
11091 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11093 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11094 Set _x86_64_preferred_memory_instruction for AMD processsors.
11095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11096 Set bit_Prefer_SSE_for_memop for AMD processors.
11098 2011-03-04 Ulrich Drepper <drepper@gmail.com>
11100 * libio/fmemopen.c (fmemopen): Optimize a bit.
11102 2011-03-03 Andreas Schwab <schwab@redhat.com>
11104 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11106 2011-03-03 Roland McGrath <roland@redhat.com>
11108 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11110 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11112 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11113 __bzero_ultra1 instead of __memset_ultra1.
11115 2011-02-23 Andreas Schwab <schwab@redhat.com>
11116 Ulrich Drepper <drepper@gmail.com>
11119 * include/link.h (struct link_map): Add l_orig_initfini.
11120 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11121 returning unsuccessfully.
11122 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11123 close of a file loaded at startup, restore the original l_initfini
11125 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11126 list, store the pointer.
11127 * elf/Makefile ($(objpfx)noload-mem): New rule.
11128 (noload-ENV): Define.
11129 (tests): Add $(objpfx)noload-mem.
11130 * elf/noload.c: Include <memcheck.h>.
11131 (main): Call mtrace. Close all opened handles.
11133 2011-02-17 Andreas Schwab <schwab@redhat.com>
11136 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11137 dependencies are missing.
11139 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11141 Fix __if_freereq crash: Unlike the generic version which uses free,
11143 * sysdeps/mach/hurd/ifreq.h: New file.
11145 2011-01-27 Petr Baudis <pasky@suse.cz>
11146 Ulrich Drepper <drepper@gmail.com>
11149 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11150 to extend_alloca().
11151 * stdio-common/bug23.c: New file.
11152 * stdio-common/Makefile (tests): Add bug23.
11154 2010-09-28 Andreas Schwab <schwab@redhat.com>
11155 Ulrich Drepper <drepper@gmail.com>
11158 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11159 before performing relro protection. At old place add assertion
11160 to make sure nothing changed.
11162 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11163 Glauber de Oliveira Costa <glommer@gmail.com>
11165 * elf/elf.h: Add new ARM TLS relocs.
11167 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11170 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11172 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11174 * sysdeps/wordsize-64/tst-writev.c: New file.
11176 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11178 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11179 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11180 insns in _dl_start to prevent a TOC reference before relocs are
11183 2011-02-15 Ulrich Drepper <drepper@gmail.com>
11186 * Makeconfig: Remove RANLIB definition.
11187 * Makerules: Don't use RANLIB.
11188 * aclocal.m4: Remove ranlib test.
11189 * configure.in: No need to check for ranlib.
11190 * elf/rtld-Rules: Don't use RANLIB.
11192 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11194 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11196 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11197 inclusion protection macro.
11199 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11200 SIGRTMIN and SIGRTMAX and print information in that case only when
11201 SIGRTMIN is defined.
11203 2011-02-11 Jakub Jelinek <jakub@redhat.com>
11205 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11206 arginfo fn returning -1.
11208 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11209 and thousands string is zero terminated.
11211 2011-02-03 Andreas Schwab <schwab@redhat.com>
11213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11214 sysdeps/unix/sysv/linux/bits/socket.h.
11216 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11218 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11219 (__CPU_COUNT): Remove old macros.
11220 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11221 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11222 (__CPU_ALLOC, __CPU_FREE): Add macros.
11223 (__sched_cpualloc, __sched_cpufree): Add declarations.
11225 2011-02-05 Ulrich Drepper <drepper@gmail.com>
11227 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11228 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11229 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11230 (readdhstai): Return value of addhstaiX call.
11231 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11232 (addgrbyX): Return value returned by cache_addgr.
11233 (readdgrbyname): Return value returned by addgrbyX.
11234 (readdgrbygid): Likewise.
11235 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11236 (addpwbyX): Return value returned by cache_addpw.
11237 (readdpwbyname): Return value returned by addhstbyX.
11238 (readdpwbyuid): Likewise.
11239 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11240 (addservbyX): Return value returned by cache_addserv.
11241 (readdservbyname): Return value returned by addservbyX:
11242 (readdservbyport): Likewise.
11243 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11244 (addhstbyX): Return value returned by cache_addhst.
11245 (readdhstbyname): Return value returned by addhstbyX.
11246 (readdhstbyaddr): Likewise.
11247 (readdhstbynamev6): Likewise.
11248 (readdhstbyaddrv6): Likewise.
11249 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11250 (readdinitgroups): Return value returned by addinitgroupsX.
11251 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11252 (prune_cache): Keep track of timeout value of re-added entries.
11253 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11254 * nscd/nscd.h: Adjust prototypes of readd* functions.
11256 2011-02-04 Roland McGrath <roland@redhat.com>
11258 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11259 (nis_stats): Likewise.
11260 * nis/nis_modify.c (nis_modify): Likewise.
11261 * nis/nis_remove.c (nis_remove): Likewise.
11262 * nis/nis_add.c (nis_add): Likewise.
11264 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11266 * posix/fnmatch_loop.c: Add some consts.
11268 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11270 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11273 * config.make.in (config-cflags-novzeroupper): Define.
11274 * configure.in: Substitute libc_cv_cc_novzeroupper.
11275 * elf/Makefile (AVX-CFLAGS): Define.
11276 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11277 (CFLAGS-tst-auditmod4a.c): Likewise.
11278 (CFLAGS-tst-auditmod4b.c): Likewise.
11279 (CFLAGS-tst-auditmod6b.c): Likewise.
11280 (CFLAGS-tst-auditmod6c.c): Likewise.
11281 (CFLAGS-tst-auditmod7b.c): Likewise.
11282 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11284 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11286 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11287 function to the callback.
11288 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11290 2011-02-02 Andreas Schwab <schwab@redhat.com>
11292 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11295 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11298 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11300 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11302 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11305 * elf/Makefile: Add rules to build and run new test.
11306 * elf/tst-initorder.c: New file.
11307 * elf/tst-initorder.exp: New file.
11308 * elf/tst-initordera1.c: New file.
11309 * elf/tst-initordera2.c: New file.
11310 * elf/tst-initordera3.c: New file.
11311 * elf/tst-initordera4.c: New file.
11312 * elf/tst-initorderb1.c: New file.
11313 * elf/tst-initorderb2.c: New file.
11314 * elf/tst-order-a1.c: New file.
11315 * elf/tst-order-a2.c: New file.
11316 * elf/tst-order-a3.c: New file.
11317 * elf/tst-order-a4.c: New file.
11318 * elf/tst-order-b1.c: New file.
11319 * elf/tst-order-b2.c: New file.
11320 * elf/tst-order-main.c: New file.
11321 New test case by George Gensure <werkt0@gmail.com>.
11323 2010-10-01 Andreas Schwab <schwab@redhat.com>
11325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11326 decoding ACE if AI_CANONIDN.
11328 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11330 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11332 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11334 * version.h (RELEASE): Bump for 2.13 release.
11335 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11337 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11339 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11341 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11342 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11343 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11344 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11345 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11346 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11348 * posix/getconf.c: Update copyright year.
11349 * catgets/gencat.c: Likewise.
11350 * csu/version.c: Likewise.
11351 * debug/catchsegv.sh: Likewise.
11352 * debug/xtrace.sh: Likewise.
11353 * elf/ldconfig.c: Likewise.
11354 * elf/ldd.bash.in: Likewise.
11355 * elf/sprof.c (print_version): Likewise.
11356 * iconv/iconv_prog.c: Likewise.
11357 * iconv/iconvconfig.c: Likewise.
11358 * locale/programs/locale.c: Likewise.
11359 * locale/programs/localedef.c: Likewise.
11360 * malloc/memusage.sh: Likewise.
11361 * malloc/mtrace.pl: Likewise.
11362 * nscd/nscd.c (print_version): Likewise.
11363 * nss/getent.c: Likewise.
11365 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11366 PF_CAIF, and PF_ALG.
11367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11369 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11371 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11372 (modules-names): Use them.
11373 (ifunc-test-modules, ifunc-pie-tests): Define.
11374 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11375 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11376 (test-extras): Likewise.
11377 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11378 $(compile-command.c).
11379 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11380 (all-built-dso): Define.
11381 (check-textrel.out, check-execstack.out): Depend on it.
11383 * configure.in: Don't override --enable-multi-arch.
11385 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11388 * nscd/hstcache.c (tryagain): Define.
11389 (cache_addhst): Return tryagain not notfound for temporary errors.
11390 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11393 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11396 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11397 to make the syscall.
11398 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11401 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11402 and fall back to matching as normal character if the string ends before
11403 the matching ']' is found. This is what POSIX requires.
11404 * posix/testfnm.c: Adjust test result.
11405 * posix/globtest.sh: Adjust test result. Add new test.
11406 * posix/tst-fnmatch.input: Likewise.
11407 * posix/tst-fnmatch2.c: Add new test.
11409 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11411 * elf/Makefile (check-execstack): Revert last change. Depend on
11413 (check-execstack.h): New target.
11414 (generated): Add check-execstack.h.
11415 * elf/check-execstack.c: Include "check-execstack.h".
11416 (main): Revert last change.
11417 (handle_file): Return zero if GNU_STACK is absent and
11418 DEFAULT_STACK_PERMS doesn't include PF_X.
11420 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11422 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11423 in child fails because the descriptor is already closed.
11424 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11425 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11426 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11429 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11433 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11434 temporary buffer used to handle multi lookups locally.
11435 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11437 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11439 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11442 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11444 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11445 alignment for SSE2.
11447 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11450 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11451 characters. When rounding increased number of integer digits recompute
11453 * stdio-common/tst-grouping.c: New file.
11454 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11456 2011-01-09 Ulrich Drepper <drepper@gmail.com>
11458 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11459 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11461 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11463 * bits/select.h: Likewise.
11465 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11467 * po/ja.po: Update from translation team.
11469 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11472 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11473 implementation just like for lxstat, fxstatat, et al.
11475 2010-12-27 Jim Meyering <meyering@redhat.com>
11478 * posix/regexec.c (build_trtable): Return failure indication upon
11479 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11481 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11484 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11485 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11486 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11487 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11490 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11493 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11494 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11496 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11498 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11499 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11500 script has SORT_BY_INIT_PRIORITY.
11501 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11502 NO_CTORS_DTORS_SECTIONS is defined.
11503 * elf/soinit.c: Likewise.
11504 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11505 NO_CTORS_DTORS_SECTIONS is defined.
11506 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11507 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11508 * sysdeps/sh/init-first.c: Likewise.
11509 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11511 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11513 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11514 always use the slow path.
11516 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11518 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11519 similar rule which adds the sysdep directories to the header search in
11520 order to pick up the correct platform stackinfo.h.
11521 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11522 perform test if it is, otherwise return successfully without testing.
11523 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11524 DEFAULT_STACK_PERMS define in stackinfo.h.
11525 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11526 defined in stackinfo.h.
11527 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11528 DEFAULT_STACK_PERMS defined in stackinfo.h.
11529 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11530 * sysdeps/ia64/stackinfo.h: Likewise.
11531 * sysdeps/s390/stackinfo.h: Likewise.
11532 * sysdeps/sh/stackinfo.h: Likewise.
11533 * sysdeps/sparc/stackinfo.h: Likewise.
11534 * sysdeps/x86_64/stackinfo.h: Likewise.
11535 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11536 PF_X for powerpc64. Retain PF_X for powerpc32.
11538 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11540 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11542 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11543 GETDENTS_64BIT_ALIGNED.
11545 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11547 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11549 2010-12-10 Andreas Schwab <schwab@redhat.com>
11551 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11554 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11555 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11557 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11558 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11560 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11563 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11566 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11568 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11570 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11572 * po/it.po: Update from translation team.
11574 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11576 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11579 2010-11-30 Ulrich Drepper <drepper@gmail.com>
11581 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11583 2010-11-24 Andreas Schwab <schwab@redhat.com>
11585 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11587 (gaih_getanswer_slice): Likewise.
11589 2010-10-20 Jakub Jelinek <jakub@redhat.com>
11591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11593 2010-05-31 Petr Baudis <pasky@suse.cz>
11596 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11597 silently even in the chroot mode.
11599 2010-11-22 Ulrich Drepper <drepper@gmail.com>
11601 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11602 last patch a bit. Pretty printing
11604 2010-05-31 Petr Baudis <pasky@suse.cz>
11607 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11608 initialization of skip_initgroups_dyn.
11610 2010-11-19 Ulrich Drepper <drepper@gmail.com>
11612 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11613 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11615 2010-11-16 Ulrich Drepper <drepper@gmail.com>
11617 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11619 2010-11-11 Andreas Schwab <schwab@redhat.com>
11621 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11622 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11623 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11624 ($(objpfx)tst-fnmatch-mem): New rule.
11625 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11626 * posix/tst-fnmatch.c (main): Call mtrace.
11628 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11631 Support Intel processor model 6 and model 0x2c.
11633 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
11635 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11638 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11641 * string/test-strncasecmp.c (check_result): New function.
11642 (do_one_test): Use it.
11643 (check1): New function.
11644 (test_main): Use it.
11645 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11646 Support strcasecmp and strncasecmp.
11648 2010-11-08 Ulrich Drepper <drepper@gmail.com>
11651 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11652 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11654 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11656 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11660 * sysdeps/x86_64/multiarch/bzero.S: New file.
11661 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11662 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11663 * sysdeps/x86_64/multiarch/memset.S: New file.
11664 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11666 Set bit_Prefer_SSE_for_memop for Intel processors.
11667 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11669 (index_Prefer_SSE_for_memop): Define.
11670 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11672 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
11674 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11675 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11677 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11680 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11681 (__x86_64_raw_data_cache_size_half): Likewise.
11682 (__x86_64_raw_shared_cache_size): Likewise.
11683 (__x86_64_raw_shared_cache_size_half): Likewise.
11685 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11686 (__x86_64_raw_data_cache_size_half): Likewise.
11687 (__x86_64_raw_shared_cache_size): Likewise.
11688 (__x86_64_raw_shared_cache_size_half): Likewise.
11689 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11690 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11691 and __x86_64_raw_shared_cache_size_half. Round
11692 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11693 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11694 to multiple of 256 bytes.
11696 2010-11-03 Ulrich Drepper <drepper@gmail.com>
11699 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11700 of inacessible symlinks. Verify result of symlink before returning it.
11701 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11702 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11704 2010-10-28 Erich Ritz <erichritz@gmail.com>
11706 * math/math.h (isinf): Fix typo in comment.
11708 2010-11-01 Ulrich Drepper <drepper@gmail.com>
11710 * po/da.po: Update from translation team.
11712 2010-10-26 Ulrich Drepper <drepper@gmail.com>
11714 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11715 is added to the list.
11717 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11718 Ulrich Drepper <drepper@gmail.com>
11720 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11721 the global list here. Move code to...
11722 (_dl_add_to_namespace_list): ...here. New function.
11723 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11724 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11725 * elf/dl-load.c (lose): Don't remove the element from the list.
11726 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11727 (_dl_map_object): Likewise.
11729 2010-10-25 Ulrich Drepper <drepper@gmail.com>
11732 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11733 into all bytes of SSE register.
11734 Patch by Richard Li <richardpku@gmail.com>.
11736 2010-10-24 Ulrich Drepper <drepper@gmail.com>
11739 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11742 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11744 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11745 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11746 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11747 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11752 2010-10-22 Andreas Schwab <schwab@redhat.com>
11754 * include/dlfcn.h (__RTLD_SECURE): Define.
11755 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11756 mode & __RTLD_SECURE instead.
11757 (open_path): Rename preloaded parameter to secure.
11758 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11759 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11760 * elf/dl-deps.c (openaux): Likewise.
11761 * elf/rtld.c (struct map_args): Remove is_preloaded.
11762 (map_doit): Don't use it.
11763 (dl_main): Likewise.
11764 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11765 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11767 2010-09-09 Andreas Schwab <schwab@redhat.com>
11769 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11770 (sysd-rules-targets): Remove duplicates.
11771 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11772 rtld-%.$o dependency.
11774 2010-10-18 Andreas Schwab <schwab@redhat.com>
11776 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11777 _dl_map_object do it.
11779 2010-10-19 Ulrich Drepper <drepper@gmail.com>
11781 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11782 fast fma builtins, define the macros in the C99 standard.
11783 (FP_FAST_FMAF): Likewise.
11784 (FP_FAST_FMAL): Likewise.
11785 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11787 * bits/mathdef.h: Update copyright year.
11788 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11790 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11792 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11793 builtins, define the macros in the C99 standard.
11794 (FP_FAST_FMAF): Likewise.
11795 (FP_FAST_FMAL): Likewise.
11796 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11798 (FP_FAST_FMAF): Likewise.
11800 2010-10-15 Jakub Jelinek <jakub@redhat.com>
11803 * math/libm-test.inc (fma_test): Some new testcases.
11804 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11805 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11806 y and infinite z. Do multiplication by C already in long double.
11807 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11809 y and infinite z. Do bitwise or of inexact bit into u.d.
11810 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11811 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11812 * sysdeps/i386/fpu/s_fma.S: Removed.
11813 * sysdeps/i386/fpu/s_fmal.S: Removed.
11815 2010-10-16 Jakub Jelinek <jakub@redhat.com>
11818 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11819 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11820 computation is not scheduled after fetestexcept. Fix value
11821 of minimum denormal long double.
11823 2010-10-14 Jakub Jelinek <jakub@redhat.com>
11826 * math/libm-test.inc (fma_test): Add some more tests.
11827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11830 2010-10-15 Andreas Schwab <schwab@redhat.com>
11832 * scripts/data/localplt-s390-linux-gnu.data: New file.
11833 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11835 2010-10-13 Jakub Jelinek <jakub@redhat.com>
11838 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11839 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11841 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11843 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11845 if one of x and y is very large and the other is subnormal.
11846 * sysdeps/s390/fpu/s_fmaf.c: New file.
11847 * sysdeps/s390/fpu/s_fma.c: New file.
11848 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11849 * sysdeps/powerpc/fpu/s_fma.S: New file.
11850 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11851 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11852 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11854 2010-10-12 Jakub Jelinek <jakub@redhat.com>
11857 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11859 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11860 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11861 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11862 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11863 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11864 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11865 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11867 2010-10-12 Ulrich Drepper <drepper@redhat.com>
11870 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11871 * posix/bug-regex31.input: Add test case.
11873 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11875 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11876 * posix/bug-regex31.input: New file.
11879 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11880 (parse_sub_exp): Fix last change, use postorder.
11882 * posix/bug-regex31.c: New file.
11883 * posix/Makefile: Add rules to build and run bug-regex31.
11885 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11888 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11891 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11892 to have entries in sys_siglist.
11895 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11898 2010-10-07 Jakub Jelinek <jakub@redhat.com>
11901 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11902 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11903 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11904 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11905 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11906 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11907 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11908 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11909 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11910 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11911 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11912 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11913 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11914 * math/ftestexcept.c (fetestexcept): Likewise.
11915 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11916 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11917 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11918 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11919 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11920 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11921 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11923 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11926 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11929 2010-10-06 Ulrich Drepper <drepper@gmail.com>
11931 * string/bug-strstr1.c: New file.
11932 * string/Makefile: Add rules to build and run bug-strstr1.
11934 2010-10-05 Eric Blake <eblake@redhat.com>
11937 * string/str-two-way.h (two_way_long_needle): Always clear memory
11938 when skipping input due to the shift table.
11940 2010-10-03 Ulrich Drepper <drepper@gmail.com>
11943 * malloc/mcheck.c: Handle large requests.
11946 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11947 for strncmp and strncasecmp.
11948 * string/stratcliff.c: Add tests for strcmp and strncmp.
11949 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11951 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11953 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11956 2010-09-30 Andreas Jaeger <aj@suse.de>
11958 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11959 (CGROUP_SUPER_MAGIC): Define.
11960 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11961 Handle btrfs and cgroup file systems.
11962 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11965 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
11967 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11968 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11970 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11973 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11974 trying to locate the ELF header.
11976 2010-09-27 Andreas Schwab <schwab@redhat.com>
11979 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11980 Mask out sign-bit copies when constructing f_fsid.
11982 2010-09-24 Petr Baudis <pasky@suse.cz>
11984 * debug/stack_chk_fail_local.c: Add missing licence exception.
11985 * debug/warning-nop.c: Likewise.
11987 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11989 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11990 implementing getdents64 using getdents syscall, set d_type if
11991 __ASSUME_GETDENTS32_D_TYPE.
11993 2010-09-16 Andreas Schwab <schwab@redhat.com>
11995 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11996 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11998 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12001 * posix/unistd.h: Undo change of feature selection for ftruncate from
12004 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12006 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12009 2010-09-20 Andreas Schwab <schwab@redhat.com>
12011 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12013 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12015 2010-09-14 Andreas Schwab <schwab@redhat.com>
12017 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12018 variables after CHECK_SP call.
12019 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12021 2010-09-13 Andreas Schwab <schwab@redhat.com>
12022 Ulrich Drepper <drepper@redhat.com>
12024 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12025 re-relocationg ld.so.
12026 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12027 _dl_init_paths call.
12028 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12031 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12033 * resolv/res_init.c (__res_vinit): Count the default server we added.
12035 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12036 Ulrich Drepper <drepper@redhat.com>
12039 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12040 (____longjmp_chk): Use %ebx for saving value across system call.
12043 2010-09-06 Andreas Schwab <schwab@redhat.com>
12045 * manual/Makefile: Don't mix pattern rules with normal rules.
12047 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12049 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12051 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12052 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12053 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12054 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12055 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12058 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12061 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12062 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12064 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12066 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12067 * sysdeps/x86_64/addmul_1.S: Likewise.
12068 * sysdeps/x86_64/lshift.S: Likewise.
12069 * sysdeps/x86_64/mul_1.S: Likewise.
12070 * sysdeps/x86_64/rshift.S: Likewise.
12071 * sysdeps/x86_64/sub_n.S: Likewise.
12072 * sysdeps/x86_64/submul_1.S: Likewise.
12074 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12076 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12077 Define __sched_param instead of SCHED_* and sched_param when
12078 <bits/sched.h> is included with __need_schedparam defined.
12079 * bits/sched.h [__need_schedparam]
12080 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12081 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12082 (__defined_schedparam): Define to 1.
12083 (__sched_param): New structure, identical to sched_param.
12084 (__need_schedparam): Undefine.
12086 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12088 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12089 (epoll_create1): Declare.
12091 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12093 2010-08-31 Andreas Schwab <schwab@redhat.com>
12096 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12097 shifting retval into place.
12099 2010-09-01 Ulrich Drepper <drepper@redhat.com>
12101 * nis/rpcsvc/nis.h: Update copyright notice.
12102 * nis/rpcsvc/nis.x: Likewise.
12103 * nis/rpcsvc/nis_callback.h: Likewise.
12104 * nis/rpcsvc/nis_callback.x: Likewise.
12105 * nis/rpcsvc/nis_object.x: Likewise.
12106 * nis/rpcsvc/nis_tags.h: Likewise.
12107 * nis/rpcsvc/yp.h: Likewise.
12108 * nis/rpcsvc/yp.x: Likewise.
12109 * nis/rpcsvc/ypupd.h: Likewise.
12110 * nis/yp_xdr.c: Likewise.
12111 * nis/ypupdate_xdr.c: Likewise.
12113 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12114 mainly the body of pmap_getport. Add parameters to specify timeouts.
12115 (pmap_getport): Use __libc_rpc_getport.
12116 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12117 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12118 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12120 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12125 2010-08-27 Roland McGrath <roland@redhat.com>
12127 * sysdeps/i386/i686/multiarch/Makefile
12128 (CFLAGS-varshift.c): New variable.
12130 2010-08-27 Ulrich Drepper <drepper@redhat.com>
12132 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12133 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12135 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12137 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12139 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12141 * sysdeps/x86_64/strlen.S: Unroll the loop.
12142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12143 strlen-sse2 strlen-sse2-bsf.
12144 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12145 __strlen_no_bsf if bit_Slow_BSF is set.
12146 (__strlen_sse42): Removed.
12147 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12148 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12150 2010-08-25 Roland McGrath <roland@redhat.com>
12152 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12153 * sysdeps/x86_64/multiarch/varshift.c: New file.
12154 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12155 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12156 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12157 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12159 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12162 strlen-sse2 strlen-sse2-bsf.
12163 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12164 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12165 (__strlen_sse2): Removed.
12166 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12167 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12169 bit_Slow_BSF for Atom.
12170 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12171 (index_Slow_BSF): Define.
12172 (HAS_SLOW_BSF): Define.
12174 2010-08-25 Ulrich Drepper <drepper@redhat.com>
12177 * resolv/res_init.c (__res_vinit): When no server address at all
12178 is given default to loopback.
12180 2010-08-24 Roland McGrath <roland@redhat.com>
12182 * configure.in: Remove config-name.h generation.
12183 * configure: Regenerated.
12184 * config-name.in: File removed.
12185 * scripts/config-uname.sh: New file.
12186 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12187 ($(objdir)config-name.h): New target.
12189 * sunrpc/rpc_parse.h: Avoid nested comment.
12191 2010-08-24 Richard Henderson <rth@redhat.com>
12192 Ulrich Drepper <drepper@redhat.com>
12193 H.J. Lu <hongjiu.lu@intel.com>
12195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12197 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12198 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12199 _mm_alignr_epi8 with _mm_loadu_si128.
12200 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12201 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12202 (__m128i_shift_right): Removed.
12203 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12204 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12205 * sysdeps/x86_64/multiarch/varshift.h: New file.
12206 * sysdeps/x86_64/multiarch/varshift.S: New file.
12208 2010-08-21 Mike Frysinger <vapier@gentoo.org>
12210 * configure.in: Move assembler checks to before sysdep dir checking.
12212 2010-08-20 Petr Baudis <pasky@suse.cz>
12214 * LICENSES: Sync the sunrpc license.
12216 2010-08-19 Ulrich Drepper <drepper@redhat.com>
12218 * sunrpc/auth_des.c: Update copyright notice once again.
12219 * sunrpc/auth_none.c: Likewise.
12220 * sunrpc/auth_unix.c: Likewise.
12221 * sunrpc/authdes_prot.c: Likewise.
12222 * sunrpc/authuxprot.c: Likewise.
12223 * sunrpc/bindrsvprt.c: Likewise.
12224 * sunrpc/clnt_gen.c: Likewise.
12225 * sunrpc/clnt_perr.c: Likewise.
12226 * sunrpc/clnt_raw.c: Likewise.
12227 * sunrpc/clnt_simp.c: Likewise.
12228 * sunrpc/clnt_tcp.c: Likewise.
12229 * sunrpc/clnt_udp.c: Likewise.
12230 * sunrpc/clnt_unix.c: Likewise.
12231 * sunrpc/des_crypt.c: Likewise.
12232 * sunrpc/des_soft.c: Likewise.
12233 * sunrpc/get_myaddr.c: Likewise.
12234 * sunrpc/getrpcport.c: Likewise.
12235 * sunrpc/key_call.c: Likewise.
12236 * sunrpc/key_prot.c: Likewise.
12237 * sunrpc/openchild.c: Likewise.
12238 * sunrpc/pm_getmaps.c: Likewise.
12239 * sunrpc/pm_getport.c: Likewise.
12240 * sunrpc/pmap_clnt.c: Likewise.
12241 * sunrpc/pmap_prot.c: Likewise.
12242 * sunrpc/pmap_prot2.c: Likewise.
12243 * sunrpc/pmap_rmt.c: Likewise.
12244 * sunrpc/rpc/auth.h: Likewise.
12245 * sunrpc/rpc/auth_unix.h: Likewise.
12246 * sunrpc/rpc/clnt.h: Likewise.
12247 * sunrpc/rpc/des_crypt.h: Likewise.
12248 * sunrpc/rpc/key_prot.h: Likewise.
12249 * sunrpc/rpc/netdb.h: Likewise.
12250 * sunrpc/rpc/pmap_clnt.h: Likewise.
12251 * sunrpc/rpc/pmap_prot.h: Likewise.
12252 * sunrpc/rpc/pmap_rmt.h: Likewise.
12253 * sunrpc/rpc/rpc.h: Likewise.
12254 * sunrpc/rpc/rpc_des.h: Likewise.
12255 * sunrpc/rpc/rpc_msg.h: Likewise.
12256 * sunrpc/rpc/svc.h: Likewise.
12257 * sunrpc/rpc/svc_auth.h: Likewise.
12258 * sunrpc/rpc/types.h: Likewise.
12259 * sunrpc/rpc/xdr.h: Likewise.
12260 * sunrpc/rpc_clntout.c: Likewise.
12261 * sunrpc/rpc_cmsg.c: Likewise.
12262 * sunrpc/rpc_common.c: Likewise.
12263 * sunrpc/rpc_cout.c: Likewise.
12264 * sunrpc/rpc_dtable.c: Likewise.
12265 * sunrpc/rpc_hout.c: Likewise.
12266 * sunrpc/rpc_main.c: Likewise.
12267 * sunrpc/rpc_parse.c: Likewise.
12268 * sunrpc/rpc_parse.h: Likewise.
12269 * sunrpc/rpc_prot.c: Likewise.
12270 * sunrpc/rpc_sample.c: Likewise.
12271 * sunrpc/rpc_scan.c: Likewise.
12272 * sunrpc/rpc_scan.h: Likewise.
12273 * sunrpc/rpc_svcout.c: Likewise.
12274 * sunrpc/rpc_tblout.c: Likewise.
12275 * sunrpc/rpc_util.c: Likewise.
12276 * sunrpc/rpc_util.h: Likewise.
12277 * sunrpc/rpcinfo.c: Likewise.
12278 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12279 * sunrpc/rpcsvc/key_prot.x: Likewise.
12280 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12281 * sunrpc/rpcsvc/mount.x: Likewise.
12282 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12283 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12284 * sunrpc/rpcsvc/rex.x: Likewise.
12285 * sunrpc/rpcsvc/rstat.x: Likewise.
12286 * sunrpc/rpcsvc/rusers.x: Likewise.
12287 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12288 * sunrpc/rpcsvc/spray.x: Likewise.
12289 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12290 * sunrpc/rtime.c: Likewise.
12291 * sunrpc/svc.c: Likewise.
12292 * sunrpc/svc_auth.c: Likewise.
12293 * sunrpc/svc_authux.c: Likewise.
12294 * sunrpc/svc_raw.c: Likewise.
12295 * sunrpc/svc_run.c: Likewise.
12296 * sunrpc/svc_simple.c: Likewise.
12297 * sunrpc/svc_tcp.c: Likewise.
12298 * sunrpc/svc_udp.c: Likewise.
12299 * sunrpc/svc_unix.c: Likewise.
12300 * sunrpc/svcauth_des.c: Likewise.
12301 * sunrpc/xcrypt.c: Likewise.
12302 * sunrpc/xdr.c: Likewise.
12303 * sunrpc/xdr_array.c: Likewise.
12304 * sunrpc/xdr_float.c: Likewise.
12305 * sunrpc/xdr_mem.c: Likewise.
12306 * sunrpc/xdr_rec.c: Likewise.
12307 * sunrpc/xdr_ref.c: Likewise.
12308 * sunrpc/xdr_sizeof.c: Likewise.
12309 * sunrpc/xdr_stdio.c: Likewise.
12311 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12314 2010-08-19 Andreas Schwab <schwab@redhat.com>
12316 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12318 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12320 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12321 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12322 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12323 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12324 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12325 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12326 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12327 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12328 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12329 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12330 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12331 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12332 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12333 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12335 2010-07-26 Anton Blanchard <anton@samba.org>
12337 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12338 * malloc/arena.c (heap_trim): Likewise.
12340 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12342 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12344 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12345 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12347 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12349 * sysdeps/i386/elf/Makefile: New file.
12351 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12353 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12354 from fanotify_init.
12355 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12356 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12358 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12360 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12362 * sysdeps/multiarch/strcmp.S: Likewise.
12364 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12366 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12367 strncase_l-nonascii.
12368 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12369 Add strncase_l-ssse3.
12370 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12371 * sysdeps/x86_64/strcmp.S: Likewise.
12372 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12373 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12374 * sysdeps/x86_64/strncase.S: New file.
12375 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12376 * sysdeps/x86_64/strncase_l.S: New file.
12377 * string/Makefile (strop-tests): Add strncasecmp.
12378 * string/test-strncasecmp.c: New file.
12380 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12383 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12384 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12386 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12388 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12390 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12392 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12393 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12394 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12396 2010-05-01 Alan Modra <amodra@gmail.com>
12398 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12399 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12400 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12401 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12402 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12403 tidying. Don't tail-call __sigjmp_save for static lib.
12404 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12406 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12407 (CALL_MCOUNT): Add eh info, and nop after bl.
12408 (TAIL_CALL_SYSCALL_ERROR): New macro.
12409 (PSEUDO_RET): Use it.
12410 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12411 Correct save location of integer regs and cr.
12412 (_dl_profile_resolve): Correct cr save location. Delete nops
12413 after bl when SHARED. Reduce cfi size a little by better
12414 placement of cfi directives.
12415 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12416 make a stack frame. Instead use parm save area as a temp.
12417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12418 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12420 Don't make a stack frame for parent, use parm save area.
12421 Increase child stack frame to 112 bytes. Don't save unused reg,
12422 and adjust reg usage. Set up cfi on error recovery and
12423 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12425 (__makecontext): Add dummy nop after jump to exit.
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12427 Use correct parm save area and cr save, reduce stack frame.
12428 Correct cfi for possible PSEUDO_RET frame setup.
12429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12430 Branch to local label emitted by PSEUDO_RET rather than
12433 2010-08-12 Andreas Schwab <schwab@redhat.com>
12436 * locale/programs/locale.c (print_assignment): New function.
12437 (show_locale_vars): Use it.
12439 2010-08-11 Ulrich Drepper <drepper@redhat.com>
12441 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12443 (struct statfs64): Likewise.
12444 (_STATFS_F_FLAGS): Define.
12445 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12446 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12447 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12448 (ST_VALID): Define locally.
12449 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12450 __statvfs_getflags, use the provided value.
12451 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12452 __ASSUME_STATFS_F_FLAGS.
12454 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12456 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12457 Add sys/fanotify.h.
12458 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12459 fanotify_mask for GLIBC_2.13.
12460 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12461 fanotify_init and fanotify_mark.
12462 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12463 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12465 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12467 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12468 prlimit64 for GLIBC_2.13.
12469 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12474 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12475 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12476 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12477 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12479 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12482 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12483 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12485 * nss/Makefile: Add rules to build and run tst-nss-test1.
12486 * shlib-versions: Add entry for libnss_test1.
12487 * nss/nss_test1.c: New file.
12488 * nss/tst-nss-test1.c: New file.
12490 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12491 (__nss_configure_lookup): Set appropriate entry in
12492 __nss_configure_lookup to true.
12493 * nss/nsswitch.h: Define enum with indeces of databases in
12494 databases and __nss_database_custom arrays. Declare
12495 __nss_database_custom.
12496 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12497 to avoid using nscd when custom rules are installed.
12498 * nss/getXXbyYY_r.c: Likewise.
12499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12501 * nss/nss_files/files-parse.c: Whitespace fixes.
12503 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12506 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12507 * posix/fnmatch_loop.c: Likewise.
12509 2010-07-17 Andi Kleen <ak@linux.intel.com>
12511 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12512 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12513 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12514 * Versions.def [GLIBC_2.13]: Add.
12516 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12519 Also fail if tpwd after pwuid call is NULL.
12521 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12523 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12524 when converting to ms.
12526 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12528 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12529 EOPNOTSUPP errors with ENOTTY.
12530 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12531 EOPNOTSUPP errors with ENOTTY.
12533 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12535 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12536 Add strcasecmp_l-ssse3.
12537 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12539 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12540 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12541 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12543 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12545 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12547 * string/Makefile (strop-tests): Add strcasecmp.
12548 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12549 strcasecmp_l-nonascii.
12550 (gen-as-const-headers): Add locale-defines.sym.
12551 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12552 * sysdeps/x86_64/strcasecmp.S: New file.
12553 * sysdeps/x86_64/strcasecmp_l.S: New file.
12554 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12555 * sysdeps/x86_64/locale-defines.sym: New file.
12556 * string/test-strcasecmp.c: New file.
12558 * string/test-strcasestr.c: Test both ends of the range of characters.
12559 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12561 2010-07-29 Roland McGrath <roland@redhat.com>
12564 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12566 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12568 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12571 2010-07-27 Andreas Schwab <schwab@redhat.com>
12573 * manual/memory.texi (Malloc Tunable Parameters): Document
12576 2010-07-26 Roland McGrath <roland@redhat.com>
12579 * configure.in (-fgnu89-inline check): Set and substitute
12580 gnu89_inline, not libc_cv_gnu89_inline.
12581 * configure: Regenerated.
12582 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12584 2010-07-26 Ulrich Drepper <drepper@redhat.com>
12586 * string/test-strnlen.c: New file.
12587 * string/Makefile (strop-tests): Add strnlen.
12588 * string/tester.c (test_strnlen): Add a few more test cases.
12589 * string/tst-strlen.c: Better error reporting.
12591 * sysdeps/x86_64/strnlen.S: New file.
12593 2010-07-24 Ulrich Drepper <drepper@redhat.com>
12595 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12596 lower-latency instructions.
12598 2010-07-23 Ulrich Drepper <drepper@redhat.com>
12600 * string/test-strcasestr.c: New file.
12601 * string/test-strstr.c: New file.
12602 * string/Makefile (strop-tests): Add strstr and strcasestr.
12603 * string/str-two-way.h: Don't undefine MAX.
12604 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12606 2010-07-21 Andreas Schwab <schwab@redhat.com>
12608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12609 strcasestr-nonascii.
12610 (CFLAGS-strcasestr-nonascii.c): Define.
12611 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12612 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12613 Remove unused attribute.
12615 2010-07-20 Roland McGrath <roland@redhat.com>
12617 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12618 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12619 ld.so.cache was broken. With it, there is no way to disable dsocaps
12620 like LD_HWCAP_MASK can disable hwcaps.
12622 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12624 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12626 2010-07-16 Ulrich Drepper <drepper@redhat.com>
12628 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12629 call in strcasestr.
12630 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12631 __strcasestr_sse42_nonascii.
12632 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12633 strcasestr-nonascii.c.
12634 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12636 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
12638 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12639 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12640 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12641 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12643 2010-07-09 Ulrich Drepper <drepper@redhat.com>
12645 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12648 2010-07-06 Andreas Schwab <schwab@redhat.com>
12651 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12654 2010-07-06 Ulrich Drepper <drepper@redhat.com>
12656 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12657 _PC_PIPE_BUF using F_GETPIPE_SZ.
12659 2010-07-05 Roland McGrath <roland@redhat.com>
12661 * manual/arith.texi (Rounding Functions): Fix rint description
12662 implicit in round description.
12664 2010-07-02 Ulrich Drepper <drepper@redhat.com>
12666 * elf/Makefile: Fix linking for a few tests to make recent linker
12669 2010-06-30 Andreas Schwab <schwab@redhat.com>
12671 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12672 $(common-objpfx)libc_nonshared.a.
12674 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
12676 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12677 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12678 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12679 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12680 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12681 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12682 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12683 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12698 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12699 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12700 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12701 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12702 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12703 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12704 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12705 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12706 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12707 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12708 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12709 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12725 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12727 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12728 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12729 * string/memmove.c (memmove): Renamed to ...
12730 (MEMMOVE): ...this. Default to memmove.
12731 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12732 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12735 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12736 mempcpy-ssse3-back memmove-ssse3-back.
12737 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12738 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12739 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12740 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12741 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12742 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12743 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12744 * sysdeps/x86_64/multiarch/memmove.c: New file.
12745 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12746 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12747 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12748 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12749 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12750 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12752 (index_Fast_Copy_Backward): Define.
12753 (HAS_ARCH_FEATURE): Define.
12754 (HAS_FAST_REP_STRING): Define.
12755 (HAS_FAST_COPY_BACKWARD): Define.
12757 2010-06-21 Andreas Schwab <schwab@redhat.com>
12759 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12760 Restore proper fallback handling.
12762 2010-06-19 Ulrich Drepper <drepper@redhat.com>
12765 * posix/group_member.c (__group_member): Correct checking loop.
12767 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12768 OOM in getpwuid_r correctly. Return error number when the caller
12769 should return, otherwise -1.
12770 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12771 call returning > 0 value.
12772 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12774 2010-06-07 Andreas Schwab <schwab@redhat.com>
12776 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12777 libc_nonshared.a from targets in modules-names.
12779 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12781 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12784 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
12786 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12787 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12788 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12789 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12791 2010-06-02 Andreas Schwab <schwab@redhat.com>
12793 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12795 2010-06-14 Ulrich Drepper <drepper@redhat.com>
12797 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12799 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12800 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12801 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12803 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12804 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12806 2010-06-14 Roland McGrath <roland@redhat.com>
12808 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12810 2010-06-07 Jakub Jelinek <jakub@redhat.com>
12812 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12813 __REDIRECT followed by __THROW.
12814 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12815 * posix/getopt.h (getopt): Likewise.
12817 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12819 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12820 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12821 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12823 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12824 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12826 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
12828 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12830 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12834 Properly check family and model.
12836 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12838 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12840 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
12842 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12844 2010-05-21 Ulrich Drepper <drepper@redhat.com>
12846 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12849 2010-05-19 Andreas Schwab <schwab@redhat.com>
12851 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12854 2010-05-21 Andreas Schwab <schwab@redhat.com>
12856 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12857 and internal_recvmmsg.
12858 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12859 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12860 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12861 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12863 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12864 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12865 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12867 2010-05-20 Andreas Schwab <schwab@redhat.com>
12869 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12871 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
12873 POWER7 optimizations.
12874 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12875 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12877 2010-05-19 Ulrich Drepper <drepper@redhat.com>
12879 * version.h: Update for 2.13 development version.
12881 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
12883 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12884 exceptions. Return 0.
12886 2010-05-07 Roland McGrath <roland@redhat.com>
12888 * elf/ldconfig.c (main): Add a const.
12890 2010-05-06 Ulrich Drepper <drepper@redhat.com>
12892 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12893 (args_options): Add no-idn option.
12894 (ahosts_keys_int): Add idn_flags to ai_flags.
12895 (parse_option): Handle 'i' option to clear idn_flags.
12897 * malloc/malloc.c (_int_free): Possible race in the most recently
12898 added check. Only act on the data if no current modification
12901 See ChangeLog.17 for earlier changes.