]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use -frounding-math for math testsuite
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0be196ad
AJ
12012-05-02 Andreas Jaeger <aj@suse.de>
2
3 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4 since we manipulate rounding mode.
5 (CPPFLAGS-test-idouble.c): Likewise.
6 (CPPFLAGS-test-ifloat.c): Likewise.
7 (CFLAGS-test-ldouble.c): Likewise.
8 (CFLAGS-test-double.c): Likewise.
9 (CFLAGS-test-float.c): Likewise.
10 (CFLAGS-test-misc.c): Likewise.
11 (CFLAGS-test-test-fenv.c): Likewise.
12
4f9d04aa
AZ
132012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14
15 [BZ #2550]
16 [BZ #2570]
17 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18 comparisons to determine direction to adjust input.
19
82a79e7d
RM
202012-05-01 Roland McGrath <roland@hack.frob.com>
21
f5a01ca9
RM
22 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23 output to the target.
24
90fe4186
RM
25 * scripts/localplt.awk: New file.
26 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27 (check-localplt-CFLAGS): Variable removed.
28 ($(all-built-dso:=.jmprel)): New static pattern rule.
29 (generated): Add those targets.
30 (localplt-built-dso): New variable.
31 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32
33 * elf/check-localplt.c: File removed.
34
82397ed6
RM
35 * scripts/check-execstack.awk: New file.
36 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37 (check-execstack-CFLAGS): Variable removed.
38 ($(objpfx)check-execstack.h): Target removed.
39 ($(objpfx)execstack-default): New target.
40 (generated): Add that instead of check-execstack.h.
41 ($(all-built-dso:=.phdr)): New static pattern rule.
42 (generated): Add those targets.
43 * elf/check-execstack.c: File removed.
44
82a79e7d
RM
45 * scripts/check-textrel.awk: New file.
46 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47 (check-textrel-CFLAGS): Variable removed.
48 (all-built-dso): Use := to define.o
49 ($(all-built-dso:=.dyn)): New static pattern rule.
50 (generated): Add those targets.
51 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52 * config.make.in (READELF): New substituted variable.
53 * elf/check-textrel.c: File removed.
54
62fde54f 552012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 56
615605c9
JM
57 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58 allow.
59 * conform/data/ctype.h-data [C99-based standards] (isblank):
60 Expect function.
61 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
63 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65 Specify type. Require positive value.
66 (EILSEQ): Likewise.
67 (ERANGE): Likewise.
68 [ISO || POSIX] (EILSEQ): Do not expect.
69 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70 Specify type. Require positive value.
71 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
73 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
74 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
75 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
76 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
77 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
78 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
79 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
80 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
81 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
82 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
84 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
85 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
86 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
87 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
88 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
89 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
90 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
91 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
92 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
93 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
94 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
95 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
96 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
97 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
98 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
99 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
100 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
101 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
102 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
103 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
104 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
105 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
106 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
107 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
108 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
109 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
110 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
111 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
112 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
113 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
114 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
115 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
116 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
117 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
118 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
119 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
120 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
121 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
122 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
123 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
124 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
125 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
126 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
127 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
128 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
129 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
130 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
131 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
132 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
133 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
134 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
135 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
136 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
137 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
138 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
139 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
140 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
141 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
142 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
143 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
144 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
145 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
146 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
147 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
148 Require >= 2.
149 (FLT_ROUNDS): Expect as macro, not constant.
150 (FLT_MANT_DIG): Use macro-int-constant.
151 (DBL_MANT_DIG): Likewise.
152 (LDBL_MANT_DIG): Likewise.
153 (FLT_DIG): Likewise.
154 (DBL_DIG): Likewise.
155 (LDBL_DIG): Likewise.
156 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
157 (DBL_MIN_EXP): Likewise.
158 (LDBL_MIN_EXP): Likewise.
159 (FLT_MAX_EXP): Use macro-int-constant.
160 (DBL_MAX_EXP): Likewise.
161 (LDBL_MAX_EXP): Likewise.
162 (FLT_MAX_10_EXP): Likewise.
163 (DBL_MAX_10_EXP): Likewise.
164 (LDBL_MAX_10_EXP): Likewise.
165 (FLT_MAX): Use macro-constant.
166 (DBL_MAX): Likewise.
167 (LDBL_MAX): Likewise.
168 (FLT_EPSILON): Use macro-constant. Give upper bound.
169 (DBL_EPSILON): Likewise.
170 (LDBL_EPSILON): Likewise.
171 (FLT_MIN): Likewise.
172 (DBL_MIN): Likewise.
173 (LDBL_MIN): Likewise.
174 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
175 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
176 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
177 [ISO11] (FLT_HAS_SUBNORM): Likewise.
178 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
179 [ISO11] (DBL_DECIMAL_DIG): Likewise.
180 [ISO11] (FLT_DECIMAL_DIG): Likewise.
181 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
182 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
183 [ISO11] (FLT_TRUE_MIN): Likewise.
184 [ISO11] (LDBL_TRUE_MIN): Likewise.
185 [ISO || ISO99 || ISO11] (*_t): Do not allow.
186 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
187 (SCHAR_MIN): Use macro-int-constant. Specify type.
188 (SCHAR_MAX): Likewise.
189 (UCHAR_MAX): Likewise.
190 (CHAR_MIN): Likewise.
191 (CHAR_MAX): Likewise.
192 (MB_LEN_MAX): Use macro-int-constant.
193 (SHRT_MIN): Use macro-int-constant. Specify type.
194 (SHRT_MAX): Likewise.
195 (USHRT_MAX): Likewise.
196 (INT_MAX): Likewise.
197 (INT_MIN): Use macro-int-constant. Specify type. Make upper
198 bound negative.
199 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
200 bound with "U".
201 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
202 bound with "L".
203 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
204 bound negative. Suffix upper bound with "L".
205 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
206 bound with "UL".
207 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
208 Specify type.
209 [C99-based standards] (LLONG_MAX): Likewise.
210 [C99-based standards] (ULLONG_MAX): Likewise.
211 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
212 == 0.
213 [ISO11] (max_align_t): Require type.
214 [ISO || ISO99 || ISO11] (*_t): Do not allow.
215
c9140a62
JM
216 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
217 from $CFLAGS, without defining away __attribute__ calls.
218 (checknamespace): Use $CFLAGS_namespace.
219
9af0bf29
JM
220 * conform/conformtest.pl (@keywords): Only include C99 keywords
221 for standards based on C99 or C11.
222
343222a2
JM
223 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
224 Disable tests.
225 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
226 UNIX98]: Likewise.
227
661f8cf0
JM
228 * conform/conformtest.pl: Handle "macro-int-constant" and test for
229 usability of symbols in #if.
230
ee74b9cb
JM
231 * conform/conformtest.pl: If macro or constant types start
232 "promoted:", expect the symbol to be of the following type
233 promoted by the integer promotions.
62fde54f 234
aafc49b3
JM
235 * conform/conformtest.pl: Parse all "constant" and "macro" lines
236 in one place. Also handle "macro-constant".
237
fefdf574
JM
238 * conform/conformtest.pl: Only accept expected macro values with
239 "==". Parse all "macro" lines in one place.
240 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
241
f2d922fe
JM
242 * conform/conformtest.pl: Handle braced types on "constant" lines
243 instead of handling "typed-constant".
244 * conform/data/signal.h-data: Use "constant" instead of
245 "typed-constant".
246
d22956c9
JM
247 * conform/conformtest.pl: Handle "optional-" at start of lines in
248 one place rather than duplicating several cases. Handle each
249 format of "macro" line with initial "optional-".
250
028e2e38
JM
251 * conform/conformtest.pl: Only accept expected constant or
252 optional-constant values with "==". Parse all "constant" lines in
253 one place. Parse all "optional-constant" lines in one place.
254 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
255 * conform/data/fmtmsg.h-data: Likewise.
256 * conform/data/netinet/in.h-data: Likewise.
257 * conform/data/tar.h-data: Likewise.
258 * conform/data/limits.h-data: Use "==" form on "constant" and
259 "optional-constant" lines.
260
1b8f2850
JM
261 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
262 Use -std=c99 for XOPEN2K.
263 (@knownproblems): Remove.
264 (newtoken): Don't check %isknown.
265
a05a144b
JM
266 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
267 Do not expect macro.
268 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
269 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
270 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
271 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
272 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
273 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
274 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
275 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
276 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
277 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
278 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
279 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
280 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
281 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
282 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
283 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
284 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
285 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
286 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
287 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
288 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
289 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
290 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
291 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
292 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
293 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
294 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
295 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
296 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
297 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
298 [XPG3] (acosh): Likewise.
299 [XPG3] (asinh): Likewise.
300 [XPG3] (atanh): Likewise.
301 [XPG3] (cbrt): Likewise.
302 [XPG3] (expm1): Likewise.
303 [XPG3] (ilogb): Likewise.
304 [XPG3] (log1p): Likewise.
305 [XPG3] (logb): Likewise.
306 [XPG3] (nextafter): Likewise.
307 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
308 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
309 [XPG3] (remainder): Likewise.
310 [XPG3] (rint): Likewise.
311 [XPG3 || XPG4 || UNIX98] (round): Likewise.
312 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
313 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
314 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
315 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
316 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
317 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
318 [UNIX98 || XOPEN2K] (scalb): Expect.
319 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
320 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
321 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
322 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
323 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
324 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
325 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
326 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
327 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
328 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
329 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
330 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
331 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
332 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
333 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
334 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
335 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
336 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
337 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
338 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
339 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
340 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
341 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
342 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
343 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
344 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
345 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
346 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
347 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
348 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
349 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
350 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
351 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
352 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
353 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
354 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
355 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
356 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
357 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
358 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
359 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
360 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
361 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
362 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
363 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
364 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
365 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
366 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
367 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
368 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
369 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
370 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
371 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
372 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
373 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
374 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
375 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
376 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
377 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
378 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
379 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
380 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
381 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
382 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
383 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
384 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
385 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
386 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
387 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
388 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
389 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
390 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
391 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
392 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
393 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
394 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
395 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
396 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
397 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
398 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
399 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
400 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
401 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
402 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
403 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
404 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
405 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
406 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
407 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
408 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
409 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
410 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
411 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
412 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
413 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
414 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
415 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
416 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
417 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
418 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
419 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
420 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
421 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
422 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
423 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
424 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
425 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
426 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
427 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
428 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
429 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
430 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
431 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
432 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
433 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
434 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
435 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
436 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
437 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
438 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
439 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
440 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
441 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
442 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
443 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
444 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
445 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
446 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
447 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
448 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
449 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
450 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
451 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
452 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
453 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
454 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
455 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
456
73c5ebe3
JM
457 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
458 _XOPEN_SOURCE_EXTENDED for XPG4.
459
39c33b6c
JM
460 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
461
62fde54f
JM
462 * Makeconfig (localtime): Remove variable.
463 (inst_localtime-file): Likewise.
464
0741d64c
AS
4652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
466
467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
468 Update.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
470 Update.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
472 Update.
473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
474 Update.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
476 Update.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
478 Update.
479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
480 Update.
481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
482 Update.
483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
484 Update.
485
7cb029ee
JM
4862012-05-01 Joseph Myers <joseph@codesourcery.com>
487
488 [BZ #2550]
489 [BZ #2570]
490 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
491 comparisons to determine direction to adjust input.
492 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
493 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
494 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
495 Likewise.
496 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
497 Likewise.
498 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
499 Likewise.
500 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
501 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
502 Likewise.
503 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
504 Likewise.
505 * math/libm-test.inc (nexttoward_test): Add more tests.
506
412bd966
AS
5072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
508
509 [BZ #14040]
510 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
511 in version GLIBC_2.1, not GLIBC_2.0.
512 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
513 Likewise.
514
9568c0c2
JM
5152012-04-30 Joseph Myers <joseph@codesourcery.com>
516
adfbc8ac
JM
517 [BZ #13942]
518 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
519 (1 - x) * (1 + x).
520 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
521 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
522 * math/libm-test.inc (acos_test): Add more tests.
523 (asin_test): Likewise.
524 * sysdeps/i386/fpu/libm-test-ulps: Update.
525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
526
5ba3cc69
JM
527 [BZ #14034]
528 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
529 of square root.
530 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
531 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
532 * math/libm-test.inc (acos_test_tonearest): New function.
533 (acos_test_towardzero): Likewise.
534 (acos_test_downward): Likewise.
535 (acos_test_upward): Likewise.
536 (asin_test_tonearest): Likewise.
537 (asin_test_towardzero): Likewise.
538 (asin_test_downward): Likewise.
539 (asin_test_upward): Likewise.
540 (main): Call the new functions.
541 * sysdeps/i386/fpu/libm-test-ulps: Update.
542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
543
9568c0c2
JM
544 [BZ #13884]
545 [BZ #13924]
546 * math/e_exp10.c: Include <float.h>.
547 (__ieee754_exp10): Handle underflow here rather than multiplying
548 large negative argument by M_LN10.
549 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
550 of __ieee754_expf.
551 * math/e_exp10l.c: Include <float.h>.
552 (__ieee754_exp10l): Handle underflow here rather than multiplying
553 large negative argument by M_LN10l.
554 * math/libm-test.inc (exp10_test): Add another test. Do not allow
555 spurious overflow exception on underflow.
556
5ac3ea17
MP
5572012-04-29 Marek Polacek <polacek@redhat.com>
558
559 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
560 (__fortify_function): New macro.
561 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
562 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
563 __extern_always_inline.
564 * libio/bits/stdio2.h: Likewise.
565 * libio/bits/stdio.h: Likewise.
566 * string/string.h: Likewise.
567 * string/bits/string3.h: Likewise.
568 * include/stdio.h: Likewise.
569 * stdlib/bits/stdlib.h: Likewise.
570 * stdlib/stdlib.h: Likewise.
571 * rt/bits/mqueue2.h: Likewise.
572 * rt/mqueue.h: Likewise.
573 * posix/bits/unistd.h: Likewise.
574 * posix/unistd.h: Likewise.
575 * io/bits/poll2.h: Likewise.
576 * io/bits/fcntl2.h: Likewise.
577 * io/fcntl.h: Likewise.
578 * io/sys/poll.h: Likewise.
579 * misc/bits/syslog.h: Likewise.
580 * misc/bits/syslog-ldbl.h: Likewise.
581 * misc/sys/syslog.h: Likewise.
582 * socket/bits/socket2.h: Likewise.
583 * socket/sys/socket.h: Likewise.
584 * debug/tst-chk1.c: Likewise.
585 * wcsmbs/bits/wchar2.h: Likewise.
586 * wcsmbs/bits/wchar-ldbl.h: Likewise.
587 * wcsmbs/wchar.h: Likewise.
588
ecf0ebfb
AJ
5892012-04-29 Andreas Jaeger <aj@suse.de>
590
591 * Makerules (tests): Remove enable-check-abi protection.
592 (check-abi-warn): Remove.
593 (check-abi-%): Remove check-abi-warn usage.
594
595 * configure.in: Remove check-abi configure option.
596 * configure: Regenerated.
597 * config.make.in (enable-check-abi): Remove.
598
6d5c57fa
AS
5992012-04-28 Andreas Schwab <schwab@linux-m68k.org>
600
24c5d07e 601 [BZ #14033]
ded5180a
AS
602 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
603 double functions to double *_finite functions.
604
7e0d315d
AS
605 [BZ #13941]
606 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
607 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
608 LDBL_MIN_EXP.
609 * stdio-common/Makefile (tests): Add tst-sprintf3.
610 * stdio-common/tst-sprintf3.c: New file.
611
6d5c57fa
AS
612 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
613 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
614
0749ff8b
JM
6152012-04-28 Joseph Myers <joseph@codesourcery.com>
616
617 * conform/conformtest.pl: Remove duplicate typed-constant
618 handling.
619
8dbd5d7b
DM
6202012-04-28 David S. Miller <davem@davemloft.net>
621
622 * Makerules (%.abilist): Add vpath on sysdep_dirs.
623 (check-abi-%): Remove AWK script prerequisite and explicit
624 abilist directory.
625 (check-abi): Rewrite to just diff the symlist with the abilist.
626 (config-tls, config-abi-config): Delete, no longer used.
627 (update-abi-%): Remove AWK script and explicit abilist directory.
628 (update-abi): Rewrite to simply compare and conditionally copy the
629 symlist and the sysdep abilist file. Remove update-abi-config
630 checks.
631 * abilist/ld.abilist: Remove.
632 * abilist/libBrokenLocale.abilist: Remove.
633 * abilist/libanl.abilist: Remove.
634 * abilist/libcrypt.abilist: Remove.
635 * abilist/libdl.abilist: Remove.
636 * abilist/librt.abilist: Remove.
637 * abilist/libthread_db.abilist: Remove.
638 * abilist/libutil.abilist: Remove.
639 * scripts/extract-abilist.awk: Remove.
640 * scripts/merge-abilist.awk: Remove.
641 * sysdeps/generic/libcidn.abilist: New file.
642 * sysdeps/generic/libnss_compat.abilist: New file.
643 * sysdeps/generic/libnss_db.abilist: New file.
644 * sysdeps/generic/libnss_dns.abilist: New file.
645 * sysdeps/generic/libnss_files.abilist: New file.
646 * sysdeps/generic/libnss_hesiod.abilist: New file.
647 * sysdeps/generic/libnss_nis.abilist: New file.
648 * sysdeps/generic/libnss_nisplus.abilist: New file.
649 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
650 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
651 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
652 file.
653 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
654 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
655 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
656 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
657 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
658 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
659 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
660 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
661 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
662 file.
663 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
664 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
665 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
666 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
667 file.
668 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
669 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
670 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
671 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
672 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
673 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
674 file.
675 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
676 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
677 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
678 file.
679 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
681 New file.
682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
683 New file.
684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
685 New file.
686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
687 New file.
688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
689 New file.
690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
691 New file.
692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
693 New file.
694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
695 New file.
696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
697 New file.
698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
699 New file.
700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
701 New file.
702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
703 New file.
704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
705 New file.
706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
707 file.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
709 New file.
710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
711 New file.
712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
713 file.
714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
715 New file.
716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
717 New file.
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
719 file.
720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
721 New file.
722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
723 New file.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
725 New file.
726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
727 New file.
728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
729 New file.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
731 New file.
732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
734 file.
735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
736 New file.
737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
738 file.
739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
740 file.
741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
742 file.
743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
744 file.
745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
746 file.
747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
748 New file.
749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
750 file.
751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
752 file.
753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
754 New file.
755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
756 file.
757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
759 file.
760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
761 New file.
762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
763 file.
764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
765 file.
766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
767 file.
768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
769 file.
770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
771 file.
772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
773 New file.
774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
775 file.
776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
777 file.
778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
779 New file.
780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
781 file.
782 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
783 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
784 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
785 file.
786 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
787 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
788 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
789 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
790 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
791 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
792 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
793 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
794 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
795 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
798 file.
799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
800 New file.
801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
802 file.
803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
804 file.
805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
806 file.
807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
808 file.
809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
810 file.
811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
812 New file.
813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
814 New file.
815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
816 file.
817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
818 New file.
819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
820 file.
821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
823 file.
824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
825 New file.
826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
827 file.
828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
829 file.
830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
831 file.
832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
833 file.
834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
835 file.
836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
837 New file.
838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
839 New file.
840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
841 file.
842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
843 New file.
844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
845 file.
846
41d73a1b
JM
8472012-04-28 Joseph Myers <joseph@codesourcery.com>
848
849 * conform/conformtest.pl: Fix typo in handling typed-constant from
850 allow-header.
851
28aeeda4
JM
8522012-04-27 Joseph Myers <joseph@codesourcery.com>
853
adae8f5e
JM
854 * README: Cut down references to pre-2.6 Linux kernels and
855 Linuxthreads. Update lists of configurations in libc and ports
856 and sort alphabetically. Say "or newer" with Linux kernel version
857 requirements.
858
28aeeda4
JM
859 * config.h.in [IS_IN_build]: Allow compiling without optimization.
860
a462cb63
RA
8612012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
862
863 [BZ #887]
864 * math/libm-test.inc (logb_test_downward): New test to expose
865 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
866 rounding mode.
867
6ad3493e
JM
8682012-04-27 Joseph Myers <joseph@codesourcery.com>
869
870 [BZ #14027]
871 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
872 to be done.
873 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
874 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
875
2ce4f015
JM
8762012-04-26 Joseph Myers <joseph@codesourcery.com>
877
5aeb141a
JM
878 * sysdeps/unix/i386/brk.S: Remove file.
879 * sysdeps/unix/i386/dl-brk.S: Likewise.
880 * sysdeps/unix/i386/pipe.S: Likewise.
881 * sysdeps/unix/i386/sigreturn.S: Likewise.
882 * sysdeps/unix/i386/syscall.S: Likewise.
883 * sysdeps/unix/i386/vfork.S: Likewise.
884 * sysdeps/unix/i386/wait.S: Likewise.
885
7143acae
JM
886 * sysdeps/unix/common/tcsendbrk.c: Move to ...
887 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
888
2ce4f015
JM
889 * configure.in (arm*-none*): Do not allow without
890 --enable-hacker-mode.
891 (netbsd*): Remove case setting base_os.
892 (386bsd*): Likewise.
893 (freebsd*): Likewise.
894 (bsdi*): Likewise.
895 (osf*): Likewise.
896 (sunos*): Likewise.
897 (ultrix*): Likewise.
898 (newsos*): Likewise.
899 (dynix*): Likewise.
900 (*bsd*): Likewise.
901 (sysv*): Likewise.
902 (isc*): Likewise.
903 (esix*): Likewise.
904 (sco*): Likewise.
905 (minix*): Likewise.
906 (irix4*): Likewise.
907 (irix6*): Likewise.
908 (solaris[2-9]*): Likewise.
909 (none): Likewise.
910 * configure: Regenerated.
911
0ac229c8
AZ
9122012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
913
914 [BZ #11521]
915 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
916 overflow or cancellation in calculating denominator.
917 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
918 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
919 down expression to avoid unexpected rounding in newer GCCs.
920 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
921
33f244f4
DM
9222012-04-26 David S. Miller <davem@davemloft.net>
923
924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
925 long-double compat symbols.
926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
939
cfa1f3e8
DM
9402012-04-25 David S. Miller <davem@davemloft.net>
941
942 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
943 HWCAP_* values only after the memory barriers have been defined.
944 (atomic_full_barrier): Define.
945 (atomic_read_barrier): Define.
946 (atomic_write_barrier): Define.
947
6e236b92
SP
9482012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
949
950 * shlib-versions: Add libgcc_s version information.
951 * sysdeps/generic/libgcc_s.h: Remove.
952 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
953 libgcc_s.h.
954 * sysdeps/gnu/unwind-resume.c: Likewise.
955 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
956
aab39a09
DM
9572012-04-25 David S. Miller <davem@davemloft.net>
958
959 * sysdeps/unix/sparc/brk.S: Delete.
960 * sysdeps/unix/sparc/dl-brk.S: Delete.
961 * sysdeps/unix/sparc/pipe.S: Delete.
962 * sysdeps/unix/sparc/sysdep.S: Delete.
963 * sysdeps/unix/sparc/sysdep.h: Delete.
964 * sysdeps/unix/sparc/vfork.S: Delete.
965 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
966 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
967 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
968 ret_ERRVAL, r0, r1, MOVE): Define.
969 (JUMPTARGET): Remove.
970 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
971 sysdeps/unix/sparc/sysdep.h
972 (ENTRY, END): Remove.
973 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
974
a3cc4f48
JM
9752012-04-25 Joseph Myers <joseph@codesourcery.com>
976
2ed8cda2
JM
977 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
978 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
979 -DIS_IN_build.
980
35d76d59
JM
981 * timezone/README: Update upstream location and email address for
982 tzcode and tzdata.
983 * timezone/zdump.c: Update from tzcode 2012b.
984 * timezone/zic.c: Likewise.
985
a3cc4f48
JM
986 * configure.in (libc_cv_as_needed): Remove test.
987 * configure: Regenerated.
988 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
989 conditional definition.
990 [$(have-as-needed) != yes] (no-as-needed): Likewise.
991 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
992 * config.make.in (have-as-needed): Remove variable.
993
ceab42c3
SP
9942012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
995 Paul Pluzhnikov <ppluzhnikov@google.com>
996
997 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
998 strings correctly.
999
3ce2865f
CLT
10002012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1001
1002 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1003 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1004 * sysdeps/sh/strlen.S: Likewise.
1005
f37e0d68
JM
10062012-04-24 Joseph Myers <joseph@codesourcery.com>
1007
ae186e9a
JM
1008 * sysdeps/unix/fork.S: Remove file.
1009 * sysdeps/unix/i386/fork.S: Likewise.
1010 * sysdeps/unix/sparc/fork.S: Likewise.
1011
b96914af
JM
1012 * sysdeps/unix/system.c: Remove file.
1013 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1014
f37e0d68
JM
1015 * sysdeps/unix/getegid.S: Remove file.
1016 * sysdeps/unix/geteuid.S: Likewise.
1017
87ef29ca
RM
10182012-04-24 Roland McGrath <roland@hack.frob.com>
1019
83bcd236
RM
1020 * scripts/check-localplt.awk: New file.
1021 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1022 of diff.
1023 * scripts/data/localplt-generic.data: Add a comment.
1024
87ef29ca
RM
1025 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1026 NODE when __dir_mkfile failed.
1027 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1028 Reported by Ludovic Courtès <ludo@gnu.org>.
1029
e5a6e567
AJ
10302012-04-24 Andreas Jaeger <aj@suse.de>
1031
1032 * Makerules (common-clean): Also remove gen-as-const-headers
1033 files.
1034
c1820385
JM
10352012-04-24 Joseph Myers <joseph@codesourcery.com>
1036
1037 * Makerules (native-compile): Do not change working directory for
1038 build. Use $(OUTPUT_OPTION) in command.
1039 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1040
94e02fc4
AZ
10412012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1042
1043 [BZ #13886]
1044 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1045 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1046 * math/libm-test.inc (floor_test): Add more tests.
1047 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1048
3a533ca3
JM
10492012-04-24 Joseph Myers <joseph@codesourcery.com>
1050
940ab4b3
JM
1051 * sysdeps/unix/getdents.c: Remove file.
1052 * sysdeps/unix/sysv/getdents.c: Likewise.
1053 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1054
90e037bd
JM
1055 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1056 sysdeps/unix/mman/syscalls.list.
1057 (mmap): Likewise.
1058 (mprotect): Likewise.
1059 (msync): Likewise.
1060 (munmap): Likewise.
1061 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1062 * sysdeps/unix/mman/syscalls.list: Remove.
1063 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1064
3a533ca3
JM
1065 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1066 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1067 * configure: Regenerated.
1068 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1069 $(libgcc_s_suffix).
1070 * config.make.in (libgcc_s_suffix): Remove variable.
1071
1ad743de
JM
10722012-04-23 Joseph Myers <joseph@codesourcery.com>
1073
4ad451e2
JM
1074 * sysdeps/unix/sysv/gethostname.c: Move to ...
1075 * sysdeps/posix/gethostname.c: ... here.
1076
5e37ce39
JM
1077 * sysdeps/unix/execve.S: Remove file.
1078
1ad743de
JM
1079 * sysdeps/unix/_exit.S: Remove file.
1080
4e681b5b
AJ
10812012-04-23 Andreas Jaeger <aj@suse.de>
1082
1083 [BZ #13739]
1084 * manual/Makefile: Remove make dist support, there's no
1085 need for a stand-alone documentation tar ball.
1086 (TEXI2DVI): Define always, it's not in Makeconfig.
1087 (dist): Removed.
1088 (tar-it): Removed.
1089 (edition): Removed.
1090 (glibc-doc-$(edition).tar): Removed
1091 (%.Z): Removed.
1092 (%.gz): Removed.
1093 (%.uu): Removed.
1094 (ETAGS): Remove, it's in Makeconfig.
1095 (move-if-change): Remove, it's in Makeconfig.
1096
c0baea34
PE
10972013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1098
1099 [BZ #13970]
1100 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1101 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1102 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1103 (strtod_l, strtof_l, strtold_l): Remove __wur.
1104 It is not necessarily an error to ignore strtol's return value.
1105 One can reliably look at the stored endptr to decide whether
1106 the number had valid syntax.
1107
7c0616fa
AJ
11082012-04-21 Andreas Jaeger <aj@suse.de>
1109
803cb6b7 1110 [BZ #13739]
7c0616fa
AJ
1111 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1112
b0fe253f
JM
11132012-04-21 Joseph Myers <joseph@codesourcery.com>
1114
1115 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1116 * sysdeps/unix/sysv/Versions: Remove file.
1117
8280f22d
MT
11182012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1119
1120 [BZ #13927]
1121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1122
75ce411f 11232012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1124
1125 [BZ #7064]
1126 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1127 version from __vm86.
1128
097d59fa
JM
11292012-04-20 Joseph Myers <joseph@codesourcery.com>
1130
a90f3bcb
JM
1131 * sysdeps/unix/common/lxstat.c: Remove file.
1132 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1133
edc7ea78
JM
1134 * sysdeps/unix/sysv/Makefile: Remove file.
1135
cb78c221
JM
1136 * sysdeps/unix/sysv/direct.h: Remove file.
1137
efa6a45f
JM
1138 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1139 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1140 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1141 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1142 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1143 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1144 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1145
9c9f2d0c
JM
1146 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1147
4541c83b
JM
1148 * sysdeps/unix/xmknod.c: Remove file.
1149 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1150
f5d153a0
JM
1151 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1152
aa746595
JM
1153 * sysdeps/unix/sysv/i386/time.S: Remove file.
1154
cce5905e
JM
1155 * sysdeps/unix/fxstat.c: Remove file.
1156 * sysdeps/unix/xstat.c: Likewise.
1157 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1158
37fa3841
JM
1159 * sysdeps/unix/sysv/sigaction.c: Remove file.
1160
ff1962a3
JM
1161 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1162 (sysdep_headers): Remove variable.
1163 [termio.h not in sysdep_headers] (generated): Likewise.
1164 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1165 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1166 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1167 * sysdeps/unix/sysv/tcflow.c: Likewise.
1168 * sysdeps/unix/sysv/tcflush.c: Likewise.
1169 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1170 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1171 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1172 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1173 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1174
e7740d31
JM
1175 * sysdeps/unix/siglist.c: Remove file.
1176
ee06f18b
JM
1177 * sysdeps/unix/getppid.S: Remove file.
1178
097d59fa
JM
1179 * sysdeps/unix/mkdir.c: Remove file.
1180 * sysdeps/unix/rmdir.c: Likewise.
1181
ff3d51ec
AS
11822012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1183
1184 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1185 ERR_MAX value.
1186 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1187 errlist-compat value.
1188
50f81fd7
DM
11892012-04-18 David S. Miller <davem@davemloft.net>
1190
1191 * sysdeps/generic/memcopy.h (reg_char): Delete.
1192 * debug/strcat_chk.c: Use char, not reg_char.
1193 * debug/strcpy_chk.c: Likewise.
1194 * debug/strncat_chk.c: Likewise.
1195 * debug/strncpy_chk.c: Likewise.
1196 * string/memchr.c: Likewise.
1197 * string/memrchr.c: Likewise.
1198 * string/rawmemchr.c: Likewise.
1199 * string/strcat.c: Likewise.
1200 * string/strchr.c: Likewise.
1201 * string/strchrnul.c: Likewise.
1202 * string/strcmp.c: Likewise.
1203 * string/strcpy.c: Likewise.
1204 * string/strncat.c: Likewise.
1205 * string/strncmp.c: Likewise.
1206 * string/strncpy.c: Likewise.
1207
8ff41c46
WS
12082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1209
1210 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1211 __builtin_memcopy is called when src and dest ranges are known to not
1212 overlap.
1213
6b652f46
WS
12142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1215
1216 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1217 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1218 fwd_align_merge macro call.
1219 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1220 bwd_align_merge macro call.
1221 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1222
b282631e
WS
12232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1224
1225 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1226 bwd_align_merge macros.
1227 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1228 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1229 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1230
95aa737c
DM
12312012-04-18 David S. Miller <davem@davemloft.net>
1232
1233 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1234
7a99a614
AJ
12352012-04-18 Andreas Jaeger <aj@suse.de>
1236
1237 [BZ# 6794]
1238 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1239 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1240 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1241
1242 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1243 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1244 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1245
1246 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1247 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1248 Adjust for changed ldbl-128 files.
1249
1250 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1251 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1252 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1253
e5270c23
DM
12542012-04-17 David S. Miller <davem@davemloft.net>
1255
1256 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1257
fb5e92c9
AS
12582012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1259
1260 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1261 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1262 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1263 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1264 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1265 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1266
76da7265
AZ
12672012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1268
1269 [BZ #6794]
1270 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1271 * math/libm-test.inc: Add ilogb errno and exception tests.
1272 * math/w_ilogb.c: New file: ilogb wrapper.
1273 * math/w_ilogbf.c: New file: ilogbf wrapper.
1274 * math/w_ilogbl.c: New file: ilogbl wrapper.
1275 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1276 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1277 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1278 exception being thrown with 0.0 as argument.
1279 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1280 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1281 exception being thrown with 0.0 as argument.
1282 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1283 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1284 exception being thrown with 0.0 as argument.
1285 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1286 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1287 exception being thrown with 0.0 as argument.
1288 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1289 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1290 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1291 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1292 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1293 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1294 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1295 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1296 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1297
0396e69d
PB
12982012-04-17 Petr Baudis <pasky@ucw.cz>
1299
1300 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1301 with altivec.
1302
750b5926
MP
13032012-04-16 Marek Polacek <polacek@redhat.com>
1304
1305 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1306
751728a1
MP
13072012-04-16 Marek Polacek <polacek@redhat.com>
1308
1309 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1310 operands of fdivp instruction.
1311
34a27407
L
13122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1313
1314 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1315 * elf/tst-auditmod3b.c: Likewise.
1316 * elf/tst-auditmod4b.c: Likewise.
1317 * elf/tst-auditmod5b.c: Likewise.
1318 * elf/tst-auditmod6b.c: Likewise.
1319 * elf/tst-auditmod6c.c: Likewise.
1320 * elf/tst-auditmod7b.c: Likewise.
1321 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1322 * sysdeps/x86_64/preconfigure.in: Likewise.
1323 * sysdeps/x86_64/preconfigure: Regenerated.
1324
7e73e17d
L
13252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1326
1327 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1328 __ILP32__.
1329
c7a6ab72
AB
13302012-04-13 Antoine Balestrat <merkil33@gmail.com>
1331
1332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1333 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1334
a9e8e0e0
CL
13352012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1336
1337 [BZ #13973]
1338 * locale/iso-639.def: Fix gl language name. Spotted by
1339 Yaron Shahrabani.
1340
ec98af7d
RM
13412012-04-12 Roland McGrath <roland@hack.frob.com>
1342
1343 [BZ #2074]
1344 * libio/libio.h (__io_write_fn): Update comment.
1345
247c3ede
PB
13462012-04-12 Petr Baudis <pasky@ucw.cz>
1347
1348 [BZ #2074]
1349 * stdio.texi (Hook Functions): The user provided writer function
1350 is not allowed to return -1.
1351
55939d6d
DM
13522012-04-11 David S. Miller <davem@davemloft.net>
1353
1354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1355
90020f5a
MF
13562012-04-11 Mike Frysinger <vapier@gentoo.org>
1357
1358 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1359 Add a leading slash to rtkaio.
1360
288f9098
JM
13612012-04-11 Jim Meyering <meyering@redhat.com>
1362
90020f5a
MF
1363 [BZ #11959]
1364 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1365 It is not necessarily an error to ignore fwrite's return
1366 value. One can reliably use ferror to test for errors after
1367 the fact.
288f9098 1368
4be2b570
L
13692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1370
1371 * bits/types.h (__snseconds_t): New type.
1372 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1373
1374 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1375 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1376 (__SNSECONDS_T_TYPE): Likewise.
1377 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1378 (__SNSECONDS_T_TYPE): Likewise.
1379 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1380 (__SNSECONDS_T_TYPE): Likewise.
1381
288f9098 13822012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1383
1384 [BZ #2636]
1385 * manual/time.texi (Processor Time): Return type of times is
1386 elapsed real time since an arbitrary point in the past.
1387 (CPU Time): Move CLK_TCK from here...
1388 (Processor Time): ...to here. Correct description.
1389 * manual/conf.texi (Constants for Sysconf): Correct description of
1390 _SC_CLK_TCK.
1391
d7dd4413
DM
13922012-04-10 David S. Miller <davem@davemloft.net>
1393
1394 [BZ #13967]
1395 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1396 where the is a gap between DT_REL(A) and DT_JMPREL.
1397
b46068fc
L
13982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1401 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1402 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1403
73d65cc3
SP
14042012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1405
1406 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1407 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1408 (dl_main): Handle --inhibit-cache.
1409 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1410 _dl_inhibit_cache.
1411 * elf/dl-load.c (_dl_map_object): Use it.
1412 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1413
bcc8d661
JM
14142012-04-09 Joseph Myers <joseph@codesourcery.com>
1415
8f9a2fae
JM
1416 [BZ #13872]
1417 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1418 (__ieee754_powl): Saturate large exponents rather than testing for
1419 overflow of y*log2(x).
1420 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1421 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1422 exceptions.
1423
bcc8d661
JM
1424 [BZ #11521]
1425 * math/s_ctan.c: Include <float.h>.
1426 (__ctan): Avoid internal overflow or cancellation in calculating
1427 denominator.
1428 * math/s_ctanf.c: Likewise.
1429 * math/s_ctanl.c: Likewise.
1430 * math/s_ctanh.c: Likewise.
1431 * math/s_ctanhf.c: Likewise.
1432 * math/s_ctanhl.c: Likewise.
1433 * math/libm-test.inc (ctan_test): Add more tests.
1434 (ctanh_test): Likewise.
1435 * sysdeps/i386/fpu/libm-test-ulps: Update.
1436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1437
823fbbb4
AJ
14382012-04-09 Andreas Jaeger <aj@suse.de>
1439
03879793
AJ
1440 [BZ #6894]
1441 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1442 is an optional BSD extension.
1443
823fbbb4
AJ
1444 [BZ #10254]
1445 * manual/stdio.texi (Opening Streams): Document additional fopen
1446 parameters.
1447
8de131cb
RM
14482012-04-09 Roland McGrath <roland@hack.frob.com>
1449
1450 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1451 %eax without telling the compiler.
1452
c0ed9d7d
CD
14532012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1454
1455 [BZ # 13963]
1456 * manual/install.texi: Use sourceware.org.
1457
c483f6b4
JM
14582012-04-09 Joseph Myers <joseph@codesourcery.com>
1459
d7dd9453
JM
1460 [BZ #13873]
1461 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1462 (__ieee754_pow): Generate overflow and underflow using huge*huge
1463 and tiny*tiny rather than just returning constant infinity or zero
1464 for large exponents.
1465 * math/libm-test.inc (pow_test): Require overflow exceptions for
1466 applicable cases of large exponents.
1467
c483f6b4
JM
1468 [BZ #706]
1469 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1470 (__ieee754_pow): Use iterative multiplication algorithm only for
1471 integer exponents with absolute value below 1024. Check for odd
1472 integer exponents when using algorithm for real exponents.
1473 * math/libm-test.inc (pow_test): Add more tests.
1474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1475
d2de7579
JM
14762012-04-08 Joseph Myers <joseph@codesourcery.com>
1477
1478 [BZ #13705]
1479 * math/libm-test.inc (exp_test): Do not allow overflow exception
1480 on underflow test.
1481
f77f1232
AJ
14822012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1483
1484 [BZ #13705]
1485 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1486 instead of __kernel_standard_f.
1487
3884932b
MF
14882012-04-08 Mike Frysinger <vapier@gentoo.org>
1489
1490 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1491 * sysdeps/x86_64/memset_chk.S: Likewise.
1492
54472e9c
AJ
14932012-04-08 Andreas Jaeger <aj@suse.de>
1494
6ab0fbfc
AJ
1495 [BZ #10153]
1496 * manual/startup.texi (Environment Access): Describe return value
1497 for putenv and setenv.
1498
61efba8c
AJ
1499 [BZ #6895]
1500 * manual/filesys.texi (Directory Entries): Add description for
1501 DT_LNK.
1502
95c3f29a
AJ
1503 [BZ #6890]
1504 * manual/filesys.texi (Directory Entries): Clarify that it's file
1505 system not operating system in the description of DT_UNKNOWN.
1506
54472e9c
AJ
1507 [BZ #6578]
1508 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1509
624254b1
SC
15102012-04-08 Stephen Compall <s11@member.fsf.org>
1511
1512 [BZ #6649]
1513 * manual/llio.texi (Opening and Closing Files): Add cross
1514 reference to explain mode argument.
1515
1e4920e0
MF
15162012-04-07 Mike Frysinger <vapier@gentoo.org>
1517
1518 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1519 * sysdeps/x86_64/memset_chk.S: Likewise.
1520
5ed848f3
DM
15212012-04-07 David S. Miller <davem@davemloft.net>
1522
1523 * elf/elf.h (R_SPARC_WDISP10): Define.
1524 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1525 R_SPARC_SIZE32.
1526 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1527 R_SPARC_SIZE64 and R_SPARC_H34.
1528
96154cd8
CD
15292012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1530
1531 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1532 conditions and remove no longer applicable assertion.
1533
9904dc47
L
15342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1535
1536 * bits/byteswap.h: Include <features.h>.
1537 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1538 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1539
f8887d0a
L
15402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1541
1542 * bits/byteswap.h (__bswap_16): Removed.
1543 Include <bits/byteswap-16.h> to get __bswap_16.
1544 * sysdeps/i386/bits/byteswap.h: Likewise.
1545 * sysdeps/s390/bits/byteswap.h: Likewise.
1546 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1547 * bits/byteswap-16.h: New file.
1548 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1549 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1550 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1551 * string/Makefile (headers): Add bits/byteswap-16.h.
1552
62470f60
PP
15532012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1554
1555 [BZ #13895]
1556 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1557 extra indirection.
1558 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1559 * nss/tst-nss-static.c: New.
1560
4dad7bab
RM
15612012-04-06 Robert Millan <rmh@gnu.org>
1562
1563 [BZ #6486]
1564 * manual/llio.texi (File Position Primitive): lseek
1565 refers to WHENCE when it really means OFFSET.
1566
e9142a17
AJ
15672012-04-06 Andreas Jaeger <aj@suse.de>
1568
2c040eff
AJ
1569 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1570 strncmp declarations.
1571
e9142a17
AJ
1572 * abilist/libc.abilist: Add __poll and __ppoll.
1573
ff9f1c5f
DM
15742012-04-05 David S. Miller <davem@davemloft.net>
1575
dcd2ae90
DM
1576 * scripts/check-local-headers.sh: Accept a host triplet in the
1577 path matched by the exclude regexp.
1578
993eb054
DM
1579 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1580 definition.
1581 * sysdeps/powerpc/powerpc32/dl-machine.h
1582 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1583 * sysdeps/s390/s390-32/dl-machine.h
1584 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1585 * sysdeps/sparc/sparc32/dl-machine.h
1586 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1587 * sysdeps/sparc/sparc64/dl-machine.h
1588 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1589
ff9f1c5f
DM
1590 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1591 lazy binding.
48e2e132 1592 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1593 undefined symbol errors.
1594
48e2e132 1595 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1596 DT_NEEDED entries.
1597
e80d6f94
MM
15982012-04-05 Michael Matz <matz@suse.de>
1599
1600 [BZ #13592]
1601 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1602
349fa79f
AJ
16032012-04-05 Andreas Jaeger <aj@suse.de>
1604
1605 [BZ #13908]
1606 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1607 comment.
1608
f402708f
KK
16092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1610
1611 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1612 which ROUND is no valid rounding mode.
1613
2ecccfc9
KK
16142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1615
1616 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1617 read again.
1618 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1619
8a53f50f
KK
16202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1621
1622 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1623 an exception using FPU order intentionally.
1624
16252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1626
1627 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1628 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1629 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1630 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1631
d653abb7
SJ
16322012-04-05 Simon Josefsson <simon@josefsson.org>
1633
1634 [BZ #12340]
1635 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1636 EINVAL when BUFLEN is too smal.
1637
c3b1bf7d
TS
16382012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1639
1640 [BZ #13553]
1641 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1642 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1643
b1aa60f3
AJ
16442012-04-03 Andreas Jaeger <aj@suse.de>
1645
c3b1bf7d 1646 [BZ #13938]
67f60a26
AJ
1647 * manual/setjmp.texi (System V contexts): Fix sentence.
1648
b1aa60f3
AJ
1649 [BZ #13926]
1650 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1651 New macro for this case.
1652 [!__GNUC__] (__bswap_64): New inline function for this case.
1653 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1654 * bits/byteswap.h: Likewise.
1655 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1656 ull, guard with __GLIBC_HAVE_LONG_LONG.
1657
1658 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1659 __GLIBC_HAVE_LONG_LONG.
1660
1661 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1662 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1663
39c59c35
TMQMF
16642012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1665
1666 [BZ #13691]
1667 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1668 inptr and inend, rather than using last_ch.
1669
135ffda8
DM
16702012-04-02 David S. Miller <davem@davemloft.net>
1671
1672 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1673 * stdio-common/printf-parse.h (read_int): Change return type to
1674 'int', return -1 on INT_MAX overflow.
1675 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1676 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1677 overflows INT_MAX. Check for overflow of in-format-string precision
1678 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1679 SIZE_MAX not INT_MAX for integer overflow test.
1680 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1681 skip the construct in the format string but do not record anything.
1682 * stdio-common/bug22.c: Adjust to test both width/prevision
1683 INT_MAX overflow as well as total length INT_MAX overflow. Check
1684 explicitly for proper errno values.
1685
228c019e
TS
16862012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1687
302cadd3
TS
1688 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1689 CHAR_MAX.
1690 * string/test-strcmp.c [! WIDE]: Likewise.
1691 * time/tst-mktime2.c: Likewise for INT_MAX.
1692 * string/test-string.h: #include <sys/param.h> for MIN.
1693
228c019e
TS
1694 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1695 * sysdeps/i386/init-first.c (init): Likewise.
1696 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1697 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1698 * sysdeps/sh/init-first.c (init): Likewise.
1699
cfa633f5
UD
17002012-04-01 Ulrich Drepper <drepper@gmail.com>
1701
1702 * po/ru.po: Update from translation team.
d1635ef8 1703 * po/vi.po: Likewise.
cfa633f5 1704
6cd0a5ea
SP
17052012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1706
1707 * resolv/nss_dns/dns-host.c: Merge copyright years.
1708
4b43400f
LD
17092012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1710
1711 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1712 Optimize memcpy with prefetch if
1713 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1714 src, dst pointers have unequal 16 byte alignments.
1715
48c41d04
SP
17162012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1717
1718 [BZ #13928]
1719 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1720 from a CNAME entry and return the minimum ttl for the query.
1721 (gaih_getanswer_slice): Likewise.
1722
b8dc394d
JL
17232012-03-30 Jeff Law <law@redhat.com>
1724
1725 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1726 due to long keys.
1727 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1728 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1729
2f5a5ed0
JL
1730 * resolv/nss_dns/dns-host.c: Update copyright year.
1731
1d39e359
UD
17322012-03-30 Ulrich Drepper <drepper@gmail.com>
1733
c030f70c 1734 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 1735 requests to save a system call. Fix check that all bytes are sent.
c030f70c 1736
1d39e359
UD
1737 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1738 comments for sendmmsg.
1739
17402012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
1741
1742 [BZ #13691]
1743 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1744 with only 1 character between 0x0041 and 0x01b0.
1745 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1746 * wcsmbs/tst-mbsnrtowcs.c: New file.
1747
20fde227
DM
17482012-03-29 David S. Miller <davem@davemloft.net>
1749
1750 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1751 small copies by hand.
1752
984a4237
JL
17532012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1754
1755 [BZ #13761]
1756 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1757 _nss_compat_initgroups_dyn): Fall back to malloc/free
1758 for large group memberships.
1759
18c9d62b
DM
17602012-03-28 David S. Miller <davem@davemloft.net>
1761
88d85d4f
DM
1762 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1763 that branches into memcpy.
1764 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1765 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1766 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1767 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1768 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1769 bits.
1770 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1771 implementation too.
1772 * sysdeps/sparc/mempcpy.S: New file.
1773
e5aa83e1
DM
1774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1775 the IFUNC routine in the libc case.
1776 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1777
88570753
DM
1778 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1779 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1780 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1781 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1782 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1783 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1784 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1785 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1786
249d7567
DM
1787 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1788 loop to 256 bytes instead of 64 bytes and fix test signedness.
1789
18c9d62b
DM
1790 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1791 * sysdeps/sparc/sparc32/Makefile: rather than here...
1792 * sysdeps/sparc/sparc64/Makefile: and here.
1793
05f3d1f6
UD
17942012-03-28 Ulrich Drepper <drepper@gmail.com>
1795
1796 * malloc/mallocbug.c: Avoid warnings about unused variables.
1797
86ae07a8
JL
17982012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1799
1800 [BZ #13760]
1801 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1802 in the right place. Discard and retry query if response is
1803 larger than input buffer size.
1804
41bf21a1
JM
18052012-03-28 Joseph Myers <joseph@codesourcery.com>
1806
d6270972
JM
1807 [BZ #369]
1808 [BZ #2678]
1809 [BZ #3866]
1810 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1811 x for large integer exponent.
1812 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1813 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1814 sign of result as needed afterwards.
1815 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1816 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1817 result for underflowing pow the same as for overflow.
1818 (__kernel_standard_l): Handle powl overflow and underflow here
1819 rather than calling __kernel_standard.
1820 * math/libm-test.inc (pow_test): Add more tests.
1821
414fca03 1822 [BZ #3868]
41bf21a1
JM
1823 [BZ #13879]
1824 [BZ #13910]
1825 [BZ #13911]
1826 [BZ #13912]
1827 [BZ #13913]
1828 [BZ #13915]
1829 [BZ #13916]
1830 [BZ #13917]
1831 [BZ #13918]
1832 [BZ #13919]
1833 [BZ #13920]
1834 [BZ #13921]
1835 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1836 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1837 (__kernel_standard_l): New function.
1838 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1839 __kernel_standard.
1840 * math/w_acosl.c (__acosl): Likewise.
1841 * math/w_asinl.c (__asinl): Likewise.
1842 * math/w_atan2l.c (__atan2l): Likewise.
1843 * math/w_atanhl.c (__atanhl): Likewise.
1844 * math/w_coshl.c (__coshl): Likewise.
1845 * math/w_exp10l.c (__exp10l): Likewise.
1846 * math/w_exp2l.c (__exp2l): Likewise.
1847 * math/w_fmodl.c (__fmodl): Likewise.
1848 * math/w_hypotl.c (__hypotl): Likewise.
1849 * math/w_j0l.c (__j0l, __y0l): Likewise.
1850 * math/w_j1l.c (__j1l, __y1l): Likewise.
1851 * math/w_jnl.c (__jnl, __ynl): Likewise.
1852 * math/w_lgammal.c (__lgammal): Likewise.
1853 * math/w_log10l.c (__log10l): Likewise.
1854 * math/w_log2l.c (__log2l): Likewise.
1855 * math/w_logl.c (__logl): Likewise.
1856 * math/w_powl.c (__powl): Likewise.
1857 * math/w_remainderl.c (__remainderl): Likewise.
1858 * math/w_scalbl.c (sysv_scalbl): Likewise.
1859 * math/w_sinhl.c (__sinhl): Likewise.
1860 * math/w_sqrtl.c (__sqrtl): Likewise.
1861 * math/w_tgammal.c (__tgammal): Likewise.
1862 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1863 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1864 * math/libm-test.inc (acos_test): Add more tests.
1865 (acosh_test): Likewise.
1866 (asin_test): Likewise.
1867 (atanh_test): Likewise.
1868 (exp_test): Likewise.
1869 (exp10_test): Likewise.
1870 (exp2_test): Likewise.
1871 (expm1_test): Likewise.
1872 (lgamma_test): Likewise.
1873 (log_test): Likewise.
1874 (log10_test): Likewise.
1875 (log1p_test): Likewise.
1876 (log2_test): Likewise.
1877 (pow_test): Do not allow some spurious overflow exceptions.
1878 (sqrt_test): Add more tests.
1879 (tgamma_test): Likewise.
1880 (y0_test): Likewise.
1881 (y1_test): Likewise.
1882 (yn_test): Likewise.
1883
dd62fda6
AB
18842012-03-27 Anton Blanchard <anton@samba.org>
1885
1886 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1887 MAP_HUGETLB.
1888 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1889 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1890 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1891
1e3cdfda
AJ
18922012-03-27 David S. Miller <davem@davemloft.net>
1893
b855ab85
DM
1894 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1895
1e3cdfda
AJ
1896 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1897 have-as-vis3 check.
1898
18992012-03-27 Andreas Jaeger <aj@suse.de>
1900
1901 * sysdeps/x86_64/elf/configure.in: Moved to ...
1902 * sysdeps/x86_64/configure.in: ... here.
1903 * sysdeps/x86_64/elf/start.S: Moved to ...
1904 * sysdeps/x86_64/start.S: ... here.
1905 * sysdeps/x86_64/elf/configure: Delete.
1906
1907 * sysdeps/x86_64/configure.in: Merge contents from
1908 sysdeps/i386/configure.in (without i686 check).
1909
1910 * sysdeps/i386/elf/Versions: Merge into ...
1911 * sysdeps/i386/Versions: ... this.
1912 * sysdeps/i386/elf/Versions: Delete file.
1913 * sysdeps/i386/elf/start.S: Moved to ...
1914 * sysdeps/i386/start.S: ...here.
1915 * sysdeps/i386/elf/configure.in: Merge into...
1916 * sysdeps/i386/configure.in: ...here.
1917 * sysdeps/i386/elf/configure.in: Delete file.
1918 * sysdeps/i386/elf/configure: Delete file.
1919
1920 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1921 * debug/backtracesyms.c: ... here.
1922 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1923 * debug/backtracesymsfd.c: ... here.
1924 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1925 * sysdeps/generic/ifunc-sel.h: ... here.
1926
1927 * sysdeps/unix/i386/start.c: Delete file.
1928 * sysdeps/unix/sparc/start.c: Delete file.
1929 * sysdeps/unix/start.c: Delete file.
1930
1931 * sysdeps/sh/elf/configure.in: Moved to ...
1932 * sysdeps/sh/configure.in: ... here.
1933 * sysdeps/sh/elf/start.S: Moved to ...
1934 * sysdeps/sh/start.S: ... here.
1935 * sysdeps/sh/elf/configure: Delete file.
1936
1937 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1938 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1939 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1940 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1941 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1942 * sysdeps/powerpc/powerpc64/start.S: here.
1943 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1944 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1945 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1946 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1947 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1948
1949 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1950 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1951 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1952 * sysdeps/powerpc/powerpc32/start.S: ... here.
1953 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1954 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1955 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1956
1957 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1958 * sysdeps/powerpc/ifunc-sel.h: ... here.
1959 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1960 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1961
1962 * sysdeps/sparc/elf/configure.in: Moved to ...
1963 * sysdeps/sparc/configure.in: ... here.
1964 * sysdeps/sparc/elf/configure: Delete file.
1965 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1966 * sysdeps/sparc/sparc32/start.S: ... here.
1967 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1968 * sysdeps/sparc/sparc64/start.S: ... here.
1969 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1970 * sysdeps/sparc/sparc32/Makefile: ... this.
1971 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1972 * sysdeps/sparc/sparc64/Makefile: ... this.
1973
1974 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1975 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1976 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1977 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1978 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1979 * sysdeps/s390/s390-32/setjmp.S: ... here.
1980 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1981 * sysdeps/s390/s390-32/configure.in: ... here.
1982 * sysdeps/s390/s390-32/elf/configure: Delete file.
1983 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1984 * sysdeps/s390/s390-32/start.S: ... here.
1985
1986 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1987 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1988 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1989 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1990 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1991 * sysdeps/s390/s390-64/setjmp.S: ... here.
1992 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1993 * sysdeps/s390/s390-64/configure.in: ... here
1994 * sysdeps/s390/s390-64/elf/configure: Delete file.
1995 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1996 * sysdeps/s390/s390-64/start.S: ... here.
1997 * sysdeps/s390/s390-64/elf/configure: Delete.
1998
1999 * configure.in: Remove support for elf directories in sysdeps.
2000
2001 * configure: Regenerated.
2002 * sysdeps/i386/configure: Regenerated.
2003 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2004 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2005 * sysdeps/s390/s390-32/configure: Regenerated.
2006 * sysdeps/s390/s390-64/configure: Regenerated.
2007 * sysdeps/sh/configure: Regenerated.
2008 * sysdeps/sparc/configure: Regenerated.
2009 * sysdeps/x86_64/configure: Regenerated.
2010
a3f61311
AS
20112012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2012
c876e002
AS
2013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2014
a3f61311
AS
2015 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2016 denormal result into account.
2017
ac4c54f0
RM
20182012-03-25 Roland McGrath <roland@hack.frob.com>
2019
2020 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2021 Reported by Allan McRae <allan@archlinux.org>.
2022
6a9b9c02
JL
20232012-03-23 Jeff Law <law@redhat.com>
2024
2025 * nss/getnssent.c (__nss_getent): Fix typo.
2026
4c42a0c1
DM
20272012-03-23 David S. Miller <davem@davemloft.net>
2028
2029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2030
1532c7ac
L
20312012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2032
2033 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2034 to pad to uint64_t for each field.
2035 (dl_tls_index): Replace unsigned long with uint64_t.
2036
3ff42526
PP
20372012-03-23 Daniel Jacobowitz <dmj@google.com>
2038 Paul Pluzhnikov <ppluzhnikov@google.com>
2039
2040 [BZ #6528]
2041 * grp/Makefile (otherlibs): Don't set it.
2042 * inet/Makefile (otherlibs): Likewise.
2043 * login/Makefile (otherlibs): Likewise.
2044 * nscd/Makefile (otherlibs): Likewise.
2045 * posix/Makefile (otherlibs): Likewise.
2046 * pwd/Makefile (otherlibs): Likewise.
2047 * rt/Makefile (otherlibs): Likewise.
2048 * sunrpc/Makefile (otherlibs): Likewise.
2049 * nss/Makefile (otherlibs): Likewise.
2050 Add libnss_files to routines and static-only-routines.
2051 ($(objpfx)getent): Remove rule.
2052 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2053 static-only-routines.
2054
7c69cd14
JM
20552012-03-22 Joseph Myers <joseph@codesourcery.com>
2056
2057 [BZ #13892]
2058 * math/s_cexp.c: Include <float.h>.
2059 (__cexp): Handle exp result overflowing not necessarily
2060 overflowing both real and imaginary parts of result.
2061 * math/s_cexpf.c: Likewise.
2062 * math/s_cexpl.c: Likewise.
2063 * math/libm-test.inc (cexp_test): Add more tests.
2064 * sysdeps/i386/fpu/libm-test-ulps: Update.
2065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2066
81b035fe
L
20672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2068
2069 * include/link.h (ELFW): New macro.
2070 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2071 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2072
1da7940c
L
20732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2074
2075 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2076 with uint64_t.
2077
b749dbb9
L
20782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2079
2080 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2081 declaration.
2082 (struct La_x32_retval): Likewise.
2083
2ff87f3f
L
20842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2085
2086 * sysdeps/x86_64/preconfigure.in: New file.
2087 * sysdeps/x86_64/preconfigure: New generated file.
2088
c0df8e69
JM
20892012-03-22 Joseph Myers <joseph@codesourcery.com>
2090
48e44791
JM
2091 [BZ #13824]
2092 * math/e_exp2l.c: Include <float.h>.
2093 (__ieee754_exp2l): Handle overflow and underflow cases
2094 separately. Only pass fractional part of argument to
2095 __ieee754_expl.
2096 * math/libm-test.inc (exp2_test): Add more tests.
2097
c0df8e69
JM
2098 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2099 negating x to take absolute value.
2100 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2101 Likewise.
2102 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2103 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2104 Likewise.
2105 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2106 computing low part if x was negated.
2107 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2108
c8e43ba7
L
21092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2110
2111 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2112 la_x32_gnu_pltexit.
2113 (pltexit): Cast int_retval to ptrdiff_t.
2114 * elf/tst-auditmod3b.c: Likewise.
2115 * elf/tst-auditmod4b.c: Likewise.
2116 * elf/tst-auditmod5b.c: Likewise.
2117 * elf/tst-auditmod6b.c: Likewise.
2118 * elf/tst-auditmod6c.c: Likewise.
2119 * elf/tst-auditmod7b.c: Likewise.
2120
2121 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2122 and x32_gnu_pltexit.
2123
2124 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2125 __ELF_NATIVE_CLASS.
2126 (La_x32_regs): New macro.
2127 (La_x32_retval): Likewise.
2128 (la_x32_gnu_pltenter): New function prototype.
2129 (la_x32_gnu_pltexit): Likewise.
2130
7998fa78
AS
21312012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2132
dcb33988
AS
2133 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2134 exponent.
2135
233fc563
AS
2136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2137
7998fa78
AS
2138 * configure.in (libc_cv_cc_nofma): Check for option to disable
2139 generation of FMA instructions.
2140 * configure: Regenerate.
2141 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2142 * sysdeps/ieee754/dbl-64/Makefile: New file.
2143 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2144 Remove brandred-fma4.
2145 (CFLAGS-brandred-fma4.c): Remove.
2146 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2147 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2148 define.
2149 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2150 define.
2151
8e95c99a
L
21522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2153
2154 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2155 LLONG_MAX != LONG_MAX.
2156 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2157 (_fitoa_word): Likewise.
2158 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2159 LLONG_MAX != LONG_MAX.
2160 * stdio-common/_itowa.h: Include <_itoa.h>.
2161 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2162 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2163 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2164 only if not defined.
2165 (_ITOA_WORD_TYPE): Likewise.
2166 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2167 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2168
6f4db457
DM
21692012-03-21 David S. Miller <davem@davemloft.net>
2170
2171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2172
7785fe5a
L
21732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2174
2175 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2176 of x86_64 when setting libc_cv_slibdir, libdir and
2177 libc_cv_localedir.
2178 * sysdeps/unix/sysv/linux/configure: Regenerated.
2179
4535cd55
JM
21802012-03-21 Joseph Myers <joseph@codesourcery.com>
2181
2182 * manual/lang.texi (Old Varargs): Remove section.
2183 (How Variadic): Update menu.
2184 (va_start): Do not mention varargs.h.
2185
17228132
TS
21862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2187 Joseph Myers <joseph@codesourcery.com>
2188
2189 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2190 link test.
2191 * configure: Regenerated.
2192
8149f976
TS
21932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2194
05f3d1f6
UD
2195 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2196 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2197 conformtest.pl
8149f976 2198
1a4ac776
JM
21992012-03-21 Joseph Myers <joseph@codesourcery.com>
2200
be22ce65
JM
2201 * NOTES: Remove.
2202 * Makefile (files-for-dist): Remove NOTES.
2203 (NOTES): Remove rule.
2204 * README: Don't refer to NOTES.
2205 * manual/creature.texi: Don't include macros.texi.
2206 * manual/intro.texi (creature.texi): Remove comment referring to
2207 NOTES.
2208
40b601fb
JM
2209 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2210 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2211 * configure: Regenerated.
2212 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2213 LIBC_TRY_CC_OPTION.
2214 (libc_cv_as_i686): Likewise.
2215 (libc_cv_cc_avx): Likewise.
2216 (libc_cv_cc_sse2avx): Likewise.
2217 (libc_cv_cc_fma4): Likewise.
2218 (libc_cv_cc_novzeroupper): Likewise.
2219 * sysdeps/i386/configure: Regenerated.
2220
1a4ac776
JM
2221 [BZ #13883]
2222 * sysdeps/i386/fpu/s_cexp.S: Remove.
2223 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2224 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2225 * math/libm-test.inc (cexp_test): Add more tests.
2226 * sysdeps/i386/fpu/libm-test-ulps: Update.
2227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2228
a458e7fe
AM
22292012-03-21 Allan McRae <allan@archlinux.org>
2230
2231 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2232
0cb7efc5
JM
22332012-03-21 Joseph Myers <joseph@codesourcery.com>
2234
2235 [BZ #13871]
2236 * math/w_exp2.c: Do not include <float.h>.
2237 (o_threshold, u_threshold): Remove.
2238 (__exp2): Calculate result before checking finiteness and calling
2239 __kernel_standard.
2240 * math/w_exp2f.c: Likewise.
2241 * math/w_exp2l.c: Likewise.
2242 * math/libm-test.inc (exp2_test): Require overflow exception for
2243 1e6 input.
2460d3aa
JM
2244
2245 [BZ #3866]
2246 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2247 range of signed 64-bit integers before using fistpll. Remove
2248 checks for whether integers fit in mantissa bits.
2249 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2250 the range of signed 32-bit integers before using fistpl. Remove
2251 checks for whether integers fit in mantissa bits.
2252 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2253 (__ieee754_powl): Test for y outside the range of signed 64-bit
2254 integers before using fistpll. Reduce 64-bit values to 63-bit
2255 ones as needed.
2256 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2257 divide-by-zero is raised for zero to large negative powers.
2258 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2259 (__ieee754_powl): Test for y outside the range of signed 64-bit
2260 integers before using fistpll. Reduce 64-bit values to 63-bit
2261 ones as needed.
2262 * math/libm-test.inc (pow_test): Add more tests.
2263
eb96ffb0
L
22642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2265
2266 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2267 <stdio-common/_itoa.h>.
2268 * debug/segfault.c: Likewise.
2269 * elf/dl-cache.c: Likewise.
2270 * elf/dl-minimal.c: Likewise.
2271 * elf/dl-misc.c: Likewise.
2272 * elf/dl-sysdep.c: Likewise.
2273 * elf/dl-version.c: Likewise.
2274 * elf/rtld.c: Likewise.
2275 * hurd/hurdsock.c: Likewise.
2276 * hurd/lookup-retry.c: Likewise.
2277 * malloc/malloc.c: Likewise.
2278 * malloc/mtrace.c: Likewise.
2279 * nscd/nscd_getgr_r.c: Likewise.
2280 * nscd/nscd_getpw_r.c: Likewise.
2281 * nscd/nscd_getserv_r.c: Likewise.
2282 * posix/getopt_init.c: Likewise.
2283 * posix/wordexp.c: Likewise.
2284 * stdio-common/_itoa.c: Likewise.
2285 * stdio-common/printf_fphex.c: Likewise.
2286 * stdio-common/vfprintf.c: Likewise.
2287 * string/_strerror.c: Likewise.
2288 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2289 * sysdeps/i386/i686/hp-timing.h: Likewise.
2290 * sysdeps/mach/_strerror.c: Likewise.
2291 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2292 * sysdeps/mach/hurd/sethostid.c: Likewise.
2293 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2294 * sysdeps/mach/xpg-strerror.c: Likewise.
2295 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2296 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2297 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2298 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2299 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2300 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2301 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2302 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2303 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2304 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2305 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2306 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2307 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2308 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2309 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2310 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2311 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2312 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2313 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2314 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2315 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2316
2317 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2318
2319 * stdio-common/_itoa.h: Moved to ...
2320 * sysdeps/generic/_itoa.h: Here.
2321
2322 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2323
2324 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2325 instead of "_itoa.h" and "_itowa.h".
2326 * stdio-common/vfprintf.: Likewise.
2327
d1af992d
L
23282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2329
2330 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2331 <bits/wordsize.h>.
2332 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2333 (__signbit): Likwise.
2334 (llrintf): Likwise.
2335 (llrint): Likwise.
2336
114883e0
L
23372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2338
2339 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2340 __WORDSIZE != 64.
2341
c135cc1b
JM
23422012-03-20 Joseph Myers <joseph@codesourcery.com>
2343
2344 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2345 OVERFLOW_EXCEPTION_OK.
2346 * math/libm-test.inc ("Philosophy"): Update comment about
2347 exception testing.
2348 (OVERFLOW_EXCEPTION): Define.
2349 (OVERFLOW_EXCEPTION_OK): Likewise.
2350 (INVALID_EXCEPTION_OK): Renumber.
2351 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2352 (IGNORE_ZERO_INF_SIGN): Likewise.
2353 (test_exceptions): Handle FE_OVERFLOW.
2354 (exp10_test): Expect overflow exceptions.
2355 (exp2_test): Likewise.
2356 (expm1_test): Likewise.
2357 (nextafter_test): Likewise.
2358 (pow_test): Likewise.
2359 (scalbn_test): Likewise.
2360 (scalbln_test): Likewise.
2361
95443d88
L
23622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2363
2364 * sysdeps/x86_64/bits/atomic.h
2365 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2366 64bit integer.
2367 (atomic_exchange_acq): Likewise.
2368 (__arch_exchange_and_add_body): Likewise.
2369 (__arch_add_body): Likewise.
2370 (atomic_add_negative): Likewise.
2371 (atomic_add_zero): Likewise.
2372
490df6c4
L
23732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2374
c2722551 2375 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2376 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2377
5e52b189
L
23782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2379
2380 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2381 Check __x86_64__ instead of __WORDSIZE.
2382
a9879d4c
L
23832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2384
2385 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2386
5df98260
DM
23872012-03-19 David S. Miller <davem@davemloft.net>
2388
e1497744
DM
2389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2390
5df98260
DM
2391 * sysdeps/sparc/fpu/fenv_private.h: New file.
2392 * sysdeps/sparc/fpu/math_private.h: Use it.
2393 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2394 Remove.
2395 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2396 (libc_feholdexcept_setroundl): Remove.
2397 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2398 Remove.
2399 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2400 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2401
b4c35121
L
24022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2403
2404 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2405 int64_t instead of long int.
2406 (INSERT_WORDS64): Likwise.
2407
56965fd7
L
24082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2409
2410 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2411 _Unwind_GetCFA return to _Unwind_Ptr first.
2412
83d1aec8
JM
24132012-03-19 Joseph Myers <joseph@codesourcery.com>
2414
1897ad44
JM
2415 [BZ #13629]
2416 * math/s_clog.c: Include <float.h>.
2417 (__clog): Scale large or subnormal inputs.
2418 * math/s_clogf.c: Likewise.
2419 * math/s_clogl.c: Likewise.
2420 * math/s_clog10.c: Include <float.h>.
2421 (M_LOG10_2): Define.
2422 (__clog10): Scale large or subnormal inputs.
2423 * math/s_clog10f.c: Likewise.
2424 * math/s_clog10l.c: Likewise.
2425 * math/libm-test.inc (clog_test): Add more tests.
2426 (clog10_test): Likewise.
2427 * sysdeps/i386/fpu/libm-test-ulps: Update.
2428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2429
7726d6a9
JM
2430 [BZ #11451]
2431 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2432 x and y.
2433 * math/libm-test.inc (atan2_test): Add another test.
2434
83d1aec8
JM
2435 * Makerules (common-objdir-compile): Remove.
2436 * sysdeps/unix/Makefile (config-generated): Do not add
2437 $(unix-generated) to variable.
2438 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2439 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2440 Remove rule.
2441 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2442 Likewise.
2443 [generic bits/local_lim.h] (before-compile): Do not append to
2444 variable.
2445 [generic bits/local_lim.h] (common-generated): Likewise.
2446 [generic sys/param.h] (before-compile): Do not append to variable.
2447 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2448 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2449 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2450 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2451 include.
2452 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2453 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2454 [generic sys/param.h] ($(addprefix
2455 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2456 [generic sys/param.h] (common-generated): Do not append to
2457 variable.
2458 [generic sys/param.h] (sysdep_headers): Likewise.
2459 [generic bits/errno.h] (before-compile): Do not append to
2460 variable.
2461 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2462 rule.
2463 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2464 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2465 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2466 [generic bits/errno.h] (common-generated): Do not append to
2467 variable.
2468 [generic bits/ioctls.h] (before-compile): Do not append to
2469 variable.
2470 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2471 rule.
2472 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2473 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2474 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2475 rule.
2476 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2477 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2478 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2479 [generic bits/ioctls.h] (common-generated): Do not append to
2480 variable.
2481 [generic sys/syscall.h] (syscall.h): Remove variable.
2482 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2483 rule.
2484 [generic sys/syscall.h] (before-compile): Do not append to
2485 variable.
2486 [generic sys/syscall.h] (common-generated): Likewise.
2487 * sysdeps/unix/errnos-tmpl.c: Remove file.
2488 * sysdeps/unix/errnos.awk: Likewise.
2489 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2490 * sysdeps/unix/ioctls.awk: Likewise.
2491 * sysdeps/unix/mk-local_lim.c: Likewise.
2492 * sysdeps/unix/snarf-ioctls: Likewise.
2493
4851a949
RH
24942012-03-19 Richard Henderson <rth@twiddle.net>
2495
bd37f2ee
RH
2496 * sysdeps/i386/fpu/fenv_private.h: New file.
2497 * sysdeps/i386/fpu/math_private.h: Use it.
2498 (math_opt_barrier, math_force_eval): Remove.
2499 (libc_feholdexcept_setround_53bit): Remove.
2500 (libc_feupdateenv_53bit): Remove.
2501 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2502 (math_opt_barrier, math_force_eval): Remove.
2503 (libc_feholdexcept): Remove.
2504 (libc_feholdexcept_setround): Remove.
2505 (libc_fetestexcept, libc_fesetenv): Remove.
2506 (libc_feupdateenv_test): Remove.
2507 (libc_feupdateenv, libc_feholdsetround): Remove.
2508 (libc_feresetround): Remove.
2509
d0adc922
RH
2510 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2511 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2512
0fe0f1f8
RH
2513 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2514 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2515 (libc_feupdateenv_testl): New.
2516 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2517 (libc_feupdateenv_testf): New.
2518 (libc_feupdateenv): Use libc_feupdateenv_test.
2519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2520 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2521
eb92c487
RH
2522 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2523 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2524 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2525 (libc_feresetround_noex): New.
2526 (libc_feresetround_noexf): New.
2527 (libc_feresetround_noexl): New.
2528 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2529 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2530 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2531 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2532 SET_RESTORE_ROUND.
2533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2534 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2535 (__cos): Likewise.
2536 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2537 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2538 SET_RESTORE_ROUND_NOEX.
2539 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2540 SET_RESTORE_ROUND_NOEXF.
2541 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2542 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2543 (libc_feholdsetroundf): New.
2544 (libc_feresetround, libc_feresetroundf): New.
2545
7d2e8012
RH
2546 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2547 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2548 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2549
b4dabbb4
RH
2550 * sysdeps/generic/math_private.h: Include <fenv.h>.
2551 (default_libc_feholdexcept): New.
2552 (default_libc_feholdexcept_setround): New.
2553 (default_libc_fesetenv, default_libc_feupdateenv): New.
2554 (libc_feholdexcept): Only define if undefined.
2555 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2556 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2557 (libc_feholdexcept_setroundl): Likewise.
2558 (libc_feholdexcept_setround_53bit): Likewise.
2559 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2560 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2561 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2562 (libc_feupdateenv_53bit): Likewise.
2563 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2564 (libc_feholdexcept): Convert from macro to inline function.
2565 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2566 (libc_fesetenv, libc_feupdateenv): Likewise.
2567
4851a949
RH
2568 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2569 not previously defined.
2570 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2571 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2572 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2573 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2574 * sysdeps/ieee754/flt-32/math_private.h: New file.
2575 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2576 math_private.h below SET_FLOAT_WORD.
2577 (__isnan, __isinf_ns, __finite): Remove.
2578 (__isnanf, __isinf_nsf, __finitef): Remove.
2579
e79d442e
AS
25802012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2581
2582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2583
90b80344
DM
25842012-03-17 David S. Miller <davem@davemloft.net>
2585
2586 [BZ #6471]
2587 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2588 for 2.16.
2589
edc21804
DM
25902012-03-16 David S. Miller <davem@davemloft.net>
2591
77e927af
DM
2592 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2593 warnings.
2594
374976dd
DM
2595 [BZ #6471]
2596 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2597 properly.
2598 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2599 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2600 sysdep_routines when subdir is sysvipc.
2601 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2602 __getshmlba helper.
2603
edc21804
DM
2604 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2605
473c3ef3
L
26062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2607
2608 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2609 [__LP64__].
2610
eb0f39b6
L
26112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2612
2613 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2614 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2615 (__lround): Renamed to ...
2616 (__llround): This. Replace long int with long long int.
2617 Define lround functions as aliases of llround functions.
2618 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2619
6b6cd74b
L
26202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2621
2622 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2623 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2624 adresses to uintptr_t. Replace "long int" and "unsigned long
2625 int" with "greg_t" on va_arg.
2626
f1a77b01
L
26272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2628
2629 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2630 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2631
2632 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2633 Move e_machine check before EI_CLASS check. Handle x32
2634 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2635 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2636 SKIP_EM_IA_64 and include
2637 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2638
2639 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2640 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2641 (add_system_dir): New macro.
2642
2643 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2644 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2645
11b90b9f
JM
26462012-03-16 Joseph Myers <joseph@codesourcery.com>
2647
c36e1d23
JM
2648 [BZ #2551]
2649 [BZ #2552]
2650 [BZ #2553]
2651 [BZ #2554]
2652 [BZ #2562]
2653 [BZ #2563]
2654 [BZ #2565]
2655 [BZ #2566]
2656 [BZ #2576]
2657 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2658 (y0): Likewise.
2659 * math/w_j0f.c (j0f): Likewise.
2660 (y0f): Likewise.
2661 * math/w_j0l.c (__j0l): Likewise.
2662 (__y0l): Likewise.
2663 * math/w_j1.c (j1): Likewise.
2664 (y1): Likewise.
2665 * math/w_j1f.c (j1f): Likewise.
2666 (y1f): Likewise.
2667 * math/w_j1l.c (__j1l): Likewise.
2668 (__y1l): Likewise.
2669 * math/w_jn.c (jn): Likewise.
2670 (yn): Likewise.
2671 * math/w_jnf.c (jnf): Likewise.
2672 (ynf): Likewise.
2673 * math/w_jnl.c (__jnl): Likewise.
2674 (__ynl): Likewise.
2675 * math/libm-test.inc (j0_test): Add more tests.
2676 (j1_test): Likewise.
2677 (jn_test): Likewise. Add trailing semicolon to existing test.
2678 (y0_test): Likewise.
2679 (y1_test): Likewise.
2680 * sysdeps/i386/fpu/libm-test-ulps: Update.
2681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2682
11b90b9f
JM
2683 [BZ #13851]
2684 [BZ #13854]
2685 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2686 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2687 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2688 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2689 (__tanl): Set errno for infinite argument.
2690 * sysdeps/i386/fpu/mptan.c: Remove.
2691 * sysdeps/i386/fpu/s_tan.S: Likewise.
2692 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2693 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2694 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2695 * math/libm-test.inc (tan_test): Add more tests and enable more
2696 tests for double and long double.
2697 * sysdeps/i386/fpu/libm-test-ulps: Update.
2698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2699
6a1bd2a1
JK
27002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2701
2702 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2703 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2704
10a803e0
RM
27052012-03-16 Roland McGrath <roland@hack.frob.com>
2706
2707 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2708 * configure.in: Use it for both main tree and add-ons.
2709 * configure: Regenerated.
2710
f196c7f7
L
27112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2712
2713 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2714
8848d99d
JM
27152012-03-16 Joseph Myers <joseph@codesourcery.com>
2716
96cbe7f4
JM
2717 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2718 in comment.
2719
8848d99d
JM
2720 [BZ #13851]
2721 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2722 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2723 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2724 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2725 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2726 infinite argument.
2727 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2728 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2729 != 0 for prec == 2.
2730 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2731 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2732 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2733 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2734 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2735 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2736 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2737 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2738 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2739 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2740 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2741 * math/libm-test.inc (cos_test): Add more tests and enable more
2742 tests for long double.
2743 (sin_test): Likewise.
2744 (sincos_test): Likewise.
2745 * sysdeps/i386/fpu/libm-test-ulps: Update.
2746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2747
dd7f4703
DM
27482012-03-16 David S. Miller <davem@davemloft.net>
2749
2750 * sysdeps/sparc/fpu/math_private.h: New file.
2751
006f1daa
DM
27522012-03-15 David S. Miller <davem@davemloft.net>
2753
c0c83bc8
DM
2754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2755 file.
e6a62e18 2756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
2757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2758 file.
e6a62e18
DM
2759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2762 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2765 sysdep routines.
2766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2767
88cb87d9
DM
2768 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2769 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2770
006f1daa 2771 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
2772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2773 sparc-ifunc.h
006f1daa 2774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
2775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2776 Likewise.
2777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2778 Likewise.
006f1daa
DM
2779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
2782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2783 Likewise.
006f1daa
DM
2784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
2788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2789 Likewise.
2790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2791 Likewise.
006f1daa
DM
2792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2797 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2798 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2799 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2812 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2813 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2814 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2815 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2816
11e0098e
AS
28172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2818
2819 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2820 scaling.
2821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2822
e85b09d0
AJ
28232012-03-15 Andreas Jaeger <aj@suse.de>
2824
2825 [BZ #13852]
2826 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2827 ieee754/flt-32 implementation for sin, cos and sincos.
2828 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2829 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2830 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2831 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2832 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2833 ieee754/flt-32 implementation for tan.
2834
2835 * math/libm-test.inc (cos_test): Enable some large input tests for
2836 float as well
2837 (sin_test): Likewise.
2838 (sincos_test): Likewise.
2839 (tan_test): Add tests for large input.
2840
2841 * sysdeps/i386/fpu/libm-test-ulps: Update.
2842
81c64153
AJ
28432012-03-15 Andreas Jaeger <aj@suse.de>
2844
2845 [BZ #13658]
2846 * math/libm-test.inc (cos_test): Add more test cases.
2847 (sin_test): Likewise.
2848 (sincos_test): Likewise.
2849
7bbfa5c6
AJ
28502012-03-15 Andreas Jaeger <aj@suse.de>
2851
2852 [BZ #13837]
2853 * math/libm-test.inc (cos_test): Add a test case for large input
2854 value.
2855 (sin_test): Likewise.
2856 (sincos_test): Likewise.
2857
28582012-03-15 Andreas Jaeger <aj@suse.de>,
2859 Joseph Myers <joseph@codesourcery.com>
2860
2861 [BZ #13658]
0671f479 2862 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
2863 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2864 * sysdeps/i386/fpu/branred.c: Likewise.
2865 * sysdeps/i386/fpu/dosincos.c: Likewise.
2866 * sysdeps/i386/fpu/mpa.c: Likewise.
2867 * sysdeps/i386/fpu/s_cos.S: Likewise.
2868 * sysdeps/i386/fpu/s_sin.S: Likewise.
2869 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2870 * sysdeps/i386/fpu/sincos32.c: Likewise.
2871
2872 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2873 Define.
2874 (libc_feupdateenv_53bit): Define.
2875 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2876 Define.
2877 (libc_feupdateenv_53bit): Define.
2878
2879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2880 53 bit (without extend i386 double precision).
2881
2882 * math/libm-test.inc (sincos_test): Add tests for large input.
2883 (sin): Likewise.
2884 (cos): Likewise.
2885
2886 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2887
9cad04ea
AS
28882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2889
2890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2891
f7062b9a
DM
28922012-03-15 David S. Miller <davem@davemloft.net>
2893
2894 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2895 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2896 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2897 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
2909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2910 file.
f7062b9a 2911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
2912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2913 file.
f7062b9a 2914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
2915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2916 file.
f7062b9a 2917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
2918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2919 file.
f7062b9a
DM
2920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2922 fmin/fmax sysdep routines.
2923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2924
7bd951ff
DM
29252012-03-14 David S. Miller <davem@davemloft.net>
2926
559398ab
DM
2927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2931 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2932 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2933 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2934 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2947 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2948 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2949 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2950 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2951 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2952 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2953 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2954 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2955 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2956 routines.
2957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2958 file.
559398ab 2959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
2960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2961 file.
559398ab 2962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
2963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2964 file.
559398ab 2965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
2966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2967 file.
559398ab 2968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
2969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2970 file.
559398ab 2971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
2972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2973 file.
2974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2975 file.
2976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2977 file.
2978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2979 file.
2980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2981 New file.
2982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2983 file.
2984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2985 file.
559398ab 2986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
2987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2988 file.
559398ab 2989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2991 file.
559398ab 2992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
2993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2994 file.
559398ab 2995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
2996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2997 VIS3 routines.
559398ab
DM
2998
2999 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3000 New file.
3001
5a1c1e32
DM
3002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3003
eae47a36
DM
3004 * sysdeps/sparc/configure.in: New file.
3005 * sysdeps/sparc/configure: Generate.
3006 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3007 * configure: Regenerate.
3008 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3009 * config.make.in (have-as-vis3): New.
3010 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3011 available use -Av9d instead of -Av9a.
3012 * sysdeps/sparc/sparc64/Makefile: Likewise.
3013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3015 New file.
3016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3017 file.
3018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3019 New file.
3020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3021 file.
eae47a36
DM
3022 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3023 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3024 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3025 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3026 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3027
c0c83bc8
DM
3028 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3029 fzeros/fnegs to load 0x80000000 into a float register instead of
3030 using the stack.
7bd951ff
DM
3031 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3032
bd951ccb
JM
30332012-03-14 Joseph Myers <joseph@codesourcery.com>
3034
3035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3036 bits/syscall.h.
3037 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3038 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3039 ($(inst_includedir)/bits/syscall.h): Remove rule.
3040 ($(objpfx)bits/syscall.d): Include instead of
3041 $(objpfx)syscall-list.d.
3042 (generated): Change syscall-list.h and syscall-list.d to
3043 bits/syscall.h and bits/syscall.d.
3044
bb4e6db2
RM
30452012-03-14 Roland McGrath <roland@hack.frob.com>
3046
3047 [BZ #13846]
3048 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3049
aa4a2ae1
JM
30502012-03-14 Joseph Myers <joseph@codesourcery.com>
3051
e456826d
JM
3052 [BZ #13841]
3053 * math/s_csqrt.c: Include <float.h>.
3054 (__csqrt): Scale large or subnormal inputs.
3055 * math/s_csqrtf.c: Likewise.
3056 * math/s_csqrtl.c: Likewise.
3057 * math/libm-test.inc (csqrt_test): Add more tests.
3058 * sysdeps/i386/fpu/libm-test-ulps: Update.
3059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3060
aa4a2ae1
JM
3061 [BZ #13840]
3062 * math/libm-test.inc (hypot_test): Add more tests.
3063
7c10fd35
DM
30642012-03-13 David S. Miller <davem@davemloft.net>
3065
3066 [BZ #13840]
3067 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3068 double-precision for the calculation instead of scaling.
3069
f453b98b
JM
30702012-03-13 Joseph Myers <joseph@codesourcery.com>
3071
3072 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3073 manipulate bits before adding and subtracting TWO52[sx].
3074 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3075 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3076 Likewise.
3077 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3078
09a3453f
DM
30792012-03-13 David S. Miller <davem@davemloft.net>
3080
8e59da90
DM
3081 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3082 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3084 rtld-global-offsets.h
3085 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3086
2a8ab7f2
DM
3087 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3088 large parameters.
3089
10f62770
DM
3090 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3091
5f0bdb18
DM
3092 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3093 'err' in the ifdef scope in which it is actually used.
3094
09a3453f
DM
3095 * nss/nss_db/db-init.c: Include string.h
3096
b4b2eb5e
DM
30972012-03-12 David S. Miller <davem@davemloft.net>
3098
98bb2f1c
DM
3099 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3100 masking out of the most significant byte of random value used.
3101 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3102 Fix coding style in previous change.
3103
b4b2eb5e
DM
3104 * sysdeps/unix/sysv/linux/kernel-features.h
3105 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3106 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3107 expression.
3108 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3109 later.
3110
6e226b09
DM
31112012-03-11 David S. Miller <davem@davemloft.net>
3112
a1bcbd40
DM
3113 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3114 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3115 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3116 for 'resultvar' otherwise things get truncated on 64-bit.
3117
cb9d6174
DM
3118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3119 Fix masking out of the most significant byte of random value used.
3120
6e226b09
DM
3121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3122
058c132d
AS
31232012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3124
3125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3126
2d2cd515
DM
31272012-03-09 David S. Miller <davem@davemloft.net>
3128
3129 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3130 variables with appropriate CPP guards.
3131 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3132 frame pointer, not the stack pointer. Correct layout comments. Fix test
3133 on resulting framesize and the management of the outregs buffer for pltexit.
3134 Preserve floating point return values across _dl_call_pltexit call.
3135 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3136 framesize and the management of the outregs buffer for pltexit.
3137 Preserve floating point return values across _dl_call_pltexit
3138 call.
3139 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3140 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3141 (print_exit): Fix format string for return register value.
3142
9a07f9d0
JM
31432012-03-10 Joseph Myers <joseph@codesourcery.com>
3144
3145 * sunrpc/Makefile (others): Add rpcgen.
3146 ($(objpfx)rpcgen): Remove special build rule and dependency on
3147 libc.
3148 * sunrpc/rpcgen.c: New file.
3149
547b5e30
PE
31502012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3151
c524201a
PE
3152 [BZ #13673]
3153 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3154 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3155 * sysdeps/i386/crti.S: Likewise.
3156 * sysdeps/i386/crtn.S: Likewise.
3157 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3158 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3159 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3160 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3161 * sysdeps/sh/crti.S: Likewise.
3162 * sysdeps/sh/crtn.S: Likewise.
3163 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3164
7b6235f2
PE
3165 [BZ #13673]
3166 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3167 with URL.
3168 * locale/programs/locfile-kw.gperf: Likewise.
3169 * locale/programs/charmap-kw.h: Regenerated.
3170 * locale/programs/locfile-kw.h: Likewise.
3171
547b5e30
PE
3172 [BZ #13673]
3173 * intl/plural.y: Replace FSF snail mail address with URL.
3174 * intl/plural.c: Regenerated.
3175
5f0a5dae
RH
31762012-03-09 Richard Henderson <rth@twiddle.net>
3177
3178 * include/math_private.h: Remove file.
3179 * math/math_private.h: Move file ...
3180 * sysdeps/generic/math_private.h: ... here.
3181
b8c03620
RH
3182 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3183 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3184 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3185
4e234f5d 3186 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3187 and <math_private.h>.
3188 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3189 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3190 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3191 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3192 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3193 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3194 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3196 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3197 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3198 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3199 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3200 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3201 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3202 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3203 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3204 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3205 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3206 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3207 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3208 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3209 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3210 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3211 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3212 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3213 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3214 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3215 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3216 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3217 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3218 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3219 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3220 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3221 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3222 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3223 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3224 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3225 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3226 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3227 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3228 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3229 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3230 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3231 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3232 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3233 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3234 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3235 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3236 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3237 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3238 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3239 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3240 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3241 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3242 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3243 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3244 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3245 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3246 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3247 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3248 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3249 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3251 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3252 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3253 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3254 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3255 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3256 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3257 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3258 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3259 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3260 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3261 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3262 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3263 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3264 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3265 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3266 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3267 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3268 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3269 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3270 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3271 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3272 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3273 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3274 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3275 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3276 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3277 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3278 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3279 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3280 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3281 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3282 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3283 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3284 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3285 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3286 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3287 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3288 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3289 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3290 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3291 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3292 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3293 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3294 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3295 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3296 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3297 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3298 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3299 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3300 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3301 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3302 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3303 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3304 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3305 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3306 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3307 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3308 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3309 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3310 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3311 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3312 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3313 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3314 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3315 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3316 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3317 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3318 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3319 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3320 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3321 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3322 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3323 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3324 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3325 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3326 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3327 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3328 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3329 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3330 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3331 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3332 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3333 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3334 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3335 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3336 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3337 * sysdeps/ieee754/k_standard.c: Likewise.
3338 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3339 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3340 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3341 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3342 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3343 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3344 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3345 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3346 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3347 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3349 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3350 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3351 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3352 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3353 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3354 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3355 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3356 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3357 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3359 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3360 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3361 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3362 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3363 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3364 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3365 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3366 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3367 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3368 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3369 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3370 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3371 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3372 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3373 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3374 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3375 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3376 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3378 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3379 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3381 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3383 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3384 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3385 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3386 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3387 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3388 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3389 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3390 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3391 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3392 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3393 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3394 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3395 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3396 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3397 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3398 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3399 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3400 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3401 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3402 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3403 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3404 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3405 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3406 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3407 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3408 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3409 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3410 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3411 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3412 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3413 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3414 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3415 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3416 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3417 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3418 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3419 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3420 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3421 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3422 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3423 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3424 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3425 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3426 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3427 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3428 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3429 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3430 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3431 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3432 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3433 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3434 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3435 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3436 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3437 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3438 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3439 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3440 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3441 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3442 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3443 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3444 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3445 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3446 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3447 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3448 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3449 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3450 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3451 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3452 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3453 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3454 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3455 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3456 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3457 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3458 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3459 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3460 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3461 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3462 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3463 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3464 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3465 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3466 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3467 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3468 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3469 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3470 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3471 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3472 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3473 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3474 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3475 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3476 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3477 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3478 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3479 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3480 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3481 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3482 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3483 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3484 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3485 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3486 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3487 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3488 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3489 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3490 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3491 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3492 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3493 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3494 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3495 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3496 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3497 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3498 * sysdeps/ieee754/s_lib_version.c: Likewise.
3499 * sysdeps/ieee754/s_matherr.c: Likewise.
3500 * sysdeps/ieee754/s_signgam.c: Likewise.
3501 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3502 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3503 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3504 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3505 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3506 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3507 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3508 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3509 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3510 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3511 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3512 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3513 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3514 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3515 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3516 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3517 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3518 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3519 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3521 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3522
1991fa03
JM
35232012-03-09 Joseph Myers <joseph@codesourcery.com>
3524
3525 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3526 * sunrpc/rpc_main.c: Likewise.
3527 * sunrpc/rpc_svcout.c: Likewise.
3528
60d6f5a6
DM
35292012-03-09 David S. Miller <davem@davemloft.net>
3530
3531 * include/math_private.h: New file.
3532
4962050e
JM
35332012-03-09 Joseph Myers <joseph@codesourcery.com>
3534
02a6f887
JM
3535 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3536 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3537 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3538 from <bits/socket_type.h>.
3539 (enum __socket_type): Don't define here.
3540 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3542 bits/socket_type.h.
3543
c6e013c1
JM
3544 [BZ #13566]
3545 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3546 checking __USE_GNU.
3547
4962050e
JM
3548 * Makerules ($(inst_includedir)/%.h): New rule.
3549 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3550 (install-others): Remove variable setting.
3551 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3552
38842f45
RH
35532012-03-08 Richard Henderson <rth@twiddle.net>
3554
67bb6da6
RH
3555 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3556 from macro to inline function; merge with the
3557 !__LIBC_INTERNAL_MATH_INLINES version.
3558 (__ieee754_sqrtf): Likewise.
3559
15194b4b
RH
3560 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3561 to inline function.
3562 (__rintf, __floor, __floorf): Likewise.
3563
64e21ede
RH
3564 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3565 macro to inline function.
3566 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3567
38842f45
RH
3568 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3569 not <math/math_private.h>.
3570
c64bf5fe
DM
35712012-03-08 David S. Miller <davem@davemloft.net>
3572
3573 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3574 copyright year.
3575 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3576
82d86f28
TS
35772012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3578
3579 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3580 normalization.
3581 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3582 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3583
aea5d727
UD
35842012-03-08 Ulrich Drepper <drepper@gmail.com>
3585
3586 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3587 be defined individually, they must be defined as a block. Define
3588 S for printing a string instead of hidint the different by using a
3589 macro for adding the 'l'.
3590 * stdio-common/tst-fphex-wide.c: Adjust.
3591
70bca0a3
MP
35922012-03-07 Marek Polacek <polacek@redhat.com>
3593
3594 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3595
65b81130
MP
35962012-03-08 Marek Polacek <polacek@redhat.com>
3597
3598 [BZ #13806]
3599 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3600 * stdio-common/tst-fphex.c: Define a few macros to make the
3601 test reusable. Use them.
3602 * stdio-common/tst-fphex-wide.c: New file.
3603
07037eeb
JM
36042012-03-08 Joseph Myers <joseph@codesourcery.com>
3605
a7a93d50
JM
3606 [BZ #6911]
3607 * manual/macros.texi (gnusystems): New macro.
3608 (nongnusystems): Likewise.
3609 (gnulinuxhurdsystems): Likewise.
3610 (gnuhurdsystems): Likewise..
3611 (gnulinuxsystems): Likewise.
3612 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3613 variants of the GNU system, not "GNU system".
3614 * manual/conf.texi: Likewise.
3615 * manual/errno.texi: Likewise. Update example of errno macro
3616 expansion.
3617 * manual/filesys.texi: Likewise.
3618 (getumask): Document as specific to GNU/Hurd.
3619 * manual/install.texi: Likewise. Reword some references to
3620 GNU/Linux.
3621 * manual/intro.texi: Likewise.
3622 * manual/io.texi: Likewise.
3623 (File Name Portability): Detail which constraints are inapplicable
3624 to all GNU systems and which are only inapplicable to GNU/Hurd.
3625 * manual/job.texi: Likewise.
3626 * manual/llio.texi: Likewise.
3627 (O_NOCTTY): Document as present on GNU/Linux.
3628 * manual/maint.texi: Likewise.
3629 * manual/memory.texi: Likewise.
3630 * manual/pattern.texi: Likewise.
3631 * manual/pipe.texi: Likewise.
3632 * manual/process.texi: Likewise.
3633 * manual/resource.texi: Likewise.
3634 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3635 child on GNU/Hurd.
3636 * manual/setjmp.texi: Likewise.
3637 * manual/signal.texi: Likewise.
3638 * manual/startup.texi: Likewise.
3639 * manual/stdio.texi: Likewise.
3640 * manual/terminal.texi: Likewise.
3641 (ONLCR): Document as POSIX.
3642 (OXTABS): Document availability on GNU/Linux as XTABS.
3643 (ONOEOT): Document availability separately from other bits.
3644 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3645 * manual/time.texi: Likewise.
3646 * manual/users.texi: Likewise.
3647 * INSTALL: Regenerated.
3648 * sysdeps/gnu/errlist.c: Regenerated.
3649
07037eeb
JM
3650 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3651 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3652 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3653 puts.
3654 * configure: Regenerated.
3655
d1d3431a
JM
36562012-03-07 Joseph Myers <joseph@codesourcery.com>
3657
af6a1e37
JM
3658 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3659 default includes instead of AC_HEADER_CHECK.
3660 * sysdeps/i386/configure: Regenerated.
3661
d1d3431a
JM
3662 [BZ #10716]
3663 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3664 * math/s_cacoshf.c (__cacoshf): Likewise.
3665 * math/s_cacoshl.c (__cacoshl): Likewise.
3666 * math/s_casinh.c (__casinh): Set signs of result from argument.
3667 * math/s_casinhf.c (__casinhf): Likewise.
3668 * math/s_casinhl.c (__casinhl): Likewise.
3669 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3670 (casinh_test): Add more tests.
3671 * sysdeps/i386/fpu/libm-test-ulps: Update.
3672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3673
482ff4da
UD
36742012-03-07 Ulrich Drepper <drepper@gmail.com>
3675
872fda05
UD
3676 * po/zh_TW.po: Update from translation team.
3677
a4300c7a
UD
3678 * login/Makefile (distribute): Remove variable.
3679 * catgets/Makefile: Likewise.
3680 * mach/Makefile: Likewise.
3681 * malloc/Makefile: Likewise.
3682 * misc/Makefile: Likewise.
3683 * iconv/Makefile: Likewise.
3684 * nscd/Makefile: Likewise.
3685 * hurd/Makefile: Likewise.
3686 * manual/Makefile: Likewise.
3687 * locale/Makefile: Likewise.
3688 * intl/Makefile: Likewise.
3689 * conform/Makefile: Likewise.
3690 * nss/Makefile: Likewise.
3691 * time/Makefile: Likewise.
3692 * soft-fp/Makefile: Likewise.
3693 * dirent/Makefile: Likewise.
3694 * gmon/Makefile: Likewise.
3695 * po/Makefile: Likewise.
3696 * rt/Makefile: Likewise.
3697 * socket/Makefile: Likewise.
3698 * math/Makefile: Likewise.
3699 * signal/Makefile: Likewise.
3700 * debug/Makefile: Likewise.
3701 * elf/Makefile: Likewise.
3702 * timezone/Makefile: Likewise.
3703 * stdlib/Makefile: Likewise.
3704 * iconvdata/Makefile: Likewise.
3705 * sunrpc/Makefile: Likewise.
3706 * io/Makefile: Likewise.
3707 * argp/Makefile: Likewise.
3708 * inet/Makefile: Likewise.
3709 * hesiod/Makefile: Likewise.
3710 * grp/Makefile: Likewise.
3711 * csu/Makefile: Likewise.
3712 * wctype/Makefile: Likewise.
3713 * crypt/Makefile: Likewise.
3714 * libio/Makefile: Likewise.
3715 * string/Makefile: Likewise.
3716 * nis/Makefile: Likewise.
3717 * resolv/Makefile: Likewise.
3718 * stdio-common/Makefile: Likewise.
3719 * wcsmbs/Makefile: Likewise.
3720 * dlfcn/Makefile: Likewise.
3721 * posix/Makefile: Likewise.
3722
3b7c4e74 3723 [BZ #6959]
482ff4da
UD
3724 * timezone/Makefile: Don't install timezone files, just the programs
3725 and scripts.
3726
f72ed77d
UD
37272012-03-06 Ulrich Drepper <drepper@gmail.com>
3728
a000466f
UD
3729 * nss/databases.def: Add missing gshadow entry.
3730
f72ed77d
UD
3731 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3732
a53b7a4e
MP
37332012-03-06 Marek Polacek <polacek@redhat.com>
3734
3735 [BZ #13726]
3736 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3737 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3738 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3739 * stdio-common/tst-long-dbl-fphex.c: New file.
3740
e9258400
DM
37412012-03-06 David S. Miller <davem@davemloft.net>
3742
3743 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3744 (set_obp_int): New function.
3745 (get_obp_int): New function.
3746 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
3747 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3748 Avoid unused variable warnings on 'val' and use builtin_expect.
3749 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3750 __builtin_expect.
e9258400
DM
3751 (INLINE_CLONE_SYSCALL): Likewise.
3752
3bd2c723
DM
37532012-03-05 David S. Miller <davem@davemloft.net>
3754
3755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3756
bbb78d03
AS
37572012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3758
884c5db4
AS
3759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3760
bbb78d03
AS
3761 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3762 only for |x| >= 40.
3763 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3764
1c9f702a 37652012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
3766
3767 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3768 Replace gettimeofday with __vdso_gettimeofday.
3769
7be16f82
RM
3770 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3771 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3772 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
3773
3774 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3775 time with __vdso_time.
3776
ed58a00f
JM
37772012-03-05 Joseph Myers <joseph@codesourcery.com>
3778
3779 * manual/lang.texi (size_t): Note types to which size_t may be
3780 equivalent with the GNU C Library, but do not describe when
3781 differences between them are significant.
3782
30ee4ced
AJ
37832012-03-05 Andreas Jaeger <aj@suse.de>
3784
3785 * sysdeps/i386/fpu/libm-test-ulps: Update.
3786
b7cd39e8
JM
37872012-03-05 Joseph Myers <joseph@codesourcery.com>
3788
3789 [BZ #3976]
3790 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3791 (__ieee754_pow): Save and restore rounding mode and use
3792 round-to-nearest for main computations.
3793 * math/libm-test.inc (pow_test_tonearest): New function.
3794 (pow_test_towardzero): Likewise.
3795 (pow_test_downward): Likewise.
3796 (pow_test_upward): Likewise.
3797 (main): Call the new functions.
3798 * sysdeps/i386/fpu/libm-test-ulps: Update.
3799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
3800
3801 [BZ #3976]
3802 * math/libm-test.inc (cosh_test_tonearest): New function.
3803 (cosh_test_towardzero): Likewise.
3804 (cosh_test_downward): Likewise.
3805 (cosh_test_upward): Likewise.
3806 (sinh_test_tonearest): Likewise.
3807 (sinh_test_towardzero): Likewise.
3808 (sinh_test_downward): Likewise.
3809 (sinh_test_upward): Likewise.
3810 (main): Call the new functions.
3811 * sysdeps/i386/fpu/libm-test-ulps: Update.
3812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3813
6c6a98c9
TV
38142012-03-05 Tom de Vries <tom@codesourcery.com>
3815
3816 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3817 default stack guard is set in last bytes.
3818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3819
21bb2d2e 38202012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 3821
21bb2d2e 3822 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 3823
21bb2d2e
AJ
3824 [BZ #13656]
3825 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3826 possibly allocate from heap instead of stack.
3827 * stdio-common/bug-vfprintf-nargs.c: New file.
3828 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 3829
c6922934
AS
38302012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3831
3832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3833
bc957d53
MP
38342012-03-03 Marek Polacek <polacek@redhat.com>
3835
3836 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3837 * math/math_private.h: Likewise.
3838 * stdlib/tst-strtod.c: Likewise.
3839 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3840 * sysdeps/x86_64/bits/atomic.h: Likewise.
3841
6358490d
DM
38422012-03-02 David S. Miller <davem@davemloft.net>
3843
3844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3848 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3849 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3850 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3851 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3852
01ae168d
RM
38532012-03-02 Roland McGrath <roland@hack.frob.com>
3854
d9a17c07
RM
3855 [BZ #13792]
3856 * manual/examples/README: New file, says the example source files
3857 can be used under GPL>=2.
3858 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3859 line containing just "*/".
3860 * manual/examples/add.c: Add copyright header (GPL>=2).
3861 * manual/examples/argp-ex1.c: Likewise.
3862 * manual/examples/argp-ex2.c: Likewise.
3863 * manual/examples/argp-ex3.c: Likewise.
3864 * manual/examples/argp-ex4.c: Likewise.
3865 * manual/examples/atexit.c: Likewise.
3866 * manual/examples/db.c: Likewise.
3867 * manual/examples/dir.c: Likewise.
3868 * manual/examples/dir2.c: Likewise.
3869 * manual/examples/execinfo.c: Likewise.
3870 * manual/examples/filecli.c: Likewise.
3871 * manual/examples/filesrv.c: Likewise.
3872 * manual/examples/fmtmsgexpl.c: Likewise.
3873 * manual/examples/genpass.c: Likewise.
3874 * manual/examples/inetcli.c: Likewise.
3875 * manual/examples/inetsrv.c: Likewise.
3876 * manual/examples/isockad.c: Likewise.
3877 * manual/examples/longopt.c: Likewise.
3878 * manual/examples/memopen.c: Likewise.
3879 * manual/examples/memstrm.c: Likewise.
3880 * manual/examples/mkfsock.c: Likewise.
3881 * manual/examples/mkisock.c: Likewise.
3882 * manual/examples/mygetpass.c: Likewise.
3883 * manual/examples/pipe.c: Likewise.
3884 * manual/examples/popen.c: Likewise.
3885 * manual/examples/rprintf.c: Likewise.
3886 * manual/examples/search.c: Likewise.
3887 * manual/examples/select.c: Likewise.
3888 * manual/examples/setjmp.c: Likewise.
3889 * manual/examples/sigh1.c: Likewise.
3890 * manual/examples/sigusr.c: Likewise.
3891 * manual/examples/stpcpy.c: Likewise.
3892 * manual/examples/strdupa.c: Likewise.
3893 * manual/examples/strftim.c: Likewise.
3894 * manual/examples/strncat.c: Likewise.
3895 * manual/examples/subopt.c: Likewise.
3896 * manual/examples/swapcontext.c: Likewise.
3897 * manual/examples/termios.c: Likewise.
3898 * manual/examples/testopt.c: Likewise.
3899 * manual/examples/testpass.c: Likewise.
3900 * manual/examples/timeval_subtract.c: Likewise.
3901
01ae168d
RM
3902 [BZ #13792]
3903 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3904 function to ...
3905 * manual/timeval_subtract.c.texi: ... here, new file.
3906
49efa33d
DM
39072012-03-02 David S. Miller <davem@davemloft.net>
3908
3909 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3910
28afd92d
JM
39112012-03-02 Joseph Myers <joseph@codesourcery.com>
3912
804360ed
JM
3913 [BZ #3976]
3914 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3915 (__sin): Save and restore rounding mode and use round-to-nearest
3916 for all computations.
3917 (__cos): Save and restore rounding mode and use round-to-nearest
3918 for all computations.
3919 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3920 <fenv.h>.
3921 (tan): Save and restore rounding mode and use round-to-nearest for
3922 all computations.
3923 * math/libm-test.inc (cos_test_tonearest): New function.
3924 (cos_test_towardzero): Likewise.
3925 (cos_test_downward): Likewise.
3926 (cos_test_upward): Likewise.
3927 (sin_test_tonearest): Likewise.
3928 (sin_test_towardzero): Likewise.
3929 (sin_test_downward): Likewise.
3930 (sin_test_upward): Likewise.
3931 (tan_test_tonearest): Likewise.
3932 (tan_test_towardzero): Likewise.
3933 (tan_test_downward): Likewise.
3934 (tan_test_upward): Likewise.
3935 (main): Call the new functions.
3936 * sysdeps/i386/fpu/libm-test-ulps: Update.
3937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3938
a6d06d7b
JM
3939 [BZ #10135]
3940 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3941 small n, then large n, before computing and testing k+n.
3942 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3944 Likewise.
3945 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3946 Likewise.
3947 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3948 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3949 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3950 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3951 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3952 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3953 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3954 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3955 * math/libm-test.inc (scalbn_test): Add more tests.
3956 (scalbln_test): Likewise.
3957
07e12bb3
JM
3958 * manual/filesys.texi (mode_t): Describe constraints on size and
3959 signedness, not exact equivalence to a particular type.
3960 (ino_t): Likewise.
3961 (ino64_t): Likewise.
3962 (dev_t): Likewise.
3963 (nlink_t): Likewise.
3964 (blkcnt_t): Likewise.
3965 (blkcnt64_t): Likewise.
3966 * manual/llio.texi (off_t): Likewise.
3967
28afd92d
JM
3968 [BZ #3976]
3969 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3970 (__ieee754_exp): Save and restore rounding mode and use
3971 round-to-nearest for all computations.
3972 * math/libm-test.inc (exp_test_tonearest): New function.
3973 (exp_test_towardzero): Likewise.
3974 (exp_test_downward): Likewise.
3975 (exp_test_upward): Likewise.
3976 (main): Call the new functions.
3977 * sysdeps/i386/fpu/libm-test-ulps: Update.
3978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3979
b1eeb65d
CD
39802012-03-01 Chris Demetriou <cgd@google.com>
3981
3982 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3983 have predictable order.
3984
53362a4b
DM
39852012-03-01 David S. Miller <davem@davemloft.net>
3986
3c969083
DM
3987 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3988
759707de
DM
3989 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3990 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3991 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3992 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3993
dfdb8ff2
DM
3994 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3995 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3996 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3998 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3999 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4000 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4001 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4002 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4003
ead89f96
DM
4004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4005
7f66bd07
DM
4006 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4007 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4008 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4009
53362a4b
DM
4010 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4011 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4012 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4013 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4014 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4015 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4016 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4017 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4018 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4019 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4020 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4021 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4022 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4023 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4024 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4026 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4027 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4028 * sysdeps/sparc/elf/configure: Regenerated.
4029
7b1902cb
JM
40302012-03-01 Joseph Myers <joseph@codesourcery.com>
4031
bec039bc
JM
4032 * configure.in (AS, LD): Require binutils 2.20 or later.
4033 * configure: Regenerated.
4034 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4035 as required minimum version.
4036 * INSTALL: Regenerated.
4037
7b1902cb
JM
4038 [BZ #2541]
4039 [BZ #4108]
4040 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4041 before squaring exponent.
4042 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4043 bottom long double and 27 bits of top long double before squaring
4044 exponent.
4045 * math/libm-test.inc (erfc_test): Add more tests.
4046 * sysdeps/i386/fpu/libm-test-ulps: Update.
4047 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4049
f775c276
KT
40502012-03-01 Kai Tietz <ktietz@redhat.com>
4051
4052 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4053 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4054 containing bit-fields.
4055 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4056 * soft-fp/single.h (_FP_UNION_S): Likewise.
4057 * soft-fp/double.h (_FP_UNION_D): Likewise.
4058
5b8a4d4a
JM
40592012-02-29 Joseph Myers <joseph@codesourcery.com>
4060
0bab47b6
JM
4061 [BZ #13786]
4062 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4063 not include ../strcmp.S.
4064 [USE_AS_STRNCASECMP_L]: Likewise.
4065 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4066 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4067 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4068 (__strncasecmp_l_ia32): Define as alias to
4069 __strncasecmp_l_nonascii.
4070
0fcad3e2
JM
4071 [BZ #5794]
4072 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4073 * sysdeps/i386/fpu/libm-test-ulps: Update.
4074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4075
5b8a4d4a
JM
4076 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4078
8fdceb2e
JL
40792012-02-29 Jeff Law <law@redhat.com>
4080
4081 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4082 out of bounds read.
4083
1f393a11
MP
40842012-02-29 Marek Polacek <polacek@redhat.com>
4085
4086 [BZ #13706]
4087 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4088 * elf/Makefile: Add rules to run tst-unused-dep.out.
4089
8847f037
DM
40902012-02-28 David S. Miller <davem@davemloft.net>
4091
4092 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4093 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4094 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4095 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4096 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4097 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4098
169d7f11
JM
40992012-02-29 Joseph Myers <joseph@codesourcery.com>
4100
4101 * math/libm-test.inc (llround_test): Move one test from
4102 lround_test. Use TEST_f_L in moved test.
4103 (lround_test): Move misplaced test to llround_test. Add testcase
4104 from bug 2561.
4105
39adf059
UD
41062012-02-28 Ulrich Drepper <drepper@gmail.com>
4107
4108 * sysdeps/x86_64/fpu/e_expf.S: New file.
4109 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4110
71b5d1c5
SB
41112012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4112
4113 [BZ #13637]
4114 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4115 of remain_len that may cause incomplete multi-byte character and
4116 false match.
4117 * posix/bug-regex33.c: New file.
4118 * posix/Makefile (tests): Add bug-regex33.
4119
1f77f049
JM
41202012-02-28 Joseph Myers <joseph@codesourcery.com>
4121
4122 * manual/macros.texi: New file.
4123 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4124 * manual/libc.texinfo: Include macros.texi.
4125 * manual/creatute.texi: Likewise.
4126 * manual/install.texi: Likewise.
4127 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4128 @glibcadj{} in references to the GNU C Library.
4129 * manual/charset.texi: Likewise.
4130 * manual/conf.texi: Likewise.
4131 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4132 when not using those macros.
4133 * manual/creature.texi: Likewise.
4134 * manual/crypt.texi: Likewise.
4135 * manual/errno.texi: Likewise.
4136 * manual/filesys.texi: Likewise.
4137 * manual/header.texi: Likewise.
4138 * manual/install.texi: Likewise.
4139 * manual/intro.texi: Likewise.
4140 * manual/io.texi: Likewise.
4141 * manual/job.texi: Likewise.
4142 * manual/lang.texi: Likewise.
4143 * manual/libc.texiinfo: Likewise.
4144 * manual/llio.texi: Likewise.
4145 * manual/locale.texi: Likewise.
4146 * manual/maint.texi: Likewise.
4147 * manual/math.texi: Likewise.
4148 * manual/memory.texi: Likewise.
4149 * manual/message.texi: Likewise.
4150 * manual/nss.texi: Likewise.
4151 * manual/pattern.texi: Likewise.
4152 * manual/process.texi: Likewise.
4153 * manual/resource.texi: Likewise.
4154 * manual/search.texi: Likewise.
4155 * manual/setjmp.texi: Likewise.
4156 * manual/signal.texi: Likewise.
4157 * manual/socket.texi: Likewise.
4158 * manual/startup.texi: Likewise.
4159 * manual/stdio.texi: Likewise.
4160 * manual/string.texi: Likewise.
4161 * manual/sysinfo.texi: Likewise.
4162 * manual/syslog.texi: Likewise.
4163 * manual/terminal.texi: Likewise.
4164 * manual/time.texi: Likewise.
4165 * manual/users.texi: Likewise.
4166 * INSTALL: Regenerated.
4167 * NOTES: Regenerated.
d40c5d54 4168 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4169
450bf206
AS
41702012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4171
4172 * include/dirent.h: Include <dirstream.h> before
4173 <dirent/dirent.h>.
4174
741a235b
DM
41752012-02-28 David S. Miller <davem@davemloft.net>
4176
4177 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4178 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4179 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4180 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4181
d6b5aa58
DM
41822012-02-27 David S. Miller <davem@davemloft.net>
4183
1aff59a3
DM
4184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4186 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4187 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4188
d6b5aa58
DM
4189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4190 frame pointer instead of stack pointer relative arg slot.
4191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4192 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4193 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4194
433f48bf
CD
41952012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4196
4197 [BZ #3992]
4198 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4199
d674b76d
DM
42002012-02-27 David S. Miller <davem@davemloft.net>
4201
4202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4206 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4207 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4208 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4209 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4210
0e7727f7
JM
42112012-02-27 Joseph Myers <joseph@codesourcery.com>
4212
4213 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4214 later. Allow versions 5-9.
43be4ca2 4215 * configure: Regenerated.
0e7727f7
JM
4216 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4217 required minimum version and 4.6 as recommended version. Do not
4218 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4219 * INSTALL: Regenerated.
0e7727f7 4220
a78bc654
DM
42212012-02-27 David S. Miller <davem@davemloft.net>
4222
428d5830
DM
4223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4227 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4228 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4229 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4230 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4231
a78bc654
DM
4232 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4233 manipulate bits before adding and subtracting TWO112[sx].
4234 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4235
4579f81c
RM
42362012-02-27 Roland McGrath <roland@hack.frob.com>
4237
36c8acb4
RM
4238 [BZ #13775]
4239 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4240 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4241 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4242 being in POSIX, because they are in 1003.1-2008.
4243
84ad622b
RM
4244 * rt/tst-aio.c: Include <fcntl.h>.
4245 * rt/tst-aio7.c: Likewise.
4246 * rt/tst-aio64.c: Likewise.
4247
4579f81c
RM
4248 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4249
abd923db
JM
42502012-02-27 Joseph Myers <joseph@codesourcery.com>
4251
4252 * manual/install.texi (--with-headers): Describe headers as
4253 interface headers, not private headers.
4254 (Specific advice for GNU/Linux systems): Describe use of headers
4255 from "make headers_install", not private headers from older
4256 kernels.
43be4ca2 4257 * INSTALL: Regenerated.
abd923db
JM
4258 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4259 Change to 2.6.19.
4260 * sysdeps/unix/sysv/linux/configure: Regenerated.
4261
6664049b
JM
4262 * manual/llio.texi (fclean): Remove documentation.
4263
bb8b6697
JM
4264 * manual/Makefile (libc-texi-generated): New variable. Include
4265 version.texi.
4266 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4267 $(libc-texi-generated), not duplicated list of files.
4268 (version.texi, stamp-version): New rules.
4269 (realclean): Remove $(libc-texi-generated), not individual files
4270 from that list. Do not remove dir-add.texinfo.
4271 * manual/libc.texinfo: Comment out uses of edition numbers and
4272 references to printed manual. Remove last-updated dates.
4273 (EDITION): Comment out.
4274 (ISBN): Likewise.
4275 (VERSION, UPDATED): Remove.
4276 (version.texi): Include.
4277
12e5c3b9
AS
42782012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4279
4280 * sysdeps/posix/spawni.c: Include <signal.h>.
4281 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4282 * sysdeps/pthread/aio_fsync.c: Likewise.
4283
4efeffc1 42842012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4285
ba63ba08
UD
4286 * conform/Makefile (tests): Run only when not cross-compiling and
4287 when fast-check is not defined.
4288
d94a4670
UD
4289 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4290 * conform/data/limits.h-data: Fixes for POSIX2008.
4291 * conform/run-conformtest.sh: Run all tests.
4292 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4293 headers.
4294 * include/bits/dlfcn.h: Likewise.
4295 * include/langinfo.h: Likewise.
4296 * include/monetary.h: Likewise.
4297 * include/sys/poll.h: Likewise.
4298
4299 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4300 for __USE_GNU.
4301 * posix/spawn.h: Define __need_sigset_t.
4302 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4303 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4304 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4305 to get sigevent_t only.
4306 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4307 only for __USE_GNU.
4308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4309 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4310 process_vm_writev only for __USE_GNU.
4311 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4312
4313 * conform/Makefile: For now ignore errors from run-conformtest.
4314 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4315 POSIX to avoid namespace pollution. Don't prepend headers.
4316 * conform/data/aio.h-data: Fixes for POSIX testing.
4317 * conform/data/fcntl.h-data: Likewise.
4318 * conform/data/glob.h-data: Likewise.
4319 * conform/data/grp.h-data: Likewise.
4320 * conform/data/pthread.h-data: Likewise.
4321 * conform/data/pwd.h-data: Likewise.
4322 * conform/data/signal.h-data: Likewise.
4323 * conform/data/spawn.h-data: Likewise.
4324 * conform/data/stdio.h-data: Likewise.
4325 * conform/data/stdlib.h-data: Likewise.
4326 * conform/data/stropts.h-data: Likewise.
4327 * conform/data/sys/mman.h-data: Likewise.
4328 * conform/data/sys/stat.h-data: Likewise.
4329 * conform/data/sys/types.h-data: Likewise.
4330 * conform/data/sys/wait.h-data: Likewise.
4331 * conform/data/time.h-data: Likewise.
4332 * conform/data/unistd.h-data: Likewise.
4333 * conform/data/utime.h-data: Likewise.
4334
4335 * io/sys/stat.h: fchmod was always in POSIX.
4336 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4337 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4338 * rt/aio.h: Define __need_timespec before including <time.h>.
4339 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4340 struct. Add forward declaration of pthread_attr_t and use it in
4341 sigevent.
4342 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4343 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4344 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4345 always remove CLK_TCK definition.
4346
c20105c3
AS
43472012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4348
4349 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4350
7a270350
UD
43512012-02-25 Ulrich Drepper <drepper@gmail.com>
4352
31341567
UD
4353 * conform/run-conformtest.sh: New file.
4354 * conform/Makefile: Run run-conformtest for tests.
4355 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4356 support.
4357
4358 * conform/data/uchar.h-data: New file.
4359 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4360 * conform/data/arpa/inet.h-data: Likewise.
4361 * conform/data/assert.h-data: Likewise.
4362 * conform/data/complex.h-data: Likewise.
4363 * conform/data/cpio.h-data: Likewise.
4364 * conform/data/ctype.h-data: Likewise.
4365 * conform/data/dirent.h-data: Likewise.
4366 * conform/data/dlfcn.h-data: Likewise.
4367 * conform/data/errno.h-data: Likewise.
4368 * conform/data/fcntl.h-data: Likewise.
4369 * conform/data/float.h-data: Likewise.
4370 * conform/data/fmtmsg.h-data: Likewise.
4371 * conform/data/fnmatch.h-data: Likewise.
4372 * conform/data/ftw.h-data: Likewise.
4373 * conform/data/glob.h-data: Likewise.
4374 * conform/data/grp.h-data: Likewise.
4375 * conform/data/iconv.h-data: Likewise.
4376 * conform/data/inttypes.h-data: Likewise.
4377 * conform/data/langinfo.h-data: Likewise.
4378 * conform/data/libgen.h-data: Likewise.
4379 * conform/data/limits.h-data: Likewise.
4380 * conform/data/locale.h-data: Likewise.
4381 * conform/data/math.h-data: Likewise.
4382 * conform/data/monetary.h-data: Likewise.
4383 * conform/data/mqueue.h-data: Likewise.
4384 * conform/data/ndbm.h-data: Likewise.
4385 * conform/data/net/if.h-data: Likewise.
4386 * conform/data/netdb.h-data: Likewise.
4387 * conform/data/netinet/in.h-data: Likewise.
4388 * conform/data/nl_types.h-data: Likewise.
4389 * conform/data/poll.h-data: Likewise.
4390 * conform/data/pthread.h-data: Likewise.
4391 * conform/data/pwd.h-data: Likewise.
4392 * conform/data/regex.h-data: Likewise.
4393 * conform/data/sched.h-data: Likewise.
4394 * conform/data/search.h-data: Likewise.
4395 * conform/data/semaphore.h-data: Likewise.
4396 * conform/data/setjmp.h-data: Likewise.
4397 * conform/data/signal.h-data: Likewise.
4398 * conform/data/spawn.h-data: Likewise.
4399 * conform/data/stdarg.h-data: Likewise.
4400 * conform/data/stdio.h-data: Likewise.
4401 * conform/data/stdlib.h-data: Likewise.
4402 * conform/data/string.h-data: Likewise.
4403 * conform/data/strings.h-data: Likewise.
4404 * conform/data/stropts.h-data: Likewise.
4405 * conform/data/sys/ipc.h-data: Likewise.
4406 * conform/data/sys/mman.h-data: Likewise.
4407 * conform/data/sys/msg.h-data: Likewise.
4408 * conform/data/sys/resource.h-data: Likewise.
4409 * conform/data/sys/select.h-data: Likewise.
4410 * conform/data/sys/sem.h-data: Likewise.
4411 * conform/data/sys/shm.h-data: Likewise.
4412 * conform/data/sys/socket.h-data: Likewise.
4413 * conform/data/sys/stat.h-data: Likewise.
4414 * conform/data/sys/statvfs.h-data: Likewise.
4415 * conform/data/sys/time.h-data: Likewise.
4416 * conform/data/sys/timeb.h-data: Likewise.
4417 * conform/data/sys/times.h-data: Likewise.
4418 * conform/data/sys/types.h-data: Likewise.
4419 * conform/data/sys/uio.h-data: Likewise.
4420 * conform/data/sys/un.h-data: Likewise.
4421 * conform/data/sys/utsname.h-data: Likewise.
4422 * conform/data/sys/wait.h-data: Likewise.
4423 * conform/data/syslog.h-data: Likewise.
4424 * conform/data/tar.h-data: Likewise.
4425 * conform/data/termios.h-data: Likewise.
4426 * conform/data/utime.h-data: Likewise.
4427 * conform/data/utmpx.h-data: Likewise.
4428 * conform/data/varargs.h-data: Likewise.
4429 * conform/data/wchar.h-data: Likewise.
4430 * conform/data/wctype.h-data: Likewise.
4431 * conform/data/wordexp.h-data: Likewise.
4432
4433 * include/stropts.h: New file.
4434 * include/uchar.h: New file.
4435 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4436 * include/assert.h: Likewise.
4437 * include/ctype.h: Likewise.
4438 * include/dirent.h: Likewise.
4439 * include/dlfcn.h: Likewise.
4440 * include/fcntl.h: Likewise.
4441 * include/fnmatch.h: Likewise.
4442 * include/glob.h: Likewise.
4443 * include/grp.h: Likewise.
4444 * include/libio.h: Likewise.
4445 * include/locale.h: Likewise.
4446 * include/math.h: Likewise.
4447 * include/net/if.h: Likewise.
4448 * include/netdb.h: Likewise.
4449 * include/netinet/in.h: Likewise.
4450 * include/pthread.h: Likewise.
4451 * include/pwd.h: Likewise.
4452 * include/regex.h: Likewise.
4453 * include/sched.h: Likewise.
4454 * include/search.h: Likewise.
4455 * include/setjmp.h: Likewise.
4456 * include/signal.h: Likewise.
4457 * include/stdio.h: Likewise.
4458 * include/stdlib.h: Likewise.
4459 * include/string.h: Likewise.
4460 * include/sys/cdefs.h: Likewise.
4461 * include/sys/mman.h: Likewise.
4462 * include/sys/msg.h: Likewise.
4463 * include/sys/resource.h: Likewise.
4464 * include/sys/select.h: Likewise.
4465 * include/sys/socket.h: Likewise.
4466 * include/sys/stat.h: Likewise.
4467 * include/sys/statvfs.h: Likewise.
4468 * include/sys/time.h: Likewise.
4469 * include/sys/times.h: Likewise.
4470 * include/sys/uio.h: Likewise.
4471 * include/sys/utsname.h: Likewise.
4472 * include/sys/wait.h: Likewise.
4473 * include/termios.h: Likewise.
4474 * include/time.h: Likewise.
4475 * include/ulimit.h: Likewise.
4476 * include/unistd.h: Likewise.
4477 * include/utime.h: Likewise.
4478 * include/wchar.h: Likewise.
4479 * include/wctype.h: Likewise.
4480 * include/wordexp.h: Likewise.
4481
4482 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4483
7a270350
UD
4484 * time/time.h: TIME_UTC must be a macro.
4485 Make timespec_get available for ISO C11 only as well.
4486
7724defc
UD
44872012-02-24 Ulrich Drepper <drepper@gmail.com>
4488
4489 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4490 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4491
6b1d1d46
JM
44922012-02-24 Joseph Myers <joseph@codesourcery.com>
4493
4494 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4495
0f8bbd69
JM
44962012-02-24 Joseph Myers <joseph@codesourcery.com>
4497
4498 * manual/texinfo.tex: Update to version 2012-01-19.16.
4499
66ab80bc
JM
45002012-02-24 Joseph Myers <joseph@codesourcery.com>
4501
4502 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4503
74981cc5
RM
45042012-02-24 Roland McGrath <roland@hack.frob.com>
4505
ee968201
RM
4506 [BZ #13738]
4507 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4508 * manual/fdl-1.3.texi: New file.
4509 * manual/fdl-1.1.texi: File removed.
4510
74981cc5
RM
4511 [BZ #13738]
4512 * manual/libc.texinfo (FDL_VERSION): New @set.
4513 Use it for mention of FDL in cover text.
4514 (Documentation License): Use it in @include file name.
4515
7bb764bc
JM
45162012-02-22 Joseph Myers <joseph@codesourcery.com>
4517 Roland McGrath <roland@hack.frob.com>
4518
4519 [BZ #5461]
4520 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4521 not LONG_LONG_MAX and LONG_LONG_MIN.
4522 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4523 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4524 name.
4525 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4526
6cbeae47
JM
45272012-02-22 Joseph Myers <joseph@codesourcery.com>
4528
4529 [BZ #2547]
4530 [BZ #11365]
4531 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4532 manipulate bits before adding and subtracting TWO23[sx].
4533 * math/libm-test.inc (nearbyint_test): Add more tests.
4534
fe45ce09
JM
45352012-02-22 Joseph Myers <joseph@codesourcery.com>
4536
4537 [BZ #2548]
4538 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4539 bits before adding and subtracting TWO23[sx].
4540 * math/libm-test.inc (rint_test): Add more tests.
4541 (rint_test_tonearest): Likewise.
4542 (rint_test_towardzero): Likewise.
4543 (rint_test_downward): Likewise.
4544 (rint_test_upward: Likewise.
4545
ff3b3d82
JM
45462012-02-22 Joseph Myers <joseph@codesourcery.com>
4547
4548 [BZ #10110]
4549 * include/stdc-predef.h: New file. Extracted from features.h.
4550 * include/features.h: Include stdc-predef.h.
4551 * Makefile (headers): Add stdc-predef.h.
4552 * CONFORMANCE (Compiler limitations): Update.
4553
ef0aab35
JM
45542012-02-22 Joseph Myers <joseph@codesourcery.com>
4555
4556 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4557
58639409
DM
45582012-02-21 David S. Miller <davem@davemloft.net>
4559
4560 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4561 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4562
c0e70b25
DM
45632012-02-20 David S. Miller <davem@davemloft.net>
4564
4565 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4566 using a normal save/restore sequence, rather than allocating a
4567 dummy stack frame just to store a frame pointer and restore.
4568 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4569
fb06851d
JM
45702012-02-21 Joseph Myers <joseph@codesourcery.com>
4571
4572 * manual/install.texi: Fix stray word in line-wrapped comment.
4573
7a8b71c3
DM
45742012-02-20 David S. Miller <davem@davemloft.net>
4575
d510c123
DM
4576 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4577 both binutils and gcc support GOTDATA.
4578
0722d7c2
DM
4579 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4580 "rd %pc" in the PIC register setup sequences.
4581
3d2b3019
DM
4582 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4583 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4584 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4585 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4586 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4587 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4588 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4589 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4590 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4591 (SYSCALL_ERROR_HANDLER): Likewise.
4592 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4593 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4595 (SYSCALL_ERROR_HANDLER): Likewise.
4596
c80098a9
DM
4597 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4598 (HAVE_GCC_GOTDATA): New.
4599 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4600 relocation support in both binutils and gcc.
4601 * sysdeps/sparc/elf/configure: Regenerate.
4602
3a2545a0
DM
4603 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4604 * sysdeps/sparc/sparc32/elf/configure: Delete.
4605 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4606 * sysdeps/sparc/sparc64/elf/configure: Delete.
4607 * sysdeps/sparc/elf/configure.in: New file.
4608 * sysdeps/sparc/elf/configure: Generate.
4609
7a8b71c3
DM
4610 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4611 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4612 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4613 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4614 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4615
f1e86fca
JM
46162012-02-21 Joseph Myers <joseph@codesourcery.com>
4617
4618 * manual/install.texi: Do not mention specific glibc version
4619 numbers.
4620 * manual/libc.texinfo (VERSION, UPDATED): Update.
4621 (@copying): Use @copyright{} and range of years.
4622
0e7dfaef
JM
46232012-02-21 Joseph Myers <joseph@codesourcery.com>
4624
4625 [BZ #13695]
4626 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4627 [crti.S not in sysdirs] (generated): Do not append.
4628 [crti.S not in sysdirs] (omit-deps): Likewise.
4629 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4630 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4631 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4632 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4633 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4634 Likewise.
4635 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4636 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4637 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4638 * csu/defs.awk: Remove file.
4639 * sysdeps/generic/initfini.c: Likewise.
4640 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4641 variable.
4642 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4643 Likewise.
4644
599af3ca
JM
46452012-02-20 Joseph Myers <joseph@codesourcery.com>
4646
4647 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4648 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4649 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4650 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4651 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4652 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4653 <bits/epoll.h>.
4654 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4655 (__EPOLL_PACKED): Define to empty if not defined by
4656 <bits/epoll.h>.
4657 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4659 bits/epoll.h.
4660
0e499750
JM
46612012-02-20 Joseph Myers <joseph@codesourcery.com>
4662
4663 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4664 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4665 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4666 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4667 <bits/timerfd.h>.
4668 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4670 bits/timerfd.h.
4671
5ad91f6e
JM
46722012-02-20 Joseph Myers <joseph@codesourcery.com>
4673
4674 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4675 in C locale.
4676 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4677 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4678 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4680
06b99b02
AJ
46812012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4682
4683 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4684 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4685
7638c0fd
AS
46862012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4687
4688 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4689 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4690 defined.
4691 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4692 Likewise.
4693 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4694 entry for 2.16.
4695
92221550
AJ
46962012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4697
4698 * math/w_acos.c: Use non-signaling floating-point comparisons.
4699 * math/w_acosf.c: Likewise.
4700 * math/w_acosh.c: Likewise.
4701 * math/w_acoshf.c: Likewise.
4702 * math/w_acoshl.c: Likewise.
4703 * math/w_acosl.c: Likewise.
4704 * math/w_asin.c: Likewise.
4705 * math/w_asinf.c: Likewise.
4706 * math/w_asinl.c: Likewise.
4707 * math/w_atanh.c: Likewise.
4708 * math/w_atanhf.c: Likewise.
4709 * math/w_atanhl.c: Likewise.
4710 * math/w_exp2.c: Likewise.
4711 * math/w_exp2f.c: Likewise.
4712 * math/w_exp2l.c: Likewise.
4713 * math/w_j0.c: Likewise.
4714 * math/w_j0f.c: Likewise.
4715 * math/w_j0l.c: Likewise.
4716 * math/w_j1.c: Likewise.
4717 * math/w_j1f.c: Likewise.
4718 * math/w_j1l.c: Likewise.
4719 * math/w_jn.c: Likewise.
4720 * math/w_jnf.c: Likewise.
4721 * math/w_log.c: Likewise.
4722 * math/w_log10.c: Likewise.
4723 * math/w_log10f.c: Likewise.
4724 * math/w_log10l.c: Likewise.
4725 * math/w_log2.c: Likewise.
4726 * math/w_log2f.c: Likewise.
4727 * math/w_log2l.c: Likewise.
4728 * math/w_logf.c: Likewise.
4729 * math/w_logl.c: Likewise.
4730 * math/w_sqrt.c: Likewise.
4731 * math/w_sqrtf.c: Likewise.
4732 * math/w_sqrtl.c: Likewise.
4733 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4734 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4735 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4736 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4737 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4738
ebaf36eb
JM
47392012-02-19 Joseph Myers <joseph@codesourcery.com>
4740
4741 [BZ #9739]
4742 * manual/string.texi (strnlen): Use correct parameter name in
4743 equivalent expression.
4744
71c254a6
JM
47452012-02-19 Joseph Myers <joseph@codesourcery.com>
4746
4747 [BZ #11174]
4748 * manual/users.texi (seteuid): Consistently use neweuid for
4749 argument name.
4750
16d2c631
JM
47512012-02-19 Joseph Myers <joseph@codesourcery.com>
4752
4753 [BZ #13704]
4754 * manual/nss.texi (Services in the NSS configuration): Correct
4755 list of services in example configuration file.
4756
cd837b09
NB
47572012-02-19 Nick Bowler <nbowler@draconx.ca>
4758
4759 [BZ #11322]
4760 * manual/arith.texi: Remove statements about negative zero
4761 behaving identically to zero.
4762
02c4bbad
JM
47632012-02-18 Joseph Myers <joseph@codesourcery.com>
4764
4765 [BZ #5993]
4766 * manual/install.texi: Do not document upgrading from libc5.
4767
366842e7
JM
47682012-02-18 Joseph Myers <joseph@codesourcery.com>
4769
4770 [BZ #4596]
4771 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4772
dd54084d
DM
47732012-02-18 David S. Miller <davem@davemloft.net>
4774
4775 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4776 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4777 %o7 across the call.
4778 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4779 instead.
4780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4781 SETUP_PIC_REG_LEAF.
4782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4783 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4784 * sysdeps/sparc/crtn.S: Likewise.
4785
2bcc53a3
UD
47862012-02-17 Ulrich Drepper <drepper@gmail.com>
4787
4788 * aout/Makefile: Remove.
4789
09c093b5
RK
47902012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4791
4792 [BZ #13058]
4793 * manual/examples/argp-ex1.c (main): Format definition in GNU
4794 style.
4795 * manual/examples/argp-ex2.c (main): Likewise.
4796 * manual/examples/argp-ex3.c (main): Likewise.
4797 * manual/examples/argp-ex4.c (main): Likewise.
4798 * manual/examples/longopt.c (main): Use new-style prototype
4799 definition.
4800 * manual/examples/strncat.c (main): Specify return type and use
4801 (void) for arguments.
4802 * manual/examples/subopt.c (main): Use char **argv argument.
4803
2ee633a2
JM
48042012-02-17 Joseph Myers <joseph@codesourcery.com>
4805
4806 [BZ #5077]
4807 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4808 rounding modes.
4809
0520adde
FB
48102012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4811
4812 [BZ #6907]
4813 * manual/string.texi (strchr): Change when strchrnul is
4814 recommended.
4815
3f4081cd
DGM
48162012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4817
4818 [BZ #174]
4819 * manual/locale.texi (setlocale): Document LOCPATH.
4820
d1b10e78
JM
48212012-02-17 Joseph Myers <joseph@codesourcery.com>
4822
4823 [BZ #10210]
4824 * manual/process.texi (execle): Move @dots{} before last argument.
4825
79c6869c
PB
48262012-02-17 Paul Bolle <pebolle@tiscali.nl>
4827
4828 [BZ #12047]
4829 * manual/charset.texi (Generic Charset Conversion): Fix typo
4830 (LC_TYPE -> LC_CTYPE).
4831
cc6e48bc
NB
48322012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4833
4834 [BZ #5805]
4835 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4836 (scalbnf): Likewise.
4837 (scalbnl): Likewise.
4838 (scalbln): Likewise.
4839 (scalblnf): Likewise.
4840 (scalblnl): Likewise.
4841 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4842 (vwarnx): Likewise.
4843 (verr): Likewise.
4844 (verrx): Likewise.
4845 * manual/filesys.texi (telldir): Use braces around return type.
4846 * manual/llio.texi (mmap): Add space after comma.
4847 (mmap64): Likewise.
4848 * manual/math.texi (jn): Use @var{} on parameter names.
4849 (jnf): Likewise.
4850 (jnl): Likewise.
4851 (yn): Likewise.
4852 (ynf): Likewise.
4853 (ynl): Likewise.
4854 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4855 line.
4856 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4857 "...".
4858 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4859 (sched_get_priority_max): Likewise.
4860 * manual/signal.texi (sigvec): Add space after comma.
4861 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4862 names.
4863 (if_indextoname): Likewise.
4864 (if_freenameindex): Likewise.
4865 (sendto): Use ',' instead of '.' in prototype.
4866 * manual/startup.texi (syscall): Use @dots{} instead of literal
4867 "...".
4868 * manual/stdio.texi (__fpending): Separate initial words of
4869 paragraph from @deftypefun line.
4870 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4871 "...".
4872 (vsyslog): Use @var{} on parameter names.
4873 * manual/terminal.texi (stty): Use @var{} on parameter names.
4874 * manual/users.texi (getutmp): Use @var{} on parameter names.
4875 (getutmpx): Likewise.
4876
5b23062f
JM
48772012-02-17 Joseph Myers <joseph@codesourcery.com>
4878
4879 [BZ #6884]
4880 * manual/stdio.texi (fopen): Fix typos in description of
4881 ",ccs=STRING".
4882
8dee4833
AJ
48832012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4884
4885 [BZ #4026]
4886 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4887 get clock_id definition.
4888
9078ce93
TS
48892012-02-17 Thomas Schwinge <thomas@schwinge.name>
4890
4891 [BZ #4822]
4892 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4893 (madvise): Cast every argument to void on its own.
4894
3835c55f
JM
48952012-02-17 Joseph Myers <joseph@codesourcery.com>
4896
4897 [BZ #9902]
4898 * manual/startup.texi (Exit Status): Fix typo.
4899
35c47e37
JM
49002012-02-17 Joseph Myers <joseph@codesourcery.com>
4901
4902 [BZ #10140]
4903 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4904 * manual/examples/argp-ex2.c: Likewise.
4905 * manual/examples/argp-ex3.c: Likewise.
4906
e3b69ca7
RH
49072012-02-16 Richard Henderson <rth@redhat.com>
4908
4909 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4910 * sysdeps/s390/s390-32/initfini.c: Remove.
4911 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4912 * sysdeps/s390/s390-64/initfini.c: Remove.
4913
df83af67
KK
49142012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4915
4916 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4917 compiler output for sysdeps/generic/initfini.c.
4918 * sysdeps/sh/elf/initfini.c: Remove file.
4919
f63f3380
DM
49202012-02-16 David S. Miller <davem@davemloft.net>
4921
fb59b3a4
DM
4922 [BZ #11494]
4923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4924
f63f3380
DM
4925 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4926 * sysdeps/sparc/crti.S: New file.
4927 * sysdeps/sparc/crtn.S: New file.
4928 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4929 * sysdeps/sparc/sparc64/Makefile: Likewise.
4930
df6a4a4a
MF
49312012-02-15 Mike Frysinger <vapier@gentoo.org>
4932
6dd8f3dc 4933 [BZ #3335]
df6a4a4a
MF
4934 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4935
1cac7236
RM
49362012-02-15 Roland McGrath <roland@hack.frob.com>
4937
d2c736f8
RM
4938 [BZ #4822]
4939 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4940
1cac7236
RM
4941 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4942 (write, read, close): Likewise.
4943 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4944
8e475601
JM
49452012-02-15 Joseph Myers <joseph@codesourcery.com>
4946
4947 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4948 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4949 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4950 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4951 <bits/signalfd.h>.
4952 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4954 bits/signalfd.h.
4955
ed656b40
MP
49562012-02-14 Marek Polacek <polacek@redhat.com>
4957
4958 * sysdeps/x86_64/crti.S: New file.
4959 * sysdeps/x86_64/crtn.S: New file.
4960 * sysdeps/x86_64/elf/initfini.c: Remove file.
4961
2a979d3a
JM
49622012-02-13 Joseph Myers <joseph@codesourcery.com>
4963
4964 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4965 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4966 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4967 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4968 <bits/inotify.h>.
4969 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4971 bits/inotify.h.
4972
2a418ac3
JM
49732012-02-13 Joseph Myers <joseph@codesourcery.com>
4974
4975 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4976 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4977 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4978 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4979 <bits/eventfd.h>.
4980 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4982 bits/eventfd.h.
4983
fb779be7
TS
49842012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4985
e19e83c5
RM
4986 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4987 __feraiseexcept instead of feraiseexcept.
7c35ffed 4988
fb779be7
TS
4989 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4990 nanosleep invocations.
4991 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4992 strings, and add error checking for a nanosleep invocations.
4993
59ba27a6
PE
49942012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4995
4996 Replace FSF snail mail address with URLs, as per GNU coding standards.
4997 Most of the snail mail addresses were wrong anyway, and omitting
4998 them makes the source code easier to maintain. Almost all of the
4999 changes are to license notices and to locale LC_IDENTIFICATION
5000 addresses, except for this one:
5001 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5002 not its snail mail address.
5003
57b957eb
RH
50042012-02-09 Richard Henderson <rth@twiddle.net>
5005
af850b1c
RH
5006 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5007 of kernel-features.h.
5008
57b957eb
RH
5009 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5010
6b73181a
MP
50112012-02-08 Marek Polacek <polacek@redhat.com>
5012
5013 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5014 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5015 * sysdeps/gnu/_G_config.h: Likewise.
5016 * sysdeps/generic/_G_config.h: Likewise.
5017
26ecc33a
AS
50182012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5019
6c6dbc63
AS
5020 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5021 tests.
5022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5023
e216c012
AS
5024 * sysdeps/powerpc/powerpc32/crti.S: New file.
5025 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5026 * sysdeps/powerpc/powerpc64/crti.S: New file.
5027 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5028
26ecc33a
AS
5029 * Makeconfig (have-initfini): Don't set.
5030 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5031 * configure.in (nopic_initfini): Don't substitute.
5032 * config.h.in (HAVE_INITFINI): Don't #undef.
5033 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5034 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5035
3add8e13
JM
50362012-02-08 Joseph Myers <joseph@codesourcery.com>
5037
5038 Support crti.S and crtn.S provided directly by architectures.
5039 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5040 [crti.S in sysdirs] (omit-deps): Likewise.
5041 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5042 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5043 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5044 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5045 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5046 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5047 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5048 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5049 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5050 compiler output for sysdeps/generic/initfini.c.
5051 * sysdeps/i386/elf/Makefile: Remove file.
5052 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5053
a22f12b4
MP
50542012-02-07 Marek Polacek <polacek@redhat.com>
5055
5056 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5057 * sysdeps/gnu/_G_config.h: Likewise.
5058 * sysdeps/mach/hurd/_G_config.h: Likewise.
5059
148cf100
MP
50602012-02-07 Marek Polacek <polacek@redhat.com>
5061
5062 * math/Makefile (tests): Add tst-CMPLX2.
5063 * math/tst-CMPLX2.c: New file.
5064
cfdc0dd7
AS
50652012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5066
84ba42c4
AS
5067 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5068
cfdc0dd7
AS
5069 * math/libm-test.inc (jn_test): Add missing L suffix.
5070
622c86f4
MP
50712012-02-06 Marek Polacek <polacek@redhat.com>
5072
5073 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5074 * sysdeps/i386/fpu/e_powf.S: Likewise.
5075 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5076 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5077 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5078 * sysdeps/i386/fpu/e_pow.S: Likewise.
5079 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5080 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5081 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5082 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5083 * sysdeps/i386/fpu/e_log2.S: Likewise.
5084 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5085 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5086 * sysdeps/i386/fpu/e_powl.S: Likewise.
5087 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5088 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5089 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5090 * sysdeps/i386/fpu/e_logl.S: Likewise.
5091 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5092 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5093 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5094 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5095 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5096 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5097 * sysdeps/i386/fpu/e_log.S: Likewise.
5098 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5099 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5100 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5101 * sysdeps/i386/fpu/e_logf.S: Likewise.
5102 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5103 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5104 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5105 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5106 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5107 * sysdeps/i386/fpu/e_log10.S: Likewise.
5108 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5109 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5110 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5111 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5112 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5113 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5114 * sysdeps/i386/asm-syntax.h: Likewise.
5115 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5116 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5117 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5118 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5119 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5120 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5121 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5122 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5123 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5124 * sysdeps/powerpc/sysdep.h: Likewise.
5125 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5126 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5127
d4a54ac6
JM
51282012-02-06 Joseph Myers <joseph@codesourcery.com>
5129
5130 [BZ #411]
5131 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5132
314054ea
JM
51332012-02-06 Joseph Myers <joseph@codesourcery.com>
5134
5135 * sysdeps/i386/sysdep.h: Include <features.h>.
5136 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5137 version.
5138
d8e0ca50
JM
51392012-02-05 Joseph Myers <joseph@codesourcery.com>
5140
5141 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5142 Define.
5143 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5144 LOAD_PIC_REG_STR.
5145
b1da7dd9
JM
51462012-02-03 Joseph Myers <joseph@codesourcery.com>
5147
5148 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5149 (SETUP_PIC_REG): Use GET_PC_THUNK.
5150 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5151 macro.
5152
9a1d9254
JM
51532012-02-03 Joseph Myers <joseph@codesourcery.com>
5154
5155 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5156 for non-PIC compilation.
5157 (SETUP_PIC_REG): Add .p2align directive.
5158 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5159 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5160 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5161 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5162 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5163 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5164 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5165 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5166 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5167 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5168 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5169 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5170 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5171 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5172 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5173 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5174 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5175 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5176 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5177 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5178 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5179 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5180 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5181 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5182 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5183 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5184 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5185 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5186 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5187 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5188 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5189 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5190 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5191 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5192 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5193 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5194 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5195 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5196 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5197 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5198 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5199
65dc3b75
JM
52002012-02-03 Joseph Myers <joseph@codesourcery.com>
5201
5202 * math/tst-CMPLX.c: Include <stdio.h>.
5203
d55bf177
JM
52042012-01-31 Joseph Myers <joseph@codesourcery.com>
5205
5206 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5207 float.
5208 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5209 * sysdeps/sparc/bits/mathdef.h: Likewise.
5210
69db4f8f
MP
52112012-01-31 Marek Polacek <polacek@redhat.com>
5212
5213 * libio/libio.h: Don't define _PARAMS.
5214 * locale/programs/config.h: Don't define PARAMS.
5215 * stdlib/strtol_l.c: Likewise.
5216 (__strtol_l): Remove PARAMS from the prototype.
5217
41b81892
UD
52182012-01-31 Ulrich Drepper <drepper@gmail.com>
5219
3b49edc0
UD
5220 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5221 names. Just use the correct names. Remove unnecessary wrapper
5222 functions.
5223 * malloc/arena.c: Likewise.
5224 * malloc/hooks.c: Likewise.
5225
41b81892
UD
5226 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5227 ARENA_TEST says not to. Simplify test for creation of a new arena.
5228 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5229
27a25b6e
UD
52302012-01-30 Ulrich Drepper <drepper@gmail.com>
5231
5232 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5233 into tail calls.
5234 (update_get_addr): New function.
5235 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5236 GET_ADDR_MODULE parameter.
5237
c8a89e7d
JM
52382012-01-30 Joseph Myers <joseph@codesourcery.com>
5239
5240 * crypt/cert.c: Remove __STDC__ conditionals.
5241 * crypt/crypt-entry.c: Likewise.
5242 * crypt/crypt_util.c: Likewise.
5243 * libio/filedoalloc.c: Likewise.
5244 * libio/fileops.c: Likewise.
5245 * libio/genops.c: Likewise.
5246 * libio/iofclose.c: Likewise.
5247 * libio/iofdopen.c: Likewise.
5248 * libio/iofopen.c: Likewise.
5249 * libio/iofopen64.c: Likewise.
5250 * libio/iogetdelim.c: Likewise.
5251 * libio/iopopen.c: Likewise.
5252 * libio/obprintf.c: Likewise.
5253 * libio/oldfileops.c: Likewise.
5254 * libio/oldiofclose.c: Likewise.
5255 * libio/oldiofdopen.c: Likewise.
5256 * libio/oldiofopen.c: Likewise.
5257 * libio/oldiopopen.c: Likewise.
5258 * libio/wfiledoalloc.c: Likewise.
5259 * libio/wgenops.c: Likewise.
5260 * locale/programs/xmalloc.c: Likewise.
5261 * misc/syslog.c: Likewise.
5262 * stdio-common/xbug.c: Likewise.
5263 * string/memchr.c: Likewise.
5264 * string/memcmp.c: Likewise.
5265 * string/memrchr.c: Likewise.
5266 * string/rawmemchr.c: Likewise.
5267 * sysdeps/posix/getcwd.c: Likewise.
5268 * time/strftime_l.c: Likewise.
5269
3b100462
JM
52702012-01-30 Joseph Myers <joseph@codesourcery.com>
5271
5272 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5273 * config.make.in (config-cflags-sse2avx): Define.
5274 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5275 Fix typo.
5276
607998af
CM
52772012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5278
5279 * scripts/config.guess: Update from upstream config git repository.
5280 * scripts/config.sub: Likewise.
5281
3601428f
CM
52822012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5283
3ac8b282
CM
5284 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5285 (EM_NUM): Update.
5286 (R_TILEPRO_*, R_TILEGX_*): New macros.
5287
e034841e
CM
5288 * scripts/firstversions.awk: Fix bug in version range handling.
5289
540d7568
CM
5290 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5291
3601428f
CM
5292 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5293
463de862
CM
5294 * include/sys/epoll.h: New file.
5295 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5296 libc_hidden_def.
5297
73139a76
UD
52982012-01-28 Ulrich Drepper <drepper@gmail.com>
5299
96bc5b45
UD
5300 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5301 Avoid unnecessary __WORDSIZE == 64 test.
5302 (fmaxf): Use VEX format if possible.
5303 (fmax): Likewise.
5304 (fminf): Likewise.
5305 (fmin): Likewise.
5306
56f6f6a2
UD
5307 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5308 * math/math_private.h: Remove libc_fegetround* and
5309 libc_fesetround*.
5310 * sysdeps/i386/configure.in: Check for -msse2avx.
5311 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5312 also if SSE2AVX is defined.
5313 Remove libc_fegetround* and libc_fesetround*.
5314 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5315 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5316 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5317 of HAS_YMM_USABLE.
5318 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5319 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5320 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5321 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5322 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5323
73139a76
UD
5324 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5325
d73f93a4
AZ
53262012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5327
5328 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5329 size is not set.
5330 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5331
6ee65ed6
UD
53322012-01-27 Ulrich Drepper <drepper@gmail.com>
5333
5334 [BZ #13618]
5335 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5336 relocation.
5337 * Makeconfig (libm): Define.
5338 * elf/Makefile: Add rules to build and run tst-relsort1.
5339 * elf/tst-relsort1.c: New file.
5340 * elf/tst-relsort1mod1.c: New file.
5341 * elf/tst-relsort1mod2.c: New file.
5342
8db21882
JM
53432012-01-27 Joseph Myers <joseph@codesourcery.com>
5344
5345 * math/s_ldexp.c: Remove __STDC__ conditionals.
5346 * math/s_ldexpf.c: Likewise.
5347 * math/s_ldexpl.c: Likewise.
5348 * math/s_nextafter.c: Likewise.
5349 * math/s_nexttowardf.c: Likewise.
5350 * math/s_significand.c: Likewise.
5351 * math/s_significandf.c: Likewise.
5352 * math/s_significandl.c: Likewise.
5353 * math/w_jnl.c: Likewise.
5354 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5355 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5356 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5357 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5358 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5373 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5374 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5375 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5376 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5377 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5378 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5379 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5380 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5381 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5382 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5383 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5384 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5385 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5386 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5387 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5388 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5389 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5390 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5391 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5392 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5393 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5394 * sysdeps/ieee754/k_standard.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5404 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5424 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5425 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5426 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5428 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5430 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5432 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5435 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5436 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5437 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5438 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5439 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5441 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5442 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5443 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5446 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5447 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5448 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5452 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5453 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5454 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5455 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5456 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5461 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5464 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5466 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5467 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5469 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5470 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5471 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5472 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5474 * sysdeps/ieee754/s_matherr.c: Likewise.
5475 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5476 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5477 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5478 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5479
965a54a4
JM
54802012-01-26 Joseph Myers <joseph@codesourcery.com>
5481
5482 * crypt/md5.h: Remove __STDC__ conditionals.
5483 * libio/libioP.h: Likewise.
5484 * locale/programs/config.h: Likewise.
5485 * sysdeps/generic/sysdep.h: Likewise.
5486 * sysdeps/i386/asm-syntax.h: Likewise.
5487 * sysdeps/s390/asm-syntax.h: Likewise.
5488 * sysdeps/unix/sysdep.h: Likewise.
5489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5491
7071ad79
JM
54922012-01-26 Joseph Myers <joseph@codesourcery.com>
5493
5494 * libio/libio.h: Remove __STDC__ conditionals.
5495 * malloc/obstack.h: Likewise.
5496 * math/complex.h: Likewise.
5497 * math/math.h: Likewise.
5498 * sysdeps/generic/_G_config.h: Likewise.
5499 * sysdeps/gnu/_G_config.h: Likewise.
5500 * sysdeps/mach/hurd/_G_config.h: Likewise.
5501 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5502 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5503 * sysdeps/sparc/bits/mathdef.h: Likewise.
5504
afc5ed09
UD
55052012-01-26 Ulrich Drepper <drepper@gmail.com>
5506
5507 [BZ #13583]
5508 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5509 Clean up HAS_* macros.
afc5ed09 5510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5511 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5512 possible.
5513 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5514 HAS_AVX.
5515 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5516 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5517 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5518 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5519 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5520
bdb6de1d
JM
55212012-01-25 Joseph Myers <joseph@codesourcery.com>
5522
5523 * elf/tst-unique3.cc (gets): Remove declaration.
5524 * elf/tst-unique3lib.cc (gets): Likewise.
5525 * elf/tst-unique3lib2.cc (gets): Likewise.
5526 * elf/tst-unique4.cc (gets): Likewise.
5527
b15549e6
UD
55282012-01-24 Ulrich Drepper <drepper@gmail.com>
5529
5530 * include/stdio.h: Add C++ protection. Add gets declarations and
5531 definitions.
5532 * debug/tst-chk1.c: Don't declare gets here.
5533 * stdio-common/tst-gets.c: Likewise.
5534
a037381f
JM
55352012-01-24 Joseph Myers <joseph@codesourcery.com>
5536
5537 * posix/glob: Remove directory.
5538
f1d4aa75
JM
55392012-01-24 Joseph Myers <joseph@codesourcery.com>
5540
5541 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5542
81c0c964
PT
55432012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5544
5545 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5546 of the non-standard EPFNOSUPPORT.
5547
0ea698ae
ST
55482011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5549
5550 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5551 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5552 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5553
d220b117
UD
55542012-01-21 Ulrich Drepper <drepper@gmail.com>
5555
5556 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5557
3e1aa84e
UD
55582012-01-20 Ulrich Drepper <drepper@gmail.com>
5559
5560 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5561 transient errors.
5562 * nscd/grpcache.c (cache_addgr): Likewise.
5563 * nscd/hstcache.c (cache_addhst): Likewise.
5564 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5565 * nscd/pwdcache.c (cache_addpw): Likewise.
5566 * nscd/servicescache.c (cache_addserv): Likewise.
5567
400aa020
UD
55682012-01-16 Ulrich Drepper <drepper@gmail.com>
5569
d77e7869
UD
5570 * malloc/malloc.c: Various cleanups.
5571 * malloc/hooks.c: Likewise.
5572
400aa020
UD
5573 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5574 * stdlib/bug-fmtmsg1.c: New file.
5575
5576 * stdlib/fmtmsg.c (init): Add missing unlock.
5577 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5578
e0a309cf
MP
55792012-01-12 Marek Polacek <polacek@redhat.com>
5580
5581 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5582 and _GNU_SOURCE.
5583
929d11c7
WS
55842012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5585
5586 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5587 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5588 macro to ensure uniqueness of label name.
5589 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5590 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5591
41d0e869
UD
55922012-01-11 Ulrich Drepper <drepper@gmail.com>
5593
0cc5ed3b
UD
5594 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5595
41d0e869
UD
5596 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5597 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5598 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5599 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5600
a47a831a
UD
56012012-01-10 Ulrich Drepper <drepper@gmail.com>
5602
daa891c0
UD
5603 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5604
5605 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5606 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5607 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5608
e58ef0f2
UD
5609 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5610
a47a831a 5611 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5612 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5613 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5614 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5615
5616 * math/bits/math-finite.h: Add ldexp support.
5617
a0bfc9c7
MP
56182012-01-10 Marek Polacek <polacek@redhat.com>
5619
5620 * locale/programs/localedef.h (show_archive_content): Add noreturn
5621 attribute.
5622
d6e97a1d
UD
56232012-01-09 Ulrich Drepper <drepper@gmail.com>
5624
5625 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5626
d5835c26
UD
56272012-01-08 Ulrich Drepper <drepper@gmail.com>
5628
e5f484c6
UD
5629 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5630
d5835c26
UD
5631 * io/Makefile (headers): Add bits/poll2.h.
5632
d1f741e9
WS
56332011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5634
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5636 typo #include statement.
5637
ec09c1c4
UD
56382012-01-08 Ulrich Drepper <drepper@gmail.com>
5639
5640 * include/sys/cdefs.h: Define __attribute_alloc_size.
5641 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5642 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5643 * elf/pldd.c: Likewise.
5644 * iconv/iconv_charmap.c: Likewise.
5645 * iconv/iconvconfig.c: Likewise.
5646 * iconv/strtab.c: Likewise.
5647 * locale/programs/locale.c: Likewise.
5648 * locale/programs/localedef.h: Likewise.
5649 * locale/programs/simple-hash.c: Likewise.
5650 * nscd/nscd.h: Likewise.
5651 * nss/makedb.c: Likewise.
5652 * sysdeps/generic/ldconfig.h: Likewise.
5653 * locale/programs/localedef.c: Remove xmalloc prototype.
5654 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5655
20b38e03
PP
56562012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5657
5658 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5659 appropriate.
5660
a0da5fe1
UD
56612012-01-08 Ulrich Drepper <drepper@gmail.com>
5662
1d5a644a 5663 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5664 * math/tst-CMPLX.c: New file.
1d5a644a 5665
8784a6db
UD
5666 * math/complex.h (CMPLXL): Fix typo.
5667
d9a216c0
UD
5668 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5669 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5670 GLIBC_2.16.
5671 * debug/tst-chk1.c: Add poll and ppoll tests.
5672 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5673 * include/sys/poll.h: Add hidden proto for ppoll.
5674 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5675 * sysdeps/mach/hurd/ppoll.c: Likewise.
5676 * io/ppoll.c: Likewise.
5677 * debug/poll_chk.c: New file.
5678 * debug/ppoll_chk.c: New file.
5679 * include/bits/poll2.h: New file.
5680 * io/bits/poll2.h: New file.
5681
ac097f5c
UD
5682 [BZ #1350]
5683 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5684
2119dcfa
UD
5685 * configure.in: static is always set to yes. Remove.
5686 * config.make.in: Don't set build-static.
5687 * Makeconfig: Remove use of build-static.
5688 * dlfcn/Makefile: Likewise.
5689 * elf/Makefile: Likewise.
5690 * math/Makefile: Likewise.
5691 * misc/Makefile: Likewise.
5692 * nptl/Makefile: Likewise.
5693 * sysdeps/mach/hurd/Makefile: Likewise.
5694
121766a9
UD
5695 * configure.in: PWD_P is not used anymore.
5696 * config.make.in: Remove PWD_P entry.
5697
51a1d39c 5698 * configure.in: Remove last remnants of RANLIB.
8720d066 5699 No need to check for signed size_t anymore.
215f4bdc
UD
5700 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5701 and IA-64.
3857022a 5702 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
5703 * aclocal.m4: Likewise.
5704
d3ed7225
UD
5705 * wcsmbs/mbrtoc16.c: Implement using towc function.
5706 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5707 * wcsmbs/wcsmbsload.c: Likewise.
5708 * iconv/gconv_simple.c: Likewise.
5709 * iconv/gconv_int.h: Likewise.
5710 * iconv/gconv_builtin.h: Likewise.
5711 * iconv/iconv_prog.c: Remove CHAR16 handling.
5712
5713 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5714
5715 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5716
a0da5fe1
UD
5717 * configure.in: Remove --with-elf and --enable-bounded options.
5718 Dont set base_machine for ia64. More non-ELF conditions removed.
5719 Remove testing and setting of leading underscore information.
5720 * config.make.in (build-bounded): Set to no.
5721 * config.h.in: Remove NO_UNDERSCORES entry.
5722 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5723 them.
5724 * csu/start.c: Remove !NO_UNDERSCORE code.
5725 * locale/localeinfo.h: Likewise.
5726 * sysdeps/generic/machine-gmon.h: Likewise.
5727 * sysdeps/generic/sysdep.h: Likewise.
5728 * sysdeps/i386/sysdep.h: Likewise.
5729 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5730 * sysdeps/mach/sysdep.h: Likewise.
5731 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5732 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5733 * sysdeps/sh/sysdep.h: Likewise.
5734 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5735 * sysdeps/unix/i386/sysdep.S: Likewise.
5736 * sysdeps/unix/sparc/start.c: Likewise.
5737 * sysdeps/unix/sparc/sysdep.S: Likewise.
5738 * sysdeps/unix/sparc/sysdep.h: Likewise.
5739 * sysdeps/unix/start.c: Likewise.
5740 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5741 * sysdeps/x86_64/sysdep.h: Likewise.
5742
df78418a
UD
57432012-01-07 Ulrich Drepper <drepper@gmail.com>
5744
a784e502
UD
5745 [BZ #13553]
5746 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5747 for non-gcc.
5748 * argp/argp-fmtstream.h: Use const instead __const.
5749 * argp/argp.h: Likewise.
5750 * assert/assert.h: Likewise.
5751 * bits/fenv.h: Likewise.
5752 * bits/sched.h: Likewise.
5753 * bits/sigset.h: Likewise.
5754 * bits/sigthread.h: Likewise.
5755 * catgets/nl_types.h: Likewise.
5756 * conform/data/pthread.h-data: Likewise.
5757 * crypt/crypt-private.h: Likewise.
5758 * crypt/crypt.h: Likewise.
5759 * crypt/crypt_util.c: Likewise.
5760 * ctype/ctype.h: Likewise.
5761 * debug/execinfo.h: Likewise.
5762 * debug/mbsnrtowcs_chk.c: Likewise.
5763 * debug/mbsrtowcs_chk.c: Likewise.
5764 * debug/wcsnrtombs_chk.c: Likewise.
5765 * debug/wcsrtombs_chk.c: Likewise.
5766 * debug/wcstombs_chk.c: Likewise.
5767 * dirent/dirent.h: Likewise.
5768 * dlfcn/dlfcn.h: Likewise.
5769 * elf/neededtest4.c: Likewise.
5770 * grp/grp.h: Likewise.
5771 * gshadow/gshadow.h: Likewise.
5772 * iconv/gconv.h: Likewise.
5773 * iconv/gconv_int.h: Likewise.
5774 * iconv/gconv_simple.c: Likewise.
5775 * iconv/iconv.h: Likewise.
5776 * iconv/loop.c: Likewise.
5777 * iconv/skeleton.c: Likewise.
5778 * include/aio.h: Likewise.
5779 * include/aliases.h: Likewise.
5780 * include/argz.h: Likewise.
5781 * include/arpa/inet.h: Likewise.
5782 * include/assert.h: Likewise.
5783 * include/dirent.h: Likewise.
5784 * include/dlfcn.h: Likewise.
5785 * include/execinfo.h: Likewise.
5786 * include/fcntl.h: Likewise.
5787 * include/fenv.h: Likewise.
5788 * include/glob.h: Likewise.
5789 * include/grp.h: Likewise.
5790 * include/libintl.h: Likewise.
5791 * include/mntent.h: Likewise.
5792 * include/netdb.h: Likewise.
5793 * include/pwd.h: Likewise.
5794 * include/rpc/netdb.h: Likewise.
5795 * include/sched.h: Likewise.
5796 * include/search.h: Likewise.
5797 * include/shadow.h: Likewise.
5798 * include/signal.h: Likewise.
5799 * include/stdio.h: Likewise.
5800 * include/stdlib.h: Likewise.
5801 * include/string.h: Likewise.
5802 * include/sys/socket.h: Likewise.
5803 * include/sys/stat.h: Likewise.
5804 * include/sys/statfs.h: Likewise.
5805 * include/sys/statvfs.h: Likewise.
5806 * include/sys/syslog.h: Likewise.
5807 * include/sys/time.h: Likewise.
5808 * include/sys/uio.h: Likewise.
5809 * include/time.h: Likewise.
5810 * include/unistd.h: Likewise.
5811 * include/utmp.h: Likewise.
5812 * include/wchar.h: Likewise.
5813 * include/wctype.h: Likewise.
5814 * inet/aliases.h: Likewise.
5815 * inet/arpa/inet.h: Likewise.
5816 * inet/netinet/ether.h: Likewise.
5817 * inet/netinet/in.h: Likewise.
5818 * intl/libintl.h: Likewise.
5819 * io/bits/fcntl2.h: Likewise.
5820 * io/fcntl.h: Likewise.
5821 * io/ftw.h: Likewise.
5822 * io/sys/poll.h: Likewise.
5823 * io/sys/stat.h: Likewise.
5824 * io/sys/statfs.h: Likewise.
5825 * io/sys/statvfs.h: Likewise.
5826 * io/utime.h: Likewise.
5827 * libio/bits/stdio.h: Likewise.
5828 * libio/bits/stdio2.h: Likewise.
5829 * libio/libio.h: Likewise.
5830 * libio/libioP.h: Likewise.
5831 * libio/stdio.h: Likewise.
5832 * locale/lc-ctype.c: Likewise.
5833 * locale/locale.h: Likewise.
5834 * login/utmp.h: Likewise.
5835 * malloc/arena.c: Likewise.
5836 * malloc/malloc.c: Likewise.
5837 * malloc/malloc.h: Likewise.
5838 * malloc/mcheck.c: Likewise.
5839 * malloc/mtrace.c: Likewise.
5840 * math/bits/mathcalls.h: Likewise.
5841 * math/fenv.h: Likewise.
5842 * math/math_private.h: Likewise.
5843 * misc/bits/error.h: Likewise.
5844 * misc/bits/syslog.h: Likewise.
5845 * misc/err.h: Likewise.
5846 * misc/error.h: Likewise.
5847 * misc/fstab.h: Likewise.
5848 * misc/mntent.h: Likewise.
5849 * misc/regexp.h: Likewise.
5850 * misc/search.h: Likewise.
5851 * misc/sgtty.h: Likewise.
5852 * misc/sys/mman.h: Likewise.
5853 * misc/sys/syslog.h: Likewise.
5854 * misc/sys/uio.h: Likewise.
5855 * misc/sys/xattr.h: Likewise.
5856 * misc/ttyent.h: Likewise.
5857 * nis/rpcsvc/ypclnt.h: Likewise.
5858 * nss/nss.h: Likewise.
5859 * posix/bits/unistd.h: Likewise.
5860 * posix/fnmatch.h: Likewise.
5861 * posix/glob.h: Likewise.
5862 * posix/sched.h: Likewise.
5863 * posix/spawn.h: Likewise.
5864 * posix/sys/wait.h: Likewise.
5865 * posix/unistd.h: Likewise.
5866 * posix/wordexp.h: Likewise.
5867 * pwd/pwd.h: Likewise.
5868 * resolv/netdb.h: Likewise.
5869 * resource/sys/resource.h: Likewise.
5870 * rt/aio.h: Likewise.
5871 * rt/bits/mqueue2.h: Likewise.
5872 * rt/mqueue.h: Likewise.
5873 * shadow/shadow.h: Likewise.
5874 * signal/signal.h: Likewise.
5875 * socket/send.c: Likewise.
5876 * socket/sendto.c: Likewise.
5877 * socket/sys/socket.h: Likewise.
5878 * stdio-common/printf.h: Likewise.
5879 * stdlib/bits/stdlib.h: Likewise.
5880 * stdlib/fmtmsg.h: Likewise.
5881 * stdlib/monetary.h: Likewise.
5882 * stdlib/stdlib.h: Likewise.
5883 * stdlib/ucontext.h: Likewise.
5884 * streams/stropts.h: Likewise.
5885 * string/argz.h: Likewise.
5886 * string/bits/string2.h: Likewise.
5887 * string/string.h: Likewise.
5888 * string/strings.h: Likewise.
5889 * sunrpc/rpc/auth.h: Likewise.
5890 * sunrpc/rpc/auth_des.h: Likewise.
5891 * sunrpc/rpc/clnt.h: Likewise.
5892 * sunrpc/rpc/netdb.h: Likewise.
5893 * sunrpc/rpc/pmap_clnt.h: Likewise.
5894 * sunrpc/rpc/xdr.h: Likewise.
5895 * sysdeps/generic/inttypes.h: Likewise.
5896 * sysdeps/generic/net/if.h: Likewise.
5897 * sysdeps/generic/sys/swap.h: Likewise.
5898 * sysdeps/gnu/net/if.h: Likewise.
5899 * sysdeps/gnu/utmpx.h: Likewise.
5900 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5901 * sysdeps/i386/i486/bits/string.h: Likewise.
5902 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5903 * sysdeps/s390/bits/string.h: Likewise.
5904 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5905 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5906 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5907 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5908 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5909 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5910 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5911 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5912 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5913 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5914 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5915 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5916 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5917 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5918 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5919 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5920 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5921 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5922 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5923 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5924 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5925 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5926 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5927 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5928 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5929 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5930 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5931 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5932 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5933 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5934 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5935 * sysvipc/sys/ipc.h: Likewise.
5936 * sysvipc/sys/msg.h: Likewise.
5937 * sysvipc/sys/sem.h: Likewise.
5938 * sysvipc/sys/shm.h: Likewise.
5939 * termios/termios.h: Likewise.
5940 * time/sys/time.h: Likewise.
5941 * time/time.h: Likewise.
5942 * wcsmbs/bits/wchar2.h: Likewise.
5943 * wcsmbs/uchar.h: Likewise.
5944 * wcsmbs/wchar.h: Likewise.
5945 * wctype/wctype.h: Likewise.
5946
0269750c
UD
5947 [BZ #13551]
5948 * Makeconfig: Remove all but ELF support including AIX support.
5949 * Makerules: Likewise.
5950 * config.h.in: Likewise.
5951 * config.make.in: Likewise.
5952 * configure: Likewise.
5953 * configure.in: Likewise.
5954 * csu/Makefile: Likewise.
5955 * csu/version.c: Likewise.
5956 * debug/Makefile: Likewise.
5957 * dlfcn/Makefile: Likewise.
5958 * elf/Makefile: Likewise.
5959 * extra-lib.mk: Likewise.
5960 * iconv/Makefile: Likewise.
5961 * include/libc-symbols.h: Likewise.
5962 * include/shlib-compat.h: Likewise.
5963 * resolv/Makefile: Likewise.
5964 * resolv/res_libc.c: Likewise.
5965 * rt/Makefile: Likewise.
5966 * sysdeps/i386/asm-syntax.h: Likewise.
5967 * sysdeps/i386/sysdep.h: Likewise.
5968 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5969 * sysdeps/mach/sysdep.h: Likewise.
5970 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5971 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5972 * sysdeps/s390/asm-syntax.h: Likewise.
5973 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5974 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5975 * sysdeps/sh/sysdep.h: Likewise.
5976 * sysdeps/unix/sparc/sysdep.h: Likewise.
5977 * sysdeps/wordsize-32/divdi3.c: Likewise.
5978 * sysdeps/x86_64/sysdep.h: Likewise.
5979
00bbd29b
UD
5980 * argp/Versions: Remove _argp_unlock_xxx.
5981
5982 [BZ #13559]
5983 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5984 * abilist/libBrokenLocale.abilist: Likewise.
5985 * abilist/libanl.abilist: Likewise.
5986 * abilist/libc.abilist: Likewise.
5987 * abilist/libcrypt.abilist: Likewise.
5988 * abilist/libdl.abilist: Likewise.
5989 * abilist/libm.abilist: Likewise.
5990 * abilist/libnsl.abilist: Likewise.
5991 * abilist/libpthread.abilist: Likewise.
5992 * abilist/libresolv.abilist: Likewise.
5993 * abilist/librt.abilist: Likewise.
5994 * abilist/libthread_db.abilist: Likewise.
5995 * abilist/libutil.abilist: Likewise.
5996 * abilist/libnss_db.abilist: New file.
5997
5998 * scripts/abilist.awk: Add support for indirect functions.
5999
a2693a0e
UD
6000 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6001
3f05895f
UD
6002 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6003
ecb6fb48
UD
6004 * shlib-versions: Remove entries for ports architectures.
6005
664f8cb9
UD
6006 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6007 files in ports.
6008 * elf/stackguard-macros.h: Remove support for IA-64.
6009 * elf/tst-auditmod1.c: Likewise.
6010 * sysdeps/generic/ldsodefs.h: Likewise.
6011
7ae81d88
UD
6012 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6013 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6014 configure files.
6015
bdeba135
UD
6016 [BZ #13552]
6017 * configure.in: Remove --enable-omitfp support.
6018 * FAQ.in: Adjust.
6019 * config.make.in: Likewise.
6020 * Makeconfig: Likewise.
6021 * manual/install.texi: Likewise.
6022
d75a0a62
UD
6023 In case anyone cares, the IA-64 architecture could move to ports.
6024 * sysdeps/ia64/*: Removed.
6025 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6026 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6027
dcc9756b
UD
6028 [BZ #13555]
6029 * configure.in: Remove entries for unsupported architectures.
6030
d3761ebc 6031 [BZ #13533]
9954432e
UD
6032 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6033 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6034 routines.
6035 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6036 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6037 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6038 fall back to using wcrtomb.
6039 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6040 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6041 renaming.
6042 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6043 * wcsmbs/tst-c16c32-1.c: New file.
6044
6045 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6046 local variable.
6047
c3a87236
UD
6048 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6049
28926a1b
UD
6050 * elf/tst-unique3.cc: Add explicit declaration of gets.
6051 * elf/tst-unique3lib.cc: Likewise.
6052 * elf/tst-unique3lib2.cc: Likewise.
6053 * elf/tst-unique4.cc: Likewise.
6054
df78418a
UD
6055 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6056
8ecd6b2a
JM
60572012-01-06 Joseph Myers <joseph@codesourcery.com>
6058
6059 [BZ #13566]
6060 * assert/assert.h (static_assert): Don't define for C++.
6061 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6062 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6063
9f115170
UD
60642012-01-03 Ulrich Drepper <drepper@gmail.com>
6065
5e0d0300
UD
6066 * iconv/loop.c (single loop): Fix assertion in storing of
6067 remaining bytes.
6068
9f115170
UD
6069 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6070
81fb02b0
UD
60712012-01-01 Ulrich Drepper <drepper@gmail.com>
6072
6073 * posix/getconf.c: Update copyright year.
6074 * nss/getent.c: Likewise.
a316c1f6 6075 * nss/makedb.c: Likewise.
81fb02b0
UD
6076 * iconv/iconvconfig.c: Likewise.
6077 * iconv/iconv_prog.c: Likewise.
6078 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6079 * elf/pldd.c: Likewise.
6080 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6081 * catgets/gencat.c: Likewise.
6082 * csu/version.c: Likewise.
6083 * elf/ldd.bash.in: Likewise.
6084 * elf/sprof.c (print_version): Likewise.
6085 * locale/programs/locale.c: Likewise.
6086 * locale/programs/localedef.c: Likewise.
a316c1f6 6087 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6088 * nscd/nscd.c (print_version): Likewise.
6089 * debug/xtrace.sh: Likewise.
6090 * malloc/memusage.sh: Likewise.
6091 * malloc/mtrace.pl: Likewise.
6092 * debug/catchsegv.sh: Likewise.
6093
2ba92745
JJ
60942011-12-30 Jakub Jelinek <jakub@redhat.com>
6095
6096 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6097 pure attribute.
6098
dadebdae
UD
60992011-12-24 Ulrich Drepper <drepper@gmail.com>
6100
d3761ebc 6101 [BZ #13533]
db6af3eb
UD
6102 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6103 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6104 transformations.
6105 * iconv/gconv_int.h: Likewise.
6106 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6107 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6108 from libc for GLIBC_2.16.
6109 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6110 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6111 * wcsmbs/uchar.h: Really define mbstate_t.
6112 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6113 * wcsmbs/c16rtomb.c: New file.
6114 * wcsmbs/mbrtoc16.c: New file.
6115 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6116 for C/POSIX locale.
6117 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6118 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6119
dadebdae
UD
6120 * wcsmbs/wchar.h: Add missing __restrict.
6121
67371b56
UD
61222011-12-23 Ulrich Drepper <drepper@gmail.com>
6123
74033a25
UD
6124 [BZ #13532]
6125 * time/Makefile (routines): Add timespec_get.
6126 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6127 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6128 timespec for ISO C11.
6129 * time/timespec_get.c: New file.
6130 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6131 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6132
380d7e87
UD
6133 [BZ #13531]
6134 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6135 * stdlib/stdlib.h: Declare aligned_alloc.
6136 * Versions.def: Add GLIBC_2.16 for libc.
6137 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6138
4e9e7a35
UD
6139 [BZ 13527]
6140 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6141 ISO C11.
6142
380d7e87 6143 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6144 code.
6145
03a71829
UD
6146 [BZ #13528]
6147 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6148
839e283e
UD
6149 [BZ #13529]
6150 * assert/assert.h (static_assert): Define.
6151
ce5294e2 6152 * version.h: Update for 2.16 development version.
90fa7312 6153
8d44e150 6154 [BZ #13526]
d7809905
UD
6155 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6156 _ISOC11_SOURCE.
6157
c0da14cd
UD
6158 * version.h (RELEASE): Bump for 2.15 release.
6159 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6160
530a3249
MP
6161 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6162 Patch by Marek Polacek <mpolacek@redhat.com>.
6163
67371b56
UD
6164 * bits/byteswap.h: Protect long long constants with __extension__.
6165 * sysdeps/i386/bits/byteswap.h: Likewise.
6166 * sysdeps/ia64/bits/byteswap.h: Likewise.
6167 * sysdeps/s390/bits/byteswap.h: Likewise.
6168 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6169
15db4de1
LD
61702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6171
6172 [BZ #13540]
bbe315ea
LD
6173 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6174 destination buffer.
15db4de1
LD
6175 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6176
2b2596b1
MP
61772011-12-23 Marek Polacek <polacek@redhat.com>
6178
6179 * elf/dl-addr.c (determine_info): Add inline keyword.
6180 * elf/tst-auditmod4b.c (check_avx): Likewise.
6181 * elf/tst-auditmod6b.c (check_avx): Likewise.
6182 * elf/tst-auditmod6c.c (check_avx): Likewise.
6183 * elf/tst-auditmod7b.c (check_avx): Likewise.
6184
70c6c246
UD
61852011-12-23 Ulrich Drepper <drepper@gmail.com>
6186
6187 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6188 !__SSE_MATH__.
6189
c044cf14
LD
61902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6191
15db4de1 6192 [BZ #13540]
c044cf14
LD
6193 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6194 processing for last bytes.
6195
6b13d9d9
BH
61962011-08-06 Bruno Haible <bruno@clisp.org>
6197
d455f537
BH
6198 [BZ #13061]
6199 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6200 U+0385, not to U+1FEE.
6201
6b13d9d9
BH
6202 [BZ #13062]
6203 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6204 entry for U+00A5 U+0301.
6205
db910efd
UD
62062011-12-22 Ulrich Drepper <drepper@gmail.com>
6207
27deeafc
UD
6208 [BZ #13166]
6209 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6210 buffer for the output is too small.
6211
aed9d171
UD
6212 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6213 optimization.
6214
db910efd
UD
6215 [BZ #13185]
6216 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6217 SSE flags if possible.
6218
2bd779ae
LD
62192011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6220
e7f9dac3 6221 [BZ #13540]
2bd779ae
LD
6222 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6223 processing for last bytes.
6224
154bfc16
JM
62252011-12-22 Joseph Myers <joseph@codesourcery.com>
6226
6227 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6228 (syscall-list-default-options, syscall-list-default-condition)
6229 (syscall-list-includes): Define.
6230 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6231 list of ABIs and options and #if conditions for each ABI. Do not
6232 handle common syscalls between ABIs specially.
6233 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6234 Remove.
6235 (syscall-list-variants, syscall-list-32bit-options)
6236 (syscall-list-32bit-condition, syscall-list-64bit-options)
6237 (syscall-list-64bit-condition): Define.
6238 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6239 (syscall-list-variants, syscall-list-32bit-options)
6240 (syscall-list-32bit-condition, syscall-list-64bit-options)
6241 (syscall-list-64bit-condition): Define.
6242 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6243 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/x86_64/Makefile (64bit-predefine):
6248 Remove.
6249 (syscall-list-variants, syscall-list-32bit-options)
6250 (syscall-list-32bit-condition, syscall-list-64bit-options)
6251 (syscall-list-64bit-condition): Define.
6252
21eaf3a5
UD
62532011-12-22 Ulrich Drepper <drepper@gmail.com>
6254
16c6f992
UD
6255 * locale/iso-639.def: Add brx entry.
6256
41043168
UD
6257 [BZ #13328]
6258 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6259 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6260
21eaf3a5
UD
6261 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6262 __feraiseexcept_renamed.
6263
e3a851a2
UD
62642011-12-21 Ulrich Drepper <drepper@gmail.com>
6265
4920765e
UD
6266 [BZ #13538]
6267 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6268 EPOLLET with unsigned values.
6269 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6270 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6271
e3a851a2
UD
6272 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6273 to large cancellation.
6274 * math/s_cacoshf.c: Likewise.
6275 * math/s_cacoshl.c: Likewise.
6276
b27e24b8
RK
62772011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6278
6279 [BZ #13305]
aebefeee 6280 [BZ #12786]
b27e24b8
RK
6281 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6282 * math/s_cacoshf.c: Likewise.
6283 * math/s_cacoshl.c: Likewise.
6284
ee190f67
UD
62852011-12-21 Ulrich Drepper <drepper@gmail.com>
6286
6287 [BZ #13439]
6288 * iconv/gconv.h: Define __GCONV_SWAP.
6289 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6290 * iconvdata/utf-16.c: Likewise.
6291 * iconvdata/utf-32.c: Likewise.
6292
707f25df
AS
62932011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6294
6295 [BZ #13524]
6296 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6297 numerator after shifting it by one limb.
6298
d2daaa1e
RÁE
62992011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6300
6301 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6302 under [__USE_EXTERN_INLINES].
6303
a4647e72
UD
63042011-12-17 Ulrich Drepper <drepper@gmail.com>
6305
6306 [BZ #13446]
6307 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6308
f0b264f1
AZ
63092011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6310
6311 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6312 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6313 optimized code.
6314 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6315 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6316 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6317 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6318 for strncasecmp/strncasecmp_l compilation.
6319 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6320 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6321
8ef4f244
MP
63222011-12-08 Marek Polacek <mpolacek@redhat.com>
6323
6324 [BZ #13484]
6325 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6326 of __asm__.
6327
97ac2654
UD
63282011-12-17 Ulrich Drepper <drepper@gmail.com>
6329
6330 [BZ #13506]
6331 * time/tzfile.c (__tzfile_read): Check values from file header.
6332
91d2a845
WS
63332011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6334
6335 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6336 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6337 * powerpc/powerpc32/dl-start.S: Likewise.
6338 * powerpc/powerpc32/elf/start.S: Likewise.
6339 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6340 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6341 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6342 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6343 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6344 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6345 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6346 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6347 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6348 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6349 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6350 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6351 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6352 * powerpc/powerpc32/memset.S: Likewise.
6353 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6354 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6355 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6356 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6357 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6358 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6359 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6360 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6361 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6362 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6363 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6364 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6365 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6366
a1267ba1
AZ
63672011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6368
6369 * math/libm-test.inc: Added more nearbyint tests.
6370 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6371 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6372 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6373 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6374
ad8ac1bd
RL
63752011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6376
6377 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6378 FD_CLOEXEC.
6379
1d3e4b61
UD
63802011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6381
6382 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6383 Add wcscpy-ssse3 wcscpy-c.
6384 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6385 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6386 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6387 * sysdeps/x86_64/wcschr.S: New file.
6388 * sysdeps/x86_64/wcsrchr.S: New file.
6389 * string/test-strcmp.c: Remove checking of wcscmp function for
6390 wrong alignments.
6391 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6392 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6393 wcsrchr-sse2 wcsrchr-c.
6394 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6395 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6396 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6397 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6398 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6399 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6400 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6401 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6402 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6403 * wcsmbc/wcschr.c (WCSCHR): New macro.
6404
5b330a2d
UD
64052011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6406
6407 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6408 * wcsmbs/test-wcsrchr.c: New file.
6409 * string/test-strrchr.c: Add wcsrchr support.
6410 (WIDE): New macro.
6411 * wcsmbs/test-wcscpy.c: New file.
6412 * string/test-strcpy.c: Add wcscpy support.
6413 (WIDE): New macro.
26428b7c 6414
f039c043
UD
64152011-12-10 Ulrich Drepper <drepper@gmail.com>
6416
6417 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6418 the inner loop.
6419
850fb039
AS
64202011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6421
6422 [BZ #13472]
6423 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6424
4efbd5cb
UD
64252011-12-04 Ulrich Drepper <drepper@gmail.com>
6426
52ff5dd0 6427 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6428 Minor optimizations.
52ff5dd0 6429
4efbd5cb
UD
6430 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6431 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6432 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6433
8a426e12
UD
64342011-12-03 Ulrich Drepper <drepper@gmail.com>
6435
aff2453d
UD
6436 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6437 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6438 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6439 for gcc to avoid warnings.
6440 * inet/Makefile (tests): Add tst-checks.
6441 * inet/tst-checks.c: New file.
6442
6443 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6444 warning.
6445
6446 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6447 __wmemcmp_sse2.
6448
6449 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6450 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6451
8a426e12
UD
6452 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6453
9bea3473
UD
64542011-12-02 Ulrich Drepper <drepper@gmail.com>
6455
3a965496
UD
6456 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6457 problem.
6458
9bea3473
UD
6459 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6460
f101631b
UD
64612011-11-29 Joseph Myers <joseph@codesourcery.com>
6462
6463 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6464 conditional on GCC version.
6465 (__arch_compare_and_exchange_val_8_acq)
6466 (__arch_compare_and_exchange_val_16_acq)
6467 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6468 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6469 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6470
a98275aa
UD
64712011-12-02 Joseph Myers <joseph@codesourcery.com>
6472
6473 * sysdeps/sh/backtrace.c: New file.
6474
d4cc29a2
AS
64752011-12-02 Andreas Schwab <schwab@redhat.com>
6476
6477 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6478 parenthesis.
6479
6257af2d
AS
64802011-12-01 Andreas Schwab <schwab@redhat.com>
6481
6482 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6483 falling back to utime.
6484
b5f44c1a
AS
64852011-11-30 Andreas Schwab <schwab@redhat.com>
6486
6487 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6488 expectations for float.
6489
f3a6cc0a
AS
64902011-11-29 Andreas Schwab <schwab@redhat.com>
6491
6492 * locale/weight.h (findidx): Add parameter len.
6493 * locale/weightwc.h (findidx): Likewise.
6494 * posix/fnmatch_loop.c (FCT): Adjust caller.
6495 * posix/regcomp.c (build_equiv_class): Likewise.
6496 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6497 * posix/regexec.c (check_node_accept_bytes): Likewise.
6498 * string/strcoll_l.c (STRCOLL): Likewise.
6499 * string/strxfrm_l.c (STRXFRM): Likewise.
6500
9d65ea3a
UD
65012011-11-17 Ulrich Drepper <drepper@gmail.com>
6502
6503 * Makefile.in: Remove CVSOPT handling.
6504 * configure.in: Remove use of AC_REVISION.
6505 * iconvdata/Makefile (distribute): No need to filter out CVS.
6506 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6507 handling.
6508
5583a086
AS
65092011-11-16 Andreas Schwab <schwab@redhat.com>
6510
6511 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6512 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6513 [USE_AS_STRNCASECMP_L]: Likewise.
6514 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6515 NO_TLS_DIRECT_SEG_REFS.
6516 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6517 Fix argument offsets for non-PIC.
6518 [USE_AS_STRNCASECMP_L]: Likewise.
6519 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6520 NO_TLS_DIRECT_SEG_REFS.
6521
d62a8200
UD
65222011-11-15 Ulrich Drepper <drepper@gmail.com>
6523
9d65ea3a 6524 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6525 O_CLOEXEC.
6526 * locale/loadlocale.c (_nl_load_locale): Likewise.
6527
09f93bd3
AS
65282011-11-15 Andreas Schwab <schwab@redhat.com>
6529
446514f9
AS
6530 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6531 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6532 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6533 (SYSCALL_GETTIME): Set errno on error.
6534
09f93bd3
AS
6535 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6536 count references to noai6ai_cached.
6537
312be3f9
UD
65382011-11-15 Ulrich Drepper <drepper@gmail.com>
6539
6540 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6541
6542 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6543 FD_CLOEXEC for /proc/self/maps.
6544
6545 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6546 FD_CLOEXEC for /proc/meminfo.
6547
6548 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6549 gai.conf.
6550
6551 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6552 FD_CLOEXEC for given file.
6553
6554 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6555
6556 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6557 FD_CLOEXEC for /etc/hosts.
6558 (_gethtent): Likewise.
6559
6560 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6561
6562 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6563 cancellation and set FD_CLOEXEC for /etc/netgroup.
6564
6565 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6566 reading /etc/publickey.
6567
6568 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6569 allow cancellation when reading /etc/group.
6570
6571 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6572 cancellation.
6573 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6574
6575 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6576 when using data file.
6577
6578 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6579
6580 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6581 (write_nis_obj): Use "c" and "e" in fopen.
6582
6583 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6584
6585 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6586
6587 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6588
6589 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6590
6591 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6592 locale.alias.
6593
6594 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6595
6596 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6597
6598 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6599
6600 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6601 file parsing and set FD_CLOEXEC.
6602
82af0fa8
UD
66032011-11-14 Ulrich Drepper <drepper@gmail.com>
6604
6605 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6606
a5fb313c
AS
66072011-11-14 Andreas Schwab <schwab@redhat.com>
6608
6609 * malloc/arena.c (arena_get2): Don't call reused_arena when
6610 _int_new_arena failed.
6611
6abf3465
UD
66122011-11-14 Ulrich Drepper <drepper@gmail.com>
6613
6614 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6615 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6616 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6617 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6618 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6619 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6620 to compile strcasecmp and strncasecmp.
6621 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6622 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6623
6624 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6625
76e3966e
UD
66262011-11-13 Ulrich Drepper <drepper@gmail.com>
6627
6628 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6629 locale-defines.sym to gen-as-const-headers.
6630 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6631 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6632 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6633 to compile strcasecmp and strncasecmp.
6634 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6635 strcasecmp_l and strncasecmp_l.
6636 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6637 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6638 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6639 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6640 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6641 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6642 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6643 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6644 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6645 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6646 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6647
ab26144e
UD
66482011-11-12 Ulrich Drepper <drepper@gmail.com>
6649
7edb22ef
UD
6650 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6651 result of SYSDEP_GETTIME_CPU to retval.
6652 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6653 parameter list to macro. Remove trailing semicolon. Adjust users.
6654
9694fc44
UD
6655 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6656 variable.
6657
8ad89ef8
UD
6658 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6659 mantissa words.
6660 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6661
0c822ef9
UD
6662 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6663 from unused variable.
6664
874e0564
UD
6665 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6666 DWARF definitions.
6667 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6668 for assembling.
6669
3a2edc79
UD
6670 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6671 over namespaces.
6672
f3c2577f
UD
6673 * sunrpc/rpc_prot.c (rejected): Fix case value.
6674
294ce126
UD
6675 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6676 unsigned long long int to avoid warnings in shift.
6677
5e2b63c6
UD
6678 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6679 of use of trans.
6680 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6681 variable tmp.
6682
e7f4b08e
UD
6683 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6684 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6685 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6686
ab26144e
UD
6687 * nis/nis_table.c (nis_list): Use variable of correct type for
6688 result of __follow_path call.
6689
8a6d5255
AZ
66902011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6691
6692 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6693 of math functions ceil, trunc, floor, round, and sqrt, when
6694 avaliable on the platform.
6695 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6696 name clash.
6697 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6698 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6699 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6700
aaddc98c
MP
67012011-10-30 Marek Polacek <mpolacek@redhat.com>
6702
6703 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6704 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6705
95b7042b
RM
67062011-11-11 Roland McGrath <roland@hack.frob.com>
6707
6708 * include/unistd.h: Fix __readlink return type.
6709 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6710
57769839
UD
67112011-11-11 Ulrich Drepper <drepper@gmail.com>
6712
6713 * stdlib/ucontext.h: Undo last change for makecontext.
6714
edc5984d
AS
67152011-11-11 Andreas Schwab <schwab@redhat.com>
6716
98591e58
AS
6717 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6718
edc5984d
AS
6719 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6720 * setjmp/setjmp.h: Mark functions as non-leaf.
6721 * setjmp/bits/setjmp2.h: Likewise.
6722 * stdlib/ucontext.h: Likewise.
6723
77cdc054
AS
67242011-11-10 Andreas Schwab <schwab@redhat.com>
6725
6726 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6727 (reused_arena): Don't check arena limit.
6728 (arena_get2): Atomically check arena limit.
6729
fe72eebd
UD
67302011-11-08 Ulrich Drepper <drepper@gmail.com>
6731
5f078c32
UD
6732 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6733 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6734
fe72eebd
UD
6735 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6736 instructions.
6737
ae1bc2fa
AS
67382011-11-07 Andreas Schwab <schwab@redhat.com>
6739
7583a88d
AS
6740 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6741 handler when locking.
6742
ae1bc2fa
AS
6743 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6744 Fix size of allocated buffer.
6745
10fb0bfa
AS
67462011-11-04 Andreas Schwab <schwab@redhat.com>
6747
998832a4
AS
6748 [BZ #10103]
6749 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6750 declarations for long double functions.
6751 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6752
10fb0bfa
AS
6753 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6754
3d7ba52b
AS
67552011-11-03 Andreas Schwab <schwab@redhat.com>
6756
a9ae54a1
AS
6757 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6758 installed.
6759
3d7ba52b
AS
6760 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6761 is disabled.
6762
bc8db248
ST
67632011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6764
6765 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6766
45b96dd6
AS
67672011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6768
647776f6
AS
6769 * include/alloca.h (stackinfo_alloca_round): Define.
6770 (extend_alloca): Use it.
6771 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6772 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6773 here.
6774
d91a8b93
AS
6775 * scripts/check-local-headers.sh: Ignore libaudit.h.
6776
45b96dd6
AS
6777 * nscd/Makefile (extra-objs): Make recursively expanded.
6778
432d41ce
UD
67792011-11-01 Ulrich Drepper <drepper@gmail.com>
6780
34372fc6
UD
6781 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6783
fadb59f8
UD
6784 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6785 * posix/tst-rfc3484-2.c: Likewise.
6786 * posix/tst-rfc3484-3.c: Likewise.
6787
78239589
UD
6788 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6789 process_vm_writev.
6790 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6791 process_vm_writev.
6792 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6793 process_vm_writev from libc using GLIBC_2.15 version.
6794
432d41ce
UD
6795 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6796
02f9c6cf
PP
67972011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6798
6799 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6800 stack usage.
6801
3a2c0242
UD
68022011-10-31 Ulrich Drepper <drepper@gmail.com>
6803
f4ec4833
UD
6804 [BZ #13367]
6805 * nss/getent.c (initgroups_keys): Show error message in case no group
6806 names are given.
6807
3a2c0242
UD
6808 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6809 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6810 __bump_nl_timestamp.
6811 * nscd/connections (nscd_init): When host database is served open
6812 netlink socket and request notification about configuration changes.
6813 (main_loop_poll): Track netlink file descriptor and bump timestamp
6814 in case data becomes available.
6815 (main_loop_epoll): Likewise.
6816 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6817 (database_pers_head): Add extra_data fileds.
6818 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6819 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6820 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6821 Adjust caller.
6822 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6823 in6ai data, call __free_in6ai.
6824 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6825 Add -DHAVE_NETLINK.
6826 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6827 interface information. Reuse previous data if netlink timestamp
6828 is not changed.
6829 (__bump_nl_timestamp): New function.
6830 (__free_in6ai): New function.
6831
636064eb
UD
68322011-10-30 Ulrich Drepper <drepper@gmail.com>
6833
6834 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6835 close_not_cancel_no_status here.
6836 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6837
9beb2334
UD
68382011-10-29 Ulrich Drepper <drepper@gmail.com>
6839
6ef76f3b
UD
6840 [BZ #13276]
6841 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6842 return value.
6843
0ffc4f3e 6844 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
6845 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6846 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6847
cb95113e
UD
68482011-07-03 Andreas Jaeger <aj@suse.de>
6849
6850 [BZ #10709]
6851 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6852 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6853 * math/libm-test.inc (sin_test): Add test case.
6854
a1b560ff
UD
68552011-10-29 Ulrich Drepper <drepper@gmail.com>
6856
c9aaface
UD
6857 [BZ #13337]
6858 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6859 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6860
d272e7f1
UD
6861 * elf/chroot_canon.c (chroot_canon): Cleanups.
6862
1bc33071
UD
6863 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6864
1760874d
TJ
6865 [BZ #13335]
6866 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6867 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6868
51d91b18
UD
6869 * string/test-strchr.c: Make usable for strchrnul testing.
6870 * string/test-strchrnul.c: New file.
6871 * string/Makefile (strop-tests): Add strchrnul.
6872
a1b560ff 6873 * po/it.po: Update from translation team.
b611fb81 6874 * po/es.po: Likewise.
a1b560ff 6875
a5b81e1f
UD
68762011-10-28 Ulrich Drepper <drepper@gmail.com>
6877
fd52bc6d
UD
6878 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6879 the three constants needed as parameters. Drop the others.
6880 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6881 __m128i_strloadu_tolower.
52e4b9eb
UD
6882 Create and initialize variable zero and use it in all the places
6883 where _mm_setzero_si128 was used.
fd52bc6d 6884
a5b81e1f
UD
6885 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6886 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6887 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6888 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6889 anymore.
6890 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6891 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6892 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6893 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6894 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6895 __mpranred, __mptan.
6896 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6897 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6898 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6899 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6900 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6901 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6902 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6903 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6904 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6905
b4343346
AS
69062011-10-28 Andreas Schwab <schwab@redhat.com>
6907
0c92d8a8
AS
6908 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6909 redefine if SHARED.
6910 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6911
b4343346
AS
6912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6913 wide char related routines to wcsmbs subdir.
6914
3871f58f
AS
69152011-10-27 Andreas Schwab <schwab@redhat.com>
6916
6917 [BZ #13344]
6918 * misc/sys/cdefs.h (__THROWNL): Define.
6919 * posix/unistd.h: Use __THREADNL instead of __THREAD
6920 for memory synchronization functions.
6921
94d44d9f
RM
69222011-10-26 Roland McGrath <roland@hack.frob.com>
6923
21b64b15 6924 [BZ #13349]
94d44d9f
RM
6925 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6926 doesn't exist.
6927 * manual/stdio.texi (Obstack Streams): Node removed.
6928
f6ce9294
AS
69292011-10-26 Andreas Schwab <schwab@redhat.com>
6930
80479147
AS
6931 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6932 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6933 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6934
f6ce9294
AS
6935 * math/math_private.h (math_force_eval): Allow non-addressable
6936 arguments.
6937 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6938
618280a1
UD
69392011-10-25 Ulrich Drepper <drepper@gmail.com>
6940
e0016b11
UD
6941 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6942 file is not needed.
6943
6944 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6945 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6946 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6947 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6948 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6949 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6950 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6951 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6952 Add AVX variants.
6953 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6954 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6955 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6956 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6957 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6958 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6959 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6960 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6961 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6962 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6963 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6964 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6965 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6966 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6967 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6968 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6969 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6970 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6971 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6972
6973 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6974 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6975
618280a1
UD
6976 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6977 place. Use VEX encoding when compiling for AVX.
6978
37822576
AS
69792011-10-25 Andreas Schwab <schwab@redhat.com>
6980
1f1e1947
AS
6981 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6982 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6983
37822576
AS
6984 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6985
31ea014d
UD
69862011-10-25 Ulrich Drepper <drepper@gmail.com>
6987
d7826aa1 6988 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 6989 useless if() expression.
d7826aa1
UD
6990 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6991 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6992 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6997 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6999 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7000 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7001 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7002 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7003 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7004 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7005 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7006 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7007 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7008 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7009
31ea014d
UD
7010 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7011
16437fec
AS
70122011-10-25 Andreas Schwab <schwab@redhat.com>
7013
7014 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7015 condition.
7016 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7017
31d3cc00
UD
70182011-10-25 Ulrich Drepper <drepper@gmail.com>
7019
7020 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7021 .text section. Avoid duplicate constants.
7022 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7032 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7033 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7034 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7037 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7039 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7040 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7041 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7042 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7043 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7044 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7045 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7046 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7047 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7048 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7049 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7050 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7051 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7052 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7053 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7054 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7055 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7056 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7057 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7058 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7059 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7060 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7061 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7062 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7063 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7064 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7065 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7066 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7067
58985aa9
UD
70682011-10-24 Ulrich Drepper <drepper@gmail.com>
7069
202c9deb
UD
7070 * sysdeps/x86_64/dla.h: Move to ...
7071 * sysdeps/x86_64/fpu/dla.h: ...here.
7072 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7073 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7074
af968f62
UD
7075 * config.make.in: Add have-mfma4 entry.
7076 * configure.in: Substitute libc_cv_cc_fma4.
7077 * math/Makefile (dbl-only-routines): Add sincostab.
7078 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7079 Use __sincostab not sincos.
7080 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7081 name is a macro.
7082 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7083 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7084 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7086 using __copysign.
7087 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7088 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7089 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7090 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7091 and __inv.
7092 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7093 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7094 __copysign.
7095 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7096 define aliases when function name is a macro.
7097 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7098 sysdeps/ieee754/dbl-64/sincos.tbl.
7099 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7100 fma4-enabled routines.
7101 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7102 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7103 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7104 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7105 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7106 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7107 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7108 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7109 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7110 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7111 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7112 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7113 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7114 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7115 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7116 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7117 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7118 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7119 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7120 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7121 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7122 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7123 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7124 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7125 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7126 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7127 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7128 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7129 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7130 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7131
58985aa9
UD
7132 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7133 rename.
7134 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7139 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7140 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7141 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7142
a201fbcf
AS
71432011-10-24 Andreas Schwab <schwab@redhat.com>
7144
7145 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7146
fc2ee42a
LD
71472011-10-23 Ulrich Drepper <drepper@gmail.com>
7148
bb3129bd
UD
7149 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7150
0275fff8
UD
7151 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7152 prediction.
7153 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7154
2fa2ae85
UD
7155 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7156 Remove unused variable magic_bits.
7157 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7158
fc2ee42a
LD
7159 * string/strnlen.c: Define and use STRNLEN macro.
7160 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7161 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7162 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7163 * wcsmbs/wcslen.c: Define and use WCSLEN.
7164 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7165 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7166 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7167 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7168 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7169 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7170 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7171
ce7dd29f
LD
71722011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7173
7174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7175 strnlen-sse2-no-bsf.
7176 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7177 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7178 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7179 Add strnlen support.
7180 (USE_AS_STRNLEN): New macro.
7181 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7182 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7183 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7184 * sysdeps/x86_64/wcslen.S: New file.
7185
979c70a3
MZ
71862011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7187
7188 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7189 XMM-moves are used for copying on small sizes.
7190
2d09f82f
LD
71912011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7192
7193 * wcsmbs/Makefile (strop-tests): Add wcschr.
7194 * wcsmbs/test-wcschr.c: New file.
7195 * string/test-strchr.c: Update.
7196 Add wcschr support.
7197 (WIDE): New macro.
7198
619fccca
LD
71992011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7200
2d09f82f 7201 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7202 * wcsmbs/test-wcslen.c: New file.
7203 * string/test-strlen.c: Update.
7204 Add wcslen support.
7205 (WIDE): New macro.
7206
09f699ea
UD
72072011-10-23 Ulrich Drepper <drepper@gmail.com>
7208
7209 * po/it.po: Update from translation team.
7210
95584d3b
LD
72112011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7212
7213 * sysdeps/x86_64/wcscmp.S: Update.
7214 Fix wrong comparison semantics.
7215 wcscmp shall use signed comparison not unsigned.
7216 Don't use substraction to avoid overflow bug.
7217 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7218 * wcsmbc/wcscmp.c: Likewise.
7219 * string/test-strcmp.c: Likewise.
7220 Add new tests to check cases with negative values.
7221
c8b3296b
UD
72222011-10-23 Ulrich Drepper <drepper@gmail.com>
7223
7224 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7225 * sysdeps/x86_64/dla.h: ...here. New file.
7226 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7227 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7228 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7229 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7230 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7231 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7233 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7234 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7235
246ad57a
AS
72362011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7237
7238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7239 __ynl_finite aliases.
7240
a1a87169
UD
72412011-10-22 Ulrich Drepper <drepper@gmail.com>
7242
0d355eb7
UD
7243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7244
a1a87169
UD
7245 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7246 define DLA_FMA.
7247 [DLA_FMA] (EMULV): Use DLA_FMA.
7248 [DLA_FMA] (MUL12): Use EMULV.
7249 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7250 that are not needed.
7251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7253 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7254 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7256 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7258
ee2aafe0
AS
72592011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7260
7261 * math/s_nan.c: Undef __nan.
7262 * math/s_nanf.c: Undef __nanf.
7263 * math/s_nanl.c: Undef __nanl.
7264 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7265 "math_private.h".
7266
bc62c2fb
UD
72672011-10-22 Ulrich Drepper <drepper@gmail.com>
7268
77425c63
UD
7269 * math/s_catan.c: Add branch predictions.
7270 * math/s_catanf.c: Likewise.
7271 * math/s_catanh.c: Likewise.
7272 * math/s_catanhf.c: Likewise.
7273 * math/s_catanhl.c: Likewise.
7274 * math/s_catanl.c: Likewise.
7275 * math/s_cexp.c: Likewise.
7276 * math/s_cexpf.c: Likewise.
7277 * math/s_cexpl.c: Likewise.
7278 * math/s_clog.c: Likewise.
7279 * math/s_clog10.c: Likewise.
7280 * math/s_clog10f.c: Likewise.
7281 * math/s_clog10l.c: Likewise.
7282 * math/s_clogf.c: Likewise.
7283 * math/s_clogl.c: Likewise.
7284 * math/s_csqrt.c: Likewise.
7285 * math/s_csqrtf.c: Likewise.
7286 * math/s_csqrtl.c: Likewise.
7287 * math/s_ctanf.c: Likewise.
7288 * math/s_ctanh.c: Likewise.
7289 * math/s_ctanhf.c: Likewise.
7290 * math/s_ctanhl.c: Likewise.
7291 * math/s_ctanl.c: Likewise.
7292
bc62c2fb
UD
7293 * math/math_private.h: Define __nan, __nanf, __nanl.
7294 * math/s_cacosh.c: Include <math_private.h>.
7295 * math/s_cacoshl.c: Likewise.
7296 * math/s_casinh.c: Likewise.
7297 * math/s_casinhf.c: Likewise.
7298 * math/s_casinhl.c: Likewise.
7299 * math/s_ccos.c: Rely entire on ccosh.
7300 * math/s_ccosf.c: Rely entire on ccoshf.
7301 * math/s_ccosl.c: Rely entirely on ccoshl.
7302 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7303 Remove tests for FE_INVALID.
7304 * math/s_ccoshf.c: Likewise.
7305 * math/s_ccoshl.c: Likewise.
7306 * math/s_csin.c: Likewise.
7307 * math/s_csinf.c: Likewise.
7308 * math/s_csinh.c Likewise.
7309 * math/s_csinhf.c: Likewise.
7310 * math/s_csinhl.c: Likewise.
7311 * math/s_csinl.c: Likewise.
7312 * math/s_ctan.c: Likewise.
7313 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7314 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7315 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7316
8ec250a4
UD
73172011-10-21 Ulrich Drepper <drepper@gmail.com>
7318
c196fed8
UD
7319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7320 compilation problems.
7321
8ec250a4
UD
7322 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7323 __builtin_expect.
7324
8d4f46c6
UD
73252011-10-20 Ulrich Drepper <drepper@gmail.com>
7326
ed72b654
UD
7327 * sysdeps/i386/configure.in: Test for -mfma4 option.
7328 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7329 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7330 COMMON_CPUID_INDEX_80000001.
7331 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7332 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7333 use it if FMA3 is not supported.
7334 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7335
8d4f46c6
UD
7336 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7337 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7338
d45c60c2
AS
73392011-10-20 Andreas Schwab <schwab@redhat.com>
7340
7341 [BZ #12892]
7342 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7343 it would create a cycle with a link time dependency.
7344
d9a4d2ab
UD
73452011-10-19 Ulrich Drepper <drepper@gmail.com>
7346
855d1560
UD
7347 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7348 instruction.
7349 * string/Makefile (strop-tests): Add rawmemchr.
7350 * string/test-rawmemchr.c: New file.
7351
d9a4d2ab
UD
7352 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7353 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7354 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7355 when compiling str{,n}casecmp and when AVX is available. Hook up
7356 new optimized code in initializers.
7357
8f3b1ffe
AS
73582011-10-19 Andreas Schwab <schwab@redhat.com>
7359
7360 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7361 __feraiseexcept instead of feraiseexcept.
7362
d38f1dba
UD
73632011-10-18 Ulrich Drepper <drepper@gmail.com>
7364
d9a8d0ab
UD
7365 * math/math_private.h: Define defaults for libc_fetestexcept and
7366 libc_feupdateenv.
7367 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7368 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7369 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7370 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7371 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7372 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7373 libc_fetestexcept and libc_feupdateenv.
7374
4855e3dd
UD
7375 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7376 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7377 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7378 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7379 libc_feholdexcept_setround.
7380
581d30e3
UD
7381 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7382 Add s_nearbyint-c and s_nearbyintf-c.
7383 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7384 nearbyintf inlines.
7385 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7386 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7387 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7388 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7389
d38f1dba
UD
7390 * math/math_private.h: Define defaults for libc_fegetround,
7391 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7392 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7393 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7394 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7395 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7396 standard functions.
7397 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7398 Remove comments and hacks for old compiler versions.
7399 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7400 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7401 libc_feholdexceptl.
7402
caa6c9d8
AS
74032011-10-18 Andreas Schwab <schwab@redhat.com>
7404
7405 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7406 (__feraiseexcept_renamed): Add __NTH.
7407 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7408 namespace violations.
7409
97c066e6
UD
74102011-10-17 Ulrich Drepper <drepper@gmail.com>
7411
99ce7b04
UD
7412 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7413
1004d182
UD
7414 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7415
228a984d
UD
7416 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7417 recently added interfaces.
7418 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7419
c8553a6a
UD
7420 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7421 about macro parameter expansion.
7422
ed22dcf6
UD
7423 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7424 __NO_MATH_INLINES is defined. Cleanups.
7425
7426 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7427 and __floorf is target has SSE4.1.
7428 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7429 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7430 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7431 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7432
b171c137
UD
7433 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7434 name.
7435 (floorf): Likewise.
7436
97c066e6
UD
7437 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7438
629f62ef
AS
74392011-10-17 Andreas Schwab <schwab@redhat.com>
7440
49a43d80
AS
7441 * misc/sys/cdefs.h: Fix last change.
7442
629f62ef
AS
7443 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7444 database lookup.
7445
e453f6cd
UD
74462011-10-16 Ulrich Drepper <drepper@gmail.com>
7447
aa78043a
UD
7448 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7449
ad0f5cad
UD
7450 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7451 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7452 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7453 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7454 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7455 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7456 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7457 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7458 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7459 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7460 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7461 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7462 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7463 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7464 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7465 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7466 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7467 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7468 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7469 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7470 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7471 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7472
7473 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7474 ceil, ceilf, floor, floorf.
7475
7476 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7477 Perform IRELATIVE relocations last.
7478
e453f6cd
UD
7479 * elf/do-rel.h: Add another parameter nrelative, replacing the
7480 local variable with the same name. Change name of the function
7481 to end in Rel or Rela (uppercase).
7482 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7483 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7484 elf_dynamic_do_##reloc function.
7485
fd5bdc09
UD
74862011-10-15 Ulrich Drepper <drepper@gmail.com>
7487
79b195b5
UD
7488 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7489 is sufficient, at least on modern CPUs.
7490
d4a28569
UD
7491 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7492
b61099b5
UD
7493 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7494 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7495
bcf01e6d
UD
7496 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7497 __expl_finite.
7498 * math/bits/math-finite.h: Add entries for exp.
7499 * math/e_expl.c: Add __*_finite alias.
7500 * sysdeps/i386/fpu/e_exp.S: Likewise.
7501 * sysdeps/i386/fpu/e_expf.S: Likewise.
7502 * sysdeps/i386/fpu/e_expl.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7504 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7505 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7506 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7507 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7508 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7509 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7510
ba1a0d59
UD
7511 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7512 is sufficient, at least on modern CPUs.
7513
fd5bdc09
UD
7514 * ctype/ctype-info.c (__ctype_init): Define.
7515 * include/ctype.h (__ctype_init): Declare.
7516 (__ctype_b_loc): The variable is always initialized.
7517 (__ctype_toupper_loc): Likewise.
7518 (__ctype_tolower_loc): Likewise.
7519 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7520 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7521
7872cfb0
AS
75222011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7523
b468825a
AS
7524 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7525
7872cfb0
AS
7526 * configure.in: Also look in $cxxmachine/include for C++ system
7527 headers.
7528
be13f7bf
LD
75292011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7530
7531 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7532 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7533 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7534 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7535 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7536 (USE_AS_WMEMCMP): New macro.
7537 Fixing indents.
7538 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7539 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7540 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7541 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7542 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7543 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7544 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7545 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7546 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7547 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7548 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7549 (USE_AS_WMEMCMP): New macro.
7550 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7551 * sysdeps/string/test-memcmp.c: Update.
7552 Fix simple_wmemcmp.
7553 Add new tests.
7554 * wcsmbs/wmemcmp.c: Update.
7555 (WMEMCMP): New macro.
7556 Fix overflow bug.
7557
556a2007
AJ
75582011-10-12 Andreas Jaeger <aj@suse.de>
7559
7560 [BZ #13268]
7561 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7562
538faaa7
UD
75632011-10-15 Ulrich Drepper <drepper@gmail.com>
7564
ab6737ff
UD
7565 * libio/iofwide.c (do_length): Avoid warning.
7566
538faaa7
UD
7567 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7568
396a21b1
UD
75692011-10-14 Ulrich Drepper <drepper@gmail.com>
7570
cdf2901f
UD
7571 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7572
38ad40ce
UD
7573 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7574 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7575 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7576 * sysdeps/i386/i686/fpu/e_log.S: New file.
7577 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7578 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7579
396a21b1
UD
7580 * ctype/ctype.h: Add support for inlined isXXX functions when
7581 compiling C++ code.
7582
6b1f68c9
AS
75832011-10-14 Andreas Schwab <schwab@redhat.com>
7584
349290c0
AS
7585 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7586
6b1f68c9
AS
7587 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7588
f2282d42
RM
75892011-10-13 Roland McGrath <roland@hack.frob.com>
7590
7591 [BZ #13291]
7592 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7593
5298ffa8
AS
75942011-10-13 Andreas Schwab <schwab@redhat.com>
7595
714fad23
AS
7596 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7597 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7598 feraiseexcept.
7599
81dcc7fb
AS
7600 * sysdeps/x86_64/memrchr.S: Check for zero size.
7601
5298ffa8
AS
7602 * string/stratcliff.c: Add memrchr tests.
7603
951fbcec
LD
76042011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7605
7606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7607 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7608 rawmemchr-sse2 rawmemchr-sse2-bsf.
7609 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7610 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7611 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7612 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7613 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7614 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7615 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7616 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7617 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7618 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7619 * string/memrchr.c (MEMRCHR): New macro.
7620
0ac5ae23
UD
76212011-10-12 Ulrich Drepper <drepper@gmail.com>
7622
7623 Add integration with gcc's -ffinite-math-only and optimize wrapper
7624 functions in libm.
7625 * Versions.def: Define GLIBC_2.15 version for libm.
7626 * math/Makefile (headers): Add bits/math-finite.h.
7627 * math/bits/math-finite.h: New file.
7628 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7629 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7630 * math/e_acoshl.c: Add __*_finite alias.
7631 * math/e_acosl.c: Likewise.
7632 * math/e_asinl.c: Likewise.
7633 * math/e_atan2l.c: Likewise.
7634 * math/e_atanhl.c: Likewise.
7635 * math/e_coshl.c: Likewise.
7636 * math/e_exp10.c: Likewise.
7637 * math/e_exp10f.c: Likewise.
7638 * math/e_exp10l.c: Likewise.
7639 * math/e_exp2l.c: Likewise.
7640 * math/e_fmodl.c: Likewise.
7641 * math/e_gammal_r.c: Likewise.
7642 * math/e_hypotl.c: Likewise.
7643 * math/e_j0l.c: Likewise.
7644 * math/e_j1l.c: Likewise.
7645 * math/e_jnl.c: Likewise.
7646 * math/e_lgammal_r.c: Likewise.
7647 * math/e_log10l.c: Likewise.
7648 * math/e_log2l.c: Likewise.
7649 * math/e_logl.c: Likewise.
7650 * math/e_powl.c: Likewise.
7651 * math/e_sinhl.c: Likewise.
7652 * math/e_sqrtl.c: Likewise.
7653 * math/e_scalb.c: Completely rewritten and optimized.
7654 * math/e_scalbf.c: Likewise.
7655 * math/e_scalbl.c: Likewise.
7656 * math/w_acos.c: Likewise.
7657 * math/w_acosf.c: Likewise.
7658 * math/w_acosl.c: Likewise.
7659 * math/w_acosh.c: Likewise.
7660 * math/w_acoshf.c: Likewise.
7661 * math/w_acoshl.c: Likewise.
7662 * math/w_asin.c: Likewise.
7663 * math/w_asinf.c: Likewise.
7664 * math/w_asinl.c: Likewise.
7665 * math/w_atan2.c: Likewise.
7666 * math/w_atan2f.c: Likewise.
7667 * math/w_atan2l.c: Likewise.
7668 * math/w_atanh.c: Likewise.
7669 * math/w_atanhf.c: Likewise.
7670 * math/w_atanhl.c: Likewise.
7671 * math/w_exp10.c: Likewise.
7672 * math/w_exp10f.c: Likewise.
7673 * math/w_exp10l.c: Likewise.
7674 * math/w_fmod.c: Likewise.
7675 * math/w_fmodf.c: Likewise.
7676 * math/w_fmodl.c: Likewise.
7677 * math/w_j0.c: Likewise.
7678 * math/w_j0f.c: Likewise.
7679 * math/w_j0l.c: Likewise.
7680 * math/w_j1.c: Likewise.
7681 * math/w_j1f.c: Likewise.
7682 * math/w_j1l.c: Likewise.
7683 * math/w_jn.c: Likewise.
7684 * math/w_jnf.c: Likewise.
7685 * math/w_log.c: Likewise.
7686 * math/w_logf.c: Likewise.
7687 * math/w_logl.c: Likewise.
7688 * math/w_log10.c: Likewise.
7689 * math/w_log10f.c: Likewise.
7690 * math/w_log10l.c: Likewise.
7691 * math/w_log2.c: Likewise.
7692 * math/w_log2f.c: Likewise.
7693 * math/w_log2l.c: Likewise.
7694 * math/w_pow.c: Likewise.
7695 * math/w_powf.c: Likewise.
7696 * math/w_powl.c: Likewise.
7697 * math/w_remainder.c: Likewise.
7698 * math/w_remainderf.c: Likewise.
7699 * math/w_remainderl.c: Likewise.
7700 * math/w_scalb.c: Likewise.
7701 * math/w_scalbf.c: Likewise.
7702 * math/w_scalbl.c: Likewise.
7703 * math/w_sqrt.c: Likewise.
7704 * math/w_sqrtf.c: Likewise.
7705 * math/w_sqrtl.c: Likewise.
7706 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7707 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7708 used.
7709 * math/math_private.h: Declare __kernel_standard_f.
7710 * math/w_cosh.c: Remove cruft and optimize a bit.
7711 * math/w_coshf.c: Likewise.
7712 * math/w_coshl.c: Likewise.
7713 * math/w_exp2.c: Likewise.
7714 * math/w_exp2f.c: Likewise.
7715 * math/w_exp2l.c: Likewise.
7716 * math/w_hypot.c: Likewise.
7717 * math/w_hypotf.c: Likewise.
7718 * math/w_hypotl.c: Likewise.
7719 * math/w_lgamma.c: Likewise.
7720 * math/w_lgamma_r.c: Likewise.
7721 * math/w_lgammaf.c: Likewise.
7722 * math/w_lgammaf_r.c: Likewise.
7723 * math/w_lgammal.c: Likewise.
7724 * math/w_lgammal_r.c: Likewise.
7725 * math/w_sinh.c: Likewise.
7726 * math/w_sinhf.c: Likewise.
7727 * math/w_sinhl.c: Likewise.
7728 * math/w_tgamma.c: Likewise.
7729 * math/w_tgammaf.c: Likewise.
7730 * math/w_tgammal.c: Likewise.
7731 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7732 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7733 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7734 Minor optimizations. Pretty printing. Remove cruft.
7735 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7736 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7737 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7738 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7739 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7740 * sysdeps/i386/fpu/e_asin.S: Likewise.
7741 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7742 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7743 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7744 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7745 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7746 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7747 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7748 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7749 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7750 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7751 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7752 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7753 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7754 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7755 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7756 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7757 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7758 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7759 * sysdeps/i386/fpu/e_log.S: Likewise.
7760 * sysdeps/i386/fpu/e_log10.S: Likewise.
7761 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7762 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7763 * sysdeps/i386/fpu/e_log2.S: Likewise.
7764 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7765 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7766 * sysdeps/i386/fpu/e_logf.S: Likewise.
7767 * sysdeps/i386/fpu/e_logl.S: Likewise.
7768 * sysdeps/i386/fpu/e_pow.S: Likewise.
7769 * sysdeps/i386/fpu/e_powf.S: Likewise.
7770 * sysdeps/i386/fpu/e_powl.S: Likewise.
7771 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7772 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7773 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7774 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7775 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7776 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7777 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7778 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7779 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7780 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7781 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7782 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7783 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7784 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7785 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7786 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7787 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7788 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7789 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7790 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7791 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7792 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7793 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7794 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7795 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7796 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7797 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7798 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7800 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7801 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7802 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7803 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7804 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7805 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7806 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7807 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7808 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7809 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7810 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7811 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7812 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7813 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7814 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7815 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7816 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7817 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7818 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7819 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7820 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7821 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7822 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7823 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7826 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7827 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7830 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7832 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7833 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7835 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7837 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7845 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7851 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7852 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7853 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7854 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7858 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7859 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7860 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7861 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7862 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7863 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7864 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7865 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7866 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7867 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7868 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7869 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7870 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7871 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7872 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7873 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7874 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7875 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7876 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7877 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7878 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7879 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7880 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7881 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7882 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7883 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7884 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7885 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7886 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7887 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7888 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7889 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7890 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7891 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7892 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7893 (__isnanf): Likewise.
7894 (__isinf_ns): Likewise.
7895 (__isinf_nsf): Likewise.
7896 (__finite): Likewise.
7897 (__finitef): Likewise.
7898 (__ieee754_sqrt): Define as macro.
7899 (__ieee754_sqrtf): Define as macro.
7900 (__ieee754_sqrtl): Define as macro.
7901 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7902 inlined copy.
7903 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7904 __FINITE_MATH_ONLY__ consistent.
7905 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7906
12cc2fcd
AS
79072011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7908
a843a204
AS
7909 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7910 of rawmemchr.
7911
12cc2fcd
AS
7912 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7913
c853acd5
UD
79142011-10-09 Ulrich Drepper <drepper@gmail.com>
7915
7916 * po/ja.po: Update from translation team.
7917
c658d255
RM
79182011-10-08 Roland McGrath <roland@hack.frob.com>
7919
110946e4
RM
7920 * locale/programs/locarchive.c (prepare_address_space): New function.
7921 (create_archive, enlarge_archive, open_archive): Use it.
7922
50604220
RM
7923 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7924 inside [SHARED], where it is used.
7925
c658d255
RM
7926 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7927
7928 * nss/getent.c (netgroup_keys): Remove unused variable.
7929 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7930
6a621eb7
UD
79312011-10-08 Ulrich Drepper <drepper@gmail.com>
7932
7edb55ce
UD
7933 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7934 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7936 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7937 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7938 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7939 * math/Makefile (libm-calls): Add s_isinf_ns.
7940 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7941 * math/multc3.c: Likewise.
7942 * math/s_casin.c: Likewise.
7943 * math/s_casinf.c: Likewise.
7944 * math/s_casinl.c: Likewise.
7945 * math/s_ccos.c: Likewise.
7946 * math/s_ccosf.c: Likewise.
7947 * math/s_ccosl.c: Likewise.
7948 * math/s_ctan.c: Likewise.
7949 * math/s_ctanf.c: Likewise.
7950 * math/s_ctanh.c: Likewise.
7951 * math/s_ctanhf.c: Likewise.
7952 * math/s_ctanhl.c: Likewise.
7953 * math/s_ctanl.c: Likewise.
7954 * math/w_fmod.c: Likewise.
7955 * math/w_fmodf.c: Likewise.
7956 * math/w_fmodl.c: Likewise.
7957 * math/w_remainder.c: Likewise.
7958 * math/w_remainderf.c: Likewise.
7959 * math/w_remainderl.c: Likewise.
7960 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7961 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7962 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7964 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7965 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7966 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7967 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7968
187da0ae
UD
7969 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7970 of the number.
7971 * stdio-common/printf_fphex.c: Likewise.
7972 * stdio-common/printf_size.c: Likewise.
7973
9277c064
UD
7974 * math/e_exp10.c: Include math_private.h using <...> not "...".
7975 * math/e_exp10f.c: Likewise.
7976 * math/e_exp10l.c: Likewise.
7977 * math/e_exp2l.c: Likewise.
7978 * math/e_j0l.c: Likewise.
7979 * math/e_j1l.c: Likewise.
7980 * math/e_jnl.c: Likewise.
7981 * math/e_lgammal_r.c: Likewise.
7982 * math/e_rem_pio2l.c: Likewise.
7983 * math/e_scalb.c: Likewise.
7984 * math/e_scalbf.c: Likewise.
7985 * math/e_scalbl.c: Likewise.
7986 * math/k_cosl.c: Likewise.
7987 * math/k_sinl.c: Likewise.
7988 * math/k_tanl.c: Likewise.
7989 * math/s_cacoshf.c: Likewise.
7990 * math/s_catan.c: Likewise.
7991 * math/s_catanf.c: Likewise.
7992 * math/s_catanh.c: Likewise.
7993 * math/s_catanhf.c: Likewise.
7994 * math/s_catanhl.c: Likewise.
7995 * math/s_catanl.c: Likewise.
7996 * math/s_ccosh.c: Likewise.
7997 * math/s_ccoshf.c: Likewise.
7998 * math/s_ccoshl.c: Likewise.
7999 * math/s_cexp.c: Likewise.
8000 * math/s_cexpf.c: Likewise.
8001 * math/s_cexpl.c: Likewise.
8002 * math/s_clog.c: Likewise.
8003 * math/s_clog10.c: Likewise.
8004 * math/s_clog10f.c: Likewise.
8005 * math/s_clog10l.c: Likewise.
8006 * math/s_clogf.c: Likewise.
8007 * math/s_clogl.c: Likewise.
8008 * math/s_csin.c: Likewise.
8009 * math/s_csinf.c: Likewise.
8010 * math/s_csinh.c: Likewise.
8011 * math/s_csinhf.c: Likewise.
8012 * math/s_csinhl.c: Likewise.
8013 * math/s_csinl.c: Likewise.
8014 * math/s_csqrt.c: Likewise.
8015 * math/s_csqrtf.c: Likewise.
8016 * math/s_csqrtl.c: Likewise.
8017 * math/s_ctan.c: Likewise.
8018 * math/s_ctanf.c: Likewise.
8019 * math/s_ctanh.c: Likewise.
8020 * math/s_ctanhf.c: Likewise.
8021 * math/s_ctanhl.c: Likewise.
8022 * math/s_ctanl.c: Likewise.
8023 * math/s_ldexp.c: Likewise.
8024 * math/s_ldexpf.c: Likewise.
8025 * math/s_ldexpl.c: Likewise.
8026 * math/s_significand.c: Likewise.
8027 * math/s_significandf.c: Likewise.
8028 * math/s_significandl.c: Likewise.
8029 * math/w_acos.c: Likewise.
8030 * math/w_acosf.c: Likewise.
8031 * math/w_acosh.c: Likewise.
8032 * math/w_acoshf.c: Likewise.
8033 * math/w_acoshl.c: Likewise.
8034 * math/w_acosl.c: Likewise.
8035 * math/w_asin.c: Likewise.
8036 * math/w_asinf.c: Likewise.
8037 * math/w_asinl.c: Likewise.
8038 * math/w_atan2.c: Likewise.
8039 * math/w_atan2f.c: Likewise.
8040 * math/w_atan2l.c: Likewise.
8041 * math/w_atanh.c: Likewise.
8042 * math/w_atanhf.c: Likewise.
8043 * math/w_atanhl.c: Likewise.
8044 * math/w_cosh.c: Likewise.
8045 * math/w_coshf.c: Likewise.
8046 * math/w_coshl.c: Likewise.
8047 * math/w_dremf.c: Likewise.
8048 * math/w_exp10.c: Likewise.
8049 * math/w_exp10f.c: Likewise.
8050 * math/w_exp10l.c: Likewise.
8051 * math/w_exp2.c: Likewise.
8052 * math/w_exp2f.c: Likewise.
8053 * math/w_fmod.c: Likewise.
8054 * math/w_fmodf.c: Likewise.
8055 * math/w_fmodl.c: Likewise.
8056 * math/w_hypot.c: Likewise.
8057 * math/w_hypotf.c: Likewise.
8058 * math/w_hypotl.c: Likewise.
8059 * math/w_j0.c: Likewise.
8060 * math/w_j0f.c: Likewise.
8061 * math/w_j0l.c: Likewise.
8062 * math/w_j1.c: Likewise.
8063 * math/w_j1f.c: Likewise.
8064 * math/w_j1l.c: Likewise.
8065 * math/w_jn.c: Likewise.
8066 * math/w_jnf.c: Likewise.
8067 * math/w_jnl.c: Likewise.
8068 * math/w_lgamma.c: Likewise.
8069 * math/w_lgamma_r.c: Likewise.
8070 * math/w_lgammaf.c: Likewise.
8071 * math/w_lgammaf_r.c: Likewise.
8072 * math/w_lgammal.c: Likewise.
8073 * math/w_lgammal_r.c: Likewise.
8074 * math/w_log.c: Likewise.
8075 * math/w_log10.c: Likewise.
8076 * math/w_log10f.c: Likewise.
8077 * math/w_log10l.c: Likewise.
8078 * math/w_log2.c: Likewise.
8079 * math/w_log2f.c: Likewise.
8080 * math/w_log2l.c: Likewise.
8081 * math/w_logf.c: Likewise.
8082 * math/w_logl.c: Likewise.
8083 * math/w_pow.c: Likewise.
8084 * math/w_powf.c: Likewise.
8085 * math/w_powl.c: Likewise.
8086 * math/w_remainder.c: Likewise.
8087 * math/w_remainderf.c: Likewise.
8088 * math/w_remainderl.c: Likewise.
8089 * math/w_scalb.c: Likewise.
8090 * math/w_scalbf.c: Likewise.
8091 * math/w_scalbl.c: Likewise.
8092 * math/w_sinh.c: Likewise.
8093 * math/w_sinhf.c: Likewise.
8094 * math/w_sinhl.c: Likewise.
8095 * math/w_sqrt.c: Likewise.
8096 * math/w_sqrtf.c: Likewise.
8097 * math/w_sqrtl.c: Likewise.
8098 * math/w_tgamma.c: Likewise.
8099 * math/w_tgammaf.c: Likewise.
8100 * math/w_tgammal.c: Likewise.
8101
6a621eb7
UD
8102 * po/ja.po: Update from translation team.
8103
bf582445
AJ
81042011-09-29 Andreas Jaeger <aj@suse.de>
8105
f9efbf3a
AJ
8106 [BZ #13179]
8107 * sunrpc/netname.c (netname2host): Fix logic.
8108
bf582445
AJ
8109 [BZ #6779]
8110 [BZ #6783]
8111 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8112 correctly.
8113 * math/w_remainder.c (__remainder): Likewise.
8114 * math/w_remainderf.c (__remainderf): Likewise.
8115 * math/libm-test.inc (remainder_test): Add test cases.
8116
48693bea
AK
81172011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8118
8119 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8120 sdiv_qrnnd.
8121
42622229
LD
81222011-10-07 Ulrich Drepper <drepper@gmail.com>
8123
8124 * string/test-memcmp.c: Avoid unncessary #defines.
8125 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8126
093ecf92
LD
81272011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8128
8129 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8130 Use new sse2 version for core i3 - i7 as it's faster
8131 than sse42 version.
8132 (bit_Prefer_PMINUB_for_stringop): New.
8133 * sysdeps/x86_64/rawmemchr.S: Update.
8134 Replace with faster SSE2 version.
8135 * sysdeps/x86_64/memrchr.S: New file.
8136 * sysdeps/x86_64/memchr.S: Update.
8137 Replace with faster SSE2 version.
8138
fde56e5c
MP
81392011-09-12 Marek Polacek <mpolacek@redhat.com>
8140
8141 * elf/dl-load.c (lose): Add cast to avoid warning.
8142
21fd49a9
UD
81432011-10-07 Ulrich Drepper <drepper@gmail.com>
8144
5a06e643
UD
8145 * po/ca.po: Update from translation team.
8146
684ae515
UD
8147 * inet/getnetgrent_r.c: Hook up nscd.
8148 * nscd/Makefile (routines): Add nscd_netgroup.
8149 (nscd-modules): Add netgroupcache.
8150 (CFLAGS-netgroupcache.c): Define.
8151 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8152 (cache_search): Add const to second parameter.
8153 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8154 INNETGR.
8155 (dbs): Add netgrdb entry.
8156 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8157 (verify_persistent_db): Handle netgrdb.
8158 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8159 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8160 GETFDNETGR.
8161 (netgroup_response_header): Define.
8162 (innetgroup_response_header): Define.
8163 (datahead): Add netgroup_response_header and innetgroup_response_header
8164 elements.
8165 * nscd/nscd.conf: Add entries for netgroup cache.
8166 * nscd/nscd.h (dbtype): Add netgrdb.
8167 (_PATH_NSCD_NETGROUP_DB): Define.
8168 (netgroup_iov_disabled): Declare.
8169 (xmalloc, xcalloc, xrealloc): Move declarations here.
8170 (cache_search): Adjust prototype.
8171 Add netgroup-related prototypes.
8172 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8173 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8174 (__nscd_innetgr): Declare.
8175 * nscd/selinux.c (perms): Use access_vector_t as element type and
8176 add netgroup-related initializers.
8177 * nscd/netgroupcache.c: New file.
8178 * nscd/nscd_netgroup.c: New file.
8179 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8180 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8181 For four parameters use innetgr.
8182 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8183 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8184 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8185 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8186
21fd49a9
UD
8187 * nscd/connections.c (register_traced_file): Don't register file
8188 for disabled databases.
8189
054c0457
UD
81902011-10-06 Ulrich Drepper <drepper@gmail.com>
8191
32b63198
UD
8192 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8193
054c0457
UD
8194 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8195 from tree and freeing node.
8196
64031225
JO
81972011-09-25 Jiri Olsa <jolsa@redhat.com>
8198
8199 * nss/nsswitch.c (__nss_database_lookup): Handle
8200 nss_parse_service_list out of memory case.
8201
0490345c
JO
82022011-09-15 Jiri Olsa <jolsa@redhat.com>
8203
8204 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8205 out of memory case.
8206
3a62d00d
AS
82072011-10-04 Andreas Schwab <schwab@redhat.com>
8208
8209 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8210 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8211 pass it down.
8212 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8213 elf_machine_rela, elf_machine_lazy_rel.
8214 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8215 (ELF_DYNAMIC_DO_REL): Likewise.
8216 (ELF_DYNAMIC_DO_RELA): Likewise.
8217 (ELF_DYNAMIC_RELOCATE): Likewise.
8218 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8219 to ELF_DYNAMIC_DO_REL.
8220 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8221 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8222 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8223 elf_machine_rela.
8224 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8225 skip_ifunc, don't call ifunc function if non-zero.
8226 (elf_machine_rela): Likewise.
8227 (elf_machine_lazy_rel): Likewise.
8228 (elf_machine_lazy_rela): Likewise.
8229 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8230 (elf_machine_lazy_rel): Likewise.
8231 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8232 Likewise.
8233 (elf_machine_lazy_rel): Likewise.
8234 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8235 Likewise.
8236 (elf_machine_lazy_rel): Likewise.
8237 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8238 (elf_machine_lazy_rel): Likewise.
8239 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8240 (elf_machine_lazy_rel): Likewise.
8241 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8242 (elf_machine_lazy_rel): Likewise.
8243 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8244 (elf_machine_lazy_rel): Likewise.
8245 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8246 (elf_machine_lazy_rel): Likewise.
8247 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8248 (elf_machine_lazy_rel): Likewise.
8249
68577918
UD
82502011-09-28 Ulrich Drepper <drepper@gmail.com>
8251
8252 * nss/nss_files/files-init.c (_nss_files_init): Use static
8253 initialization for all the *_traced_file variables.
8254
68822d74
AS
82552011-09-28 Andreas Schwab <schwab@redhat.com>
8256
8257 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8258
2056100b
RM
82592011-09-27 Roland McGrath <roland@hack.frob.com>
8260
8261 [BZ #13226]
8262 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8263
32c76b63
AS
82642011-09-27 Andreas Schwab <schwab@redhat.com>
8265
8266 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8267 Reread the line before reparsing it.
8268
bf972c9d
AS
82692011-09-26 Andreas Schwab <schwab@redhat.com>
8270
8271 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8272
e057a1b5
JM
82732011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8274 Maxim Kuvyrkov <maxim@codesourcery.com>
8275 Joseph Myers <joseph@codesourcery.com>
8276
8277 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8278 if needed for __stack_chk_guard.
8279
bc7e1c36
RM
82802011-09-19 Roland McGrath <roland@hack.frob.com>
8281
ecb1482f
RM
8282 * sysdeps/posix/spawni.c (script_execute): Always define it.
8283 It will be optimized away if unused.
8284 (maybe_script_execute): New function.
8285 (__spawni): Call it.
8286
bc7e1c36
RM
8287 * Makerules: Don't include tls.make.
8288 (config-tls): Always set to thread.
8289 * tls.make.c: File removed.
8290
1c3b002b
MF
82912011-09-19 Mike Frysinger <vapier@gentoo.org>
8292
8293 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8294 * config.make.in (CPPFLAGS-config): New substituted variable.
8295
2840865d
UD
82962011-09-15 Ulrich Drepper <drepper@gmail.com>
8297
88738eb6
UD
8298 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8299
cbf645a6 8300 [BZ #13192]
2840865d
UD
8301 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8302 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8303
b402e91a
RM
83042011-09-15 Roland McGrath <roland@hack.frob.com>
8305
8306 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8307 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8309 (CALL_FAIL): Likewise.
8310 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8311 (CALL_FAIL): Macro removed.
8312 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8313
4c1a1f71
UD
83142011-09-15 Ulrich Drepper <drepper@gmail.com>
8315
8316 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8317 for __FINITE_MATH_ONLY__ == 1.
8318
edc121be
AS
83192011-09-15 Andreas Schwab <schwab@redhat.com>
8320
8321 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8322 __ieee754_sqrt instead of sqrt.
8323 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8324 __ieee754_sqrtf instead of sqrtf.
8325 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8326 __floorf instead of floorf.
8327 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8328 __floorf, __truncf instead of floorf, truncf.
8329
cd205654
UD
83302011-09-14 Ulrich Drepper <drepper@gmail.com>
8331
ee4d0315
UD
8332 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8333
cd205654
UD
8334 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8335 __extern_always_inline.
8336 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8337 32-bit.
8338
48b67d71
AS
83392011-09-14 Andreas Schwab <schwab@redhat.com>
8340
8341 * elf/rtld.c (dl_main): Also relocate in dependency order when
8342 doing symbol dependency testing.
8343
1ae12c75
AS
83442011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8345
8346 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8347 Always define `refsym'.
8348
995a80df
AS
83492011-09-13 Andreas Schwab <schwab@redhat.com>
8350
e529793b
AS
8351 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8352 (__FD_ELT): Renamed from __FDELT.
8353 * misc/bits/select2.h (__FD_ELT): Likewise.
8354 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8355 __FD_MASK instead of __FDELT, __FDMASK.
8356 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8357 Likewise.
8358 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8359 Likewise.
8360
52d4fef8
AS
8361 * elf/Makefile (gen-ldd): Fix pattern.
8362
995a80df
AS
8363 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8364 (init_tls): Likewise.
8365
8682f8b0
UD
83662011-09-12 Ulrich Drepper <drepper@gmail.com>
8367
8368 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8369
de82006d
AS
83702011-09-12 Andreas Schwab <schwab@redhat.com>
8371
a7c8e6a1
AS
8372 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8373 `struct cmsghdr *' instead of `void *'.
8374 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8375 Likewise.
8376
0f31fe77
AS
83772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8378
8379 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8380 if non-absolute.
8381 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8382 ldd_rewrite_script.
0f31fe77 8383
32b4c839
UD
83842011-09-11 Ulrich Drepper <drepper@gmail.com>
8385
83cd1420
UD
8386 * configure.in: Remove --with-tls option.
8387 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8388 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8389 out in case it is missing.
8390 * sysdeps/ia64/elf/configure.in: Likewise.
8391 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8392 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8393 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8394 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8395 * sysdeps/sh/elf/configure.in: Likewise.
8396 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8397 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8398 * sysdeps/x86_64/elf/configure.in: Likewise.
8399 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8400 * sysdeps/mach/hurd/tls.h: Likewise.
8401
633f745d
UD
8402 [BZ #13067]
8403 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8404
f318beb8
UD
8405 [BZ #13090]
8406 * configure.in: Fix use of AC_INIT.
8407
32b4c839
UD
8408 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8409
3ce1f295
UD
84102011-09-10 Ulrich Drepper <drepper@gmail.com>
8411
bb016596
UD
8412 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8413 __set_errno.
8e58439c
UD
8414 * malloc/hooks.c: Likewise.
8415
aebae053 8416 [BZ #11929]
02d46fc4
UD
8417 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8418 variables statically.
8419 (narenas): Initialize.
8420 (list_lock): Initialize.
bb016596
UD
8421 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8422 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8423 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8424 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8425 Add initializers to main_arena and mp_.
8426 (malloc_state): Remove pagesize member. Change all users to use
8427 GLRO(dl_pagesize).
8428
8429 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8430 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8431 is always initialized.
8432
22a89187
UD
8433 * malloc/malloc.c: Removed unused configurations and dead code.
8434 * malloc/arena.c: Likewise.
8435 * malloc/hooks.c: Likewise.
02d46fc4 8436 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8437
d063d164
UD
8438 * include/tls.h: Removed. USE___THREAD must always be defined.
8439 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8440 * elf/dl-libc.c: Likewise.
8441 * elf/dl-tsd.c: Likewise.
8442 * include/errno.h: Likewise.
8443 * include/netdb.h: Likewise.
8444 * include/resolv.h: Likewise.
8445 * inet/herrno-loc.c: Likewise.
8446 * inet/herrno.c: Likewise.
8447 * malloc/arena.c: Likewise.
8448 * malloc/hooks.c: Likewise.
8449 * malloc/malloc.c: Likewise.
8450 * resolv/res-state.c: Likewise.
8451 * resolv/res_libc.c: Likewise.
8452 * sysdeps/i386/dl-machine.h: Likewise.
8453 * sysdeps/ia64/dl-machine.h: Likewise.
8454 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8455 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8456 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8457 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8458 * sysdeps/sh/dl-machine.h: Likewise.
8459 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8460 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8461 * sysdeps/unix/i386/sysdep.S: Likewise.
8462 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8463 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8464 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8465 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8466 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8467 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8468 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8470 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8472 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8473 * sysdeps/x86_64/dl-machine.h: Likewise.
8474 * tls.make.c: Likewise.
8475
3ce1f295
UD
8476 * configure.in: Remove --with-__thread option. Make tests for
8477 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8478 tls_model attribute fail if no support is available. Remove
8479 USE_IN_LIBIO.
8480 * Makeconfig: Adjust for dropped configure option. All features are
8481 now mandatory.
8482 * Makerules: Likewise.
8483 * Versions.def: Likewise.
8484 * argp/argp-fmtstream.c: Likewise.
8485 * argp/argp-fmtstream.h: Likewise.
8486 * argp/argp-help.c: Likewise.
8487 * assert/assert.c: Likewise.
8488 * config.h.in: Likewise.
8489 * config.make.in: Likewise.
8490 * configure: Likewise.
8491 * configure.in: Likewise.
8492 * csu/Versions: Likewise.
8493 * csu/init.c: Likewise.
8494 * elf/tst-audit2.c: Likewise.
8495 * elf/tst-tls10.c: Likewise.
8496 * elf/tst-tls10.h: Likewise.
8497 * elf/tst-tls11.c: Likewise.
8498 * elf/tst-tls12.c: Likewise.
8499 * elf/tst-tls14.c: Likewise.
8500 * elf/tst-tlsmod11.c: Likewise.
8501 * elf/tst-tlsmod12.c: Likewise.
8502 * elf/tst-tlsmod13.c: Likewise.
8503 * elf/tst-tlsmod13a.c: Likewise.
8504 * elf/tst-tlsmod14a.c: Likewise.
8505 * elf/tst-tlsmod15b.c: Likewise.
8506 * elf/tst-tlsmod16a.c: Likewise.
8507 * elf/tst-tlsmod16b.c: Likewise.
8508 * elf/tst-tlsmod7.c: Likewise.
8509 * elf/tst-tlsmod8.c: Likewise.
8510 * elf/tst-tlsmod9.c: Likewise.
8511 * gmon/gmon.c: Likewise.
8512 * grp/fgetgrent_r.c: Likewise.
8513 * grp/putgrent.c: Likewise.
8514 * hurd/fopenport.c: Likewise.
8515 * include/libc-symbols.h: Likewise.
8516 * include/tls.h: Likewise.
8517 * intl/gettextP.h: Likewise.
8518 * intl/loadinfo.h: Likewise.
8519 * locale/global-locale.c: Likewise.
8520 * locale/localeinfo.h: Likewise.
8521 * mach/devstream.c: Likewise.
8522 * malloc/arena.c: Likewise.
8523 * malloc/set-freeres.c: Likewise.
8524 * misc/err.c: Likewise.
8525 * misc/getttyent.c: Likewise.
8526 * misc/mntent_r.c: Likewise.
8527 * posix/getopt.c: Likewise.
8528 * posix/wordexp.c: Likewise.
8529 * pwd/fgetpwent_r.c: Likewise.
8530 * resolv/Versions: Likewise.
8531 * resolv/res_hconf.c: Likewise.
8532 * shadow/fgetspent_r.c: Likewise.
8533 * shadow/putspent.c: Likewise.
8534 * stdio-common/printf_fphex.c: Likewise.
8535 * stdio-common/tmpfile.c: Likewise.
8536 * stdlib/abort.c: Likewise.
8537 * stdlib/fmtmsg.c: Likewise.
8538 * sunrpc/auth_unix.c: Likewise.
8539 * sunrpc/clnt_perr.c: Likewise.
8540 * sunrpc/clnt_tcp.c: Likewise.
8541 * sunrpc/clnt_udp.c: Likewise.
8542 * sunrpc/clnt_unix.c: Likewise.
8543 * sunrpc/openchild.c: Likewise.
8544 * sunrpc/svc_simple.c: Likewise.
8545 * sunrpc/svc_tcp.c: Likewise.
8546 * sunrpc/svc_udp.c: Likewise.
8547 * sunrpc/svc_unix.c: Likewise.
8548 * sunrpc/xdr.c: Likewise.
8549 * sunrpc/xdr_array.c: Likewise.
8550 * sunrpc/xdr_rec.c: Likewise.
8551 * sunrpc/xdr_ref.c: Likewise.
8552 * sunrpc/xdr_stdio.c: Likewise.
8553
1248c1c4
PB
85542011-09-09 Ulrich Drepper <drepper@gmail.com>
8555
8556 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8557
85582011-07-03 Andreas Jaeger <aj@suse.de>
8559
8560 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8561 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8562 regenerate with gen-libm-tests.pl.
8563
85642010-05-12 Petr Baudis <pasky@suse.cz>
8565
8566 [BZ #11589]
8567 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8568 around j0() zero points by switching to j1().
8569 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8572 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8573
f22e1074
UD
85742011-09-09 Ulrich Drepper <drepper@gmail.com>
8575
f19009c1
UD
8576 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8577 instead of 0.
8578 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8579 instead of 0. .
8580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8581 Patch in part by Pavel Roskin <proski@gnu.org>.
8582
3f8cc204
UD
8583 [BZ #13138]
8584 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8585 realloc.
8586 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8587 Free memory block if necessary.
8588
f22e1074
UD
8589 [BZ #12847]
8590 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8591 be NULL. Don't lock in this case.
8592
0a2349f9
RM
85932011-09-09 Roland McGrath <roland@hack.frob.com>
8594
8595 * elf/elf.h (ELFOSABI_GNU): New macro.
8596 (ELFOSABI_LINUX): Define to that.
8597
f3cdd467
DZ
85982011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8599
8600 * string/strncat.c (strncat): Undef the symbol in case it has been
8601 defined in bits/string.h.
8602
74718d13
UD
86032011-09-09 Ulrich Drepper <drepper@gmail.com>
8604
633e9e0f
UD
8605 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8606
0a2349f9 8607 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8608 link map.
8609
f9924780
AJ
86102011-08-17 Andreas Jaeger <aj@suse.de>
8611
8612 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8613
7f5517aa
PP
86142011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8615 Ian Lance Taylor <iant@google.com>
8616
8617 * math/libm-test.inc (lround_test): New testcase.
8618 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8619
762011fe
UD
86202011-09-08 Ulrich Drepper <drepper@gmail.com>
8621
92963737
UD
8622 * Makefile: Remove support for automatic cvs check-ins.
8623 * Makerules: Likewise.
8624 * config.make.in: Likewise.
8625 * configure.in: Likewise.
8626 * intl/Makefile: Likewise.
8627 * locale/Makefile: Likewise.
8628 * po/Makefile: Likewise.
8629 * posix/Makefile: Likewise.
8630 * sysdeps/gnu/Makefile: Likewise.
8631 * sysdeps/mach/hurd/Makefile: Likewise.
8632 * sysdeps/sparc/sparc32/Makefile: Likewise.
8633
b0727fd8
JS
8634 [BZ #13118]
8635 * posix/Makefile (bug-regex32-ENV): Define.
8636 Patch by John Stanley <jpsinthemix@verizon.net>.
8637
a0f33f99
UD
8638 * misc/Makefile (headers): Add bits/select2.h.
8639 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8640 * misc/bits/select2.h: New file.
8641 * include/bits/select2.h: New file.
8642 * debug/Makefile (routines): Add fdelt_chk.
8643 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8644 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8645 FD_ISSET.
8646 * debug/fdelt_chk.c: New file.
8647
762011fe
UD
8648 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8649 * wcsmbs/test-wmemcmp.c: Likewise.
8650 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8651 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8652
86532011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8654
8655 * string/Makefile (strop-tests): Add memcmp.
8656 * string/test-wmemcmp.c: New file.
8657 * string/test-memcmp.c: Add wmemcmp support.
8658
7f513ec8
RM
86592011-09-08 Roland McGrath <roland@hack.frob.com>
8660
0442afb4
RM
8661 [BZ #13153]
8662 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8663 2011-07-19 change.
8664
7f513ec8
RM
8665 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8666 garbage value in a __mach_port_mod_refs call in the cases of the
8667 task-self and thread-self ports.
8668
a12b2239
ST
86692011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8670
8671 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8672
610f9ab4
AS
86732011-09-08 Andreas Schwab <schwab@redhat.com>
8674
7f513ec8 8675 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8676
48882a1a
LD
86772011-09-07 Ulrich Drepper <drepper@gmail.com>
8678
b49865be
UD
8679 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8680
fdc86bc9
UD
8681 * elf/dl-libc.c (dlerror_run): Pass back error code from
8682 dl_catch_error.
8683
c966526a
UD
8684 [BZ #13123]
8685 * elf/dl-load.c (lose): Free l_origin if it is valid.
8686
48882a1a
LD
8687 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8688 names.
8689 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8690 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8691 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8692 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8693 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8694 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8695
77a2a8b4
AZ
86962011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8697
8698 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8699 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8700 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8701 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8702 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8703 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8704 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8705 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8706 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8707 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8708
24f579d8
AM
87092011-08-15 Alan Modra <amodra@gmail.com>
8710
8711 [BZ #13092]
8712 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8713 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8714 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8715 ppc_mcount to static-only-routines.
8716 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8717 __mcount_internal.
8718 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8719 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8720
3d4837df
UD
87212011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8722
8723 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8724 for finite and infinity parameters.
8725
22700377
WS
87262011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8727
8728 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8729 and add nop instructions for throughput optimization.
8730 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8731
5025581e
WS
87322011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8733
8734 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8735 aligned copy for power7 with vector-scalar instructions.
8736 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8737
08a300c9
L
87382011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8739
8740 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8741 AVX check.
8742
59178ef9
AS
87432011-09-07 Andreas Schwab <schwab@redhat.com>
8744
8745 [BZ #13144]
8746 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8747 last change.
8748
e38ba7ab
UD
87492011-09-07 Ulrich Drepper <drepper@gmail.com>
8750
8751 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8752 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8753 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8754 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8755 clock_gettime.
8756
d53a73ac
UD
87572011-09-06 Ulrich Drepper <drepper@gmail.com>
8758
fc8bffcc
UD
8759 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8760 Forgot to demangle the pointer.
8761
ceaa0c5d
UD
8762 * sysdeps/i386/sysdep.h: Define atom_text_section.
8763 * sysdeps/x86_64/sysdep.h: Likewise.
8764 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8765 section with atom_text_section.
8766 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8767 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8768 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8770 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8771
a77d3c17
UD
8772 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8773 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8774 already be defined. Change to take two parameters and don't assign
8775 result to variable. Adjust all users.
8776 Define INTERNAL_GETTIME if not already defined.
8777 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8778 call.
8779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8780 HAVE_CLOCK_GETTIME_VSYSCALL.
8781 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8782
d53a73ac
UD
8783 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8784 gettimeofday vsyscall, just use time.
8785
a8f84144
AS
87862011-09-06 Andreas Schwab <schwab@redhat.com>
8787
8788 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8789 <errno.h>.
8790
ef606249
UD
87912011-09-06 Ulrich Drepper <drepper@gmail.com>
8792
8793 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8794 syscall on x86-64.
8795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8796 syscall.
8797 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8798 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8799 syscall if possible.
8800
6585cb60
UD
88012011-09-05 Ulrich Drepper <drepper@gmail.com>
8802
8803 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8804 e_ident. Don't pass to find_mapsXX.
8805 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8806
a5f524e4
LD
88072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8808
8809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8810 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8811 * sysdeps/x86_64/multiarch/strchr.S: Update.
8812 Check bit_slow_BSF bit.
8813 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8814 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8815 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8816
554881ef
UD
88172011-09-05 Ulrich Drepper <drepper@gmail.com>
8818
d96de963
UD
8819 [BZ #13134]
8820 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8821 before glibc 2.15.
8822 (tryshell): Define.
8823 (__spawni): Change last parameter to be flag. Test
8824 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8825 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8826 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8827 * posix/spawni.c: Likewise.
8828 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8829 * posix/spawnp.c: Likewise. Change normal version to use
8830 SPAWN_XFLAGS_USE_PATH.
8831 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8832 SPAWN_XFLAGS_TRY_SHELL.
8833
d48e5868
UD
8834 [BZ #13150]
8835 * posix/glob.h: Remove gcc 1.x support.
8836
554881ef
UD
8837 [BZ #13068]
8838 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8839
693fb948
LD
88402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8841
8842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8843 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8844 strrchr-sse2-bsf
8845 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8846 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8847 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8848 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8849 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8850 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8851
1b48c537
UD
88522011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8853
49d42c37
UD
8854 * sysdeps/x86_64/wcscmp.S: New file.
8855
1b48c537
UD
8856 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8857 wcscmp-c wcscmp-sse2
8858 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8859 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8860 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8861 * wcsmbs/wcscmp.c: Allow renaming.
8862
15c95c5d
DM
88632011-09-05 David S. Miller <davem@davemloft.net>
8864
8865 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8866 stack slot, rather than the struct return pointer slot.
8867 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8868 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8870 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8871
2f0ad8f3
UD
88722011-09-05 Ulrich Drepper <drepper@gmail.com>
8873
d88ae418
UD
8874 * po/ja.po: Update from translation team.
8875
2f0ad8f3
UD
8876 [BZ #13144]
8877 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8878 kernel in 64-bit binaries.
8879
5f4318d1
DM
88802011-09-01 David S. Miller <davem@davemloft.net>
8881
8882 * elf/elf.h (HWCAP_SPARC_*): Move to..
8883 * sysdeps/sparc/sysdep.h: this new file and add new values.
8884 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8885 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8886 _DL_HWCAP_COUNT to 24.
8887 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8888 entries.
8889 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8890 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8891 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8893 instead of magic constants.
8894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8895
3ba57516
DM
88962011-08-31 David S. Miller <davem@davemloft.net>
8897
8898 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8899 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8900 Reimplement to do errno handling inline.
8901 (SYSCALL_ERROR_HANDLER): New macro.
8902 (__SYSCALL_STRING): Do not do errno handling in asm.
8903 (__CLONE_SYSCALL_STRING): Delete.
8904 (__INTERNAL_SYSCALL_STRING): Delete.
8905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8906 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8907 (PSEUDO): Reimplement to do errno handling inline.
8908 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8909 (SYSCALL_ERROR_HANDLER): New macro.
8910 (__SYSCALL_STRING): Do not do errno handling in asm.
8911 (__CLONE_SYSCALL_STRING): Delete.
8912 (__INTERNAL_SYSCALL_STRING): Delete.
8913 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8914 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8915 i386.
8916 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8917 (inline_syscall*): Add 'err' argument.
8918 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8919 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8920 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8921 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8922
8923 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8924 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8925
2bc17433
AS
89262011-08-30 Andreas Schwab <schwab@redhat.com>
8927
8928 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8929
fbeb5f4d
JO
89302011-08-29 Jiri Olsa <jolsa@redhat.com>
8931
8932 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8933 directive.
8934
ad69cc26
DM
89352011-08-24 David S. Miller <davem@davemloft.net>
8936
8937 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8938
39dd69df
AS
89392011-08-24 Andreas Schwab <schwab@redhat.com>
8940
8941 * elf/Makefile: Add rules to build and run unload8 test.
8942 * elf/unload8.c: New file.
8943 * elf/unload8mod1.c: New file.
8944 * elf/unload8mod1x.c: New file.
8945 * elf/unload8mod2.c: New file.
8946 * elf/unload8mod3.c: New file.
8947
8948 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8949 it wasn't used.
8950
2c0b250a
DM
89512011-08-23 David S. Miller <davem@davemloft.net>
8952
8953 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8954 subtract stack bias.
8955 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8956 %sp not %fp in calculations.
8957 (_JMPBUF_UNWINDS_ADJ): Likewise.
8958
22044b48
DM
8959 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8960 (aio_suspend): Call it to force an exception region around the
8961 AIO_MISC_WAIT() invocation.
8962
2cae4995
AS
89632011-08-23 Andreas Schwab <schwab@redhat.com>
8964
8965 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8966 backslash.
8967
873a772e
AJ
89682011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8969
8970 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8971 protection macro.
8972 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8973 and <dl-machine.h>.
8974 (Elf64_FuncDesc): Remove.
8975
25ad0df1
DM
89762011-08-22 David S. Miller <davem@davemloft.net>
8977
8978 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8979 sigaltstack check, add missing cfi directives.
8980 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8981 missing cfi directives, and sigaltstack handling.
8982
e888bcbe
AS
89832011-08-16 Andreas Schwab <schwab@redhat.com>
8984
8985 [BZ #11724]
8986 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8987 object is seen twice.
8988 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8989
8990 * elf/Makefile (distribute): Add tst-initorder2.c.
8991 (tests): Add tst-initorder2.
8992 (modules-names): Add tst-initorder2a tst-initorder2b
8993 tst-initorder2c tst-initorder2d. Add rules to build them.
8994 ($(objpfx)tst-initorder2.out): New rule.
8995 * elf/tst-initorder2.c: New file.
8996 * elf/tst-initorder2.exp: New file.
8997
87162f46
AS
89982011-08-22 Andreas Schwab <schwab@redhat.com>
8999
70538b7f
AS
9000 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9001
f55ffe58
AS
9002 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9003 dependencies back to end of function.
9004
87162f46
AS
9005 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9006 $(elfobjdir)/ld.so.
9007
91b392a4
UD
90082011-08-21 Ulrich Drepper <drepper@gmail.com>
9009
9010 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9011 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9012 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9013 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9014 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9015 of __vdso_gettimeofday.
9016 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9017 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9018 attribute_hidden.
9019 (_libc_vdso_platform_setup): Remove initialization of
9020 __vdso_gettimeofday and __vdso_time.
9021
5c43483f
UD
90222011-08-20 Ulrich Drepper <drepper@gmail.com>
9023
775a77e7
UD
9024 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9025 and fgetc_unlocked.
9026 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9027 getc_unlocked.
89f447ed 9028
49c74ba9
UD
9029 * elf/dl-open.c (add_to_global): Report additions to the global scope
9030 for LD_DEBUG=scopes.
9031 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9032 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9033
5c43483f
UD
9034 [BZ #13114]
9035 * stdio-common/Makefile (tests): Add bug24.
9036 * stdio-common/bug24.c: New file.
9037
a101b025
AJ
90382011-08-19 Andreas Jaeger <aj@suse.de>
9039
9040 [BZ #13114]
9041 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9042 non-existant file when using close-on-exec mode.
9043
c88f1766
UD
90442011-08-20 Ulrich Drepper <drepper@gmail.com>
9045
0276a718
UD
9046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9047 the very first instruction.
9048
c88f1766
UD
9049 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9050 the CFI state in the end.
9051 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9052 inclusion of dl-trampoline.h.
9053 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9054
51ccffa0
AS
90552011-08-19 Andreas Schwab <schwab@redhat.com>
9056
94d7165f
AS
9057 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9058 expectations for long double.
9059
51ccffa0
AS
9060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9061 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9062
fd708658 90632011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9064
9065 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9066 artificual limit depends upon the system page size.
9067
44f0a71e
UD
90682011-08-17 Ulrich Drepper <drepper@gmail.com>
9069
9070 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9071 * resolv/Makefile: Define CFLAGS-libresolv.
9072
8de79a24
AS
90732011-08-17 Andreas Schwab <schwab@redhat.com>
9074
9075 * nss/makedb.c (compute_tables): Make variables used in nested
9076 function static.
9077
27724598
UD
90782011-08-17 Ulrich Drepper <drepper@gmail.com>
9079
c5305d88
UD
9080 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9081 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9082 if buffer was too small.
9083
27724598
UD
9084 * elf/pldd.c (main): Attach to all threads in the process.
9085 Rewrite /proc handling to use *at functions.
9086
076fe015
UD
90872011-08-16 Ulrich Drepper <drepper@gmail.com>
9088
174baab3
UD
9089 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9090 specifies first scope to show.
9091 (dl_open_worker): Update callers. Move printing scope of new
9092 object to before the relocation.
44f0a71e 9093 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9094 * sysdeps/generic/ldsodefs.h: Update declaration.
9095
076fe015
UD
9096 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9097 string for the scope number.
9098
a60df2c3
UD
90992011-08-14 Ulrich Drepper <drepper@gmail.com>
9100
9101 * nscd/servicescache.c (cache_addserv): Make sure written is always
9102 initialized.
9103
5e4287d1
RM
91042011-08-14 Roland McGrath <roland@hack.frob.com>
9105
85ae0589
RM
9106 * sysdeps/i386/i486/bits/atomic.h
9107 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9108 statement expression, so as to suppress "set but not used" warning.
9109 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9110
69f63097
RM
9111 * string/strncat.c (STRNCAT): Use prototype definition.
9112
675456ef
RM
9113 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9114 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9115 -Iprograms here.
9116 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9117 (localedef-modules): Add localedef.
9118 (locale-modules): Add locale.
9119
5e4287d1
RM
9120 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9121 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9122 to avoid a warning.
9123
9c96ff23
DM
91242011-08-14 David S. Miller <davem@davemloft.net>
9125
9126 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9127 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9128
f9ddf089
UD
91292011-08-13 Ulrich Drepper <drepper@gmail.com>
9130
44f0a71e 9131 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9132 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9133 * elf/rtld.c (dl_main): Set l_name of vDSO.
9134 Call _dl_show_scope when DL_DEBUG_SCOPES.
9135 (process_dl_debug): Recognize scopes flag and also set it for all.
9136 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9137 Declare _dl_show_scope.
9138
1dc27704
UD
9139 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9140 (do_dlopen): Pass caller_dlopen to dl_open.
9141 (__libc_dlopen_mode): Initialize caller_dlopen.
9142
f9ddf089
UD
9143 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9144 of libc. Make tolower call locale-independent. Optimize a bit by
9145 using isdigit instead of isalnum.
9146 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9147
9ac533d3
UD
91482011-08-12 Ulrich Drepper <drepper@gmail.com>
9149
9150 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9151 was a dependency or dynamically loaded.
9152
89edf2e9
UD
91532011-08-11 Ulrich Drepper <drepper@gmail.com>
9154
8e999d29
UD
9155 * intl/l10nflist.c: Allow architecture-specific pop function.
9156 * sysdeps/x86_64/l10nflist.c: New file.
9157
89edf2e9
UD
9158 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9159 classification.
9160
14d96785
AS
91612011-08-10 Andreas Schwab <schwab@redhat.com>
9162
9163 * include/dirent.h: Add libc_hidden_proto for scandirat and
9164 scandirat64. Don't declare __scandirat64.
9165 * dirent/scandirat.c: Add libc_hidden_def.
9166 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9167 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9168
6761ac04
DM
91692011-08-10 David S. Miller <davem@davemloft.net>
9170
9171 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9172 enum.
9173 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9174 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9175 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9176
c55fbd1e
UD
91772011-08-09 Ulrich Drepper <drepper@gmail.com>
9178
9179 * Versions.def [libc]: Add GLIBC_2.15.
9180 * dirent/Makefile (routines): Add scandirat and scandirat64.
9181 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9182 GLIBC_2.15.
9183 * dirent/dirent.h: Declare scandirat and scandirat64.
9184 * dirent/scandirat.c: New file.
9185 * dirent/scandirat64.c: New file.
9186 * sysdeps/wordsize-64/scandirat.c: New file.
9187 * sysdeps/wordsize-64/scandirat64.c: New file.
9188 * dirent/opendir.c: Define opendirat.
9189 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9190 using scandirat.
9191 * dirent/scandir64.c: Adjust for scandir.c change.
9192 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9193 __scandirat64, and __scandir_cancel_handler.
9194 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9195 additional parameter and use openat instead of open (outside of ld.so).
9196 Add new __opendir as wrapper around __opendirat.
9197 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9198 here without requiring old scandirat implementation.
9199
879165f2
UD
92002011-08-08 Ulrich Drepper <drepper@gmail.com>
9201
9202 * dirent/scandir.c (cancel_handler): Renamed to
9203 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9204 defined. Adjust users.
9205 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9206 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9207
cb7e923b
UD
92082011-08-04 Ulrich Drepper <drepper@gmail.com>
9209
16292edd
UD
9210 * string/test-string.h (IMPL): Use __STRING to expand name and then
9211 stringify it.
9212
cb7e923b
UD
9213 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9214 of cleanups.
9215
cff82933
LD
92162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9217
9218 * string/Makefile: Update.
9219 (strop-tests): Append strncat.
9220 * string/test-wcscmp.c: New file.
9221 New comprehensive test for wcscmp.
9222 * string/test-strcmp.c: Update.
9223 (WIDE): New define.
9224
9be9bfcc
AS
92252011-07-22 Andreas Schwab <schwab@redhat.com>
9226
9227 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9228 line.
9229
2e96f1c7
AS
92302011-07-26 Andreas Schwab <schwab@redhat.com>
9231
9232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9233 encoding to ACE if AI_IDN.
9234
85188888
JJ
92352011-08-01 Jakub Jelinek <jakub@redhat.com>
9236
9237 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9238 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9239
5fa16e9b
LD
92402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9241
9242 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9243 Fix overflow bug in strncat.
9244 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9245
9246 * string/test-strncat.c: Update.
9247 Add new tests for checking overflow bugs.
9248
92492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9250
9251 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9252 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9253 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9254 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9255 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9256 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9257 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9258 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9259 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9260
9261 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9262 (USE_AS_STRCAT): Define.
9263 Add strcat and strncat support.
9264 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9265
8c1a459f
AS
92662011-07-25 Andreas Schwab <schwab@redhat.com>
9267
9268 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9269 __n bigger than INT_MAX+1.
9270 (__strncmp_g): Likewise.
9271
bba33c28
UD
92722011-07-23 Ulrich Drepper <drepper@gmail.com>
9273
798be72d
UD
9274 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9275 * libio/stido.h: Likewise.
9276
8accd4dc
UD
9277 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9278 (AF_NFC): Define.
9279 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9280 (AF_NFC): Define.
9281
cbff0d96
UD
9282 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9283 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9284 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9285 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9286 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9287
9191c04a
UD
9288 [BZ #13021]
9289 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9290 installed.
9291
bba33c28
UD
9292 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9293 typo.
9294 (_dl_x86_64_save_sse): Likewise.
9295
90f139dd
UD
92962011-07-22 Ulrich Drepper <drepper@gmail.com>
9297
1aae088a
UD
9298 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9299 OSXSAVE.
9300 (_dl_x86_64_save_sse): Likewise.
9301
8e2045f5
UD
9302 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9303
90f139dd
UD
9304 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9305
1d002f25
AS
93062011-07-21 Andreas Schwab <schwab@redhat.com>
9307
9308 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9309 change.
9310 (_dl_x86_64_save_sse): Use correct AVX check.
9311
21137f89
UD
93122011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9313
9314 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9315 bug in strncpy/strncat.
9316 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9317
a65c0b7a
UD
93182011-07-21 Ulrich Drepper <drepper@gmail.com>
9319
9320 * string/tester.c (test_strcat): Add tests for different alignments
9321 of source and destination.
9322 (test_strncat): Likewise.
9323
6986b98a
UD
93242011-07-20 Ulrich Drepper <drepper@gmail.com>
9325
90bb2039
UD
9326 [BZ #12852]
9327 * posix/glob.c (glob): Check passed in values before using them in
9328 expressions to avoid some overflows.
9329 (glob_in_dir): Likewise.
9330
5644ef54
UD
9331 [BZ #13007]
9332 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9333 check for AVX enablement so that we don't crash with old kernels and
9334 new hardware.
9335 * elf/tst-audit4.c: Add same checks here.
9336 * elf/tst-audit6.c: Likewise.
9337
9338 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9339
bfc9dc9b
AS
93402011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9341
9342 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9343
702e64bb
UD
93442011-07-20 Ulrich Drepper <drepper@gmail.com>
9345
9346 * po/cs.po: Update from translation team.
9347 * po/bg.po: Likewise.
9348
295e904f
MP
93492011-07-12 Marek Polacek <mpolacek@redhat.com>
9350
9351 * misc/sys/cdefs.h: Add support for const attribute.
9352 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9353 to gnu_dev_{major,minor,makedev} functions.
9354
3ff94596
MP
93552011-07-20 Marek Polacek <mpolacek@redhat.com>
9356
9357 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9358
28b59fca
AS
93592011-07-20 Andreas Schwab <schwab@redhat.com>
9360
9361 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9362 strlen results.
9363
19df733e
AK
93642011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9365
9366 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9367 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9368 register in order to avoid conflicts with the soft frame pointer
9369 being held in r11 when necessary.
9370 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9371 (INTERNAL_VSYSCALL_NCS): Likewise.
9372
c8835729
MP
93732011-07-14 Marek Polacek <mpolacek@redhat.com>
9374
9375 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9376 * elf/dl-fini.c (_dl_fini): Adjust caller.
9377 * elf/dl-close.c (_dl_close_worker): Likewise.
9378 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9379
b902330c
MP
93802011-07-15 Marek Polacek <mpolacek@redhat.com>
9381
8991e135
MP
9382 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9383 "aux_cache->nlibs < 0".
9384
b902330c
MP
9385 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9386 in the reload-count case.
9387
99710781
LD
93882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9389
9390 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9391 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9392 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9393 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9394 * sysdeps/x86_64/multiarch/strcat.S: New file.
9395 * sysdeps/x86_64/multiarch/strncat.S: New file.
9396 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9397 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9398 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9399 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9400 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9401 (USE_AS_STRCAT): Define.
9402 Add strcat and strncat support.
9403 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9404 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9405 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9406 * string/strncat.c: Update.
9407 (USE_AS_STRNCAT): Define.
9408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9409 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9410 and i7.
9411 * sysdeps/x86_64/multiarch/init-arch.h
9412 (bit_Prefer_PMINUB_for_stringop): New.
9413 (index_Prefer_PMINUB_for_stringop): Likewise.
9414 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9415 bit_Prefer_PMINUB_for_stringop.
9416
7dc6bd90
UD
94172011-07-19 Ulrich Drepper <drepper@gmail.com>
9418
9419 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9420 buffer64.
9421 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9422 of casting of buffer.
9423 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9424 buffer32 and buffer64.
9425 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9426 writes instead of casting of buffer.
9427 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9428 buffer32.
9429 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9430 casting of buffer.
9431
e0e72284
AS
94322011-07-19 Andreas Schwab <schwab@redhat.com>
9433
9434 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9435
feb1eb0b
UD
94362011-07-19 Ulrich Drepper <drepper@gmail.com>
9437
9438 * nscd/nscd.c (termination_handler): Don't do anything for a database
9439 if it has not yet been initialized.
9440
298711ff
UD
94412011-07-18 Ulrich Drepper <drepper@gmail.com>
9442
9443 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9444
94452011-07-15 Marek Polacek <mpolacek@redhat.com>
9446
9447 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9448
f9d68389
UD
94492011-07-18 Ulrich Drepper <drepper@gmail.com>
9450
9451 * po/nl.po: Update from translation team.
9452 * po/sv.po: Likewise.
9453
db290cf5
RM
94542011-07-16 Roland McGrath <roland@hack.frob.com>
9455
9456 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9457 now disallowed by GCC.
5c550700 9458
fd5e21c7
RM
9459 * configure.in (use-default-link): Default to yes if a test -shared
9460 link meets our qualifications.
9461 * configure: Regenerated.
9462
5c550700
RM
9463 * config.make.in (output-format): New variable.
9464 * configure.in: Check for ld --print-output-format support.
9465 * configure: Regenerated.
9466 * Makerules ($(common-objpfx)format.lds)
9467 [$(output-format) != unknown]: Just use $(output-format),
9468 instead of the linker-script munging.
9469
9fa2c032
RM
94702011-07-14 Roland McGrath <roland@hack.frob.com>
9471
a6928d51
RM
9472 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9473 of $(common-objpfx)shlib.lds.
9474 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9475
661607b3
RM
9476 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9477 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9478
9fa2c032
RM
9479 * configure.in (-z relro check): Adjust test code to add a large
9480 writable data section after it.
9481 * configure: Regenerated.
9482
defe9061
RM
94832011-07-11 Roland McGrath <roland@hack.frob.com>
9484
9485 * configure.in (-z relro check): Fix test code to make the variable
9486 truly const.
9487 * configure: Regenerated.
9488
319b9ad4
UD
94892011-07-11 Ulrich Drepper <drepper@gmail.com>
9490
9491 * nscd/nscd.h (struct traced_file): Define.
9492 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9493 elements. Add traced_files.
9494 (inotify_fd): Declare.
9495 (register_traced_file): Declare.
9496 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9497 (inotify_fd): Export.
9498 (resolv_conf_descr): Remove.
9499 (nscd_init): Move inotify descriptor creation to main.
9500 Don't register files for notification here.
9501 (register_traced_file): New function.
9502 (invalidate_cache): Don't use reset_res to determine whether to call
9503 res_init, go through the list of registered files.
9504 (main_loop_poll): The inotify descriptors are now stored in the
9505 structures for the traced files.
9506 (main_loop_epoll): Likewise
9507 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9508 to __nss_disable_nscd.
9509 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9510 for a database anymore. Check the records for all the registered
9511 files instead.
9512 * nss/Makefile (libnss_files-routines): Add files-init.
9513 (libnss_db-routines): Add db-init.
9514 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9515 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9516 * nss/nss_db/db-init.c: New file.
9517 * nss/nss_files/files-init.c: New file.
9518 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9519 __nss_lookup_function.
9520 (__nss_lookup_function): Call nss_load_library.
9521 (nss_load_all_libraries): New function.
9522 (__nss_disable_nscd): Take parameter with callback function for files
9523 to register. Set is_nscd. Load all the DSOs for the NSS modules
9524 used for the cached services.
9525 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9526 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9527 options for features to all the files in nscd.
9528
9529 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9530
23bee3e8
RM
95312011-07-10 Roland McGrath <roland@hack.frob.com>
9532
9533 * csu/elf-init.c (__libc_csu_init): Comment typo.
9534
46a5b7f0
UD
95352011-07-09 Ulrich Drepper <drepper@gmail.com>
9536
9537 * po/pl.po: Update from translation team.
9538 * po/ja.po: Likewise.
9539 * po/ru.po: Likewise.
9540 * po/ko.po: Likewise.
9541 * po/fr.po: Likewise.
9542
d30cf5bb
RM
95432011-07-09 Roland McGrath <roland@hack.frob.com>
9544
113ddea4
RM
9545 * configure.in (.ctors/.dtors header and trailer check):
9546 Use an empirical test on a built program.
9547 * configure: Regenerated.
9548
574920b4
RM
9549 * configure.in (-z relro check): Use an empirical test on a built DSO.
9550 Detect, but do not require, on ia64.
9551 * configure: Regenerated.
9552
d30cf5bb
RM
9553 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9554 Update tests that use readelf to use $READELF instead.
9555 * configure: Regenerated.
9556
8538fdb3
UD
95572011-07-08 Ulrich Drepper <drepper@gmail.com>
9558
9559 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9560 if the result is not used.
9561
04d08991
AJ
95622011-07-05 Andreas Jaeger <aj@suse.de>
9563
9564 [BZ#9696]
9565 * stdlib/tst-strtod.c: Add testcase.
9566
de283087
AD
95672011-07-07 Ulrich Drepper <drepper@gmail.com>
9568
4e5f31c8 9569 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9570 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9571 The latter has a higher limit. Take additional parameter to pass to
9572 the new function.
9573 (__pathconf): Pass file to __statfs_link_max.
9574 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9575 __statfs_link_max.
9576 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9577 __statfs_link_max.
9578
de283087
AD
9579 [BZ #12868]
9580 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9581 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9582 Handle Lustre.
9583 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9584 (__statfs_filesize_max): Likewise.
9585 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9586
c75fa153
AJ
95872011-07-05 Andreas Jaeger <aj@suse.de>
9588
9589 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9590
1a544854
UD
95912011-07-06 Marek Polacek <mpolacek@redhat.com>
9592
9593 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9594 `status' variable.
9595 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9596 Likewise.
9597
6f0eec67
UD
95982011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9599
9600 * Makefile (strop-tests): Add strncat.
9601 * string/test-strncat.c: New file.
9602
aae30307
UD
96032011-06-30 Marek Polacek <mpolacek@redhat.com>
9604
9605 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9606
c0cfb5eb
UD
96072011-06-21 Andreas Jaeger <aj@suse.de>
9608
9609 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9610 Copy rule from iconvdata/Makefile.
9611
01636b21
UD
96122011-07-06 Ulrich Drepper <drepper@gmail.com>
9613
9614 [BZ #12922]
9615 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9616 but no long options are defined, just return 'W'.
9617
9895c8bc
UD
96182011-06-22 Marek Polacek <mpolacek@redhat.com>
9619
9620 [BZ #9696]
9621 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9622
5d4cf042
UD
96232011-07-06 Ulrich Drepper <drepper@gmail.com>
9624
9625 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9626 netgroups to read.
960e5535 9627 (innetgr): Likewise.
5d4cf042 9628
751eb97e
RM
96292011-07-05 Roland McGrath <roland@hack.frob.com>
9630
9631 * config.make.in (install_root): Default to $(DESTDIR).
9632
f15f1e45
UD
96332011-07-05 Ulrich Drepper <drepper@gmail.com>
9634
9635 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9636
4e34ac6a
RM
96372011-07-02 Roland McGrath <roland@hack.frob.com>
9638
5e9b6af4
RM
9639 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9640
84f9ea0f
RM
9641 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9642 containing directory rather than embedding absolute directory names.
9643
ea5ee9f7
RM
9644 * scripts/check-local-headers.sh: Rewritten using awk.
9645 Match by word, not by line. Print error messages for matches.
9646 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9647
1b74661a
RM
9648 * Makerules [shlib-lds-flags empty]:
9649 ($(common-objpfx)libc_pic.opts): New target.
9650 ($(common-objpfx)libc_pic.os.clean): New target.
9651 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9652
9653 * config.make.in (OBJCOPY): New variable.
9654 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9655 * configure: Regenerated.
9656
f781ef40
RM
9657 * config.make.in (use-default-link): New variable.
9658 * configure.in (use_default_link): Grok --with-default-link to set it.
9659 * configure: Regenerated.
9660 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9661 (shlib-lds, shlib-lds-flags): Define to empty.
9662
2d4fa81e
RM
9663 * Makerules (shlib-lds): New variable.
9664 (shlib-lds-flags): New variable.
9665 (build-shlib, build-moduile, build-module-asneeded): Use it.
9666 ($(common-objpfx)libc.so): Use $(shlib-lds).
9667 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9668 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9669
31fffa6b
RM
9670 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9671 DT_FLAGS/DT_FLAGS_1 with zero flags.
9672
4e34ac6a
RM
9673 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9674 linker script munging.
9675
fcfc776b
UD
96762011-07-02 Ulrich Drepper <drepper@gmail.com>
9677
9678 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9679 as 128-bit value.
9680 * crypt/sha512.c (sha512_process_block): Perform total addition using
9681 128-bit if possible.
9682 (__sha512_finish_ctx): Likewise.
9683 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9684 as 64-bit value.
9685 * crypt/sha256.c (SWAP64): Define.
9686 (sha256_process_block): Perform total addition using 64-bit if
9687 possible.
9688 (__sha256_finish_ctx): Likewise.
9689
99231d9a
UD
96902011-07-01 Ulrich Drepper <drepper@gmail.com>
9691
9692 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9693 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9694 * nscd/hstcache.c (cache_addhst): Likewise.
9695 * nscd/grpcache.c (cache_addgr): Likewise.
9696 * nscd/aicache.c (addhstaiX): Likewise
9697 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9698
445b4a53
TK
96992011-07-01 Thorsten Kukuk <kukuk@suse.de>
9700
9701 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9702 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9703 * nscd/hstcache.c (cache_addhst): Likewise.
9704 * nscd/grpcache.c (cache_addgr): Likewise.
9705 * nscd/aicache.c (addhstaiX): Likewise
9706
6d4d8e8e
AS
97072011-07-01 Andreas Schwab <schwab@redhat.com>
9708
9709 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9710 domain only when needed.
9711
89f654c5
AS
97122011-06-30 Andreas Schwab <schwab@redhat.com>
9713
9714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9715 is always restored.
9716
cf3b23ff
UD
97172011-06-29 Ulrich Drepper <drepper@gmail.com>
9718
9719 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9720 are re-adding the entry.
9721 * nscd/servicescache.c (cache_addserv): Likewise.
9722
751626f9
AJ
97232011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9724
9725 * sysdeps/generic/dl-irel.h: fix protection against multiple
9726 inclusions.
9727 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9728
9113ea1f
UD
97292011-06-28 Ulrich Drepper <drepper@gmail.com>
9730
5c0b8d90
UD
9731 [BZ #12935]
9732 * malloc/memusage.sh: Fix quoting in message.
9733 * debug/xtrace.sh: Likewise.
9734
9113ea1f
UD
9735 * configure.in: Remove support for --experimental-malloc option, make
9736 it the default.
9737 * config.make.in: Likewise.
9738 * malloc/Makefile: Likewise.
9739
a4172181
AS
97402011-06-27 Andreas Schwab <schwab@redhat.com>
9741
9742 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9743 two-byte characters.
9744
78a7eee7
RM
97452011-06-27 Roland McGrath <roland@hack.frob.com>
9746
62bede13
RM
9747 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9748 AC_CACHE_CHECK invocation.
9749 * configure: Regenerated.
9750
78a7eee7
RM
9751 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9752
5ce33a62
UD
97532011-06-27 Ulrich Drepper <drepper@gmail.com>
9754
034807a9
UD
9755 [BZ #12350]
9756 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9757 bit from old_res_options.
9758
4902da17
UD
9759 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9760
5ce33a62
UD
9761 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9762 value type for setfct.
9763
c2344f56
L
97642011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9765
9766 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9767 __gettimeofday instead of gettimeofday.
9768
68468076
UD
97692011-06-26 Ulrich Drepper <drepper@gmail.com>
9770
9771 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9772
acb0d739
L
97732011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9774
9775 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9776
9777 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9778 info.
9779
8912479f
L
97802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9781
9782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9783 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9784 strcpy-sse2-unaligned strncpy-sse2-unaligned
9785 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9786 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9787 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9788 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9789 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9790 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9791 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9792 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9793 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9794 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9795 (STRCPY): Support SSE2 and SSSE3 versions.
9796
d5495a11
UD
97972011-06-24 Ulrich Drepper <drepper@gmail.com>
9798
9799 [BZ #12874]
9800 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9801 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9802 kernels which artificially limit size of requests.
9803
0b1cbaae
L
98042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9805
9806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9807 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9808 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9809 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9810 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9811 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9812 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9813 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9814 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9815 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9816 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9817 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9818 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9819 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9820 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9822 Enable unaligned load optimization for Intel Core i3, i5 and i7
9823 processors.
9824 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9825 Define.
9826 (index_Fast_Unaligned_Load): Define.
9827 (HAS_FAST_UNALIGNED_LOAD): Define.
9828
07f494a0
MP
98292011-06-23 Marek Polacek <mpolacek@redhat.com>
9830
9831 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9832
fa3fc0fe
UD
98332011-06-22 Ulrich Drepper <drepper@gmail.com>
9834
9835 [BZ #12907]
9836 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9837 until it is clear that the information is realy needed.
9838 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9839
e12df166
AS
98402011-06-22 Andreas Schwab <schwab@redhat.com>
9841
9842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9843
852eb34d
UD
98442011-06-22 Ulrich Drepper <drepper@gmail.com>
9845
84e2a551
UD
9846 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9847 /sys/devices/system/cpu/online if it is usable.
9848
852eb34d
UD
9849 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9850 reading the information from the /proc filesystem to once a second.
9851
6e502e19
UD
98522011-06-21 Andreas Jaeger <aj@suse.de>
9853
9854 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9855 NULL after inclusion of kernel headers.
9856
75d39ff2
UD
98572011-06-21 Ulrich Drepper <drepper@gmail.com>
9858
51f9aa6a
UD
9859 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9860 calls to internal_setent.
9861
c0244a9d
UD
9862 [BZ #12885]
9863 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9864 addresses using gethostbyname4_r ignore IPv4 addresses.
9865
c5e3c2ae
UD
9866 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9867 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9868
75d39ff2
UD
9869 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9870
42675c6f
DM
98712011-06-20 David S. Miller <davem@davemloft.net>
9872
9873 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9874 inclusions.
9875 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9876
9877 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9878 (elf_irel): Use it.
9879 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9880 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9881 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9882 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9883 * sysdeps/x86_64/dl-irel.h: Likewise.
9884
9885 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9886 * elf/dl-sym.c: Likewise.
9887
57912a71
UD
98882011-06-15 Ulrich Drepper <drepper@gmail.com>
9889
9890 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9891 need to dereference resplen2.
9892
ee22793d
AS
98932011-06-14 Andreas Schwab <schwab@redhat.com>
9894
9895 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9896
a9e836b0
UD
98972011-06-15 Ulrich Drepper <drepper@gmail.com>
9898
77fb9117
UD
9899 * Makeconfig: Define vardbdir and inst_vardbdir.
9900 * nss/Makefile: Add rules to install db-Makefile.
9901
40c1b22c
UD
9902 * nss/nss_db/db-XXX.c: Cleanup.
9903
9f2da732
UD
9904 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9905 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9906 GLIBC_PRIVATE.
9907 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9908 * nss/makedb.c: Implement -g option to specify that value strings
9909 are generated and should not be added to table iterated over for
9910 get*ent calls.
9911 * nss/nss_db/db-initgroups.c: New file.
9912
82e9a1f7
UD
9913 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9914 interface.
9915
c41af17e
UD
9916 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9917 (internal_getgrouplist): Adjust to name change.
9918 Update use_initgroups_entry if this is not the first call.
9919 * nss/databases.def: Add initgroups entry.
9920
a9e836b0
UD
9921 * nss/makedb.c (compute_tables): Check result of multiple hash table
9922 sizes to minimize maximum chain length.
9923
2666d441
UD
99242011-06-14 Ulrich Drepper <drepper@gmail.com>
9925
9926 * Versions.def: Add entry for libnss_db.
9927 * shlib-versions: Likewise.
9928 * nss/Makefile: Add rules to build libnss_db.
9929 * nss/Versions: Add libnss_db information. Organize libnss_files
9930 entries better.
9931 * nss/db-Makefile: Add gshadow support. Change rules for the new
9932 makedb progra. Some minor improvements to generate smaller files.
9933 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9934 here from...
9935 * nss/makedb.c: ...here.
9936 Improve database format to be smaller and require less memory at
9937 runtime.
9938 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9939 db anymore.
9940 * nss/nss_db/db-netgrp.c: Likewise.
9941 * nss/nss_db/db-open.c: Likewise.
9942 * nss/nss_files/flies-XXX.x: Adjust comments.
9943 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9944 * nss/nss_files/files-grp.c: Likewise.
9945 * nss/nss_files/files-hosts.c: Likewise.
9946 * nss/nss_files/files-network.c: Likewise.
9947 * nss/nss_files/files-proto.c: Likewise.
9948 * nss/nss_files/files-pwd.c: Likewise.
9949 * nss/nss_files/files-rpc.c: Likewise.
9950 * nss/nss_files/files-service.c: Likewise.
9951 * nss/nss_files/files-sgrp.c: Likewise.
9952 * nss/nss_files/files-spwd.c: Likewise.
9953 * nss/nss_db/db-alias.c: Removed.
9954 * nss/nss_db/dummy-db.h: Removed.
9955
9ee76b5a
UD
99562011-06-02 Ulrich Drepper <drepper@gmail.com>
9957
9958 * nss/makedb.c: Rewritten to not use database library.
9959 * nss/Makefile: Update to build new makedb program.
9960
c71ca1f8
AJ
99612011-06-14 Andreas Jaeger <aj@suse.de>
9962
9963 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9964 memset declaration.
9965
3154bfb8
UD
99662011-06-10 Andreas Schwab <schwab@redhat.com>
9967
9968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9969 tmpbuf.
9970
b350afab
RM
99712011-06-10 Roland McGrath <roland@hack.frob.com>
9972
decd4e50
RM
9973 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9974 * elf/Makefile ($(objpfx)ld.so): Likewise.
9975
5615eaf2
RM
9976 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9977 Don't list ld.so twice in dependencies.
9978
9979 * posix/bug-regex31.c: Include <stdlib.h>.
9980
9981 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9982
9983 * nis/nss_compat/compat-spwd.c
9984 (getspent_next_nss_netgr): Remove unused variable.
9985 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9986
9987 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9988 nonmembers" output to use the right array.
9989
9990 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9991
9992 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9993
9994 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9995 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9996 * catgets/gencat.c (read_input_file): Likewise.
9997 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9998
9999 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10000 variable definition inside #if's controlling its use.
10001
10002 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10003
10004 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10005
10006 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10007
10008 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10009 unreachable code.
10010
10011 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10012
b68e08db
RM
10013 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10014 * configure: Regenerated.
10015
b350afab
RM
10016 * Makerules: Revert last change.
10017 * elf/Makefile: Likewise.
10018
28368601
RM
100192011-06-09 Roland McGrath <roland@hack.frob.com>
10020
10021 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10022 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10023 (reloc-link): Likewise.
10024
11988f8f
UD
100252011-06-09 Ulrich Drepper <drepper@gmail.com>
10026
10027 * elf/Makefile: Add rules to build pldd.
10028 * elf/pldd.c: New file.
10029 * elf/pldd-xx.c: New file.
10030
e80fab37
UD
100312011-06-07 Ulrich Drepper <drepper@gmail.com>
10032
10033 * version.h: Update for 2.15 development version.
10034
9b849836
DM
100352011-06-07 David S. Miller <davem@davemloft.net>
10036
10037 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10038 ifuncs.
10039 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10040 elf_machine_lazy_rel): Likewise.
10041 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10042 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10043 elf_machine_lazy_rel): Likewise.
10044 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10045 dl_hwcap via passed in argument.
10046 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10047 Likewise.
10048
5a31b283
AK
100492011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10050
10051 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10052
069e52f8
RM
100532011-06-06 Roland McGrath <roland@hack.frob.com>
10054
10055 [BZ #12849]
10056 * manual/fdl-1.1.texi: New file, verbatim from:
10057 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10058 * manual/lgpl-2.1.texi: New file, verbatim from:
10059 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10060 * manual/Makefile (licenses): New variable, list those new file names.
10061 (texis): Use it.
10062 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10063
10064 * manual/fdl.texi: File removed.
10065 * manual/lesser.texi: File removed.
10066 * manual/libc.texinfo (Copying, Documentation License):
10067 Use new @include file names, put @appendix directive before @include.
10068
f16846a5
JJ
100692011-06-04 Jakub Jelinek <jakub@redhat.com>
10070
10071 [BZ #12841]
10072 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10073 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10074 (mq_open): Add __NTH.
10075
3d29045b
L
100762011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10077
10078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10079 Assume Intel Core i3/i5/i7 processor if AVX is available.
10080
8c297311
UD
100812011-05-31 Ulrich Drepper <drepper@gmail.com>
10082
10083 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10084 typo.
10085
c8fc0c91
UD
100862011-05-31 Andreas Schwab <schwab@redhat.com>
10087
10088 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10089 memory. Use alloca_account. Fix memory leak when retrying.
10090
5b27a807
UD
100912011-05-31 Ulrich Drepper <drepper@gmail.com>
10092
356f8bc6
UD
10093 * version.h (RELEASE): Bump for 2.14 release.
10094 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10095
5b27a807
UD
10096 * config.make.in (RANLIB): Remove entry.
10097
01f16ab0
UD
100982011-05-30 Ulrich Drepper <drepper@gmail.com>
10099
41fce8bd
UD
10100 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10101 (libc.pot): Work around missing support for .ksh extension in xgettext.
10102
4769ae77
UD
10103 [BZ #12684]
10104 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10105 if both request failed.
10106 (send_dg): In case of server errors clear resplen or *resplen2.
10107
6b1e7d19
UD
10108 [BZ #12454]
10109 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10110 when there are multiple maps.
10111 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10112 (_dl_fini): Remove test here.
10113
01f16ab0
UD
10114 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10115
b1ebd700
UD
101162011-05-29 Ulrich Drepper <drepper@gmail.com>
10117
7ae22829
UD
10118 [BZ #12350]
10119 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10120 bit from old_res_options.
10121 (gaih_inet): Likewise.
10122
553149f6 10123 [BZ #11099]
18a84741 10124 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10125 as signed.
10126
652ffab1
UD
10127 * resolv/res_init.c (res_setoptions): Make the code more compact.
10128
16985fd0
UD
10129 [BZ #11558]
10130 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10131 set RES_USEVC.
10132
0464f746
UD
10133 [BZ #11634]
10134 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10135
7d17596c
UD
10136 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10137
cf6bbbd7
UD
10138 [BZ #11781]
10139 * malloc/malloc.h: Declare malloc hook variables as volatile.
10140
13f1ab36
UD
10141 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10142 in last patch.
10143
b1ebd700
UD
10144 [BZ #11799]
10145 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10146 raise in the comment.
80e2212d
UD
10147 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10148 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10149 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10150
ce67228d
UD
101512011-05-28 Ulrich Drepper <drepper@gmail.com>
10152
8887a920
UD
10153 [BZ #12811]
10154 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10155 grow the buffers more if it already has to be sufficient.
10156 (build_wcs_upper_buffer): Likewise.
10157 * posix/regexec.c (check_matching): Likewise.
10158 (clean_state_log_if_needed): Likewise.
10159 (extend_buffers): Don't enlarge buffers beyond size of the input
10160 buffer.
10161 Patches mostly by Emil Wojak <emil@wojak.eu>.
10162 * posix/bug-regex32.c: New file.
10163 * posix/Makefile (tests): Add bug-regex32.
10164
4f031072
UD
10165 * locale/findlocale.c (_nl_find_locale): Return right away if
10166 _nl_explode_name failed.
10167 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10168
d0478f0c
UD
10169 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10170
de81b246
UD
10171 * debug/xtrace.sh: Unify messages.
10172 * malloc/memusage.sh: Likewise.
10173
c738465a
UD
10174 [BZ #12813]
10175 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10176 time symbol from vDSO. Substitute with vsyscall if not available.
10177 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10178 __vdso_time.
10179
f1f929d7
UD
10180 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10181 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10182 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10183 Add sendmmsg and internal_sendmmsg.
10184 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10185 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10186 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10187
ce67228d
UD
10188 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10189 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10190 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10191
e57420c6
UD
101922011-05-27 Ulrich Drepper <drepper@gmail.com>
10193
a8509ca5
UD
10194 [BZ #12813]
10195 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10196 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10197 available.
10198 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10199 __vdso_getcpu.
10200
e57420c6
UD
10201 [BZ #12814]
10202 * iconvdata/Makefile (tests): Add bug-iconv9.
10203 * iconvdata/bug-iconv9.c: New file.
10204
4d07db15
AS
102052011-05-27 Andreas Schwab <schwab@redhat.com>
10206
10207 [BZ #12814]
10208 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10209
ea486f69
JJ
102102011-05-25 Jakub Jelinek <jakub@redhat.com>
10211
10212 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10213 (struct user_regs_struct): Change intcs field back to cs.
10214
6f038433
UD
102152011-05-25 Ulrich Drepper <drepper@gmail.com>
10216
10217 * po/ja.po: Update from translation team.
10218
67f86a25
UD
102192011-05-23 Ulrich Drepper <drepper@gmail.com>
10220
10221 [BZ #12795]
10222 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10223 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10224
def7fbd6
AS
102252011-05-20 Andreas Schwab <schwab@redhat.com>
10226
10227 * stdlib/longlong.h: Update from GCC.
10228
f50ef8f1
AS
102292011-05-23 Andreas Schwab <schwab@redhat.com>
10230
10231 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10232 parameter name.
10233 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10234 Add parameter name.
10235 (__sysconf): Pass it down.
10236
de7ce8f1
UD
102372011-05-22 Ulrich Drepper <drepper@gmail.com>
10238
f2962a71
UD
10239 [BZ #12671]
10240 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10241 some situations.
10242 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10243 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10244 add in in __libc_use_alloca calls. Adjust callers.
10245 (glob): Use malloc in some situations.
10246
de7ce8f1
UD
10247 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10248 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10249 pltexit.
10250
aec84f53
UD
102512011-05-21 Ulrich Drepper <drepper@gmail.com>
10252
05bb4a68
UD
10253 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10254 and CLOCK_BOOTTIME_ALARM.
10255
7ea72f99
UD
10256 [BZ #12782]
10257 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10258 is returned.
10259
7e4afad5
UD
10260 * string/_strerror.c (__strerror_r): Print negative errors as signed
10261 numbers.
10262
8e211fec
UD
10263 [BZ #12777]
10264 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10265 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10266 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10267
f7d82dc9
UD
10268 * configure.in: Fix typo in redirection and correct removal of test
10269 files in two cases.
10270
cc9e536d
UD
10271 [BZ #12788]
10272 * locale/setlocale.c (new_composite_name): Fix test to check for
10273 identical name of all categories.
10274
aec84f53
UD
10275 [BZ #12792]
10276 * libio/filedoalloc.c (local_isatty): New function.
10277 (_IO_file_doallocate): Use local_isatty.
10278 * stdio-common/perror.c (perror): In case a new stream is used
10279 forward the stream error.
10280 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10281 error flag.
10282
78e64fdc
RT
102832011-05-20 Ulrich Drepper <drepper@gmail.com>
10284
34a9094f
UD
10285 [BZ #11869]
10286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10287 alloca.
10288 * include/alloca.h (extend_alloca_account): Define.
10289
78e64fdc
RT
10290 [BZ #11857]
10291 * posix/regex.h: Fix comments with documentation of user-accessible
10292 fields after compilation and describe correct free'ing of pattern
10293 after re_compile_pattern.
10294 Patch by Reuben Thomas <rrt@sc3d.org>.
10295
457bddfc
RA
102962011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10297
10298 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10299 and -mno-altivec to prevent the compiler from using Altivec and/or
10300 VSX instructions when the corresponding registers are not available.
10301
a4527b51
AS
103022011-05-19 Andreas Schwab <schwab@redhat.com>
10303
10304 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10305
ed690b2f
UD
103062011-05-19 Ulrich Drepper <drepper@gmail.com>
10307
10308 * libio/freopen.c (freopen): Use __dup2, not dup2.
10309 * libio/freopen64.c (freopen64): Likewise.
10310
8db73634
L
103112011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10312
10313 [BZ #12775]
10314 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10315 * math/Makefile (tests): Add test-powl.
10316 (CFLAGS-test-powl.c): Define.
10317 * math/test-powl.c: New file.
10318
0a197a9d
L
103192011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10320
10321 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10322
ee30c380
UD
103232011-05-17 Ulrich Drepper <drepper@gmail.com>
10324
10325 [BZ #11837]
10326 * iconvdata/gb18030.c: Update to GB18020-2005.
10327
6ce75379
UD
103282011-05-16 Ulrich Drepper <drepper@gmail.com>
10329
a4b89fd8
AR
10330 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10331 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10332 Patch by Aharon Robbins <arnold@skeeve.com>.
10333
ea389b12
UD
10334 [BZ #11892]
10335 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10336 on the stack.
10337
68a3f91f
UD
10338 [BZ #11895]
10339 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10340 through underflows.
10341
15cc7dd1
UD
10342 [BZ #12766]
10343 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10344 point to strings before performing equality test for error_one_per_line
10345 mode.
10346
f3799213
UD
10347 [BZ #11697]
10348 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10349
d79a9c94
UD
10350 [BZ #11820]
10351 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10352 (struct user_fpregs_struct): Avoid __uint*_t types.
10353
56e5eb46
UD
10354 [BZ #6420]
10355 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10356 symbol info. Use it instead of calling _dl_addr locally.
10357 (lock_and_info): New function.
10358 (tr_freehook): Call lock_and_info and pass symbol info as additional
10359 parameter to tr_where.
10360 (tr_mallochook): Likewise.
10361 (tr_reallochook): Likewise.
10362 (tr_memalignhook): Likewise.
10363
6ce75379
UD
10364 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10365 used and couldn't be at all thread-safe.
10366
f8a3b5bf
UD
103672011-05-15 Ulrich Drepper <drepper@gmail.com>
10368
94b7cc37
UD
10369 * libio/freopen.c (freopen): Don't close old file descriptor
10370 before the new one is opened. Instead dup the new file descriptor
10371 to the old one after the new stream is created.
10372 * libio/freopen64.c (freopen64): Likewise.
10373 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10374 * libio/fileops.c (_IO_new_file_close_it): Handle new
10375 _IO_FLAGS2_NOCLOSE flag.
10376 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10377 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10378 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10379 _IO_FLAGS2_NOCLOSE flag.
10380 * include/unistd.h: Add hidden_proto for dup3.
10381 Define __have_dup3.
10382 * io/dup3.c: Define hidden symbol.
10383 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10384
bd25564e
UD
10385 [BZ #7101]
10386 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10387 when an incomplete long option is used.
10388 * posix/tst-getopt_long1.c: New file.
10389 * posix/Makefile (tests): Add tst-getopt_long1.
10390
c84cfef4
UD
10391 [BZ #10138]
10392 * scripts/config.guess: Update from autoconf-2.68.
10393 * scripts/config.sub: Likewise.
10394
3b85df27
UD
10395 [BZ #10157]
10396 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10397 tests into ...
10398 (has_cpuclock): ...this. New function.
10399 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10400 macro here based on has_cpuclock code.
10401
15a856b1
UD
10402 [BZ #10149]
10403 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10404 First byte (not low byte) is now always NUL.
10405 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10406
05f399e6
UD
10407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10408 Use non-cancelable interfaces.
10409
10a52685 10410 [BZ #9809]
94ecc67d
UD
10411 * locale/iso-639.def: Add entry for Sorani.
10412
f8a3b5bf
UD
10413 [BZ #11901]
10414 * include/stdlib.h: Move include protection to the right place.
10415 Define abort_msg_s. Declare __abort_msg with it.
10416 * stdlib/abort.c (__abort_msg): Adjust type.
10417 * assert/assert.c (__assert_fail_base): New function. Majority
10418 of code from __assert_fail. Allocate memory for __abort_msg with
10419 mmap.
10420 (__assert_fail): Now call __assert_fail_base.
10421 * assert/assert-perr.c: Remove bulk of implementation. Use
10422 __assert_fail_base.
10423 * include/assert.hL Declare __assert_fail_base.
10424 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10425 mmap.
10426 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10427
1af4e298
UD
104282011-05-14 Ulrich Drepper <drepper@gmail.com>
10429
f8a3b5bf 10430 [BZ #11952]
d26dfc60
MG
10431 [BZ #12453]
10432 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10433 until all modules are registered in the DTV.
10434 * elf/Makefile: Add rules to build and run tst-tls19.
10435 * elf/tst-tls19.c: New file.
10436 * elf/tst-tls19mod1.c: New file.
10437 * elf/tst-tls19mod2.c: New file.
10438 * elf/tst-tls19mod3.c: New file.
10439 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10440
2fc54d6f
UD
10441 [BZ #12083]
10442 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10443 correctly.
10444
98d76b46
UD
10445 [BZ #12601]
10446 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10447 two-byte sequence errors.
10448 * iconvdata/Makefile (tests): Add bug-iconv8.
10449 * iconvdata/bug-iconv8.c: New file.
10450
da3c19ef
UD
10451 [BZ #12626]
10452 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10453 buf2 definition.
10454
ca408c15
UD
10455 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10456
d6f67f7d
UD
10457 [BZ #12432]
10458 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10459 (dummy_getcfa): New function.
10460 (init): Get _Unwind_GetCFA address, use dummy if not found.
10461 (backtrace_helper): In recursion check, also check whether CFA changes.
10462 (__backtrace): Completely initialize arg.
10463
1af4e298 10464 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10465 storing incomplete byte sequence in state object. Avoid testing for
10466 guaranteed too small input if we know there is enough data available.
1af4e298 10467
da62f81b
AS
104682011-05-11 Andreas Schwab <schwab@redhat.com>
10469
10470 * Makeconfig (+link-pie): Indent.
10471 * Rules (binaries-pie): Define if $(have-fpie) and
10472 $(build-shared).
10473 (binaries-shared): Also filter out $(binaries-pie).
10474 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10475 * nscd/Makefile (others-pie): Add nscd.
10476 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10477 ($(objpfx)nscd): Remove command override.
10478 * login/Makefile (others-pie): Add pt_chown.
10479 ($(objpfx)pt_chown): Remove command override.
10480 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10481 remove command overrides.
10482
fcabc0f8
UD
104832011-05-13 Ulrich Drepper <drepper@gmail.com>
10484
20030ae6
UD
10485 * libio/tst_putwc.c: Fix error messages.
10486
fcabc0f8
UD
10487 [BZ #12724]
10488 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10489 currently writing and seek to current position when not.
10490 * libio/Makefile (tests): Add bug-fclose1.
10491 * libio/bug-fclose1.c: New file.
10492
320a5dc0
PB
104932011-05-12 Ulrich Drepper <drepper@gmail.com>
10494
10495 [BZ #12511]
10496 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10497 don't set DF_1_NODELETE here.
10498 (do_lookup_x): When entering new entry test for copy relocation
10499 and if necessary set DF_1_NODELETE flag.
10500 * elf/tst-unique4.cc: New file.
10501 * elf/tst-unique4.h: New file.
10502 * elf/tst-unique4lib.cc: New file.
10503 * elf/Makefile: Add rules to build and run tst-unique4.
10504 Patch by Piotr Bury <pbury@goahead.com>.
10505
22836f52
UD
105062011-05-11 Ulrich Drepper <drepper@gmail.com>
10507
f574184a
UD
10508 [BZ #12052]
10509 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10510
e1fb097f
UD
10511 [BZ #12625]
10512 * misc/mntent_r.c (addmntent): Flush the stream after the output
10513
22836f52
UD
10514 [BZ #12393]
10515 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10516 (is_trusted_path_normalize): Skip initial colon. Append slash
10517 to empty buffer. Duplicate is_trusted_path code but allow
10518 constructed patch to be prefix.
10519 (is_dst): Allow $ORIGIN followed by /.
10520 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10521 Correct testing of result of is_trusted_path_normalize
10522 (decompose_rpath): Fix warning.
10523
7b3b0b2a
UD
105242011-05-10 Ulrich Drepper <drepper@gmail.com>
10525
10526 [BZ #11257]
10527 * grp/initgroups.c (internal_getgrouplist): When we found the service
10528 list through the initgroups entry in nsswitch.conf do not always
10529 continue on a successful lookup. Don't always use the
eac80ce2 10530 __nss_group_database value if it is set.
7b3b0b2a
UD
10531 * nss/nsswitch.conf (initgroups): Change action for successful db
10532 lookup to continue for compatibility.
10533
2a81eaa5
UD
105342011-05-09 Ulrich Drepper <drepper@gmail.com>
10535
be97a69e
UD
10536 [BZ #11532]
10537 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10538 and CP774 modules.
10539 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10540 and CP774 modules.
10541 * iconvdata/tst-tables.sh: Likewise.
10542 * iconvdata/cp770.c: New file.
10543 * iconvdata/cp771.c: New file.
10544 * iconvdata/cp772.c: New file.
10545 * iconvdata/cp773.c: New file.
10546 * iconvdata/cp774.c: New file.
10547 * iconvdata/testdata/CP770: New file.
10548 * iconvdata/testdata/CP770..UTF8: New file.
10549 * iconvdata/testdata/CP771: New file.
10550 * iconvdata/testdata/CP771..UTF8: New file.
10551 * iconvdata/testdata/CP772: New file.
10552 * iconvdata/testdata/CP772..UTF8: New file.
10553 * iconvdata/testdata/CP773: New file.
10554 * iconvdata/testdata/CP773..UTF8: New file.
10555 * iconvdata/testdata/CP774: New file.
10556 * iconvdata/testdata/CP774..UTF8: New file.
10557
10558 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10559 END CHARMAP line.
10560 * iconvdata/gen-8bit-gap.sh: Likewise.
10561 * iconvdata/gen-8bit.sh: Likewise.
10562
c1e9e399
UD
10563 * locale/iso-639.def: Add ary entry.
10564
24c55fb3 10565 [BZ #11258]
96b4b1b0
UD
10566 * locale/C-translit.h.in: Add U20A1 transliteration.
10567
bdc2f971
KB
10568 [BZ #12178]
10569 * locale/iso-639.def: Add wae entry.
10570 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10571
2952b117
UD
10572 [BZ #12545]
10573 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10574 for n.
10575
2a81eaa5
UD
10576 [BZ #12711]
10577 * locale/C-translit.h.in: Add entry for U20B9.
10578 Patch by pravin.d.s@gmail.com.
10579
28377d1b
UD
105802011-05-08 Ulrich Drepper <drepper@gmail.com>
10581
7fb90fb8
UD
10582 [BZ #12713]
10583 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10584 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10585 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10586 in rtld. Use *stat64.
7fb90fb8 10587 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10588 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10589 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10590 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10591 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10592 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10593 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10594 __fstatat64 macros.
7fb90fb8
UD
10595 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10596 * dirent/rewinddir.c: Add libc_hidden_def.
10597 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10598 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10599
28377d1b
UD
10600 * include/dirent.h (__alloc_dir): Add flags parameter.
10601 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10602 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10603 __alloc_dir.
10604 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10605 from fdopendir if O_CLOEXEC is already set.
10606
66bdbaa4
AM
106072011-03-15 Alan Modra <amodra@gmail.com>
10608
10609 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10610 l_tls_firstbyte_offset non-zero. Save padding offset in
10611 l_tls_firstbyte_offset for later use.
10612 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10613 freeing static tls block.
10614
95721191
JN
106152011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10616
10617 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10618 where #ifdef was intended. The intent is to prevent ARG_MAX from
10619 being defined by the kernel headers.
10620
f87dfb1f
UD
106212011-05-07 Ulrich Drepper <drepper@gmail.com>
10622
10623 [BZ #12734]
10624 * resolv/resolv.h: Define RES_NOTLDQUERY.
10625 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10626 no-tld-query and set RES_NOTLDQUERY.
10627 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10628 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10629 modern BIND to search name as TLD unless forbidden.
10630
47c3cd7a
UD
106312011-05-07 Petr Baudis <pasky@suse.cz>
10632 Ulrich Drepper <drepper@gmail.com>
10633
10634 [BZ #12393]
10635 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10636 (is_trusted_path): ...to here.
c1e9ea35 10637 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10638 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10639 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10640
8a35c912
PP
106412011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10642
10643 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10644 __BEGIN/__END_DECLS.
10645
acd41f47
UD
106462011-05-06 Ulrich Drepper <drepper@gmail.com>
10647
10648 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10649 NSS_STATUS_NOTFOUND if no record was found.
10650
597df647
AS
106512011-05-05 Andreas Schwab <schwab@redhat.com>
10652
10653 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10654 (headers-not-in-tirpc): Remove rpc/netdb.h
10655 * resolv/netdb.h: Revert last change.
10656
b9af1301
PP
106572011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10658
10659 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10660 circular dependency between libgcc.a and libc.a.
10661
4e34d5f5
AS
106622011-05-05 Andreas Schwab <schwab@redhat.com>
10663
10664 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10665 * nis/Makefile: Don't install rpcsvc/*.
10666 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10667 instead of <rpc/types.h>.
10668 (MAXHOSTNAMELEN): Define.
10669
00ee369c
AS
106702011-05-03 Andreas Schwab <schwab@redhat.com>
10671
10672 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10673
0b592a30
MB
106742011-04-28 Maciej Babinski <mbabinski@google.com>
10675
10676 [BZ #12714]
10677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10678 gethostbyname4_r when IPv6 results are possible.
10679
6e04cbbe
UD
106802011-05-02 Ulrich Drepper <drepper@gmail.com>
10681
10682 [BZ #12723]
10683 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10684 _PC_PIPE_BUF handling.
10685
e4ecafe0
BH
106862011-04-30 Bruno Haible <bruno@clisp.org>
10687
10688 [BZ #12717]
10689 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10690 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10691 to 'int'.
10692 * inet/getnameinfo.c (getnameinfo): Likewise.
10693
125ee683
UD
106942011-04-29 Ulrich Drepper <drepper@gmail.com>
10695
10696 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10697 to groups setting in database lookup.
10698 * nss/nsswitch.conf: Add initgroups entry.
10699
b722481a
EB
107002011-04-22 Ulrich Drepper <drepper@gmail.com>
10701
10702 [BZ #12685]
10703 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10704 mode string.
10705 Patch by Eric Blake <eblake@redhat.com>.
10706
4df46dbd
L
107072011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10708
10709 * sunrpc/Makefile (need-export-routines): Add svc_run.
10710 (routines): Remove svc_run.
10711 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10712 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10713 * sunrpc/svc_run.c (svc_run): Likewise.
10714 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10715
e84142d2
UD
107162011-04-21 Ulrich Drepper <drepper@gmail.com>
10717
10718 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10719 problem in reallocation in last patch.
10720
877175d8
UD
107212011-04-20 Ulrich Drepper <drepper@gmail.com>
10722
10723 * sunrpc/Makefile: Move inclusion of Rules.
10724
ab8eed78
UD
107252011-04-19 Ulrich Drepper <drepper@gmail.com>
10726
10727 * nss/nss_files/files-initgroups.c: New file.
10728 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10729 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10730 _nss_files_initgroups_dyn.
10731
e3d8f584
RS
107322011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10733
10734 * elf/elf.h (R_ARM_IRELATIVE): Define.
10735
af190f45
UD
107362011-04-19 Ulrich Drepper <drepper@gmail.com>
10737
10738 * po/ru.po: Update from translation team.
10739
53cf59ef
UD
107402011-04-17 Ulrich Drepper <drepper@gmail.com>
10741
10742 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10743 dependencies.
10744
4c559bcd
MF
107452011-02-06 Mike Frysinger <vapier@gentoo.org>
10746
10747 [BZ #12653]
10748 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10749 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10750 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10751 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10752 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10753
4420675c
AS
107542011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10755
10756 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10757 differing bytes.
10758 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10759 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10760 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10761
75ea32ab
UD
107622011-04-17 Ulrich Drepper <drepper@gmail.com>
10763
10764 [BZ #12420]
10765 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10766 storing it.
10767 * stdlib/bug-getcontext.c: New file.
10768 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10769
27390476
AK
107702011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10771
10772 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10773 instructions into .machine "z9-109".
10774 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10775 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10776
10442705
AK
107772011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10778
10779 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10780 between environment variables and auxiliary vector.
10781
7b57bfe5
UD
107822011-04-16 Ulrich Drepper <drepper@gmail.com>
10783
10784 * Makefile: Add rules to build linkobj/libc.so.
10785 * include/libc-symbols.h: Define libc_hidden_nolink.
10786 * include/rpc/auth.h: Mark functions which are to be hidden.
10787 * include/rpc/auth_des.h: Likewise.
10788 * include/rpc/auth_unix.h: Likewise.
10789 * include/rpc/clnt.h: Likewise.
10790 * include/rpc/des_crypt.h: Likewise.
10791 * include/rpc/key_prot.h: Likewise.
10792 * include/rpc/pmap_clnt.h: Likewise.
10793 * include/rpc/pmap_prot.h: Likewise.
10794 * include/rpc/pmap_rmt.h: Likewise.
10795 * include/rpc/rpc_msg.h: Likewise.
10796 * include/rpc/svc.h: Likewise.
10797 * include/rpc/svc_auth.h: Likewise.
10798 * include/rpc/xdr.h: Likewise.
10799 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10800 * nss/Makefile: Likewise.
10801 * sunrpc/Makefile: Don't install headers. Build library with normal
10802 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10803 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10804 for the compat linking library. Remove use of INTDEF/INTUSE.
10805 * sunrpc/auth_none.c: Likewise.
10806 * sunrpc/auth_unix.c: Likewise.
10807 * sunrpc/authdes_prot.c: Likewise.
10808 * sunrpc/authuxprot.c: Likewise.
10809 * sunrpc/clnt_gen.c: Likewise.
10810 * sunrpc/clnt_perr.c: Likewise.
10811 * sunrpc/clnt_raw.c: Likewise.
10812 * sunrpc/clnt_simp.c: Likewise.
10813 * sunrpc/clnt_tcp.c: Likewise.
10814 * sunrpc/clnt_udp.c: Likewise.
10815 * sunrpc/clnt_unix.c: Likewise.
10816 * sunrpc/des_crypt.c: Likewise.
10817 * sunrpc/des_soft.c: Likewise.
10818 * sunrpc/get_myaddr.c: Likewise.
10819 * sunrpc/key_call.c: Likewise.
10820 * sunrpc/key_prot.c: Likewise.
10821 * sunrpc/netname.c: Likewise.
10822 * sunrpc/pm_getmaps.c: Likewise.
10823 * sunrpc/pm_getport.c: Likewise.
10824 * sunrpc/pmap_clnt.c: Likewise.
10825 * sunrpc/pmap_prot.c: Likewise.
10826 * sunrpc/pmap_prot2.c: Likewise.
10827 * sunrpc/pmap_rmt.c: Likewise.
10828 * sunrpc/publickey.c: Likewise.
10829 * sunrpc/rpc_cmsg.c: Likewise.
10830 * sunrpc/rpc_common.c: Likewise.
10831 * sunrpc/rpc_dtable.c: Likewise.
10832 * sunrpc/rpc_prot.c: Likewise.
10833 * sunrpc/rpc_thread.c: Likewise.
10834 * sunrpc/rtime.c: Likewise.
10835 * sunrpc/svc.c: Likewise.
10836 * sunrpc/svc_auth.c: Likewise.
10837 * sunrpc/svc_authux.c: Likewise.
10838 * sunrpc/svc_raw.c: Likewise.
10839 * sunrpc/svc_run.c: Likewise.
10840 * sunrpc/svc_simple.c: Likewise.
10841 * sunrpc/svc_tcp.c: Likewise.
10842 * sunrpc/svc_udp.c: Likewise.
10843 * sunrpc/svc_unix.c: Likewise.
10844 * sunrpc/svcauth_des.c: Likewise.
10845 * sunrpc/xcrypt.c: Likewise.
10846 * sunrpc/xdr.c: Likewise.
10847 * sunrpc/xdr_array.c: Likewise.
10848 * sunrpc/xdr_float.c: Likewise.
10849 * sunrpc/xdr_intXX_t.c: Likewise.
10850 * sunrpc/xdr_mem.c: Likewise.
10851 * sunrpc/xdr_rec.c: Likewise.
10852 * sunrpc/xdr_ref.c: Likewise.
10853 * sunrpc/xdr_sizeof.c: Likewise.
10854 * sunrpc/xdr_stdio.c: Likewise.
10855
e6c61494
UD
108562011-04-10 Ulrich Drepper <drepper@gmail.com>
10857
10858 [BZ #12650]
10859 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10860 * sysdeps/ia64/dl-tls.h: Likewise.
10861 * sysdeps/powerpc/dl-tls.h: Likewise.
10862 * sysdeps/s390/dl-tls.h: Likewise.
10863 * sysdeps/sh/dl-tls.h: Likewise.
10864 * sysdeps/sparc/dl-tls.h: Likewise.
10865 * sysdeps/x86_64/dl-tls.h: Likewise.
10866 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10867
34fe483e
AS
108682011-03-14 Andreas Schwab <schwab@redhat.com>
10869
10870 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10871 rpath element also skip the following colon.
10872 (expand_dynamic_string_token): Add is_path parameter and pass
10873 down to DL_DST_REQUIRED and _dl_dst_substitute.
10874 (decompose_rpath): Call expand_dynamic_string_token with
10875 non-zero is_path. Ignore empty rpaths.
10876 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10877 with zero is_path.
10878
f12a32e6
AS
108792011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10880
10881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10882 Make cancelable.
10883
38a7d692
UD
108842011-04-09 Ulrich Drepper <drepper@gmail.com>
10885
10886 [BZ #12655]
10887 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10888 Patch by Filipe David Manana <fdmanana@apache.org>.
10889
e451d22b
AS
108902011-04-07 Andreas Schwab <schwab@redhat.com>
10891
10892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10893 Maintain aligned stack.
10894 (CHECK_RSP): Remove unused macro.
10895
dedc7c7b
UD
108962011-04-03 Ulrich Drepper <drepper@gmail.com>
10897
10898 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10899 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10900
94521213
UD
109012011-04-02 Ulrich Drepper <drepper@gmail.com>
10902
10903 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10904
8cb700c0 10905 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 10906
0354e355
L
109072011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10908
10909 [BZ #12518]
10910 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10911 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10912 * sysdeps/x86_64/memmove.c: New file.
10913 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10914 (memcpy): Renamed to ...
10915 (__new_memcpy): This.
10916 (memcpy): Provide GLIBC_2_14 memcpy.
10917 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10918 (memcpy): Provide GLIBC_2_2_5 memcpy.
10919
8593482f
UD
109202011-04-01 Ulrich Drepper <drepper@gmail.com>
10921
10922 [BZ #12631]
10923 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10924
81a5726b
AS
109252011-03-30 Andreas Schwab <schwab@redhat.com>
10926
10927 * misc/syncfs.c: New file.
10928 * misc/Makefile (routines): Add syncfs.
10929 * posix/unistd.h: Declare syncfs.
10930 * sysdeps/unix/syscalls.list: Add syncfs.
10931
00e5419f
AS
109322011-04-01 Andreas Schwab <schwab@redhat.com>
10933
10934 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10935 open_by_handle_at.
10936 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10937 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10939 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10941 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10942 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10943
748876bf
UD
109442011-04-01 Ulrich Drepper <drepper@gmail.com>
10945
658e451d
UD
10946 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10947 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10948 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10949 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10950 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10952 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10953
748876bf
UD
10954 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10955 sync_file_range.c with -fexceptions.
10956 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10957 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10958 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10959 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10960 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10961 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10962 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
10963 sync_file_range as cancellation point
10964 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10965 now a wrapper around __call_sync_file_range with cancellation handling.
10966 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10967 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10968 function name to __call_sync_file_range.
10969 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10970 Add call_sync_file_range.
748876bf 10971
6e63d5e1
AS
109722011-04-01 Andreas Schwab <schwab@redhat.com>
10973
10974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 10975 bits/timex.h.
6e63d5e1 10976
46998f74
UD
109772011-04-01 Ulrich Drepper <drepper@gmail.com>
10978
4c1423ed
UD
10979 * iconv/iconv.h: Fix typo in comment.
10980 * io/fcntl.h: Likewise.
10981 * libio/stdio.h: Likewise.
10982 * posix/spawn.h: Likewise.
10983 * posix/unistd.h: Likewise.
10984 * stdlib/stdlib.h: Likewise.
10985 * time/time.h: Likewise.
10986 * wcsmbs/wchar.h: Likewise.
10987
158648c0
UD
10988 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10989 open_by_handle): Add.
10990 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10991 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10992 Augment a few comments.
10993 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10995 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10996 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10997 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10998 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10999 open_by_handle.
11000
46998f74
UD
11001 * io/fcntl.h (AT_EMPTY_PATH): Define.
11002
83fe108b
UD
110032011-03-30 Ulrich Drepper <drepper@gmail.com>
11004
11005 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11006 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11007 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11008 to...
11009 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11010 * Versions.def: Add GLIBC_2.14.
11011 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11012 Export.
83fe108b 11013
bb242059
UD
110142011-03-22 Ulrich Drepper <drepper@gmail.com>
11015
11016 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11017 round counter.
11018 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11019
c97a1282
L
110202011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11021
11022 [BZ #12597]
11023 * string/test-strncmp.c (do_page_test): New function.
11024 (check2): Likewise.
11025 (test_main): Call check2.
11026 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11027
2a115601
UD
110282011-03-20 Ulrich Drepper <drepper@gmail.com>
11029
11030 [BZ #12587]
11031 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11032 Handle cache information in CPU leaf 4.
11033 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11034
8126d904
UD
110352011-03-18 Ulrich Drepper <drepper@gmail.com>
11036
042c49c6 11037 [BZ #12583]
8126d904
UD
11038 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11039 character representation.
11040 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11041
ccfe366e
RA
110422011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11043
11044 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11045 END(__isnan) to END(__isnanf) to match function entry point/label
11046 EALIGN(__isnanf,...).
11047
c6e13027
JJ
110482011-03-10 Jakub Jelinek <jakub@redhat.com>
11049
11050 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11051
33f85a3f
UD
110522011-03-10 Ulrich Drepper <drepper@gmail.com>
11053
028478fa
UD
11054 [BZ #12510]
11055 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11056 copy from the symbol referenced in the relocation to initialize the
11057 used variable.
11058 Patch by Piotr Bury <pbury@goahead.com>.
11059 * elf/Makefile: Add rules to build and tst-unique3.
11060 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11061 * elf/tst-unique3.cc: New file.
11062 * elf/tst-unique3.h: New file.
11063 * elf/tst-unique3lib.cc: New file.
11064 * elf/tst-unique3lib2.cc: New file.
11065
33f85a3f
UD
11066 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11067
03592fc7
MF
110682011-03-10 Mike Frysinger <vapier@gentoo.org>
11069
11070 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11071 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11072 to _start.
03592fc7 11073
6a5ee102
UD
110742011-03-06 Ulrich Drepper <drepper@gmail.com>
11075
11076 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11077 to-be-loaded object along a path to loader is ld.so.
11078
7e4ba49c
HJ
110792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11080 Ulrich Drepper <drepper@gmail.com>
11081
11082 * sysdeps/x86_64/memset.S: After aligning destination, code
11083 branches to different locations depending on the value of
11084 misalignment, when multiarch is enabled. Fix this.
11085
110862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11087
11088 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11089 Set _x86_64_preferred_memory_instruction for AMD processsors.
11090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11091 Set bit_Prefer_SSE_for_memop for AMD processors.
11092
13a804de
UD
110932011-03-04 Ulrich Drepper <drepper@gmail.com>
11094
11095 * libio/fmemopen.c (fmemopen): Optimize a bit.
11096
9d25c392
AS
110972011-03-03 Andreas Schwab <schwab@redhat.com>
11098
11099 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11100
a5543c6a
RM
111012011-03-03 Roland McGrath <roland@redhat.com>
11102
11103 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11104
012d35f7
DM
111052011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11106
7e4ba49c 11107 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11108 __bzero_ultra1 instead of __memset_ultra1.
11109
4bff6e01
AS
111102011-02-23 Andreas Schwab <schwab@redhat.com>
11111 Ulrich Drepper <drepper@gmail.com>
11112
11113 [BZ #12509]
11114 * include/link.h (struct link_map): Add l_orig_initfini.
11115 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11116 returning unsuccessfully.
11117 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11118 close of a file loaded at startup, restore the original l_initfini
11119 list.
11120 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11121 list, store the pointer.
11122 * elf/Makefile ($(objpfx)noload-mem): New rule.
11123 (noload-ENV): Define.
11124 (tests): Add $(objpfx)noload-mem.
11125 * elf/noload.c: Include <memcheck.h>.
11126 (main): Call mtrace. Close all opened handles.
11127
f2092faf
AS
111282011-02-17 Andreas Schwab <schwab@redhat.com>
11129
11130 [BZ #12454]
11131 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11132 dependencies are missing.
11133
6c8a2e88
ST
111342011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11135
f2092faf 11136 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11137 Hurd needs munmap.
11138 * sysdeps/mach/hurd/ifreq.h: New file.
11139
84a42118
PB
111402011-01-27 Petr Baudis <pasky@suse.cz>
11141 Ulrich Drepper <drepper@gmail.com>
11142
071f805e 11143 [BZ 12445]#
84a42118
PB
11144 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11145 to extend_alloca().
11146 * stdio-common/bug23.c: New file.
11147 * stdio-common/Makefile (tests): Add bug23.
11148
e23fe25b
AS
111492010-09-28 Andreas Schwab <schwab@redhat.com>
11150 Ulrich Drepper <drepper@gmail.com>
11151
11152 [BZ #12489]
11153 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11154 before performing relro protection. At old place add assertion
11155 to make sure nothing changed.
11156
d3f02e10
NS
111572011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11158 Glauber de Oliveira Costa <glommer@gmail.com>
11159
11160 * elf/elf.h: Add new ARM TLS relocs.
11161
d55fd7a5
RA
111622011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11163
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11165 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11166 cast from r3.
11167 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11168 'tests' variable.
11169 * sysdeps/wordsize-64/tst-writev.c: New file.
11170
2206397e
RA
111712011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11172
11173 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11174 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11175 insns in _dl_start to prevent a TOC reference before relocs are
11176 resolved.
11177
e9433893
UD
111782011-02-15 Ulrich Drepper <drepper@gmail.com>
11179
11180 [BZ #12469]
11181 * Makeconfig: Remove RANLIB definition.
11182 * Makerules: Don't use RANLIB.
11183 * aclocal.m4: Remove ranlib test.
11184 * configure.in: No need to check for ranlib.
11185 * elf/rtld-Rules: Don't use RANLIB.
11186
f75286c6
ST
111872011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11188
8e31c82d
ST
11189 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11190 protection macro.
11191 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11192 inclusion protection macro.
11193
f75286c6
ST
11194 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11195 SIGRTMIN and SIGRTMAX and print information in that case only when
11196 SIGRTMIN is defined.
11197
c1d0e639
JJ
111982011-02-11 Jakub Jelinek <jakub@redhat.com>
11199
11200 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11201 arginfo fn returning -1.
11202
11203 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11204 and thousands string is zero terminated.
11205
edf9294e
AS
112062011-02-03 Andreas Schwab <schwab@redhat.com>
11207
11208 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11209 sysdeps/unix/sysv/linux/bits/socket.h.
11210
2b7e92df
ST
112112011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11212
edf9294e
AS
11213 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11214 (__CPU_COUNT): Remove old macros.
11215 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11216 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11217 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11218 (__sched_cpualloc, __sched_cpufree): Add declarations.
11219
a4c7ea7b
UD
112202011-02-05 Ulrich Drepper <drepper@gmail.com>
11221
11222 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11223 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11224 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11225 (readdhstai): Return value of addhstaiX call.
11226 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11227 (addgrbyX): Return value returned by cache_addgr.
11228 (readdgrbyname): Return value returned by addgrbyX.
11229 (readdgrbygid): Likewise.
11230 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11231 (addpwbyX): Return value returned by cache_addpw.
11232 (readdpwbyname): Return value returned by addhstbyX.
11233 (readdpwbyuid): Likewise.
11234 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11235 (addservbyX): Return value returned by cache_addserv.
11236 (readdservbyname): Return value returned by addservbyX:
11237 (readdservbyport): Likewise.
11238 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11239 (addhstbyX): Return value returned by cache_addhst.
11240 (readdhstbyname): Return value returned by addhstbyX.
11241 (readdhstbyaddr): Likewise.
11242 (readdhstbynamev6): Likewise.
11243 (readdhstbyaddrv6): Likewise.
11244 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11245 (readdinitgroups): Return value returned by addinitgroupsX.
11246 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11247 (prune_cache): Keep track of timeout value of re-added entries.
11248 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11249 * nscd/nscd.h: Adjust prototypes of readd* functions.
11250
a0bf67cc
RM
112512011-02-04 Roland McGrath <roland@redhat.com>
11252
11253 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11254 (nis_stats): Likewise.
11255 * nis/nis_modify.c (nis_modify): Likewise.
11256 * nis/nis_remove.c (nis_remove): Likewise.
11257 * nis/nis_add.c (nis_add): Likewise.
11258
11259 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11260
11261 * posix/fnmatch_loop.c: Add some consts.
11262
11263 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11264
435b95eb
L
112652011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11266
11267 [BZ #12460]
11268 * config.make.in (config-cflags-novzeroupper): Define.
11269 * configure.in: Substitute libc_cv_cc_novzeroupper.
11270 * elf/Makefile (AVX-CFLAGS): Define.
11271 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11272 (CFLAGS-tst-auditmod4a.c): Likewise.
11273 (CFLAGS-tst-auditmod4b.c): Likewise.
11274 (CFLAGS-tst-auditmod6b.c): Likewise.
11275 (CFLAGS-tst-auditmod6c.c): Likewise.
11276 (CFLAGS-tst-auditmod7b.c): Likewise.
11277 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11278
8517b15e
UD
112792011-02-02 Ulrich Drepper <drepper@gmail.com>
11280
11281 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11282 function to the callback.
11283 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11284
10a656fe
AS
112852011-02-02 Andreas Schwab <schwab@redhat.com>
11286
11287 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11288 of errno.
11289
968dad0a
UD
112902011-01-19 Ulrich Drepper <drepper@gmail.com>
11291
9f94d2ea 11292 [BZ #11724]
968dad0a
UD
11293 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11294 of constructors.
11295 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11296 of destructors.
11297 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11298
11299 [BZ #11724]
11300 * elf/Makefile: Add rules to build and run new test.
11301 * elf/tst-initorder.c: New file.
11302 * elf/tst-initorder.exp: New file.
11303 * elf/tst-initordera1.c: New file.
11304 * elf/tst-initordera2.c: New file.
11305 * elf/tst-initordera3.c: New file.
11306 * elf/tst-initordera4.c: New file.
11307 * elf/tst-initorderb1.c: New file.
11308 * elf/tst-initorderb2.c: New file.
11309 * elf/tst-order-a1.c: New file.
11310 * elf/tst-order-a2.c: New file.
11311 * elf/tst-order-a3.c: New file.
11312 * elf/tst-order-a4.c: New file.
11313 * elf/tst-order-b1.c: New file.
11314 * elf/tst-order-b2.c: New file.
11315 * elf/tst-order-main.c: New file.
11316 New test case by George Gensure <werkt0@gmail.com>.
11317
86e92359
UD
113182010-10-01 Andreas Schwab <schwab@redhat.com>
11319
11320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11321 decoding ACE if AI_CANONIDN.
11322
5d5732b0
UD
113232011-01-18 Ulrich Drepper <drepper@gmail.com>
11324
11325 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11326
a77e8cbc
UD
113272011-01-17 Ulrich Drepper <drepper@gmail.com>
11328
6392473f
UD
11329 * version.h (RELEASE): Bump for 2.13 release.
11330 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11331
620a0529
UD
11332 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11333
18ba70a5
UD
11334 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11335 MADV_NOHUGEPAGE.
32465c3e
UD
11336 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11337 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11338 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11339 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11340 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11341 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11342
c0dafcf1
UD
11343 * posix/getconf.c: Update copyright year.
11344 * catgets/gencat.c: Likewise.
11345 * csu/version.c: Likewise.
11346 * debug/catchsegv.sh: Likewise.
11347 * debug/xtrace.sh: Likewise.
11348 * elf/ldconfig.c: Likewise.
11349 * elf/ldd.bash.in: Likewise.
11350 * elf/sprof.c (print_version): Likewise.
11351 * iconv/iconv_prog.c: Likewise.
11352 * iconv/iconvconfig.c: Likewise.
11353 * locale/programs/locale.c: Likewise.
11354 * locale/programs/localedef.c: Likewise.
11355 * malloc/memusage.sh: Likewise.
11356 * malloc/mtrace.pl: Likewise.
11357 * nscd/nscd.c (print_version): Likewise.
11358 * nss/getent.c: Likewise.
11359
a77e8cbc
UD
11360 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11361 PF_CAIF, and PF_ALG.
11362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11363
77e8bddf
AS
113642011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11365
1f20b93a
AS
11366 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11367 (modules-names): Use them.
11368 (ifunc-test-modules, ifunc-pie-tests): Define.
11369 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11370 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11371 (test-extras): Likewise.
11372 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11373 $(compile-command.c).
11374 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11375 (all-built-dso): Define.
11376 (check-textrel.out, check-execstack.out): Depend on it.
11377
77e8bddf
AS
11378 * configure.in: Don't override --enable-multi-arch.
11379
bc425b33
UD
113802011-01-15 Ulrich Drepper <drepper@gmail.com>
11381
11382 [BZ #6812]
11383 * nscd/hstcache.c (tryagain): Define.
11384 (cache_addhst): Return tryagain not notfound for temporary errors.
11385 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11386 failed.
11387
794c3ad3
UD
113882011-01-14 Ulrich Drepper <drepper@gmail.com>
11389
70181fdd
UD
11390 [BZ #10563]
11391 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11392 to make the syscall.
11393 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11394
794c3ad3
UD
11395 [BZ #12378]
11396 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11397 and fall back to matching as normal character if the string ends before
11398 the matching ']' is found. This is what POSIX requires.
11399 * posix/testfnm.c: Adjust test result.
11400 * posix/globtest.sh: Adjust test result. Add new test.
11401 * posix/tst-fnmatch.input: Likewise.
11402 * posix/tst-fnmatch2.c: Add new test.
11403
68dc9497
AS
114042010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11405
11406 * elf/Makefile (check-execstack): Revert last change. Depend on
11407 check-execstack.h.
11408 (check-execstack.h): New target.
11409 (generated): Add check-execstack.h.
11410 * elf/check-execstack.c: Include "check-execstack.h".
11411 (main): Revert last change.
11412 (handle_file): Return zero if GNU_STACK is absent and
11413 DEFAULT_STACK_PERMS doesn't include PF_X.
11414
451f001b
UD
114152011-01-13 Ulrich Drepper <drepper@gmail.com>
11416
cfa28e56
UD
11417 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11418 in child fails because the descriptor is already closed.
8cf8ce17
UD
11419 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11420 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11421 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11422
1086d70d
UD
11423 [BZ #12397]
11424 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11425 syscall.
11426
451f001b
UD
11427 [BZ #10484]
11428 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11429 temporary buffer used to handle multi lookups locally.
a85b5cb4 11430 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11431
08769175
UD
114322011-01-12 Ulrich Drepper <drepper@gmail.com>
11433
11434 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11435 loader is ld.so.
11436
5e49c52e
UD
114372011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11438
11439 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11440 alignment for SSE2.
11441
60522a5f
UD
114422011-01-12 Ulrich Drepper <drepper@gmail.com>
11443
11444 [BZ #12394]
11445 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11446 characters. When rounding increased number of integer digits recompute
11447 number of groups.
11448 * stdio-common/tst-grouping.c: New file.
11449 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11450
f257bbd7
UD
114512011-01-09 Ulrich Drepper <drepper@gmail.com>
11452
11453 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11454 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11455
11456 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11457 void.
11458 * bits/select.h: Likewise.
11459
fa9c15cb
UD
114602011-01-08 Ulrich Drepper <drepper@gmail.com>
11461
11462 * po/ja.po: Update from translation team.
11463
16c2895f
DM
114642011-01-04 David S. Miller <davem@sunset.davemloft.net>
11465
11466 [BZ #11155]
11467 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11468 implementation just like for lxstat, fxstatat, et al.
11469
2543fef2
JM
114702010-12-27 Jim Meyering <meyering@redhat.com>
11471
11472 [BZ #12348]
11473 * posix/regexec.c (build_trtable): Return failure indication upon
11474 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11475
98727dbe
UD
114762010-12-25 Ulrich Drepper <drepper@gmail.com>
11477
5bd6dc5c
UD
11478 [BZ #12201]
11479 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11480 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11481 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11482 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11483
97983464
UD
11484 [BZ #12207]
11485 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11486
98727dbe
UD
11487 [BZ #12204]
11488 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11489 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11490
4a531bb0
L
114912010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11492
11493 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11494 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11495 script has SORT_BY_INIT_PRIORITY.
11496 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11497 NO_CTORS_DTORS_SECTIONS is defined.
11498 * elf/soinit.c: Likewise.
11499 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11500 NO_CTORS_DTORS_SECTIONS is defined.
11501 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11502 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11503 * sysdeps/sh/init-first.c: Likewise.
11504 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11505
07eb4b71
UD
115062010-12-24 Ulrich Drepper <drepper@gmail.com>
11507
11508 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11509 always use the slow path.
11510
30950a5f
RA
115112010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11512
11513 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11514 similar rule which adds the sysdep directories to the header search in
11515 order to pick up the correct platform stackinfo.h.
11516 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11517 perform test if it is, otherwise return successfully without testing.
11518 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11519 DEFAULT_STACK_PERMS define in stackinfo.h.
11520 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11521 defined in stackinfo.h.
11522 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11523 DEFAULT_STACK_PERMS defined in stackinfo.h.
11524 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11525 * sysdeps/ia64/stackinfo.h: Likewise.
11526 * sysdeps/s390/stackinfo.h: Likewise.
11527 * sysdeps/sh/stackinfo.h: Likewise.
11528 * sysdeps/sparc/stackinfo.h: Likewise.
11529 * sysdeps/x86_64/stackinfo.h: Likewise.
11530 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11531 PF_X for powerpc64. Retain PF_X for powerpc32.
11532
db753e2c
UD
115332010-12-19 Ulrich Drepper <drepper@gmail.com>
11534
14b697f7
UD
11535 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11536 accurately.
db753e2c
UD
11537 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11538 GETDENTS_64BIT_ALIGNED.
11539
28300719
UD
115402010-12-14 Ulrich Drepper <dreper@gmail.com>
11541
14b697f7 11542 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11543
4f197237
AS
115442010-12-10 Andreas Schwab <schwab@redhat.com>
11545
dbb0472f
AS
11546 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11547 _GNU_SOURCE.
11548
4f197237
AS
11549 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11550 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11551 Remove __restrict.
11552 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11553 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11554
fb88ac72
UD
115552010-12-09 Ulrich Drepper <drepper@gmail.com>
11556
11557 [BZ #11655]
11558 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11559 are initialized.
11560
42acbb92
JJ
115612010-12-09 Jakub Jelinek <jakub@redhat.com>
11562
11563 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11564
c038d98d
UD
115652010-12-03 Ulrich Drepper <drepper@gmail.com>
11566
11567 * po/it.po: Update from translation team.
11568
3a4a2499
L
115692010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11570
11571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11572 unused codes.
11573
1e24cf6e
UD
115742010-11-30 Ulrich Drepper <drepper@gmail.com>
11575
11576 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11577
a7690819
AS
115782010-11-24 Andreas Schwab <schwab@redhat.com>
11579
11580 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11581 specially.
11582 (gaih_getanswer_slice): Likewise.
11583
3bf8d1b1
JJ
115842010-10-20 Jakub Jelinek <jakub@redhat.com>
11585
11586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11587
6db52fbb
PB
115882010-05-31 Petr Baudis <pasky@suse.cz>
11589
11590 [BZ #11149]
11591 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11592 silently even in the chroot mode.
11593
eaca7569
UD
115942010-11-22 Ulrich Drepper <drepper@gmail.com>
11595
11596 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11597 last patch a bit. Pretty printing
11598
3056dcdb
UD
115992010-05-31 Petr Baudis <pasky@suse.cz>
11600
11601 [BZ #10085]
11602 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11603 initialization of skip_initgroups_dyn.
11604
cf7c9078
UD
116052010-11-19 Ulrich Drepper <drepper@gmail.com>
11606
11607 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11608 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11609
a1fb5e3e
UD
116102010-11-16 Ulrich Drepper <drepper@gmail.com>
11611
11612 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11613
3540d66b
AS
116142010-11-11 Andreas Schwab <schwab@redhat.com>
11615
11616 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11617 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11618 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11619 ($(objpfx)tst-fnmatch-mem): New rule.
11620 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11621 * posix/tst-fnmatch.c (main): Call mtrace.
11622
13b69574
L
116232010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11624
11625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11626 Support Intel processor model 6 and model 0x2c.
11627
da93d214
LM
116282010-11-10 Luis Machado <luisgpm@br.ibm.com>
11629
11630 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11631 signed comparison.
11632
8ca52c6e
L
116332010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11634
11635 [BZ #12205]
11636 * string/test-strncasecmp.c (check_result): New function.
11637 (do_one_test): Use it.
11638 (check1): New function.
11639 (test_main): Use it.
11640 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11641 Support strcasecmp and strncasecmp.
11642
69da074d
UD
116432010-11-08 Ulrich Drepper <drepper@gmail.com>
11644
11645 [BZ #12194]
11646 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11647 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11648
ff02d528
L
116492010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11650
11651 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11652 IFUNC support.
11653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11654 memset-x86-64.
11655 * sysdeps/x86_64/multiarch/bzero.S: New file.
11656 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11657 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11658 * sysdeps/x86_64/multiarch/memset.S: New file.
11659 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11661 Set bit_Prefer_SSE_for_memop for Intel processors.
11662 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11663 Define.
11664 (index_Prefer_SSE_for_memop): Define.
11665 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11666
344d0b54
LM
116672010-11-04 Luis Machado <luisgpm@br.ibm.com>
11668
11669 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11670 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11671
c0dde15b
UD
116722010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11673
11674 [BZ #12191]
11675 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11676 (__x86_64_raw_data_cache_size_half): Likewise.
11677 (__x86_64_raw_shared_cache_size): Likewise.
11678 (__x86_64_raw_shared_cache_size_half): Likewise.
11679
11680 * sysdeps/x86_64/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.
11684 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11685 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11686 and __x86_64_raw_shared_cache_size_half. Round
11687 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11688 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11689 to multiple of 256 bytes.
11690
0e516e0e
MS
116912010-11-03 Ulrich Drepper <drepper@gmail.com>
11692
11693 [BZ #12167]
11694 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11695 of inacessible symlinks. Verify result of symlink before returning it.
11696 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11697 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11698
0e012e87
ER
116992010-10-28 Erich Ritz <erichritz@gmail.com>
11700
11701 * math/math.h (isinf): Fix typo in comment.
11702
de0ff7bc
UD
117032010-11-01 Ulrich Drepper <drepper@gmail.com>
11704
11705 * po/da.po: Update from translation team.
11706
fa41c84d
UD
117072010-10-26 Ulrich Drepper <drepper@gmail.com>
11708
11709 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11710 is added to the list.
11711
f0967738
AK
117122010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11713 Ulrich Drepper <drepper@gmail.com>
11714
11715 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11716 the global list here. Move code to...
11717 (_dl_add_to_namespace_list): ...here. New function.
11718 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11719 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11720 * elf/dl-load.c (lose): Don't remove the element from the list.
11721 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11722 (_dl_map_object): Likewise.
11723
117242010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
11725
11726 [BZ #12159]
11727 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11728 into all bytes of SSE register.
11729 Patch by Richard Li <richardpku@gmail.com>.
11730
f0967738 117312010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
11732
11733 [BZ #12140]
11734 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11735 perturbing.
11736
d0b9e94f
MB
117372010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11738
11739 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11740 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11741 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11742 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11744 submachine.
11745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11746
8e9f92e9
AS
117472010-10-22 Andreas Schwab <schwab@redhat.com>
11748
11749 * include/dlfcn.h (__RTLD_SECURE): Define.
11750 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11751 mode & __RTLD_SECURE instead.
11752 (open_path): Rename preloaded parameter to secure.
11753 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11754 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11755 * elf/dl-deps.c (openaux): Likewise.
11756 * elf/rtld.c (struct map_args): Remove is_preloaded.
11757 (map_doit): Don't use it.
11758 (dl_main): Likewise.
11759 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11760 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11761
bc96fbda
AS
117622010-09-09 Andreas Schwab <schwab@redhat.com>
11763
11764 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11765 (sysd-rules-targets): Remove duplicates.
11766 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11767 rtld-%.$o dependency.
11768
22cd1c9b
AS
117692010-10-18 Andreas Schwab <schwab@redhat.com>
11770
11771 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11772 _dl_map_object do it.
11773
18edac48
UD
117742010-10-19 Ulrich Drepper <drepper@gmail.com>
11775
11776 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11777 fast fma builtins, define the macros in the C99 standard.
11778 (FP_FAST_FMAF): Likewise.
11779 (FP_FAST_FMAL): Likewise.
11780 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11781
11782 * bits/mathdef.h: Update copyright year.
11783 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11784
d2050124
MM
117852010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11786
11787 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11788 builtins, define the macros in the C99 standard.
11789 (FP_FAST_FMAF): Likewise.
11790 (FP_FAST_FMAL): Likewise.
11791 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11792 multiply/add.
11793 (FP_FAST_FMAF): Likewise.
11794
475facd1
JJ
117952010-10-15 Jakub Jelinek <jakub@redhat.com>
11796
11797 [BZ #3268]
11798 * math/libm-test.inc (fma_test): Some new testcases.
11799 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11800 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11801 y and infinite z. Do multiplication by C already in long double.
11802 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11804 y and infinite z. Do bitwise or of inexact bit into u.d.
11805 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11806 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11807 * sysdeps/i386/fpu/s_fma.S: Removed.
11808 * sysdeps/i386/fpu/s_fmal.S: Removed.
11809
7c08a05c
JJ
118102010-10-16 Jakub Jelinek <jakub@redhat.com>
11811
11812 [BZ #3268]
11813 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11815 computation is not scheduled after fetestexcept. Fix value
11816 of minimum denormal long double.
11817
f3f7372d
JJ
118182010-10-14 Jakub Jelinek <jakub@redhat.com>
11819
11820 [BZ #3268]
11821 * math/libm-test.inc (fma_test): Add some more tests.
11822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11823 correctly.
11824
14d43591
AS
118252010-10-15 Andreas Schwab <schwab@redhat.com>
11826
11827 * scripts/data/localplt-s390-linux-gnu.data: New file.
11828 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11829
5e908464
JJ
118302010-10-13 Jakub Jelinek <jakub@redhat.com>
11831
11832 [BZ #3268]
11833 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11834 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11835 instead of dbl-64.
11836 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11837 inlines.
11838 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11840 if one of x and y is very large and the other is subnormal.
11841 * sysdeps/s390/fpu/s_fmaf.c: New file.
11842 * sysdeps/s390/fpu/s_fma.c: New file.
11843 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11844 * sysdeps/powerpc/fpu/s_fma.S: New file.
11845 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11846 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11847 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11848
118492010-10-12 Jakub Jelinek <jakub@redhat.com>
11850
11851 [BZ #3268]
11852 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11853 fma tests.
11854 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11855 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11856 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11857 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11858 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11859 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11860 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11861
b833d51f
UD
118622010-10-12 Ulrich Drepper <drepper@redhat.com>
11863
11864 [BZ #12078]
11865 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11866 * posix/bug-regex31.input: Add test case.
11867
1751705d
UD
118682010-10-11 Ulrich Drepper <drepper@gmail.com>
11869
e9b9cbf5
UD
11870 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11871 * posix/bug-regex31.input: New file.
11872
11873 [BZ #12078]
11874 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11875 (parse_sub_exp): Fix last change, use postorder.
11876
ef06edbe
UD
11877 * posix/bug-regex31.c: New file.
11878 * posix/Makefile: Add rules to build and run bug-regex31.
11879
a129c80d
UD
11880 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11881
11882 [BZ #12078]
11883 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11884
b76b818e
UD
11885 [BZ #12108]
11886 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11887 to have entries in sys_siglist.
11888
1751705d
UD
11889 [BZ #12093]
11890 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11891 be NULL.
11892
9ff8d36f
JJ
118932010-10-07 Jakub Jelinek <jakub@redhat.com>
11894
11895 [BZ #3268]
11896 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11897 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11898 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11899 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11900 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11901 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11902 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11903 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11904 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11905 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11906 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11907 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11908 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11909 * math/ftestexcept.c (fetestexcept): Likewise.
11910 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11911 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11912 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11913 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11914 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11915 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11916 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11917
af325969
UD
119182010-10-11 Ulrich Drepper <drepper@gmail.com>
11919
c579b202 11920 [BZ #12107]
af325969
UD
11921 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11922 newline.
11923
67a67b95
UD
119242010-10-06 Ulrich Drepper <drepper@gmail.com>
11925
11926 * string/bug-strstr1.c: New file.
11927 * string/Makefile: Add rules to build and run bug-strstr1.
11928
5fb308bc
EB
119292010-10-05 Eric Blake <eblake@redhat.com>
11930
11931 [BZ #12092]
11932 * string/str-two-way.h (two_way_long_needle): Always clear memory
11933 when skipping input due to the shift table.
11934
45db99c7
UD
119352010-10-03 Ulrich Drepper <drepper@gmail.com>
11936
3b111893
UD
11937 [BZ #12005]
11938 * malloc/mcheck.c: Handle large requests.
11939
45db99c7
UD
11940 [BZ #12077]
11941 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11942 for strncmp and strncasecmp.
11943 * string/stratcliff.c: Add tests for strcmp and strncmp.
11944 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11945
cf7a1eb8
NI
119462010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11947
11948 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11949 __set_fpscr.
11950
6484ba5e
AJ
119512010-09-30 Andreas Jaeger <aj@suse.de>
11952
11953 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11954 (CGROUP_SUPER_MAGIC): Define.
11955 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11956 Handle btrfs and cgroup file systems.
11957 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11958 Likewise.
11959
91c42559
LM
119602010-09-27 Luis Machado <luisgpm@br.ibm.com>
11961
11962 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11963 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11964
87a97932
AK
119652010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11966
11967 [BZ #12067]
11968 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11969 trying to locate the ELF header.
11970
c21cc9bc
AS
119712010-09-27 Andreas Schwab <schwab@redhat.com>
11972
11973 [BZ #11611]
11974 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11975 Mask out sign-bit copies when constructing f_fsid.
11976
315970f6
PB
119772010-09-24 Petr Baudis <pasky@suse.cz>
11978
11979 * debug/stack_chk_fail_local.c: Add missing licence exception.
11980 * debug/warning-nop.c: Likewise.
11981
1ac7a2c7
JM
119822010-09-15 Joseph Myers <joseph@codesourcery.com>
11983
11984 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11985 implementing getdents64 using getdents syscall, set d_type if
11986 __ASSUME_GETDENTS32_D_TYPE.
11987
56801c50
AS
119882010-09-16 Andreas Schwab <schwab@redhat.com>
11989
11990 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11991 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11992
dda51327
UD
119932010-09-21 Ulrich Drepper <drepper@redhat.com>
11994
11995 [BZ #12037]
11996 * posix/unistd.h: Undo change of feature selection for ftruncate from
11997 2010-01-11.
11998
8ffcee4a
UD
119992010-09-20 Ulrich Drepper <drepper@redhat.com>
12000
a545ecd9 12001 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12002 detection.
12003
e24f0a8b
AS
120042010-09-20 Andreas Schwab <schwab@redhat.com>
12005
12006 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12007 fanotify_mark.
12008 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12009
7291c56f
AS
120102010-09-14 Andreas Schwab <schwab@redhat.com>
12011
12012 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12013 variables after CHECK_SP call.
12014 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12015
bc5fb037
AS
120162010-09-13 Andreas Schwab <schwab@redhat.com>
12017 Ulrich Drepper <drepper@redhat.com>
12018
12019 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12020 re-relocationg ld.so.
12021 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12022 _dl_init_paths call.
12023 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12024 here anymore.
12025
e66e7419
UD
120262010-09-14 Ulrich Drepper <drepper@redhat.com>
12027
12028 * resolv/res_init.c (__res_vinit): Count the default server we added.
12029
c044aa75
CLT
120302010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12031 Ulrich Drepper <drepper@redhat.com>
12032
12033 [BZ #11968]
12034 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12035 (____longjmp_chk): Use %ebx for saving value across system call.
12036 Add unwind info.
12037
32cf4069
AS
120382010-09-06 Andreas Schwab <schwab@redhat.com>
12039
12040 * manual/Makefile: Don't mix pattern rules with normal rules.
12041
817328ee
AS
120422010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12043
12044 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12045 operation.
12046 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12047 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12048 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12049 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12050 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12051 Likewise.
12052
29fddf61
UD
120532010-09-04 Ulrich Drepper <drepper@redhat.com>
12054
12055 [BZ #11979]
12056 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12057 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12058
0959ffc9
UD
120592010-09-02 Ulrich Drepper <drepper@redhat.com>
12060
12061 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12062 * sysdeps/x86_64/addmul_1.S: Likewise.
12063 * sysdeps/x86_64/lshift.S: Likewise.
12064 * sysdeps/x86_64/mul_1.S: Likewise.
12065 * sysdeps/x86_64/rshift.S: Likewise.
12066 * sysdeps/x86_64/sub_n.S: Likewise.
12067 * sysdeps/x86_64/submul_1.S: Likewise.
12068
ece29840
ST
120692010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12070
0959ffc9
UD
12071 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12072 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12073 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12074 * bits/sched.h [__need_schedparam]
ece29840 12075 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12076 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12077 (__defined_schedparam): Define to 1.
ece29840
ST
12078 (__sched_param): New structure, identical to sched_param.
12079 (__need_schedparam): Undefine.
12080
e53a31fe
MF
120812010-08-31 Mike Frysinger <vapier@gentoo.org>
12082
fdc0c10d
MF
12083 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12084 (epoll_create1): Declare.
12085
e53a31fe
MF
12086 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12087
a726d796
AS
120882010-08-31 Andreas Schwab <schwab@redhat.com>
12089
12090 [BZ #7066]
12091 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12092 shifting retval into place.
12093
2f3e3dc7
UD
120942010-09-01 Ulrich Drepper <drepper@redhat.com>
12095
f2933da9
UD
12096 * nis/rpcsvc/nis.h: Update copyright notice.
12097 * nis/rpcsvc/nis.x: Likewise.
12098 * nis/rpcsvc/nis_callback.h: Likewise.
12099 * nis/rpcsvc/nis_callback.x: Likewise.
12100 * nis/rpcsvc/nis_object.x: Likewise.
12101 * nis/rpcsvc/nis_tags.h: Likewise.
12102 * nis/rpcsvc/yp.h: Likewise.
12103 * nis/rpcsvc/yp.x: Likewise.
12104 * nis/rpcsvc/ypupd.h: Likewise.
12105 * nis/yp_xdr.c: Likewise.
12106 * nis/ypupdate_xdr.c: Likewise.
12107
2f3e3dc7
UD
12108 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12109 mainly the body of pmap_getport. Add parameters to specify timeouts.
12110 (pmap_getport): Use __libc_rpc_getport.
12111 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12112 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12113 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12114
f3dcc2f9
AS
121152010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12116
12117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12118 fanotify_mark.
12119
6d34eb5b
RM
121202010-08-27 Roland McGrath <roland@redhat.com>
12121
12122 * sysdeps/i386/i686/multiarch/Makefile
12123 (CFLAGS-varshift.c): New variable.
12124
9ea3de11
UD
121252010-08-27 Ulrich Drepper <drepper@redhat.com>
12126
c96d23fc
UD
12127 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12128 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12129
9ea3de11
UD
12130 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12131
12132 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12133
623aac7f
L
121342010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12135
12136 * sysdeps/x86_64/strlen.S: Unroll the loop.
12137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12138 strlen-sse2 strlen-sse2-bsf.
12139 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12140 __strlen_no_bsf if bit_Slow_BSF is set.
12141 (__strlen_sse42): Removed.
12142 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12143 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12144
8b2b7715
RM
121452010-08-25 Roland McGrath <roland@redhat.com>
12146
12147 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12148 * sysdeps/x86_64/multiarch/varshift.c: New file.
12149 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12150 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12151 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12152 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12153
e73015f2
L
121542010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12155
12156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12157 strlen-sse2 strlen-sse2-bsf.
12158 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12159 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12160 (__strlen_sse2): Removed.
12161 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12162 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12164 bit_Slow_BSF for Atom.
12165 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12166 (index_Slow_BSF): Define.
12167 (HAS_SLOW_BSF): Define.
12168
df24a73e
UD
121692010-08-25 Ulrich Drepper <drepper@redhat.com>
12170
12171 [BZ #10851]
12172 * resolv/res_init.c (__res_vinit): When no server address at all
12173 is given default to loopback.
12174
f2ac4868
RM
121752010-08-24 Roland McGrath <roland@redhat.com>
12176
09055553
RM
12177 * configure.in: Remove config-name.h generation.
12178 * configure: Regenerated.
12179 * config-name.in: File removed.
12180 * scripts/config-uname.sh: New file.
12181 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12182 ($(objdir)config-name.h): New target.
12183
f2ac4868
RM
12184 * sunrpc/rpc_parse.h: Avoid nested comment.
12185
73f27d5e
RH
121862010-08-24 Richard Henderson <rth@redhat.com>
12187 Ulrich Drepper <drepper@redhat.com>
12188 H.J. Lu <hongjiu.lu@intel.com>
12189
12190 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12192 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12193 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12194 _mm_alignr_epi8 with _mm_loadu_si128.
12195 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12196 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12197 (__m128i_shift_right): Removed.
12198 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12199 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12200 * sysdeps/x86_64/multiarch/varshift.h: New file.
12201 * sysdeps/x86_64/multiarch/varshift.S: New file.
12202
84b9230c
MF
122032010-08-21 Mike Frysinger <vapier@gentoo.org>
12204
12205 * configure.in: Move assembler checks to before sysdep dir checking.
12206
9bbd0ddc
PB
122072010-08-20 Petr Baudis <pasky@suse.cz>
12208
12209 * LICENSES: Sync the sunrpc license.
12210
9da4bb31
UD
122112010-08-19 Ulrich Drepper <drepper@redhat.com>
12212
a7ab6ec8
UD
12213 * sunrpc/auth_des.c: Update copyright notice once again.
12214 * sunrpc/auth_none.c: Likewise.
12215 * sunrpc/auth_unix.c: Likewise.
12216 * sunrpc/authdes_prot.c: Likewise.
12217 * sunrpc/authuxprot.c: Likewise.
12218 * sunrpc/bindrsvprt.c: Likewise.
12219 * sunrpc/clnt_gen.c: Likewise.
12220 * sunrpc/clnt_perr.c: Likewise.
12221 * sunrpc/clnt_raw.c: Likewise.
12222 * sunrpc/clnt_simp.c: Likewise.
12223 * sunrpc/clnt_tcp.c: Likewise.
12224 * sunrpc/clnt_udp.c: Likewise.
12225 * sunrpc/clnt_unix.c: Likewise.
12226 * sunrpc/des_crypt.c: Likewise.
12227 * sunrpc/des_soft.c: Likewise.
12228 * sunrpc/get_myaddr.c: Likewise.
12229 * sunrpc/getrpcport.c: Likewise.
12230 * sunrpc/key_call.c: Likewise.
12231 * sunrpc/key_prot.c: Likewise.
12232 * sunrpc/openchild.c: Likewise.
12233 * sunrpc/pm_getmaps.c: Likewise.
12234 * sunrpc/pm_getport.c: Likewise.
12235 * sunrpc/pmap_clnt.c: Likewise.
12236 * sunrpc/pmap_prot.c: Likewise.
12237 * sunrpc/pmap_prot2.c: Likewise.
12238 * sunrpc/pmap_rmt.c: Likewise.
12239 * sunrpc/rpc/auth.h: Likewise.
12240 * sunrpc/rpc/auth_unix.h: Likewise.
12241 * sunrpc/rpc/clnt.h: Likewise.
12242 * sunrpc/rpc/des_crypt.h: Likewise.
12243 * sunrpc/rpc/key_prot.h: Likewise.
12244 * sunrpc/rpc/netdb.h: Likewise.
12245 * sunrpc/rpc/pmap_clnt.h: Likewise.
12246 * sunrpc/rpc/pmap_prot.h: Likewise.
12247 * sunrpc/rpc/pmap_rmt.h: Likewise.
12248 * sunrpc/rpc/rpc.h: Likewise.
12249 * sunrpc/rpc/rpc_des.h: Likewise.
12250 * sunrpc/rpc/rpc_msg.h: Likewise.
12251 * sunrpc/rpc/svc.h: Likewise.
12252 * sunrpc/rpc/svc_auth.h: Likewise.
12253 * sunrpc/rpc/types.h: Likewise.
12254 * sunrpc/rpc/xdr.h: Likewise.
12255 * sunrpc/rpc_clntout.c: Likewise.
12256 * sunrpc/rpc_cmsg.c: Likewise.
12257 * sunrpc/rpc_common.c: Likewise.
12258 * sunrpc/rpc_cout.c: Likewise.
12259 * sunrpc/rpc_dtable.c: Likewise.
12260 * sunrpc/rpc_hout.c: Likewise.
12261 * sunrpc/rpc_main.c: Likewise.
12262 * sunrpc/rpc_parse.c: Likewise.
12263 * sunrpc/rpc_parse.h: Likewise.
12264 * sunrpc/rpc_prot.c: Likewise.
12265 * sunrpc/rpc_sample.c: Likewise.
12266 * sunrpc/rpc_scan.c: Likewise.
12267 * sunrpc/rpc_scan.h: Likewise.
12268 * sunrpc/rpc_svcout.c: Likewise.
12269 * sunrpc/rpc_tblout.c: Likewise.
12270 * sunrpc/rpc_util.c: Likewise.
12271 * sunrpc/rpc_util.h: Likewise.
12272 * sunrpc/rpcinfo.c: Likewise.
12273 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12274 * sunrpc/rpcsvc/key_prot.x: Likewise.
12275 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12276 * sunrpc/rpcsvc/mount.x: Likewise.
12277 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12278 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12279 * sunrpc/rpcsvc/rex.x: Likewise.
12280 * sunrpc/rpcsvc/rstat.x: Likewise.
12281 * sunrpc/rpcsvc/rusers.x: Likewise.
12282 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12283 * sunrpc/rpcsvc/spray.x: Likewise.
12284 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12285 * sunrpc/rtime.c: Likewise.
12286 * sunrpc/svc.c: Likewise.
12287 * sunrpc/svc_auth.c: Likewise.
12288 * sunrpc/svc_authux.c: Likewise.
12289 * sunrpc/svc_raw.c: Likewise.
12290 * sunrpc/svc_run.c: Likewise.
12291 * sunrpc/svc_simple.c: Likewise.
12292 * sunrpc/svc_tcp.c: Likewise.
12293 * sunrpc/svc_udp.c: Likewise.
12294 * sunrpc/svc_unix.c: Likewise.
12295 * sunrpc/svcauth_des.c: Likewise.
12296 * sunrpc/xcrypt.c: Likewise.
12297 * sunrpc/xdr.c: Likewise.
12298 * sunrpc/xdr_array.c: Likewise.
12299 * sunrpc/xdr_float.c: Likewise.
12300 * sunrpc/xdr_mem.c: Likewise.
12301 * sunrpc/xdr_rec.c: Likewise.
12302 * sunrpc/xdr_ref.c: Likewise.
12303 * sunrpc/xdr_sizeof.c: Likewise.
12304 * sunrpc/xdr_stdio.c: Likewise.
12305
9da4bb31
UD
12306 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12307 handling.
12308
bdaa77bc
AS
123092010-08-19 Andreas Schwab <schwab@redhat.com>
12310
12311 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12312
fe2f79db
LM
123132010-08-19 Luis Machado <luisgpm@br.ibm.com>
12314
12315 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12316 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12317 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12318 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12319 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12320 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12321 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12322 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12323 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12324 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12325 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12326 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12327 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12328 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12329
b9b42ee0
AB
123302010-07-26 Anton Blanchard <anton@samba.org>
12331
12332 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12333 * malloc/arena.c (heap_trim): Likewise.
12334
1c06ba31
UD
123352010-08-16 Ulrich Drepper <drepper@redhat.com>
12336
12337 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12338 here. Not...
12339 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12340 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12341
f8392f40
L
123422010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12343
12344 * sysdeps/i386/elf/Makefile: New file.
12345
3162f12e
AS
123462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12347
12348 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12349 from fanotify_init.
12350 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12351 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12352
28c90b2c
UD
123532010-08-15 Ulrich Drepper <drepper@redhat.com>
12354
12355 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12356 of strncasecmp_l.
1feccb6c 12357 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12358
ca6bb004
UD
123592010-08-14 Ulrich Drepper <drepper@redhat.com>
12360
e9f82e0d
UD
12361 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12362 strncase_l-nonascii.
12363 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12364 Add strncase_l-ssse3.
12365 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12366 * sysdeps/x86_64/strcmp.S: Likewise.
12367 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12368 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12369 * sysdeps/x86_64/strncase.S: New file.
12370 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12371 * sysdeps/x86_64/strncase_l.S: New file.
12372 * string/Makefile (strop-tests): Add strncasecmp.
12373 * string/test-strncasecmp.c: New file.
12374
12375 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12376 warning.
12377
ca6bb004
UD
12378 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12379 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12380
052fa7b3
AS
123812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12382
12383 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12384
962dba78
UD
123852010-08-12 Ulrich Drepper <drepper@redhat.com>
12386
12387 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12388 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12389 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12390
bebff237
AM
123912010-05-01 Alan Modra <amodra@gmail.com>
12392
12393 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12394 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12395 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12396 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12397 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12398 tidying. Don't tail-call __sigjmp_save for static lib.
12399 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12400 save location.
12401 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12402 (CALL_MCOUNT): Add eh info, and nop after bl.
12403 (TAIL_CALL_SYSCALL_ERROR): New macro.
12404 (PSEUDO_RET): Use it.
12405 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12406 Correct save location of integer regs and cr.
12407 (_dl_profile_resolve): Correct cr save location. Delete nops
12408 after bl when SHARED. Reduce cfi size a little by better
12409 placement of cfi directives.
12410 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12411 make a stack frame. Instead use parm save area as a temp.
12412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12413 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12415 Don't make a stack frame for parent, use parm save area.
12416 Increase child stack frame to 112 bytes. Don't save unused reg,
12417 and adjust reg usage. Set up cfi on error recovery and
12418 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12420 (__makecontext): Add dummy nop after jump to exit.
12421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12422 Use correct parm save area and cr save, reduce stack frame.
12423 Correct cfi for possible PSEUDO_RET frame setup.
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12425 Branch to local label emitted by PSEUDO_RET rather than
12426 __syscall_error.
12427
02637374
AS
124282010-08-12 Andreas Schwab <schwab@redhat.com>
12429
12430 [BZ #11904]
12431 * locale/programs/locale.c (print_assignment): New function.
12432 (show_locale_vars): Use it.
12433
c3e2f19b
UD
124342010-08-11 Ulrich Drepper <drepper@redhat.com>
12435
3cdaa6ad
UD
12436 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12437 field.
12438 (struct statfs64): Likewise.
12439 (_STATFS_F_FLAGS): Define.
12440 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12441 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12442 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12443 (ST_VALID): Define locally.
12444 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12445 __statvfs_getflags, use the provided value.
12446 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12447 __ASSUME_STATFS_F_FLAGS.
12448
754f7da3
UD
12449 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12450
10b3bedc
UD
12451 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12452 Add sys/fanotify.h.
12453 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12454 fanotify_mask for GLIBC_2.13.
12455 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12456 fanotify_init and fanotify_mark.
12457 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12458 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12459
c08fb0d7
UD
12460 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12461 Add prlimit.
12462 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12463 prlimit64 for GLIBC_2.13.
12464 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12465 prlimit64.
12466 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12467 syscall.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12469 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12470 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12471 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12472 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12473 add prlimit alias.
12474 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12475
15bac72b
UD
12476 [BZ #11903]
12477 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12478 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12479
c3e2f19b
UD
12480 * nss/Makefile: Add rules to build and run tst-nss-test1.
12481 * shlib-versions: Add entry for libnss_test1.
12482 * nss/nss_test1.c: New file.
12483 * nss/tst-nss-test1.c: New file.
12484
12485 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12486 (__nss_configure_lookup): Set appropriate entry in
12487 __nss_configure_lookup to true.
12488 * nss/nsswitch.h: Define enum with indeces of databases in
12489 databases and __nss_database_custom arrays. Declare
12490 __nss_database_custom.
12491 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12492 to avoid using nscd when custom rules are installed.
12493 * nss/getXXbyYY_r.c: Likewise.
12494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12495
12496 * nss/nss_files/files-parse.c: Whitespace fixes.
12497
f15ce4d8
UD
124982010-08-09 Ulrich Drepper <drepper@redhat.com>
12499
12500 [BZ #11883]
12501 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12502 * posix/fnmatch_loop.c: Likewise.
12503
d22e4cc9
AK
125042010-07-17 Andi Kleen <ak@linux.intel.com>
12505
12506 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12507 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12508 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12509 * Versions.def [GLIBC_2.13]: Add.
12510
805bc17d
UD
125112010-08-06 Ulrich Drepper <drepper@redhat.com>
12512
12513 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12514 Also fail if tpwd after pwuid call is NULL.
12515
5a42321d
ST
125162010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12517
12518 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12519 when converting to ms.
12520
fd3ebeda
ST
125212010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12522
12523 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12524 EOPNOTSUPP errors with ENOTTY.
12525 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12526 EOPNOTSUPP errors with ENOTTY.
12527
73507d3a
UD
125282010-07-31 Ulrich Drepper <drepper@redhat.com>
12529
12530 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12531 Add strcasecmp_l-ssse3.
12532 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12533 strcasecmp.
12534 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12535 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12536 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12537
fe36dd02
UD
125382010-07-30 Ulrich Drepper <drepper@redhat.com>
12539
66f6765a
UD
12540 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12541
42e08a54
UD
12542 * string/Makefile (strop-tests): Add strcasecmp.
12543 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12544 strcasecmp_l-nonascii.
12545 (gen-as-const-headers): Add locale-defines.sym.
12546 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12547 * sysdeps/x86_64/strcasecmp.S: New file.
12548 * sysdeps/x86_64/strcasecmp_l.S: New file.
12549 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12550 * sysdeps/x86_64/locale-defines.sym: New file.
12551 * string/test-strcasecmp.c: New file.
12552
fe36dd02
UD
12553 * string/test-strcasestr.c: Test both ends of the range of characters.
12554 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12555
48cbc0d6
RM
125562010-07-29 Roland McGrath <roland@redhat.com>
12557
76e6d6bc 12558 [BZ #11856]
48cbc0d6
RM
12559 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12560
880113d9
UD
125612010-07-27 Ulrich Drepper <drepper@redhat.com>
12562
12563 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12564 for ld.so.
12565
deb9cabb
AS
125662010-07-27 Andreas Schwab <schwab@redhat.com>
12567
12568 * manual/memory.texi (Malloc Tunable Parameters): Document
12569 M_PERTURB.
12570
1c7570ff
RM
125712010-07-26 Roland McGrath <roland@redhat.com>
12572
12573 [BZ #11840]
12574 * configure.in (-fgnu89-inline check): Set and substitute
12575 gnu89_inline, not libc_cv_gnu89_inline.
12576 * configure: Regenerated.
12577 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12578
24fb0f88
UD
125792010-07-26 Ulrich Drepper <drepper@redhat.com>
12580
12581 * string/test-strnlen.c: New file.
12582 * string/Makefile (strop-tests): Add strnlen.
12583 * string/tester.c (test_strnlen): Add a few more test cases.
12584 * string/tst-strlen.c: Better error reporting.
12585
12586 * sysdeps/x86_64/strnlen.S: New file.
12587
8e96b93a
UD
125882010-07-24 Ulrich Drepper <drepper@redhat.com>
12589
12590 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12591 lower-latency instructions.
12592
dbc676d4
UD
125932010-07-23 Ulrich Drepper <drepper@redhat.com>
12594
12595 * string/test-strcasestr.c: New file.
12596 * string/test-strstr.c: New file.
12597 * string/Makefile (strop-tests): Add strstr and strcasestr.
12598 * string/str-two-way.h: Don't undefine MAX.
12599 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12600
f6a31e0e
AS
126012010-07-21 Andreas Schwab <schwab@redhat.com>
12602
12603 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12604 strcasestr-nonascii.
12605 (CFLAGS-strcasestr-nonascii.c): Define.
12606 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12607 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12608 Remove unused attribute.
12609
5dbc3b6c
RM
126102010-07-20 Roland McGrath <roland@redhat.com>
12611
12612 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12613 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12614 ld.so.cache was broken. With it, there is no way to disable dsocaps
12615 like LD_HWCAP_MASK can disable hwcaps.
12616
23d101d8
EPM
126172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12618
12619 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12620
cc9f2e47
UD
126212010-07-16 Ulrich Drepper <drepper@redhat.com>
12622
12623 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12624 call in strcasestr.
12625 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12626 __strcasestr_sse42_nonascii.
12627 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12628 strcasestr-nonascii.c.
12629 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12630
77c1b069
LM
126312010-06-15 Luis Machado <luisgpm@br.ibm.com>
12632
12633 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12634 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12635 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12636 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12637
440566c3
UD
126382010-07-09 Ulrich Drepper <drepper@redhat.com>
12639
12640 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12641 fcntl.
12642
5be9d05d
AS
126432010-07-06 Andreas Schwab <schwab@redhat.com>
12644
c30b7ee2 12645 [BZ #11577]
5be9d05d
AS
12646 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12647 dl_signal_cerror.
12648
8a492a67
UD
126492010-07-06 Ulrich Drepper <drepper@redhat.com>
12650
12651 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12652 _PC_PIPE_BUF using F_GETPIPE_SZ.
12653
713df3d5
RM
126542010-07-05 Roland McGrath <roland@redhat.com>
12655
12656 * manual/arith.texi (Rounding Functions): Fix rint description
12657 implicit in round description.
12658
702e8f14
UD
126592010-07-02 Ulrich Drepper <drepper@redhat.com>
12660
12661 * elf/Makefile: Fix linking for a few tests to make recent linker
12662 happy.
12663
52ed8be9
AS
126642010-06-30 Andreas Schwab <schwab@redhat.com>
12665
12666 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12667 $(common-objpfx)libc_nonshared.a.
12668
f47c9a11
LM
126692010-06-21 Luis Machado <luisgpm@br.ibm.com>
12670
12671 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12672 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12673 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12674 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12675 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12676 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12677 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12678 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12693 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12694 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12695 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12696 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12697 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12698 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12699 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12700 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12701 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12702 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12703 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12704 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12719
6fb8cbcb
L
127202010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12721
12722 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12723 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12724 * string/memmove.c (memmove): Renamed to ...
12725 (MEMMOVE): ...this. Default to memmove.
12726 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12727 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12728 (END_CHK): Define.
12729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12730 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12731 mempcpy-ssse3-back memmove-ssse3-back.
12732 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12733 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12734 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12735 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12736 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12737 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12738 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12739 * sysdeps/x86_64/multiarch/memmove.c: New file.
12740 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12741 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12742 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12743 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12744 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12745 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12746 Define.
12747 (index_Fast_Copy_Backward): Define.
12748 (HAS_ARCH_FEATURE): Define.
12749 (HAS_FAST_REP_STRING): Define.
12750 (HAS_FAST_COPY_BACKWARD): Define.
12751
4e733bac 127522010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
12753
12754 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12755 Restore proper fallback handling.
12756
63c4ed22
UD
127572010-06-19 Ulrich Drepper <drepper@redhat.com>
12758
ac2b484c
UD
12759 [BZ #11701]
12760 * posix/group_member.c (__group_member): Correct checking loop.
12761
63c4ed22
UD
12762 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12763 OOM in getpwuid_r correctly. Return error number when the caller
12764 should return, otherwise -1.
12765 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12766 call returning > 0 value.
12767 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12768
765ade4b
AS
127692010-06-07 Andreas Schwab <schwab@redhat.com>
12770
12771 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12772 libc_nonshared.a from targets in modules-names.
12773
80da2e09
KS
127742010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12775
12776 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12777 requires it.
12778
158db122
LM
127792010-06-10 Luis Machado <luisgpm@br.ibm.com>
12780
12781 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12782 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12783 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12784 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12785
caa78cf8
AS
127862010-06-02 Andreas Schwab <schwab@redhat.com>
12787
12788 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12789
b2ef2c01
UD
127902010-06-14 Ulrich Drepper <drepper@redhat.com>
12791
12792 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12793 and F_GETPIPE_SZ.
12794 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12795 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12798 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12799 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12800
fbd643b6
RM
128012010-06-14 Roland McGrath <roland@redhat.com>
12802
12803 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12804
f32f2869
JJ
128052010-06-07 Jakub Jelinek <jakub@redhat.com>
12806
12807 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12808 __REDIRECT followed by __THROW.
12809 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12810 * posix/getopt.h (getopt): Likewise.
12811
2a50c078
EPM
128122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12813
12814 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12815 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12816 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12817 in AT_FLAGS.
12818 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12819 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12820
eb5ad2eb
LM
128212010-05-28 Luis Machado <luisgpm@br.ibm.com>
12822
12823 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12824
3c88fe1e
L
128252010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12826
12827 [BZ #11640]
12828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12829 Properly check family and model.
12830
d2f73151
TY
128312010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12832
12833 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12834
ebd2e13d
LM
128352010-05-24 Luis Machado <luisgpm@br.ibm.com>
12836
12837 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12838
b32b8b45
UD
128392010-05-21 Ulrich Drepper <drepper@redhat.com>
12840
12841 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12842 symbol reference.
12843
9acbe24d
AS
128442010-05-19 Andreas Schwab <schwab@redhat.com>
12845
12846 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12847 symbol reference.
12848
f0ccf6ea
AS
128492010-05-21 Andreas Schwab <schwab@redhat.com>
12850
3d04ff3a
AS
12851 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12852 and internal_recvmmsg.
12853 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12854 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12855 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12856 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12857
f0ccf6ea
AS
12858 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12859 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12860 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12861
5b08ac57
AS
128622010-05-20 Andreas Schwab <schwab@redhat.com>
12863
12864 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12865
4828935d
LM
128662010-05-17 Luis Machado <luisgpm@br.ibm.com>
12867
12868 POWER7 optimizations.
12869 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12870 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12871
373d545e
UD
128722010-05-19 Ulrich Drepper <drepper@redhat.com>
12873
12874 * version.h: Update for 2.13 development version.
12875
21a2b1ae
AS
128762010-05-12 Andrew Stubbs <ams@codesourcery.com>
12877
12878 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12879 exceptions. Return 0.
12880
3f7dcb2b
RM
128812010-05-07 Roland McGrath <roland@redhat.com>
12882
12883 * elf/ldconfig.c (main): Add a const.
12884
5f24d53a 128852010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 12886
a160f8d8
UD
12887 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12888 (args_options): Add no-idn option.
12889 (ahosts_keys_int): Add idn_flags to ai_flags.
12890 (parse_option): Handle 'i' option to clear idn_flags.
12891
5f24d53a
UD
12892 * malloc/malloc.c (_int_free): Possible race in the most recently
12893 added check. Only act on the data if no current modification
12894 happened.
265bb1ce
UD
12895
12896See ChangeLog.17 for earlier changes.