]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix nexttoward bugs
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4f9d04aa
AZ
12012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 [BZ #2550]
4 [BZ #2570]
5 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6 comparisons to determine direction to adjust input.
7
82a79e7d
RM
82012-05-01 Roland McGrath <roland@hack.frob.com>
9
f5a01ca9
RM
10 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11 output to the target.
12
90fe4186
RM
13 * scripts/localplt.awk: New file.
14 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15 (check-localplt-CFLAGS): Variable removed.
16 ($(all-built-dso:=.jmprel)): New static pattern rule.
17 (generated): Add those targets.
18 (localplt-built-dso): New variable.
19 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20
21 * elf/check-localplt.c: File removed.
22
82397ed6
RM
23 * scripts/check-execstack.awk: New file.
24 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25 (check-execstack-CFLAGS): Variable removed.
26 ($(objpfx)check-execstack.h): Target removed.
27 ($(objpfx)execstack-default): New target.
28 (generated): Add that instead of check-execstack.h.
29 ($(all-built-dso:=.phdr)): New static pattern rule.
30 (generated): Add those targets.
31 * elf/check-execstack.c: File removed.
32
82a79e7d
RM
33 * scripts/check-textrel.awk: New file.
34 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35 (check-textrel-CFLAGS): Variable removed.
36 (all-built-dso): Use := to define.o
37 ($(all-built-dso:=.dyn)): New static pattern rule.
38 (generated): Add those targets.
39 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40 * config.make.in (READELF): New substituted variable.
41 * elf/check-textrel.c: File removed.
42
62fde54f 432012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44
615605c9
JM
45 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46 allow.
47 * conform/data/ctype.h-data [C99-based standards] (isblank):
48 Expect function.
49 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53 Specify type. Require positive value.
54 (EILSEQ): Likewise.
55 (ERANGE): Likewise.
56 [ISO || POSIX] (EILSEQ): Do not expect.
57 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
58 Specify type. Require positive value.
59 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
61 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
63 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
69 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
71 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
74 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
75 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
76 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
77 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
78 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
79 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
80 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
81 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
82 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
84 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
85 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
86 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
87 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
88 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
89 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
90 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
91 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
92 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
93 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
94 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
95 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
96 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
97 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
98 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
99 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
100 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
101 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
102 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
103 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
104 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
105 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
106 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
107 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
108 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
109 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
110 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
111 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
112 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
113 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
114 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
115 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
116 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
117 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
118 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
119 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
120 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
121 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
122 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
123 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
124 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
125 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
126 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
127 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
128 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
129 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
130 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
131 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
132 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
133 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
134 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
135 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
136 Require >= 2.
137 (FLT_ROUNDS): Expect as macro, not constant.
138 (FLT_MANT_DIG): Use macro-int-constant.
139 (DBL_MANT_DIG): Likewise.
140 (LDBL_MANT_DIG): Likewise.
141 (FLT_DIG): Likewise.
142 (DBL_DIG): Likewise.
143 (LDBL_DIG): Likewise.
144 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
145 (DBL_MIN_EXP): Likewise.
146 (LDBL_MIN_EXP): Likewise.
147 (FLT_MAX_EXP): Use macro-int-constant.
148 (DBL_MAX_EXP): Likewise.
149 (LDBL_MAX_EXP): Likewise.
150 (FLT_MAX_10_EXP): Likewise.
151 (DBL_MAX_10_EXP): Likewise.
152 (LDBL_MAX_10_EXP): Likewise.
153 (FLT_MAX): Use macro-constant.
154 (DBL_MAX): Likewise.
155 (LDBL_MAX): Likewise.
156 (FLT_EPSILON): Use macro-constant. Give upper bound.
157 (DBL_EPSILON): Likewise.
158 (LDBL_EPSILON): Likewise.
159 (FLT_MIN): Likewise.
160 (DBL_MIN): Likewise.
161 (LDBL_MIN): Likewise.
162 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
163 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
164 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
165 [ISO11] (FLT_HAS_SUBNORM): Likewise.
166 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
167 [ISO11] (DBL_DECIMAL_DIG): Likewise.
168 [ISO11] (FLT_DECIMAL_DIG): Likewise.
169 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
170 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
171 [ISO11] (FLT_TRUE_MIN): Likewise.
172 [ISO11] (LDBL_TRUE_MIN): Likewise.
173 [ISO || ISO99 || ISO11] (*_t): Do not allow.
174 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
175 (SCHAR_MIN): Use macro-int-constant. Specify type.
176 (SCHAR_MAX): Likewise.
177 (UCHAR_MAX): Likewise.
178 (CHAR_MIN): Likewise.
179 (CHAR_MAX): Likewise.
180 (MB_LEN_MAX): Use macro-int-constant.
181 (SHRT_MIN): Use macro-int-constant. Specify type.
182 (SHRT_MAX): Likewise.
183 (USHRT_MAX): Likewise.
184 (INT_MAX): Likewise.
185 (INT_MIN): Use macro-int-constant. Specify type. Make upper
186 bound negative.
187 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
188 bound with "U".
189 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
190 bound with "L".
191 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
192 bound negative. Suffix upper bound with "L".
193 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
194 bound with "UL".
195 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
196 Specify type.
197 [C99-based standards] (LLONG_MAX): Likewise.
198 [C99-based standards] (ULLONG_MAX): Likewise.
199 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
200 == 0.
201 [ISO11] (max_align_t): Require type.
202 [ISO || ISO99 || ISO11] (*_t): Do not allow.
203
c9140a62
JM
204 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
205 from $CFLAGS, without defining away __attribute__ calls.
206 (checknamespace): Use $CFLAGS_namespace.
207
9af0bf29
JM
208 * conform/conformtest.pl (@keywords): Only include C99 keywords
209 for standards based on C99 or C11.
210
343222a2
JM
211 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
212 Disable tests.
213 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
214 UNIX98]: Likewise.
215
661f8cf0
JM
216 * conform/conformtest.pl: Handle "macro-int-constant" and test for
217 usability of symbols in #if.
218
ee74b9cb
JM
219 * conform/conformtest.pl: If macro or constant types start
220 "promoted:", expect the symbol to be of the following type
221 promoted by the integer promotions.
62fde54f 222
aafc49b3
JM
223 * conform/conformtest.pl: Parse all "constant" and "macro" lines
224 in one place. Also handle "macro-constant".
225
fefdf574
JM
226 * conform/conformtest.pl: Only accept expected macro values with
227 "==". Parse all "macro" lines in one place.
228 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
229
f2d922fe
JM
230 * conform/conformtest.pl: Handle braced types on "constant" lines
231 instead of handling "typed-constant".
232 * conform/data/signal.h-data: Use "constant" instead of
233 "typed-constant".
234
d22956c9
JM
235 * conform/conformtest.pl: Handle "optional-" at start of lines in
236 one place rather than duplicating several cases. Handle each
237 format of "macro" line with initial "optional-".
238
028e2e38
JM
239 * conform/conformtest.pl: Only accept expected constant or
240 optional-constant values with "==". Parse all "constant" lines in
241 one place. Parse all "optional-constant" lines in one place.
242 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
243 * conform/data/fmtmsg.h-data: Likewise.
244 * conform/data/netinet/in.h-data: Likewise.
245 * conform/data/tar.h-data: Likewise.
246 * conform/data/limits.h-data: Use "==" form on "constant" and
247 "optional-constant" lines.
248
1b8f2850
JM
249 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
250 Use -std=c99 for XOPEN2K.
251 (@knownproblems): Remove.
252 (newtoken): Don't check %isknown.
253
a05a144b
JM
254 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
255 Do not expect macro.
256 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
257 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
258 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
259 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
260 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
261 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
262 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
263 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
264 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
265 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
266 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
267 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
268 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
269 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
270 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
271 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
272 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
273 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
274 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
275 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
276 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
277 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
278 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
279 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
280 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
281 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
282 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
283 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
284 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
285 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
286 [XPG3] (acosh): Likewise.
287 [XPG3] (asinh): Likewise.
288 [XPG3] (atanh): Likewise.
289 [XPG3] (cbrt): Likewise.
290 [XPG3] (expm1): Likewise.
291 [XPG3] (ilogb): Likewise.
292 [XPG3] (log1p): Likewise.
293 [XPG3] (logb): Likewise.
294 [XPG3] (nextafter): Likewise.
295 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
296 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
297 [XPG3] (remainder): Likewise.
298 [XPG3] (rint): Likewise.
299 [XPG3 || XPG4 || UNIX98] (round): Likewise.
300 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
301 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
302 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
303 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
304 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
305 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
306 [UNIX98 || XOPEN2K] (scalb): Expect.
307 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
308 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
309 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
310 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
311 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
312 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
313 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
314 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
315 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
316 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
317 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
318 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
319 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
320 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
321 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
322 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
323 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
324 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
325 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
326 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
327 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
328 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
329 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
330 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
331 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
332 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
333 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
334 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
335 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
336 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
337 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
338 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
339 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
340 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
341 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
342 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
343 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
344 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
345 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
346 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
347 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
348 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
349 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
350 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
351 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
352 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
353 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
354 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
355 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
356 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
357 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
358 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
359 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
360 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
361 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
362 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
363 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
364 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
365 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
366 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
367 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
368 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
369 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
370 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
371 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
372 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
373 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
374 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
375 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
376 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
377 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
378 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
379 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
380 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
381 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
382 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
383 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
384 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
385 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
386 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
387 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
388 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
389 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
390 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
391 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
392 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
393 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
394 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
395 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
396 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
397 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
398 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
399 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
400 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
401 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
402 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
403 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
404 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
405 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
406 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
407 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
408 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
409 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
410 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
411 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
412 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
413 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
414 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
415 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
416 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
417 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
418 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
419 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
420 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
421 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
422 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
423 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
424 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
425 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
426 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
427 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
428 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
429 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
430 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
431 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
432 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
433 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
434 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
435 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
436 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
437 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
438 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
439 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
440 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
441 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
442 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
443 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
444
73c5ebe3
JM
445 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
446 _XOPEN_SOURCE_EXTENDED for XPG4.
447
39c33b6c
JM
448 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
449
62fde54f
JM
450 * Makeconfig (localtime): Remove variable.
451 (inst_localtime-file): Likewise.
452
0741d64c
AS
4532012-05-01 Andreas Schwab <schwab@linux-m68k.org>
454
455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
456 Update.
457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
458 Update.
459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
460 Update.
461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
462 Update.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
464 Update.
465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
466 Update.
467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
468 Update.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
470 Update.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
472 Update.
473
7cb029ee
JM
4742012-05-01 Joseph Myers <joseph@codesourcery.com>
475
476 [BZ #2550]
477 [BZ #2570]
478 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
479 comparisons to determine direction to adjust input.
480 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
481 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
482 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
483 Likewise.
484 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
485 Likewise.
486 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
487 Likewise.
488 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
489 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
490 Likewise.
491 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
492 Likewise.
493 * math/libm-test.inc (nexttoward_test): Add more tests.
494
412bd966
AS
4952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
496
497 [BZ #14040]
498 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
499 in version GLIBC_2.1, not GLIBC_2.0.
500 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
501 Likewise.
502
9568c0c2
JM
5032012-04-30 Joseph Myers <joseph@codesourcery.com>
504
adfbc8ac
JM
505 [BZ #13942]
506 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
507 (1 - x) * (1 + x).
508 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
509 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
510 * math/libm-test.inc (acos_test): Add more tests.
511 (asin_test): Likewise.
512 * sysdeps/i386/fpu/libm-test-ulps: Update.
513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
514
5ba3cc69
JM
515 [BZ #14034]
516 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
517 of square root.
518 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
519 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
520 * math/libm-test.inc (acos_test_tonearest): New function.
521 (acos_test_towardzero): Likewise.
522 (acos_test_downward): Likewise.
523 (acos_test_upward): Likewise.
524 (asin_test_tonearest): Likewise.
525 (asin_test_towardzero): Likewise.
526 (asin_test_downward): Likewise.
527 (asin_test_upward): Likewise.
528 (main): Call the new functions.
529 * sysdeps/i386/fpu/libm-test-ulps: Update.
530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
531
9568c0c2
JM
532 [BZ #13884]
533 [BZ #13924]
534 * math/e_exp10.c: Include <float.h>.
535 (__ieee754_exp10): Handle underflow here rather than multiplying
536 large negative argument by M_LN10.
537 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
538 of __ieee754_expf.
539 * math/e_exp10l.c: Include <float.h>.
540 (__ieee754_exp10l): Handle underflow here rather than multiplying
541 large negative argument by M_LN10l.
542 * math/libm-test.inc (exp10_test): Add another test. Do not allow
543 spurious overflow exception on underflow.
544
5ac3ea17
MP
5452012-04-29 Marek Polacek <polacek@redhat.com>
546
547 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
548 (__fortify_function): New macro.
549 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
550 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
551 __extern_always_inline.
552 * libio/bits/stdio2.h: Likewise.
553 * libio/bits/stdio.h: Likewise.
554 * string/string.h: Likewise.
555 * string/bits/string3.h: Likewise.
556 * include/stdio.h: Likewise.
557 * stdlib/bits/stdlib.h: Likewise.
558 * stdlib/stdlib.h: Likewise.
559 * rt/bits/mqueue2.h: Likewise.
560 * rt/mqueue.h: Likewise.
561 * posix/bits/unistd.h: Likewise.
562 * posix/unistd.h: Likewise.
563 * io/bits/poll2.h: Likewise.
564 * io/bits/fcntl2.h: Likewise.
565 * io/fcntl.h: Likewise.
566 * io/sys/poll.h: Likewise.
567 * misc/bits/syslog.h: Likewise.
568 * misc/bits/syslog-ldbl.h: Likewise.
569 * misc/sys/syslog.h: Likewise.
570 * socket/bits/socket2.h: Likewise.
571 * socket/sys/socket.h: Likewise.
572 * debug/tst-chk1.c: Likewise.
573 * wcsmbs/bits/wchar2.h: Likewise.
574 * wcsmbs/bits/wchar-ldbl.h: Likewise.
575 * wcsmbs/wchar.h: Likewise.
576
ecf0ebfb
AJ
5772012-04-29 Andreas Jaeger <aj@suse.de>
578
579 * Makerules (tests): Remove enable-check-abi protection.
580 (check-abi-warn): Remove.
581 (check-abi-%): Remove check-abi-warn usage.
582
583 * configure.in: Remove check-abi configure option.
584 * configure: Regenerated.
585 * config.make.in (enable-check-abi): Remove.
586
6d5c57fa
AS
5872012-04-28 Andreas Schwab <schwab@linux-m68k.org>
588
24c5d07e 589 [BZ #14033]
ded5180a
AS
590 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
591 double functions to double *_finite functions.
592
7e0d315d
AS
593 [BZ #13941]
594 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
595 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
596 LDBL_MIN_EXP.
597 * stdio-common/Makefile (tests): Add tst-sprintf3.
598 * stdio-common/tst-sprintf3.c: New file.
599
6d5c57fa
AS
600 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
601 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
602
0749ff8b
JM
6032012-04-28 Joseph Myers <joseph@codesourcery.com>
604
605 * conform/conformtest.pl: Remove duplicate typed-constant
606 handling.
607
8dbd5d7b
DM
6082012-04-28 David S. Miller <davem@davemloft.net>
609
610 * Makerules (%.abilist): Add vpath on sysdep_dirs.
611 (check-abi-%): Remove AWK script prerequisite and explicit
612 abilist directory.
613 (check-abi): Rewrite to just diff the symlist with the abilist.
614 (config-tls, config-abi-config): Delete, no longer used.
615 (update-abi-%): Remove AWK script and explicit abilist directory.
616 (update-abi): Rewrite to simply compare and conditionally copy the
617 symlist and the sysdep abilist file. Remove update-abi-config
618 checks.
619 * abilist/ld.abilist: Remove.
620 * abilist/libBrokenLocale.abilist: Remove.
621 * abilist/libanl.abilist: Remove.
622 * abilist/libcrypt.abilist: Remove.
623 * abilist/libdl.abilist: Remove.
624 * abilist/librt.abilist: Remove.
625 * abilist/libthread_db.abilist: Remove.
626 * abilist/libutil.abilist: Remove.
627 * scripts/extract-abilist.awk: Remove.
628 * scripts/merge-abilist.awk: Remove.
629 * sysdeps/generic/libcidn.abilist: New file.
630 * sysdeps/generic/libnss_compat.abilist: New file.
631 * sysdeps/generic/libnss_db.abilist: New file.
632 * sysdeps/generic/libnss_dns.abilist: New file.
633 * sysdeps/generic/libnss_files.abilist: New file.
634 * sysdeps/generic/libnss_hesiod.abilist: New file.
635 * sysdeps/generic/libnss_nis.abilist: New file.
636 * sysdeps/generic/libnss_nisplus.abilist: New file.
637 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
638 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
639 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
640 file.
641 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
642 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
643 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
644 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
645 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
646 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
647 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
648 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
649 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
650 file.
651 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
652 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
653 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
654 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
655 file.
656 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
657 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
658 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
659 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
660 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
661 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
662 file.
663 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
664 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
665 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
666 file.
667 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
669 New file.
670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
671 New file.
672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
673 New file.
674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
675 New file.
676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
677 New file.
678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
679 New file.
680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
681 New file.
682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
683 New file.
684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
685 New file.
686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
687 New file.
688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
689 New file.
690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
691 New file.
692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
693 New file.
694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
695 file.
696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
697 New file.
698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
699 New file.
700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
701 file.
702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
703 New file.
704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
705 New file.
706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
707 file.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
709 New file.
710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
711 New file.
712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
713 New file.
714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
715 New file.
716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
717 New file.
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
719 New file.
720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
722 file.
723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
724 New file.
725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
726 file.
727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
728 file.
729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
730 file.
731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
732 file.
733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
734 file.
735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
736 New file.
737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
738 file.
739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
740 file.
741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
742 New file.
743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
744 file.
745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
747 file.
748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
749 New file.
750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
751 file.
752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
753 file.
754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
755 file.
756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
757 file.
758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
759 file.
760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
761 New file.
762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
763 file.
764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
765 file.
766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
767 New file.
768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
769 file.
770 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
771 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
772 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
773 file.
774 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
775 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
776 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
777 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
778 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
779 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
780 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
781 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
782 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
783 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
786 file.
787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
788 New file.
789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
790 file.
791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
792 file.
793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
794 file.
795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
796 file.
797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
798 file.
799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
800 New file.
801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
802 New file.
803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
804 file.
805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
806 New file.
807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
808 file.
809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
811 file.
812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
813 New file.
814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
815 file.
816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
817 file.
818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
819 file.
820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
821 file.
822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
823 file.
824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
825 New file.
826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
827 New file.
828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
829 file.
830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
831 New file.
832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
833 file.
834
41d73a1b
JM
8352012-04-28 Joseph Myers <joseph@codesourcery.com>
836
837 * conform/conformtest.pl: Fix typo in handling typed-constant from
838 allow-header.
839
28aeeda4
JM
8402012-04-27 Joseph Myers <joseph@codesourcery.com>
841
adae8f5e
JM
842 * README: Cut down references to pre-2.6 Linux kernels and
843 Linuxthreads. Update lists of configurations in libc and ports
844 and sort alphabetically. Say "or newer" with Linux kernel version
845 requirements.
846
28aeeda4
JM
847 * config.h.in [IS_IN_build]: Allow compiling without optimization.
848
a462cb63
RA
8492012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
850
851 [BZ #887]
852 * math/libm-test.inc (logb_test_downward): New test to expose
853 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
854 rounding mode.
855
6ad3493e
JM
8562012-04-27 Joseph Myers <joseph@codesourcery.com>
857
858 [BZ #14027]
859 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
860 to be done.
861 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
862 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
863
2ce4f015
JM
8642012-04-26 Joseph Myers <joseph@codesourcery.com>
865
5aeb141a
JM
866 * sysdeps/unix/i386/brk.S: Remove file.
867 * sysdeps/unix/i386/dl-brk.S: Likewise.
868 * sysdeps/unix/i386/pipe.S: Likewise.
869 * sysdeps/unix/i386/sigreturn.S: Likewise.
870 * sysdeps/unix/i386/syscall.S: Likewise.
871 * sysdeps/unix/i386/vfork.S: Likewise.
872 * sysdeps/unix/i386/wait.S: Likewise.
873
7143acae
JM
874 * sysdeps/unix/common/tcsendbrk.c: Move to ...
875 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
876
2ce4f015
JM
877 * configure.in (arm*-none*): Do not allow without
878 --enable-hacker-mode.
879 (netbsd*): Remove case setting base_os.
880 (386bsd*): Likewise.
881 (freebsd*): Likewise.
882 (bsdi*): Likewise.
883 (osf*): Likewise.
884 (sunos*): Likewise.
885 (ultrix*): Likewise.
886 (newsos*): Likewise.
887 (dynix*): Likewise.
888 (*bsd*): Likewise.
889 (sysv*): Likewise.
890 (isc*): Likewise.
891 (esix*): Likewise.
892 (sco*): Likewise.
893 (minix*): Likewise.
894 (irix4*): Likewise.
895 (irix6*): Likewise.
896 (solaris[2-9]*): Likewise.
897 (none): Likewise.
898 * configure: Regenerated.
899
0ac229c8
AZ
9002012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
901
902 [BZ #11521]
903 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
904 overflow or cancellation in calculating denominator.
905 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
906 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
907 down expression to avoid unexpected rounding in newer GCCs.
908 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
909
33f244f4
DM
9102012-04-26 David S. Miller <davem@davemloft.net>
911
912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
913 long-double compat symbols.
914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
927
cfa1f3e8
DM
9282012-04-25 David S. Miller <davem@davemloft.net>
929
930 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
931 HWCAP_* values only after the memory barriers have been defined.
932 (atomic_full_barrier): Define.
933 (atomic_read_barrier): Define.
934 (atomic_write_barrier): Define.
935
6e236b92
SP
9362012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
937
938 * shlib-versions: Add libgcc_s version information.
939 * sysdeps/generic/libgcc_s.h: Remove.
940 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
941 libgcc_s.h.
942 * sysdeps/gnu/unwind-resume.c: Likewise.
943 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
944
aab39a09
DM
9452012-04-25 David S. Miller <davem@davemloft.net>
946
947 * sysdeps/unix/sparc/brk.S: Delete.
948 * sysdeps/unix/sparc/dl-brk.S: Delete.
949 * sysdeps/unix/sparc/pipe.S: Delete.
950 * sysdeps/unix/sparc/sysdep.S: Delete.
951 * sysdeps/unix/sparc/sysdep.h: Delete.
952 * sysdeps/unix/sparc/vfork.S: Delete.
953 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
954 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
955 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
956 ret_ERRVAL, r0, r1, MOVE): Define.
957 (JUMPTARGET): Remove.
958 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
959 sysdeps/unix/sparc/sysdep.h
960 (ENTRY, END): Remove.
961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
962
a3cc4f48
JM
9632012-04-25 Joseph Myers <joseph@codesourcery.com>
964
2ed8cda2
JM
965 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
966 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
967 -DIS_IN_build.
968
35d76d59
JM
969 * timezone/README: Update upstream location and email address for
970 tzcode and tzdata.
971 * timezone/zdump.c: Update from tzcode 2012b.
972 * timezone/zic.c: Likewise.
973
a3cc4f48
JM
974 * configure.in (libc_cv_as_needed): Remove test.
975 * configure: Regenerated.
976 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
977 conditional definition.
978 [$(have-as-needed) != yes] (no-as-needed): Likewise.
979 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
980 * config.make.in (have-as-needed): Remove variable.
981
ceab42c3
SP
9822012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
983 Paul Pluzhnikov <ppluzhnikov@google.com>
984
985 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
986 strings correctly.
987
3ce2865f
CLT
9882012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
989
990 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
991 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
992 * sysdeps/sh/strlen.S: Likewise.
993
f37e0d68
JM
9942012-04-24 Joseph Myers <joseph@codesourcery.com>
995
ae186e9a
JM
996 * sysdeps/unix/fork.S: Remove file.
997 * sysdeps/unix/i386/fork.S: Likewise.
998 * sysdeps/unix/sparc/fork.S: Likewise.
999
b96914af
JM
1000 * sysdeps/unix/system.c: Remove file.
1001 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1002
f37e0d68
JM
1003 * sysdeps/unix/getegid.S: Remove file.
1004 * sysdeps/unix/geteuid.S: Likewise.
1005
87ef29ca
RM
10062012-04-24 Roland McGrath <roland@hack.frob.com>
1007
83bcd236
RM
1008 * scripts/check-localplt.awk: New file.
1009 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1010 of diff.
1011 * scripts/data/localplt-generic.data: Add a comment.
1012
87ef29ca
RM
1013 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1014 NODE when __dir_mkfile failed.
1015 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1016 Reported by Ludovic Courtès <ludo@gnu.org>.
1017
e5a6e567
AJ
10182012-04-24 Andreas Jaeger <aj@suse.de>
1019
1020 * Makerules (common-clean): Also remove gen-as-const-headers
1021 files.
1022
c1820385
JM
10232012-04-24 Joseph Myers <joseph@codesourcery.com>
1024
1025 * Makerules (native-compile): Do not change working directory for
1026 build. Use $(OUTPUT_OPTION) in command.
1027 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1028
94e02fc4
AZ
10292012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1030
1031 [BZ #13886]
1032 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1033 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1034 * math/libm-test.inc (floor_test): Add more tests.
1035 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1036
3a533ca3
JM
10372012-04-24 Joseph Myers <joseph@codesourcery.com>
1038
940ab4b3
JM
1039 * sysdeps/unix/getdents.c: Remove file.
1040 * sysdeps/unix/sysv/getdents.c: Likewise.
1041 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1042
90e037bd
JM
1043 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1044 sysdeps/unix/mman/syscalls.list.
1045 (mmap): Likewise.
1046 (mprotect): Likewise.
1047 (msync): Likewise.
1048 (munmap): Likewise.
1049 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1050 * sysdeps/unix/mman/syscalls.list: Remove.
1051 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1052
3a533ca3
JM
1053 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1054 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1055 * configure: Regenerated.
1056 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1057 $(libgcc_s_suffix).
1058 * config.make.in (libgcc_s_suffix): Remove variable.
1059
1ad743de
JM
10602012-04-23 Joseph Myers <joseph@codesourcery.com>
1061
4ad451e2
JM
1062 * sysdeps/unix/sysv/gethostname.c: Move to ...
1063 * sysdeps/posix/gethostname.c: ... here.
1064
5e37ce39
JM
1065 * sysdeps/unix/execve.S: Remove file.
1066
1ad743de
JM
1067 * sysdeps/unix/_exit.S: Remove file.
1068
4e681b5b
AJ
10692012-04-23 Andreas Jaeger <aj@suse.de>
1070
1071 [BZ #13739]
1072 * manual/Makefile: Remove make dist support, there's no
1073 need for a stand-alone documentation tar ball.
1074 (TEXI2DVI): Define always, it's not in Makeconfig.
1075 (dist): Removed.
1076 (tar-it): Removed.
1077 (edition): Removed.
1078 (glibc-doc-$(edition).tar): Removed
1079 (%.Z): Removed.
1080 (%.gz): Removed.
1081 (%.uu): Removed.
1082 (ETAGS): Remove, it's in Makeconfig.
1083 (move-if-change): Remove, it's in Makeconfig.
1084
c0baea34
PE
10852013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1086
1087 [BZ #13970]
1088 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1089 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1090 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1091 (strtod_l, strtof_l, strtold_l): Remove __wur.
1092 It is not necessarily an error to ignore strtol's return value.
1093 One can reliably look at the stored endptr to decide whether
1094 the number had valid syntax.
1095
7c0616fa
AJ
10962012-04-21 Andreas Jaeger <aj@suse.de>
1097
803cb6b7 1098 [BZ #13739]
7c0616fa
AJ
1099 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1100
b0fe253f
JM
11012012-04-21 Joseph Myers <joseph@codesourcery.com>
1102
1103 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1104 * sysdeps/unix/sysv/Versions: Remove file.
1105
8280f22d
MT
11062012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1107
1108 [BZ #13927]
1109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1110
75ce411f 11112012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1112
1113 [BZ #7064]
1114 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1115 version from __vm86.
1116
097d59fa
JM
11172012-04-20 Joseph Myers <joseph@codesourcery.com>
1118
a90f3bcb
JM
1119 * sysdeps/unix/common/lxstat.c: Remove file.
1120 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1121
edc7ea78
JM
1122 * sysdeps/unix/sysv/Makefile: Remove file.
1123
cb78c221
JM
1124 * sysdeps/unix/sysv/direct.h: Remove file.
1125
efa6a45f
JM
1126 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1127 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1128 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1129 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1130 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1131 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1132 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1133
9c9f2d0c
JM
1134 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1135
4541c83b
JM
1136 * sysdeps/unix/xmknod.c: Remove file.
1137 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1138
f5d153a0
JM
1139 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1140
aa746595
JM
1141 * sysdeps/unix/sysv/i386/time.S: Remove file.
1142
cce5905e
JM
1143 * sysdeps/unix/fxstat.c: Remove file.
1144 * sysdeps/unix/xstat.c: Likewise.
1145 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1146
37fa3841
JM
1147 * sysdeps/unix/sysv/sigaction.c: Remove file.
1148
ff1962a3
JM
1149 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1150 (sysdep_headers): Remove variable.
1151 [termio.h not in sysdep_headers] (generated): Likewise.
1152 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1153 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1154 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1155 * sysdeps/unix/sysv/tcflow.c: Likewise.
1156 * sysdeps/unix/sysv/tcflush.c: Likewise.
1157 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1158 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1159 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1160 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1161 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1162
e7740d31
JM
1163 * sysdeps/unix/siglist.c: Remove file.
1164
ee06f18b
JM
1165 * sysdeps/unix/getppid.S: Remove file.
1166
097d59fa
JM
1167 * sysdeps/unix/mkdir.c: Remove file.
1168 * sysdeps/unix/rmdir.c: Likewise.
1169
ff3d51ec
AS
11702012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1171
1172 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1173 ERR_MAX value.
1174 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1175 errlist-compat value.
1176
50f81fd7
DM
11772012-04-18 David S. Miller <davem@davemloft.net>
1178
1179 * sysdeps/generic/memcopy.h (reg_char): Delete.
1180 * debug/strcat_chk.c: Use char, not reg_char.
1181 * debug/strcpy_chk.c: Likewise.
1182 * debug/strncat_chk.c: Likewise.
1183 * debug/strncpy_chk.c: Likewise.
1184 * string/memchr.c: Likewise.
1185 * string/memrchr.c: Likewise.
1186 * string/rawmemchr.c: Likewise.
1187 * string/strcat.c: Likewise.
1188 * string/strchr.c: Likewise.
1189 * string/strchrnul.c: Likewise.
1190 * string/strcmp.c: Likewise.
1191 * string/strcpy.c: Likewise.
1192 * string/strncat.c: Likewise.
1193 * string/strncmp.c: Likewise.
1194 * string/strncpy.c: Likewise.
1195
8ff41c46
WS
11962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1197
1198 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1199 __builtin_memcopy is called when src and dest ranges are known to not
1200 overlap.
1201
6b652f46
WS
12022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1203
1204 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1205 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1206 fwd_align_merge macro call.
1207 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1208 bwd_align_merge macro call.
1209 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1210
b282631e
WS
12112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1212
1213 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1214 bwd_align_merge macros.
1215 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1216 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1217 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1218
95aa737c
DM
12192012-04-18 David S. Miller <davem@davemloft.net>
1220
1221 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1222
7a99a614
AJ
12232012-04-18 Andreas Jaeger <aj@suse.de>
1224
1225 [BZ# 6794]
1226 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1227 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1228 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1229
1230 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1231 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1232 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1233
1234 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1235 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1236 Adjust for changed ldbl-128 files.
1237
1238 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1239 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1240 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1241
e5270c23
DM
12422012-04-17 David S. Miller <davem@davemloft.net>
1243
1244 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1245
fb5e92c9
AS
12462012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1247
1248 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1249 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1250 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1251 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1252 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1253 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1254
76da7265
AZ
12552012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1256
1257 [BZ #6794]
1258 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1259 * math/libm-test.inc: Add ilogb errno and exception tests.
1260 * math/w_ilogb.c: New file: ilogb wrapper.
1261 * math/w_ilogbf.c: New file: ilogbf wrapper.
1262 * math/w_ilogbl.c: New file: ilogbl wrapper.
1263 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1264 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1265 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1266 exception being thrown with 0.0 as argument.
1267 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1268 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1269 exception being thrown with 0.0 as argument.
1270 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1271 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1272 exception being thrown with 0.0 as argument.
1273 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1274 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1275 exception being thrown with 0.0 as argument.
1276 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1277 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1278 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1279 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1280 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1281 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1282 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1283 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1284 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1285
0396e69d
PB
12862012-04-17 Petr Baudis <pasky@ucw.cz>
1287
1288 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1289 with altivec.
1290
750b5926
MP
12912012-04-16 Marek Polacek <polacek@redhat.com>
1292
1293 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1294
751728a1
MP
12952012-04-16 Marek Polacek <polacek@redhat.com>
1296
1297 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1298 operands of fdivp instruction.
1299
34a27407
L
13002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1301
1302 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1303 * elf/tst-auditmod3b.c: Likewise.
1304 * elf/tst-auditmod4b.c: Likewise.
1305 * elf/tst-auditmod5b.c: Likewise.
1306 * elf/tst-auditmod6b.c: Likewise.
1307 * elf/tst-auditmod6c.c: Likewise.
1308 * elf/tst-auditmod7b.c: Likewise.
1309 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1310 * sysdeps/x86_64/preconfigure.in: Likewise.
1311 * sysdeps/x86_64/preconfigure: Regenerated.
1312
7e73e17d
L
13132012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1314
1315 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1316 __ILP32__.
1317
c7a6ab72
AB
13182012-04-13 Antoine Balestrat <merkil33@gmail.com>
1319
1320 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1321 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1322
a9e8e0e0
CL
13232012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1324
1325 [BZ #13973]
1326 * locale/iso-639.def: Fix gl language name. Spotted by
1327 Yaron Shahrabani.
1328
ec98af7d
RM
13292012-04-12 Roland McGrath <roland@hack.frob.com>
1330
1331 [BZ #2074]
1332 * libio/libio.h (__io_write_fn): Update comment.
1333
247c3ede
PB
13342012-04-12 Petr Baudis <pasky@ucw.cz>
1335
1336 [BZ #2074]
1337 * stdio.texi (Hook Functions): The user provided writer function
1338 is not allowed to return -1.
1339
55939d6d
DM
13402012-04-11 David S. Miller <davem@davemloft.net>
1341
1342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1343
90020f5a
MF
13442012-04-11 Mike Frysinger <vapier@gentoo.org>
1345
1346 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1347 Add a leading slash to rtkaio.
1348
288f9098
JM
13492012-04-11 Jim Meyering <meyering@redhat.com>
1350
90020f5a
MF
1351 [BZ #11959]
1352 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1353 It is not necessarily an error to ignore fwrite's return
1354 value. One can reliably use ferror to test for errors after
1355 the fact.
288f9098 1356
4be2b570
L
13572012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1358
1359 * bits/types.h (__snseconds_t): New type.
1360 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1361
1362 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1363 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1364 (__SNSECONDS_T_TYPE): Likewise.
1365 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1366 (__SNSECONDS_T_TYPE): Likewise.
1367 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1368 (__SNSECONDS_T_TYPE): Likewise.
1369
288f9098 13702012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1371
1372 [BZ #2636]
1373 * manual/time.texi (Processor Time): Return type of times is
1374 elapsed real time since an arbitrary point in the past.
1375 (CPU Time): Move CLK_TCK from here...
1376 (Processor Time): ...to here. Correct description.
1377 * manual/conf.texi (Constants for Sysconf): Correct description of
1378 _SC_CLK_TCK.
1379
d7dd4413
DM
13802012-04-10 David S. Miller <davem@davemloft.net>
1381
1382 [BZ #13967]
1383 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1384 where the is a gap between DT_REL(A) and DT_JMPREL.
1385
b46068fc
L
13862012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1387
1388 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1389 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1390 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1391
73d65cc3
SP
13922012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1393
1394 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1395 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1396 (dl_main): Handle --inhibit-cache.
1397 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1398 _dl_inhibit_cache.
1399 * elf/dl-load.c (_dl_map_object): Use it.
1400 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1401
bcc8d661
JM
14022012-04-09 Joseph Myers <joseph@codesourcery.com>
1403
8f9a2fae
JM
1404 [BZ #13872]
1405 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1406 (__ieee754_powl): Saturate large exponents rather than testing for
1407 overflow of y*log2(x).
1408 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1409 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1410 exceptions.
1411
bcc8d661
JM
1412 [BZ #11521]
1413 * math/s_ctan.c: Include <float.h>.
1414 (__ctan): Avoid internal overflow or cancellation in calculating
1415 denominator.
1416 * math/s_ctanf.c: Likewise.
1417 * math/s_ctanl.c: Likewise.
1418 * math/s_ctanh.c: Likewise.
1419 * math/s_ctanhf.c: Likewise.
1420 * math/s_ctanhl.c: Likewise.
1421 * math/libm-test.inc (ctan_test): Add more tests.
1422 (ctanh_test): Likewise.
1423 * sysdeps/i386/fpu/libm-test-ulps: Update.
1424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1425
823fbbb4
AJ
14262012-04-09 Andreas Jaeger <aj@suse.de>
1427
03879793
AJ
1428 [BZ #6894]
1429 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1430 is an optional BSD extension.
1431
823fbbb4
AJ
1432 [BZ #10254]
1433 * manual/stdio.texi (Opening Streams): Document additional fopen
1434 parameters.
1435
8de131cb
RM
14362012-04-09 Roland McGrath <roland@hack.frob.com>
1437
1438 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1439 %eax without telling the compiler.
1440
c0ed9d7d
CD
14412012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1442
1443 [BZ # 13963]
1444 * manual/install.texi: Use sourceware.org.
1445
c483f6b4
JM
14462012-04-09 Joseph Myers <joseph@codesourcery.com>
1447
d7dd9453
JM
1448 [BZ #13873]
1449 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1450 (__ieee754_pow): Generate overflow and underflow using huge*huge
1451 and tiny*tiny rather than just returning constant infinity or zero
1452 for large exponents.
1453 * math/libm-test.inc (pow_test): Require overflow exceptions for
1454 applicable cases of large exponents.
1455
c483f6b4
JM
1456 [BZ #706]
1457 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1458 (__ieee754_pow): Use iterative multiplication algorithm only for
1459 integer exponents with absolute value below 1024. Check for odd
1460 integer exponents when using algorithm for real exponents.
1461 * math/libm-test.inc (pow_test): Add more tests.
1462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1463
d2de7579
JM
14642012-04-08 Joseph Myers <joseph@codesourcery.com>
1465
1466 [BZ #13705]
1467 * math/libm-test.inc (exp_test): Do not allow overflow exception
1468 on underflow test.
1469
f77f1232
AJ
14702012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1471
1472 [BZ #13705]
1473 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1474 instead of __kernel_standard_f.
1475
3884932b
MF
14762012-04-08 Mike Frysinger <vapier@gentoo.org>
1477
1478 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1479 * sysdeps/x86_64/memset_chk.S: Likewise.
1480
54472e9c
AJ
14812012-04-08 Andreas Jaeger <aj@suse.de>
1482
6ab0fbfc
AJ
1483 [BZ #10153]
1484 * manual/startup.texi (Environment Access): Describe return value
1485 for putenv and setenv.
1486
61efba8c
AJ
1487 [BZ #6895]
1488 * manual/filesys.texi (Directory Entries): Add description for
1489 DT_LNK.
1490
95c3f29a
AJ
1491 [BZ #6890]
1492 * manual/filesys.texi (Directory Entries): Clarify that it's file
1493 system not operating system in the description of DT_UNKNOWN.
1494
54472e9c
AJ
1495 [BZ #6578]
1496 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1497
624254b1
SC
14982012-04-08 Stephen Compall <s11@member.fsf.org>
1499
1500 [BZ #6649]
1501 * manual/llio.texi (Opening and Closing Files): Add cross
1502 reference to explain mode argument.
1503
1e4920e0
MF
15042012-04-07 Mike Frysinger <vapier@gentoo.org>
1505
1506 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1507 * sysdeps/x86_64/memset_chk.S: Likewise.
1508
5ed848f3
DM
15092012-04-07 David S. Miller <davem@davemloft.net>
1510
1511 * elf/elf.h (R_SPARC_WDISP10): Define.
1512 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1513 R_SPARC_SIZE32.
1514 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1515 R_SPARC_SIZE64 and R_SPARC_H34.
1516
96154cd8
CD
15172012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1518
1519 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1520 conditions and remove no longer applicable assertion.
1521
9904dc47
L
15222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1523
1524 * bits/byteswap.h: Include <features.h>.
1525 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1526 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1527
f8887d0a
L
15282012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1529
1530 * bits/byteswap.h (__bswap_16): Removed.
1531 Include <bits/byteswap-16.h> to get __bswap_16.
1532 * sysdeps/i386/bits/byteswap.h: Likewise.
1533 * sysdeps/s390/bits/byteswap.h: Likewise.
1534 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1535 * bits/byteswap-16.h: New file.
1536 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1537 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1538 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1539 * string/Makefile (headers): Add bits/byteswap-16.h.
1540
62470f60
PP
15412012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1542
1543 [BZ #13895]
1544 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1545 extra indirection.
1546 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1547 * nss/tst-nss-static.c: New.
1548
4dad7bab
RM
15492012-04-06 Robert Millan <rmh@gnu.org>
1550
1551 [BZ #6486]
1552 * manual/llio.texi (File Position Primitive): lseek
1553 refers to WHENCE when it really means OFFSET.
1554
e9142a17
AJ
15552012-04-06 Andreas Jaeger <aj@suse.de>
1556
2c040eff
AJ
1557 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1558 strncmp declarations.
1559
e9142a17
AJ
1560 * abilist/libc.abilist: Add __poll and __ppoll.
1561
ff9f1c5f
DM
15622012-04-05 David S. Miller <davem@davemloft.net>
1563
dcd2ae90
DM
1564 * scripts/check-local-headers.sh: Accept a host triplet in the
1565 path matched by the exclude regexp.
1566
993eb054
DM
1567 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1568 definition.
1569 * sysdeps/powerpc/powerpc32/dl-machine.h
1570 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1571 * sysdeps/s390/s390-32/dl-machine.h
1572 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1573 * sysdeps/sparc/sparc32/dl-machine.h
1574 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1575 * sysdeps/sparc/sparc64/dl-machine.h
1576 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1577
ff9f1c5f
DM
1578 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1579 lazy binding.
48e2e132 1580 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1581 undefined symbol errors.
1582
48e2e132 1583 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1584 DT_NEEDED entries.
1585
e80d6f94
MM
15862012-04-05 Michael Matz <matz@suse.de>
1587
1588 [BZ #13592]
1589 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1590
349fa79f
AJ
15912012-04-05 Andreas Jaeger <aj@suse.de>
1592
1593 [BZ #13908]
1594 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1595 comment.
1596
f402708f
KK
15972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1598
1599 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1600 which ROUND is no valid rounding mode.
1601
2ecccfc9
KK
16022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1603
1604 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1605 read again.
1606 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1607
8a53f50f
KK
16082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1609
1610 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1611 an exception using FPU order intentionally.
1612
16132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1614
1615 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1616 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1617 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1618 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1619
d653abb7
SJ
16202012-04-05 Simon Josefsson <simon@josefsson.org>
1621
1622 [BZ #12340]
1623 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1624 EINVAL when BUFLEN is too smal.
1625
c3b1bf7d
TS
16262012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1627
1628 [BZ #13553]
1629 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1630 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1631
b1aa60f3
AJ
16322012-04-03 Andreas Jaeger <aj@suse.de>
1633
c3b1bf7d 1634 [BZ #13938]
67f60a26
AJ
1635 * manual/setjmp.texi (System V contexts): Fix sentence.
1636
b1aa60f3
AJ
1637 [BZ #13926]
1638 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1639 New macro for this case.
1640 [!__GNUC__] (__bswap_64): New inline function for this case.
1641 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1642 * bits/byteswap.h: Likewise.
1643 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1644 ull, guard with __GLIBC_HAVE_LONG_LONG.
1645
1646 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1647 __GLIBC_HAVE_LONG_LONG.
1648
1649 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1650 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1651
39c59c35
TMQMF
16522012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1653
1654 [BZ #13691]
1655 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1656 inptr and inend, rather than using last_ch.
1657
135ffda8
DM
16582012-04-02 David S. Miller <davem@davemloft.net>
1659
1660 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1661 * stdio-common/printf-parse.h (read_int): Change return type to
1662 'int', return -1 on INT_MAX overflow.
1663 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1664 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1665 overflows INT_MAX. Check for overflow of in-format-string precision
1666 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1667 SIZE_MAX not INT_MAX for integer overflow test.
1668 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1669 skip the construct in the format string but do not record anything.
1670 * stdio-common/bug22.c: Adjust to test both width/prevision
1671 INT_MAX overflow as well as total length INT_MAX overflow. Check
1672 explicitly for proper errno values.
1673
228c019e
TS
16742012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1675
302cadd3
TS
1676 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1677 CHAR_MAX.
1678 * string/test-strcmp.c [! WIDE]: Likewise.
1679 * time/tst-mktime2.c: Likewise for INT_MAX.
1680 * string/test-string.h: #include <sys/param.h> for MIN.
1681
228c019e
TS
1682 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1683 * sysdeps/i386/init-first.c (init): Likewise.
1684 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1685 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1686 * sysdeps/sh/init-first.c (init): Likewise.
1687
cfa633f5
UD
16882012-04-01 Ulrich Drepper <drepper@gmail.com>
1689
1690 * po/ru.po: Update from translation team.
d1635ef8 1691 * po/vi.po: Likewise.
cfa633f5 1692
6cd0a5ea
SP
16932012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1694
1695 * resolv/nss_dns/dns-host.c: Merge copyright years.
1696
4b43400f
LD
16972012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1698
1699 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1700 Optimize memcpy with prefetch if
1701 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1702 src, dst pointers have unequal 16 byte alignments.
1703
48c41d04
SP
17042012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1705
1706 [BZ #13928]
1707 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1708 from a CNAME entry and return the minimum ttl for the query.
1709 (gaih_getanswer_slice): Likewise.
1710
b8dc394d
JL
17112012-03-30 Jeff Law <law@redhat.com>
1712
1713 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1714 due to long keys.
1715 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1716 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1717
2f5a5ed0
JL
1718 * resolv/nss_dns/dns-host.c: Update copyright year.
1719
1d39e359
UD
17202012-03-30 Ulrich Drepper <drepper@gmail.com>
1721
c030f70c 1722 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 1723 requests to save a system call. Fix check that all bytes are sent.
c030f70c 1724
1d39e359
UD
1725 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1726 comments for sendmmsg.
1727
17282012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
1729
1730 [BZ #13691]
1731 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1732 with only 1 character between 0x0041 and 0x01b0.
1733 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1734 * wcsmbs/tst-mbsnrtowcs.c: New file.
1735
20fde227
DM
17362012-03-29 David S. Miller <davem@davemloft.net>
1737
1738 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1739 small copies by hand.
1740
984a4237
JL
17412012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1742
1743 [BZ #13761]
1744 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1745 _nss_compat_initgroups_dyn): Fall back to malloc/free
1746 for large group memberships.
1747
18c9d62b
DM
17482012-03-28 David S. Miller <davem@davemloft.net>
1749
88d85d4f
DM
1750 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1751 that branches into memcpy.
1752 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1753 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1754 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1755 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1756 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1757 bits.
1758 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1759 implementation too.
1760 * sysdeps/sparc/mempcpy.S: New file.
1761
e5aa83e1
DM
1762 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1763 the IFUNC routine in the libc case.
1764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1765
88570753
DM
1766 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1767 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1768 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1769 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1770 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1771 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1772 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1773 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1774
249d7567
DM
1775 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1776 loop to 256 bytes instead of 64 bytes and fix test signedness.
1777
18c9d62b
DM
1778 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1779 * sysdeps/sparc/sparc32/Makefile: rather than here...
1780 * sysdeps/sparc/sparc64/Makefile: and here.
1781
05f3d1f6
UD
17822012-03-28 Ulrich Drepper <drepper@gmail.com>
1783
1784 * malloc/mallocbug.c: Avoid warnings about unused variables.
1785
86ae07a8
JL
17862012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1787
1788 [BZ #13760]
1789 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1790 in the right place. Discard and retry query if response is
1791 larger than input buffer size.
1792
41bf21a1
JM
17932012-03-28 Joseph Myers <joseph@codesourcery.com>
1794
d6270972
JM
1795 [BZ #369]
1796 [BZ #2678]
1797 [BZ #3866]
1798 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1799 x for large integer exponent.
1800 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1801 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1802 sign of result as needed afterwards.
1803 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1804 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1805 result for underflowing pow the same as for overflow.
1806 (__kernel_standard_l): Handle powl overflow and underflow here
1807 rather than calling __kernel_standard.
1808 * math/libm-test.inc (pow_test): Add more tests.
1809
414fca03 1810 [BZ #3868]
41bf21a1
JM
1811 [BZ #13879]
1812 [BZ #13910]
1813 [BZ #13911]
1814 [BZ #13912]
1815 [BZ #13913]
1816 [BZ #13915]
1817 [BZ #13916]
1818 [BZ #13917]
1819 [BZ #13918]
1820 [BZ #13919]
1821 [BZ #13920]
1822 [BZ #13921]
1823 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1824 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1825 (__kernel_standard_l): New function.
1826 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1827 __kernel_standard.
1828 * math/w_acosl.c (__acosl): Likewise.
1829 * math/w_asinl.c (__asinl): Likewise.
1830 * math/w_atan2l.c (__atan2l): Likewise.
1831 * math/w_atanhl.c (__atanhl): Likewise.
1832 * math/w_coshl.c (__coshl): Likewise.
1833 * math/w_exp10l.c (__exp10l): Likewise.
1834 * math/w_exp2l.c (__exp2l): Likewise.
1835 * math/w_fmodl.c (__fmodl): Likewise.
1836 * math/w_hypotl.c (__hypotl): Likewise.
1837 * math/w_j0l.c (__j0l, __y0l): Likewise.
1838 * math/w_j1l.c (__j1l, __y1l): Likewise.
1839 * math/w_jnl.c (__jnl, __ynl): Likewise.
1840 * math/w_lgammal.c (__lgammal): Likewise.
1841 * math/w_log10l.c (__log10l): Likewise.
1842 * math/w_log2l.c (__log2l): Likewise.
1843 * math/w_logl.c (__logl): Likewise.
1844 * math/w_powl.c (__powl): Likewise.
1845 * math/w_remainderl.c (__remainderl): Likewise.
1846 * math/w_scalbl.c (sysv_scalbl): Likewise.
1847 * math/w_sinhl.c (__sinhl): Likewise.
1848 * math/w_sqrtl.c (__sqrtl): Likewise.
1849 * math/w_tgammal.c (__tgammal): Likewise.
1850 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1851 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1852 * math/libm-test.inc (acos_test): Add more tests.
1853 (acosh_test): Likewise.
1854 (asin_test): Likewise.
1855 (atanh_test): Likewise.
1856 (exp_test): Likewise.
1857 (exp10_test): Likewise.
1858 (exp2_test): Likewise.
1859 (expm1_test): Likewise.
1860 (lgamma_test): Likewise.
1861 (log_test): Likewise.
1862 (log10_test): Likewise.
1863 (log1p_test): Likewise.
1864 (log2_test): Likewise.
1865 (pow_test): Do not allow some spurious overflow exceptions.
1866 (sqrt_test): Add more tests.
1867 (tgamma_test): Likewise.
1868 (y0_test): Likewise.
1869 (y1_test): Likewise.
1870 (yn_test): Likewise.
1871
dd62fda6
AB
18722012-03-27 Anton Blanchard <anton@samba.org>
1873
1874 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1875 MAP_HUGETLB.
1876 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1877 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1878 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1879
1e3cdfda
AJ
18802012-03-27 David S. Miller <davem@davemloft.net>
1881
b855ab85
DM
1882 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1883
1e3cdfda
AJ
1884 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1885 have-as-vis3 check.
1886
18872012-03-27 Andreas Jaeger <aj@suse.de>
1888
1889 * sysdeps/x86_64/elf/configure.in: Moved to ...
1890 * sysdeps/x86_64/configure.in: ... here.
1891 * sysdeps/x86_64/elf/start.S: Moved to ...
1892 * sysdeps/x86_64/start.S: ... here.
1893 * sysdeps/x86_64/elf/configure: Delete.
1894
1895 * sysdeps/x86_64/configure.in: Merge contents from
1896 sysdeps/i386/configure.in (without i686 check).
1897
1898 * sysdeps/i386/elf/Versions: Merge into ...
1899 * sysdeps/i386/Versions: ... this.
1900 * sysdeps/i386/elf/Versions: Delete file.
1901 * sysdeps/i386/elf/start.S: Moved to ...
1902 * sysdeps/i386/start.S: ...here.
1903 * sysdeps/i386/elf/configure.in: Merge into...
1904 * sysdeps/i386/configure.in: ...here.
1905 * sysdeps/i386/elf/configure.in: Delete file.
1906 * sysdeps/i386/elf/configure: Delete file.
1907
1908 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1909 * debug/backtracesyms.c: ... here.
1910 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1911 * debug/backtracesymsfd.c: ... here.
1912 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1913 * sysdeps/generic/ifunc-sel.h: ... here.
1914
1915 * sysdeps/unix/i386/start.c: Delete file.
1916 * sysdeps/unix/sparc/start.c: Delete file.
1917 * sysdeps/unix/start.c: Delete file.
1918
1919 * sysdeps/sh/elf/configure.in: Moved to ...
1920 * sysdeps/sh/configure.in: ... here.
1921 * sysdeps/sh/elf/start.S: Moved to ...
1922 * sysdeps/sh/start.S: ... here.
1923 * sysdeps/sh/elf/configure: Delete file.
1924
1925 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1926 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1927 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1928 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1929 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1930 * sysdeps/powerpc/powerpc64/start.S: here.
1931 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1932 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1933 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1934 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1935 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1936
1937 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1938 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1939 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1940 * sysdeps/powerpc/powerpc32/start.S: ... here.
1941 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1942 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1943 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1944
1945 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1946 * sysdeps/powerpc/ifunc-sel.h: ... here.
1947 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1948 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1949
1950 * sysdeps/sparc/elf/configure.in: Moved to ...
1951 * sysdeps/sparc/configure.in: ... here.
1952 * sysdeps/sparc/elf/configure: Delete file.
1953 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1954 * sysdeps/sparc/sparc32/start.S: ... here.
1955 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1956 * sysdeps/sparc/sparc64/start.S: ... here.
1957 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1958 * sysdeps/sparc/sparc32/Makefile: ... this.
1959 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1960 * sysdeps/sparc/sparc64/Makefile: ... this.
1961
1962 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1963 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1964 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1965 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1966 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1967 * sysdeps/s390/s390-32/setjmp.S: ... here.
1968 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1969 * sysdeps/s390/s390-32/configure.in: ... here.
1970 * sysdeps/s390/s390-32/elf/configure: Delete file.
1971 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1972 * sysdeps/s390/s390-32/start.S: ... here.
1973
1974 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1975 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1976 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1977 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1978 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1979 * sysdeps/s390/s390-64/setjmp.S: ... here.
1980 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1981 * sysdeps/s390/s390-64/configure.in: ... here
1982 * sysdeps/s390/s390-64/elf/configure: Delete file.
1983 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1984 * sysdeps/s390/s390-64/start.S: ... here.
1985 * sysdeps/s390/s390-64/elf/configure: Delete.
1986
1987 * configure.in: Remove support for elf directories in sysdeps.
1988
1989 * configure: Regenerated.
1990 * sysdeps/i386/configure: Regenerated.
1991 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1992 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1993 * sysdeps/s390/s390-32/configure: Regenerated.
1994 * sysdeps/s390/s390-64/configure: Regenerated.
1995 * sysdeps/sh/configure: Regenerated.
1996 * sysdeps/sparc/configure: Regenerated.
1997 * sysdeps/x86_64/configure: Regenerated.
1998
a3f61311
AS
19992012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2000
c876e002
AS
2001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2002
a3f61311
AS
2003 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2004 denormal result into account.
2005
ac4c54f0
RM
20062012-03-25 Roland McGrath <roland@hack.frob.com>
2007
2008 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2009 Reported by Allan McRae <allan@archlinux.org>.
2010
6a9b9c02
JL
20112012-03-23 Jeff Law <law@redhat.com>
2012
2013 * nss/getnssent.c (__nss_getent): Fix typo.
2014
4c42a0c1
DM
20152012-03-23 David S. Miller <davem@davemloft.net>
2016
2017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2018
1532c7ac
L
20192012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2020
2021 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2022 to pad to uint64_t for each field.
2023 (dl_tls_index): Replace unsigned long with uint64_t.
2024
3ff42526
PP
20252012-03-23 Daniel Jacobowitz <dmj@google.com>
2026 Paul Pluzhnikov <ppluzhnikov@google.com>
2027
2028 [BZ #6528]
2029 * grp/Makefile (otherlibs): Don't set it.
2030 * inet/Makefile (otherlibs): Likewise.
2031 * login/Makefile (otherlibs): Likewise.
2032 * nscd/Makefile (otherlibs): Likewise.
2033 * posix/Makefile (otherlibs): Likewise.
2034 * pwd/Makefile (otherlibs): Likewise.
2035 * rt/Makefile (otherlibs): Likewise.
2036 * sunrpc/Makefile (otherlibs): Likewise.
2037 * nss/Makefile (otherlibs): Likewise.
2038 Add libnss_files to routines and static-only-routines.
2039 ($(objpfx)getent): Remove rule.
2040 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2041 static-only-routines.
2042
7c69cd14
JM
20432012-03-22 Joseph Myers <joseph@codesourcery.com>
2044
2045 [BZ #13892]
2046 * math/s_cexp.c: Include <float.h>.
2047 (__cexp): Handle exp result overflowing not necessarily
2048 overflowing both real and imaginary parts of result.
2049 * math/s_cexpf.c: Likewise.
2050 * math/s_cexpl.c: Likewise.
2051 * math/libm-test.inc (cexp_test): Add more tests.
2052 * sysdeps/i386/fpu/libm-test-ulps: Update.
2053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2054
81b035fe
L
20552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2056
2057 * include/link.h (ELFW): New macro.
2058 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2059 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2060
1da7940c
L
20612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2062
2063 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2064 with uint64_t.
2065
b749dbb9
L
20662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2067
2068 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2069 declaration.
2070 (struct La_x32_retval): Likewise.
2071
2ff87f3f
L
20722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2073
2074 * sysdeps/x86_64/preconfigure.in: New file.
2075 * sysdeps/x86_64/preconfigure: New generated file.
2076
c0df8e69
JM
20772012-03-22 Joseph Myers <joseph@codesourcery.com>
2078
48e44791
JM
2079 [BZ #13824]
2080 * math/e_exp2l.c: Include <float.h>.
2081 (__ieee754_exp2l): Handle overflow and underflow cases
2082 separately. Only pass fractional part of argument to
2083 __ieee754_expl.
2084 * math/libm-test.inc (exp2_test): Add more tests.
2085
c0df8e69
JM
2086 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2087 negating x to take absolute value.
2088 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2089 Likewise.
2090 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2091 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2092 Likewise.
2093 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2094 computing low part if x was negated.
2095 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2096
c8e43ba7
L
20972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2098
2099 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2100 la_x32_gnu_pltexit.
2101 (pltexit): Cast int_retval to ptrdiff_t.
2102 * elf/tst-auditmod3b.c: Likewise.
2103 * elf/tst-auditmod4b.c: Likewise.
2104 * elf/tst-auditmod5b.c: Likewise.
2105 * elf/tst-auditmod6b.c: Likewise.
2106 * elf/tst-auditmod6c.c: Likewise.
2107 * elf/tst-auditmod7b.c: Likewise.
2108
2109 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2110 and x32_gnu_pltexit.
2111
2112 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2113 __ELF_NATIVE_CLASS.
2114 (La_x32_regs): New macro.
2115 (La_x32_retval): Likewise.
2116 (la_x32_gnu_pltenter): New function prototype.
2117 (la_x32_gnu_pltexit): Likewise.
2118
7998fa78
AS
21192012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2120
dcb33988
AS
2121 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2122 exponent.
2123
233fc563
AS
2124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2125
7998fa78
AS
2126 * configure.in (libc_cv_cc_nofma): Check for option to disable
2127 generation of FMA instructions.
2128 * configure: Regenerate.
2129 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2130 * sysdeps/ieee754/dbl-64/Makefile: New file.
2131 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2132 Remove brandred-fma4.
2133 (CFLAGS-brandred-fma4.c): Remove.
2134 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2135 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2136 define.
2137 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2138 define.
2139
8e95c99a
L
21402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2141
2142 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2143 LLONG_MAX != LONG_MAX.
2144 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2145 (_fitoa_word): Likewise.
2146 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2147 LLONG_MAX != LONG_MAX.
2148 * stdio-common/_itowa.h: Include <_itoa.h>.
2149 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2150 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2151 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2152 only if not defined.
2153 (_ITOA_WORD_TYPE): Likewise.
2154 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2155 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2156
6f4db457
DM
21572012-03-21 David S. Miller <davem@davemloft.net>
2158
2159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2160
7785fe5a
L
21612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2162
2163 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2164 of x86_64 when setting libc_cv_slibdir, libdir and
2165 libc_cv_localedir.
2166 * sysdeps/unix/sysv/linux/configure: Regenerated.
2167
4535cd55
JM
21682012-03-21 Joseph Myers <joseph@codesourcery.com>
2169
2170 * manual/lang.texi (Old Varargs): Remove section.
2171 (How Variadic): Update menu.
2172 (va_start): Do not mention varargs.h.
2173
17228132
TS
21742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2175 Joseph Myers <joseph@codesourcery.com>
2176
2177 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2178 link test.
2179 * configure: Regenerated.
2180
8149f976
TS
21812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2182
05f3d1f6
UD
2183 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2184 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2185 conformtest.pl
8149f976 2186
1a4ac776
JM
21872012-03-21 Joseph Myers <joseph@codesourcery.com>
2188
be22ce65
JM
2189 * NOTES: Remove.
2190 * Makefile (files-for-dist): Remove NOTES.
2191 (NOTES): Remove rule.
2192 * README: Don't refer to NOTES.
2193 * manual/creature.texi: Don't include macros.texi.
2194 * manual/intro.texi (creature.texi): Remove comment referring to
2195 NOTES.
2196
40b601fb
JM
2197 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2198 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2199 * configure: Regenerated.
2200 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2201 LIBC_TRY_CC_OPTION.
2202 (libc_cv_as_i686): Likewise.
2203 (libc_cv_cc_avx): Likewise.
2204 (libc_cv_cc_sse2avx): Likewise.
2205 (libc_cv_cc_fma4): Likewise.
2206 (libc_cv_cc_novzeroupper): Likewise.
2207 * sysdeps/i386/configure: Regenerated.
2208
1a4ac776
JM
2209 [BZ #13883]
2210 * sysdeps/i386/fpu/s_cexp.S: Remove.
2211 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2212 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2213 * math/libm-test.inc (cexp_test): Add more tests.
2214 * sysdeps/i386/fpu/libm-test-ulps: Update.
2215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2216
a458e7fe
AM
22172012-03-21 Allan McRae <allan@archlinux.org>
2218
2219 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2220
0cb7efc5
JM
22212012-03-21 Joseph Myers <joseph@codesourcery.com>
2222
2223 [BZ #13871]
2224 * math/w_exp2.c: Do not include <float.h>.
2225 (o_threshold, u_threshold): Remove.
2226 (__exp2): Calculate result before checking finiteness and calling
2227 __kernel_standard.
2228 * math/w_exp2f.c: Likewise.
2229 * math/w_exp2l.c: Likewise.
2230 * math/libm-test.inc (exp2_test): Require overflow exception for
2231 1e6 input.
2460d3aa
JM
2232
2233 [BZ #3866]
2234 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2235 range of signed 64-bit integers before using fistpll. Remove
2236 checks for whether integers fit in mantissa bits.
2237 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2238 the range of signed 32-bit integers before using fistpl. Remove
2239 checks for whether integers fit in mantissa bits.
2240 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2241 (__ieee754_powl): Test for y outside the range of signed 64-bit
2242 integers before using fistpll. Reduce 64-bit values to 63-bit
2243 ones as needed.
2244 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2245 divide-by-zero is raised for zero to large negative powers.
2246 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2247 (__ieee754_powl): Test for y outside the range of signed 64-bit
2248 integers before using fistpll. Reduce 64-bit values to 63-bit
2249 ones as needed.
2250 * math/libm-test.inc (pow_test): Add more tests.
2251
eb96ffb0
L
22522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2253
2254 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2255 <stdio-common/_itoa.h>.
2256 * debug/segfault.c: Likewise.
2257 * elf/dl-cache.c: Likewise.
2258 * elf/dl-minimal.c: Likewise.
2259 * elf/dl-misc.c: Likewise.
2260 * elf/dl-sysdep.c: Likewise.
2261 * elf/dl-version.c: Likewise.
2262 * elf/rtld.c: Likewise.
2263 * hurd/hurdsock.c: Likewise.
2264 * hurd/lookup-retry.c: Likewise.
2265 * malloc/malloc.c: Likewise.
2266 * malloc/mtrace.c: Likewise.
2267 * nscd/nscd_getgr_r.c: Likewise.
2268 * nscd/nscd_getpw_r.c: Likewise.
2269 * nscd/nscd_getserv_r.c: Likewise.
2270 * posix/getopt_init.c: Likewise.
2271 * posix/wordexp.c: Likewise.
2272 * stdio-common/_itoa.c: Likewise.
2273 * stdio-common/printf_fphex.c: Likewise.
2274 * stdio-common/vfprintf.c: Likewise.
2275 * string/_strerror.c: Likewise.
2276 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2277 * sysdeps/i386/i686/hp-timing.h: Likewise.
2278 * sysdeps/mach/_strerror.c: Likewise.
2279 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2280 * sysdeps/mach/hurd/sethostid.c: Likewise.
2281 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2282 * sysdeps/mach/xpg-strerror.c: Likewise.
2283 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2284 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2285 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2286 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2287 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2288 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2289 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2290 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2291 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2292 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2293 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2294 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2295 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2296 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2297 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2298 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2299 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2300 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2301 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2302 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2303 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2304
2305 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2306
2307 * stdio-common/_itoa.h: Moved to ...
2308 * sysdeps/generic/_itoa.h: Here.
2309
2310 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2311
2312 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2313 instead of "_itoa.h" and "_itowa.h".
2314 * stdio-common/vfprintf.: Likewise.
2315
d1af992d
L
23162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2317
2318 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2319 <bits/wordsize.h>.
2320 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2321 (__signbit): Likwise.
2322 (llrintf): Likwise.
2323 (llrint): Likwise.
2324
114883e0
L
23252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2326
2327 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2328 __WORDSIZE != 64.
2329
c135cc1b
JM
23302012-03-20 Joseph Myers <joseph@codesourcery.com>
2331
2332 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2333 OVERFLOW_EXCEPTION_OK.
2334 * math/libm-test.inc ("Philosophy"): Update comment about
2335 exception testing.
2336 (OVERFLOW_EXCEPTION): Define.
2337 (OVERFLOW_EXCEPTION_OK): Likewise.
2338 (INVALID_EXCEPTION_OK): Renumber.
2339 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2340 (IGNORE_ZERO_INF_SIGN): Likewise.
2341 (test_exceptions): Handle FE_OVERFLOW.
2342 (exp10_test): Expect overflow exceptions.
2343 (exp2_test): Likewise.
2344 (expm1_test): Likewise.
2345 (nextafter_test): Likewise.
2346 (pow_test): Likewise.
2347 (scalbn_test): Likewise.
2348 (scalbln_test): Likewise.
2349
95443d88
L
23502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2351
2352 * sysdeps/x86_64/bits/atomic.h
2353 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2354 64bit integer.
2355 (atomic_exchange_acq): Likewise.
2356 (__arch_exchange_and_add_body): Likewise.
2357 (__arch_add_body): Likewise.
2358 (atomic_add_negative): Likewise.
2359 (atomic_add_zero): Likewise.
2360
490df6c4
L
23612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2362
c2722551 2363 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2364 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2365
5e52b189
L
23662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2367
2368 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2369 Check __x86_64__ instead of __WORDSIZE.
2370
a9879d4c
L
23712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2372
2373 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2374
5df98260
DM
23752012-03-19 David S. Miller <davem@davemloft.net>
2376
e1497744
DM
2377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2378
5df98260
DM
2379 * sysdeps/sparc/fpu/fenv_private.h: New file.
2380 * sysdeps/sparc/fpu/math_private.h: Use it.
2381 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2382 Remove.
2383 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2384 (libc_feholdexcept_setroundl): Remove.
2385 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2386 Remove.
2387 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2388 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2389
b4c35121
L
23902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2391
2392 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2393 int64_t instead of long int.
2394 (INSERT_WORDS64): Likwise.
2395
56965fd7
L
23962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2397
2398 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2399 _Unwind_GetCFA return to _Unwind_Ptr first.
2400
83d1aec8
JM
24012012-03-19 Joseph Myers <joseph@codesourcery.com>
2402
1897ad44
JM
2403 [BZ #13629]
2404 * math/s_clog.c: Include <float.h>.
2405 (__clog): Scale large or subnormal inputs.
2406 * math/s_clogf.c: Likewise.
2407 * math/s_clogl.c: Likewise.
2408 * math/s_clog10.c: Include <float.h>.
2409 (M_LOG10_2): Define.
2410 (__clog10): Scale large or subnormal inputs.
2411 * math/s_clog10f.c: Likewise.
2412 * math/s_clog10l.c: Likewise.
2413 * math/libm-test.inc (clog_test): Add more tests.
2414 (clog10_test): Likewise.
2415 * sysdeps/i386/fpu/libm-test-ulps: Update.
2416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2417
7726d6a9
JM
2418 [BZ #11451]
2419 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2420 x and y.
2421 * math/libm-test.inc (atan2_test): Add another test.
2422
83d1aec8
JM
2423 * Makerules (common-objdir-compile): Remove.
2424 * sysdeps/unix/Makefile (config-generated): Do not add
2425 $(unix-generated) to variable.
2426 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2427 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2428 Remove rule.
2429 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2430 Likewise.
2431 [generic bits/local_lim.h] (before-compile): Do not append to
2432 variable.
2433 [generic bits/local_lim.h] (common-generated): Likewise.
2434 [generic sys/param.h] (before-compile): Do not append to variable.
2435 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2436 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2437 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2438 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2439 include.
2440 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2441 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2442 [generic sys/param.h] ($(addprefix
2443 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2444 [generic sys/param.h] (common-generated): Do not append to
2445 variable.
2446 [generic sys/param.h] (sysdep_headers): Likewise.
2447 [generic bits/errno.h] (before-compile): Do not append to
2448 variable.
2449 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2450 rule.
2451 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2452 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2453 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2454 [generic bits/errno.h] (common-generated): Do not append to
2455 variable.
2456 [generic bits/ioctls.h] (before-compile): Do not append to
2457 variable.
2458 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2459 rule.
2460 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2461 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2462 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2463 rule.
2464 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2465 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2466 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2467 [generic bits/ioctls.h] (common-generated): Do not append to
2468 variable.
2469 [generic sys/syscall.h] (syscall.h): Remove variable.
2470 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2471 rule.
2472 [generic sys/syscall.h] (before-compile): Do not append to
2473 variable.
2474 [generic sys/syscall.h] (common-generated): Likewise.
2475 * sysdeps/unix/errnos-tmpl.c: Remove file.
2476 * sysdeps/unix/errnos.awk: Likewise.
2477 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2478 * sysdeps/unix/ioctls.awk: Likewise.
2479 * sysdeps/unix/mk-local_lim.c: Likewise.
2480 * sysdeps/unix/snarf-ioctls: Likewise.
2481
4851a949
RH
24822012-03-19 Richard Henderson <rth@twiddle.net>
2483
bd37f2ee
RH
2484 * sysdeps/i386/fpu/fenv_private.h: New file.
2485 * sysdeps/i386/fpu/math_private.h: Use it.
2486 (math_opt_barrier, math_force_eval): Remove.
2487 (libc_feholdexcept_setround_53bit): Remove.
2488 (libc_feupdateenv_53bit): Remove.
2489 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2490 (math_opt_barrier, math_force_eval): Remove.
2491 (libc_feholdexcept): Remove.
2492 (libc_feholdexcept_setround): Remove.
2493 (libc_fetestexcept, libc_fesetenv): Remove.
2494 (libc_feupdateenv_test): Remove.
2495 (libc_feupdateenv, libc_feholdsetround): Remove.
2496 (libc_feresetround): Remove.
2497
d0adc922
RH
2498 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2499 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2500
0fe0f1f8
RH
2501 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2502 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2503 (libc_feupdateenv_testl): New.
2504 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2505 (libc_feupdateenv_testf): New.
2506 (libc_feupdateenv): Use libc_feupdateenv_test.
2507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2508 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2509
eb92c487
RH
2510 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2511 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2512 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2513 (libc_feresetround_noex): New.
2514 (libc_feresetround_noexf): New.
2515 (libc_feresetround_noexl): New.
2516 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2517 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2518 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2519 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2520 SET_RESTORE_ROUND.
2521 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2522 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2523 (__cos): Likewise.
2524 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2525 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2526 SET_RESTORE_ROUND_NOEX.
2527 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2528 SET_RESTORE_ROUND_NOEXF.
2529 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2530 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2531 (libc_feholdsetroundf): New.
2532 (libc_feresetround, libc_feresetroundf): New.
2533
7d2e8012
RH
2534 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2535 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2536 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2537
b4dabbb4
RH
2538 * sysdeps/generic/math_private.h: Include <fenv.h>.
2539 (default_libc_feholdexcept): New.
2540 (default_libc_feholdexcept_setround): New.
2541 (default_libc_fesetenv, default_libc_feupdateenv): New.
2542 (libc_feholdexcept): Only define if undefined.
2543 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2544 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2545 (libc_feholdexcept_setroundl): Likewise.
2546 (libc_feholdexcept_setround_53bit): Likewise.
2547 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2548 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2549 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2550 (libc_feupdateenv_53bit): Likewise.
2551 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2552 (libc_feholdexcept): Convert from macro to inline function.
2553 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2554 (libc_fesetenv, libc_feupdateenv): Likewise.
2555
4851a949
RH
2556 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2557 not previously defined.
2558 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2559 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2560 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2561 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2562 * sysdeps/ieee754/flt-32/math_private.h: New file.
2563 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2564 math_private.h below SET_FLOAT_WORD.
2565 (__isnan, __isinf_ns, __finite): Remove.
2566 (__isnanf, __isinf_nsf, __finitef): Remove.
2567
e79d442e
AS
25682012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2569
2570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2571
90b80344
DM
25722012-03-17 David S. Miller <davem@davemloft.net>
2573
2574 [BZ #6471]
2575 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2576 for 2.16.
2577
edc21804
DM
25782012-03-16 David S. Miller <davem@davemloft.net>
2579
77e927af
DM
2580 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2581 warnings.
2582
374976dd
DM
2583 [BZ #6471]
2584 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2585 properly.
2586 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2587 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2588 sysdep_routines when subdir is sysvipc.
2589 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2590 __getshmlba helper.
2591
edc21804
DM
2592 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2593
473c3ef3
L
25942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2595
2596 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2597 [__LP64__].
2598
eb0f39b6
L
25992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2600
2601 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2602 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2603 (__lround): Renamed to ...
2604 (__llround): This. Replace long int with long long int.
2605 Define lround functions as aliases of llround functions.
2606 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2607
6b6cd74b
L
26082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2609
2610 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2611 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2612 adresses to uintptr_t. Replace "long int" and "unsigned long
2613 int" with "greg_t" on va_arg.
2614
f1a77b01
L
26152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2616
2617 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2618 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2619
2620 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2621 Move e_machine check before EI_CLASS check. Handle x32
2622 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2623 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2624 SKIP_EM_IA_64 and include
2625 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2626
2627 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2628 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2629 (add_system_dir): New macro.
2630
2631 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2632 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2633
11b90b9f
JM
26342012-03-16 Joseph Myers <joseph@codesourcery.com>
2635
c36e1d23
JM
2636 [BZ #2551]
2637 [BZ #2552]
2638 [BZ #2553]
2639 [BZ #2554]
2640 [BZ #2562]
2641 [BZ #2563]
2642 [BZ #2565]
2643 [BZ #2566]
2644 [BZ #2576]
2645 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2646 (y0): Likewise.
2647 * math/w_j0f.c (j0f): Likewise.
2648 (y0f): Likewise.
2649 * math/w_j0l.c (__j0l): Likewise.
2650 (__y0l): Likewise.
2651 * math/w_j1.c (j1): Likewise.
2652 (y1): Likewise.
2653 * math/w_j1f.c (j1f): Likewise.
2654 (y1f): Likewise.
2655 * math/w_j1l.c (__j1l): Likewise.
2656 (__y1l): Likewise.
2657 * math/w_jn.c (jn): Likewise.
2658 (yn): Likewise.
2659 * math/w_jnf.c (jnf): Likewise.
2660 (ynf): Likewise.
2661 * math/w_jnl.c (__jnl): Likewise.
2662 (__ynl): Likewise.
2663 * math/libm-test.inc (j0_test): Add more tests.
2664 (j1_test): Likewise.
2665 (jn_test): Likewise. Add trailing semicolon to existing test.
2666 (y0_test): Likewise.
2667 (y1_test): Likewise.
2668 * sysdeps/i386/fpu/libm-test-ulps: Update.
2669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2670
11b90b9f
JM
2671 [BZ #13851]
2672 [BZ #13854]
2673 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2674 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2675 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2676 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2677 (__tanl): Set errno for infinite argument.
2678 * sysdeps/i386/fpu/mptan.c: Remove.
2679 * sysdeps/i386/fpu/s_tan.S: Likewise.
2680 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2681 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2682 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2683 * math/libm-test.inc (tan_test): Add more tests and enable more
2684 tests for double and long double.
2685 * sysdeps/i386/fpu/libm-test-ulps: Update.
2686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2687
6a1bd2a1
JK
26882012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2689
2690 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2691 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2692
10a803e0
RM
26932012-03-16 Roland McGrath <roland@hack.frob.com>
2694
2695 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2696 * configure.in: Use it for both main tree and add-ons.
2697 * configure: Regenerated.
2698
f196c7f7
L
26992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2702
8848d99d
JM
27032012-03-16 Joseph Myers <joseph@codesourcery.com>
2704
96cbe7f4
JM
2705 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2706 in comment.
2707
8848d99d
JM
2708 [BZ #13851]
2709 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2710 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2711 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2712 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2713 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2714 infinite argument.
2715 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2716 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2717 != 0 for prec == 2.
2718 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2719 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2720 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2721 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2722 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2723 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2724 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2725 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2726 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2727 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2728 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2729 * math/libm-test.inc (cos_test): Add more tests and enable more
2730 tests for long double.
2731 (sin_test): Likewise.
2732 (sincos_test): Likewise.
2733 * sysdeps/i386/fpu/libm-test-ulps: Update.
2734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2735
dd7f4703
DM
27362012-03-16 David S. Miller <davem@davemloft.net>
2737
2738 * sysdeps/sparc/fpu/math_private.h: New file.
2739
006f1daa
DM
27402012-03-15 David S. Miller <davem@davemloft.net>
2741
c0c83bc8
DM
2742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2743 file.
e6a62e18 2744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
2745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2746 file.
e6a62e18
DM
2747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2752 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2753 sysdep routines.
2754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2755
88cb87d9
DM
2756 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2757 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2758
006f1daa 2759 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
2760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2761 sparc-ifunc.h
006f1daa 2762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
2763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2764 Likewise.
2765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2766 Likewise.
006f1daa
DM
2767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
2770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2771 Likewise.
006f1daa
DM
2772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
2776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2777 Likewise.
2778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2779 Likewise.
006f1daa
DM
2780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2786 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2787 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2798 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2799 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2800 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2804
11e0098e
AS
28052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2806
2807 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2808 scaling.
2809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2810
e85b09d0
AJ
28112012-03-15 Andreas Jaeger <aj@suse.de>
2812
2813 [BZ #13852]
2814 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2815 ieee754/flt-32 implementation for sin, cos and sincos.
2816 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2817 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2818 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2819 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2820 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2821 ieee754/flt-32 implementation for tan.
2822
2823 * math/libm-test.inc (cos_test): Enable some large input tests for
2824 float as well
2825 (sin_test): Likewise.
2826 (sincos_test): Likewise.
2827 (tan_test): Add tests for large input.
2828
2829 * sysdeps/i386/fpu/libm-test-ulps: Update.
2830
81c64153
AJ
28312012-03-15 Andreas Jaeger <aj@suse.de>
2832
2833 [BZ #13658]
2834 * math/libm-test.inc (cos_test): Add more test cases.
2835 (sin_test): Likewise.
2836 (sincos_test): Likewise.
2837
7bbfa5c6
AJ
28382012-03-15 Andreas Jaeger <aj@suse.de>
2839
2840 [BZ #13837]
2841 * math/libm-test.inc (cos_test): Add a test case for large input
2842 value.
2843 (sin_test): Likewise.
2844 (sincos_test): Likewise.
2845
28462012-03-15 Andreas Jaeger <aj@suse.de>,
2847 Joseph Myers <joseph@codesourcery.com>
2848
2849 [BZ #13658]
0671f479 2850 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
2851 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2852 * sysdeps/i386/fpu/branred.c: Likewise.
2853 * sysdeps/i386/fpu/dosincos.c: Likewise.
2854 * sysdeps/i386/fpu/mpa.c: Likewise.
2855 * sysdeps/i386/fpu/s_cos.S: Likewise.
2856 * sysdeps/i386/fpu/s_sin.S: Likewise.
2857 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2858 * sysdeps/i386/fpu/sincos32.c: Likewise.
2859
2860 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2861 Define.
2862 (libc_feupdateenv_53bit): Define.
2863 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2864 Define.
2865 (libc_feupdateenv_53bit): Define.
2866
2867 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2868 53 bit (without extend i386 double precision).
2869
2870 * math/libm-test.inc (sincos_test): Add tests for large input.
2871 (sin): Likewise.
2872 (cos): Likewise.
2873
2874 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2875
9cad04ea
AS
28762012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2877
2878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2879
f7062b9a
DM
28802012-03-15 David S. Miller <davem@davemloft.net>
2881
2882 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2883 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2884 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2885 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
2897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2898 file.
f7062b9a 2899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
2900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2901 file.
f7062b9a 2902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
2903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2904 file.
f7062b9a 2905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
2906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2907 file.
f7062b9a
DM
2908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2909 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2910 fmin/fmax sysdep routines.
2911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2912
7bd951ff
DM
29132012-03-14 David S. Miller <davem@davemloft.net>
2914
559398ab
DM
2915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2919 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2920 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2921 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2922 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2942 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2943 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2944 routines.
2945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2946 file.
559398ab 2947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
2948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2949 file.
559398ab 2950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
2951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2952 file.
559398ab 2953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
2954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2955 file.
559398ab 2956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
2957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2958 file.
559398ab 2959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
2960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2961 file.
2962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2963 file.
2964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2965 file.
2966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2967 file.
2968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2969 New file.
2970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2971 file.
2972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2973 file.
559398ab 2974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
2975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2976 file.
559398ab 2977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2979 file.
559398ab 2980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
2981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2982 file.
559398ab 2983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
2984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2985 VIS3 routines.
559398ab
DM
2986
2987 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2988 New file.
2989
5a1c1e32
DM
2990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2991
eae47a36
DM
2992 * sysdeps/sparc/configure.in: New file.
2993 * sysdeps/sparc/configure: Generate.
2994 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2995 * configure: Regenerate.
2996 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2997 * config.make.in (have-as-vis3): New.
2998 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2999 available use -Av9d instead of -Av9a.
3000 * sysdeps/sparc/sparc64/Makefile: Likewise.
3001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3003 New file.
3004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3005 file.
3006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3007 New file.
3008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3009 file.
eae47a36
DM
3010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3011 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3012 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3013 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3014 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3015
c0c83bc8
DM
3016 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3017 fzeros/fnegs to load 0x80000000 into a float register instead of
3018 using the stack.
7bd951ff
DM
3019 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3020
bd951ccb
JM
30212012-03-14 Joseph Myers <joseph@codesourcery.com>
3022
3023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3024 bits/syscall.h.
3025 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3026 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3027 ($(inst_includedir)/bits/syscall.h): Remove rule.
3028 ($(objpfx)bits/syscall.d): Include instead of
3029 $(objpfx)syscall-list.d.
3030 (generated): Change syscall-list.h and syscall-list.d to
3031 bits/syscall.h and bits/syscall.d.
3032
bb4e6db2
RM
30332012-03-14 Roland McGrath <roland@hack.frob.com>
3034
3035 [BZ #13846]
3036 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3037
aa4a2ae1
JM
30382012-03-14 Joseph Myers <joseph@codesourcery.com>
3039
e456826d
JM
3040 [BZ #13841]
3041 * math/s_csqrt.c: Include <float.h>.
3042 (__csqrt): Scale large or subnormal inputs.
3043 * math/s_csqrtf.c: Likewise.
3044 * math/s_csqrtl.c: Likewise.
3045 * math/libm-test.inc (csqrt_test): Add more tests.
3046 * sysdeps/i386/fpu/libm-test-ulps: Update.
3047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3048
aa4a2ae1
JM
3049 [BZ #13840]
3050 * math/libm-test.inc (hypot_test): Add more tests.
3051
7c10fd35
DM
30522012-03-13 David S. Miller <davem@davemloft.net>
3053
3054 [BZ #13840]
3055 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3056 double-precision for the calculation instead of scaling.
3057
f453b98b
JM
30582012-03-13 Joseph Myers <joseph@codesourcery.com>
3059
3060 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3061 manipulate bits before adding and subtracting TWO52[sx].
3062 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3063 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3064 Likewise.
3065 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3066
09a3453f
DM
30672012-03-13 David S. Miller <davem@davemloft.net>
3068
8e59da90
DM
3069 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3070 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3072 rtld-global-offsets.h
3073 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3074
2a8ab7f2
DM
3075 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3076 large parameters.
3077
10f62770
DM
3078 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3079
5f0bdb18
DM
3080 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3081 'err' in the ifdef scope in which it is actually used.
3082
09a3453f
DM
3083 * nss/nss_db/db-init.c: Include string.h
3084
b4b2eb5e
DM
30852012-03-12 David S. Miller <davem@davemloft.net>
3086
98bb2f1c
DM
3087 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3088 masking out of the most significant byte of random value used.
3089 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3090 Fix coding style in previous change.
3091
b4b2eb5e
DM
3092 * sysdeps/unix/sysv/linux/kernel-features.h
3093 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3094 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3095 expression.
3096 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3097 later.
3098
6e226b09
DM
30992012-03-11 David S. Miller <davem@davemloft.net>
3100
a1bcbd40
DM
3101 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3102 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3103 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3104 for 'resultvar' otherwise things get truncated on 64-bit.
3105
cb9d6174
DM
3106 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3107 Fix masking out of the most significant byte of random value used.
3108
6e226b09
DM
3109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3110
058c132d
AS
31112012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3112
3113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3114
2d2cd515
DM
31152012-03-09 David S. Miller <davem@davemloft.net>
3116
3117 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3118 variables with appropriate CPP guards.
3119 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3120 frame pointer, not the stack pointer. Correct layout comments. Fix test
3121 on resulting framesize and the management of the outregs buffer for pltexit.
3122 Preserve floating point return values across _dl_call_pltexit call.
3123 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3124 framesize and the management of the outregs buffer for pltexit.
3125 Preserve floating point return values across _dl_call_pltexit
3126 call.
3127 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3128 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3129 (print_exit): Fix format string for return register value.
3130
9a07f9d0
JM
31312012-03-10 Joseph Myers <joseph@codesourcery.com>
3132
3133 * sunrpc/Makefile (others): Add rpcgen.
3134 ($(objpfx)rpcgen): Remove special build rule and dependency on
3135 libc.
3136 * sunrpc/rpcgen.c: New file.
3137
547b5e30
PE
31382012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3139
c524201a
PE
3140 [BZ #13673]
3141 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3142 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3143 * sysdeps/i386/crti.S: Likewise.
3144 * sysdeps/i386/crtn.S: Likewise.
3145 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3146 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3147 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3148 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3149 * sysdeps/sh/crti.S: Likewise.
3150 * sysdeps/sh/crtn.S: Likewise.
3151 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3152
7b6235f2
PE
3153 [BZ #13673]
3154 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3155 with URL.
3156 * locale/programs/locfile-kw.gperf: Likewise.
3157 * locale/programs/charmap-kw.h: Regenerated.
3158 * locale/programs/locfile-kw.h: Likewise.
3159
547b5e30
PE
3160 [BZ #13673]
3161 * intl/plural.y: Replace FSF snail mail address with URL.
3162 * intl/plural.c: Regenerated.
3163
5f0a5dae
RH
31642012-03-09 Richard Henderson <rth@twiddle.net>
3165
3166 * include/math_private.h: Remove file.
3167 * math/math_private.h: Move file ...
3168 * sysdeps/generic/math_private.h: ... here.
3169
b8c03620
RH
3170 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3171 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3172 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3173
4e234f5d 3174 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3175 and <math_private.h>.
3176 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3177 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3178 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3179 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3180 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3181 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3182 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3184 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3185 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3186 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3187 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3188 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3189 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3190 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3191 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3192 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3193 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3194 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3195 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3197 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3198 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3200 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3201 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3202 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3203 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3204 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3205 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3206 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3207 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3208 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3209 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3210 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3211 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3212 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3213 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3214 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3215 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3216 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3217 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3218 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3219 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3220 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3221 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3222 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3223 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3224 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3225 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3226 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3227 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3228 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3229 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3230 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3231 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3232 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3233 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3234 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3235 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3236 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3237 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3238 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3239 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3240 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3241 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3242 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3243 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3244 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3245 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3246 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3247 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3248 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3249 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3250 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3252 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3253 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3254 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3255 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3256 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3257 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3258 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3259 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3260 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3261 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3262 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3263 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3264 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3265 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3266 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3267 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3268 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3269 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3270 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3271 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3272 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3273 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3274 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3275 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3276 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3277 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3278 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3279 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3280 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3281 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3282 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3283 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3284 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3285 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3286 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3287 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3288 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3289 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3290 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3291 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3292 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3293 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3294 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3295 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3296 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3297 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3298 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3299 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3300 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3301 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3302 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3303 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3304 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3305 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3306 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3307 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3308 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3309 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3310 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3311 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3312 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3313 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3314 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3315 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3316 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3317 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3318 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3319 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3320 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3321 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3322 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3323 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3324 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3325 * sysdeps/ieee754/k_standard.c: Likewise.
3326 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3327 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3328 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3329 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3330 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3331 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3332 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3333 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3334 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3335 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3336 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3337 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3338 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3339 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3340 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3341 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3342 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3343 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3344 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3345 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3346 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3347 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3348 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3349 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3350 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3351 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3352 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3353 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3354 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3355 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3356 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3357 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3359 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3360 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3361 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3362 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3363 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3364 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3365 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3366 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3367 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3368 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3369 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3370 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3371 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3372 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3373 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3374 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3376 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3378 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3379 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3381 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3383 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3384 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3385 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3386 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3387 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3388 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3389 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3390 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3391 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3392 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3393 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3394 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3395 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3396 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3397 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3398 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3399 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3400 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3401 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3402 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3403 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3404 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3405 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3406 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3407 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3408 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3409 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3410 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3411 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3412 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3413 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3414 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3415 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3416 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3417 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3418 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3419 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3420 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3421 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3422 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3423 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3424 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3425 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3426 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3427 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3428 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3429 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3430 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3431 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3432 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3433 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3434 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3435 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3436 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3437 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3438 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3439 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3440 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3441 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3442 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3443 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3444 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3445 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3446 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3447 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3448 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3449 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3450 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3451 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3452 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3453 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3454 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3455 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3456 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3457 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3458 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3459 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3460 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3461 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3462 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3463 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3464 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3465 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3466 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3467 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3468 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3469 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3470 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3471 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3472 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3473 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3474 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3475 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3476 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3477 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3478 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3479 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3480 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3481 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3482 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3483 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3484 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3485 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3486 * sysdeps/ieee754/s_lib_version.c: Likewise.
3487 * sysdeps/ieee754/s_matherr.c: Likewise.
3488 * sysdeps/ieee754/s_signgam.c: Likewise.
3489 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3490 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3491 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3492 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3493 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3494 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3495 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3496 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3497 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3498 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3499 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3500 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3501 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3502 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3503 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3504 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3505 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3506 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3507 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3508 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3509 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3510
1991fa03
JM
35112012-03-09 Joseph Myers <joseph@codesourcery.com>
3512
3513 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3514 * sunrpc/rpc_main.c: Likewise.
3515 * sunrpc/rpc_svcout.c: Likewise.
3516
60d6f5a6
DM
35172012-03-09 David S. Miller <davem@davemloft.net>
3518
3519 * include/math_private.h: New file.
3520
4962050e
JM
35212012-03-09 Joseph Myers <joseph@codesourcery.com>
3522
02a6f887
JM
3523 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3524 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3525 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3526 from <bits/socket_type.h>.
3527 (enum __socket_type): Don't define here.
3528 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3530 bits/socket_type.h.
3531
c6e013c1
JM
3532 [BZ #13566]
3533 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3534 checking __USE_GNU.
3535
4962050e
JM
3536 * Makerules ($(inst_includedir)/%.h): New rule.
3537 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3538 (install-others): Remove variable setting.
3539 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3540
38842f45
RH
35412012-03-08 Richard Henderson <rth@twiddle.net>
3542
67bb6da6
RH
3543 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3544 from macro to inline function; merge with the
3545 !__LIBC_INTERNAL_MATH_INLINES version.
3546 (__ieee754_sqrtf): Likewise.
3547
15194b4b
RH
3548 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3549 to inline function.
3550 (__rintf, __floor, __floorf): Likewise.
3551
64e21ede
RH
3552 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3553 macro to inline function.
3554 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3555
38842f45
RH
3556 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3557 not <math/math_private.h>.
3558
c64bf5fe
DM
35592012-03-08 David S. Miller <davem@davemloft.net>
3560
3561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3562 copyright year.
3563 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3564
82d86f28
TS
35652012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3566
3567 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3568 normalization.
3569 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3570 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3571
aea5d727
UD
35722012-03-08 Ulrich Drepper <drepper@gmail.com>
3573
3574 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3575 be defined individually, they must be defined as a block. Define
3576 S for printing a string instead of hidint the different by using a
3577 macro for adding the 'l'.
3578 * stdio-common/tst-fphex-wide.c: Adjust.
3579
70bca0a3
MP
35802012-03-07 Marek Polacek <polacek@redhat.com>
3581
3582 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3583
65b81130
MP
35842012-03-08 Marek Polacek <polacek@redhat.com>
3585
3586 [BZ #13806]
3587 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3588 * stdio-common/tst-fphex.c: Define a few macros to make the
3589 test reusable. Use them.
3590 * stdio-common/tst-fphex-wide.c: New file.
3591
07037eeb
JM
35922012-03-08 Joseph Myers <joseph@codesourcery.com>
3593
a7a93d50
JM
3594 [BZ #6911]
3595 * manual/macros.texi (gnusystems): New macro.
3596 (nongnusystems): Likewise.
3597 (gnulinuxhurdsystems): Likewise.
3598 (gnuhurdsystems): Likewise..
3599 (gnulinuxsystems): Likewise.
3600 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3601 variants of the GNU system, not "GNU system".
3602 * manual/conf.texi: Likewise.
3603 * manual/errno.texi: Likewise. Update example of errno macro
3604 expansion.
3605 * manual/filesys.texi: Likewise.
3606 (getumask): Document as specific to GNU/Hurd.
3607 * manual/install.texi: Likewise. Reword some references to
3608 GNU/Linux.
3609 * manual/intro.texi: Likewise.
3610 * manual/io.texi: Likewise.
3611 (File Name Portability): Detail which constraints are inapplicable
3612 to all GNU systems and which are only inapplicable to GNU/Hurd.
3613 * manual/job.texi: Likewise.
3614 * manual/llio.texi: Likewise.
3615 (O_NOCTTY): Document as present on GNU/Linux.
3616 * manual/maint.texi: Likewise.
3617 * manual/memory.texi: Likewise.
3618 * manual/pattern.texi: Likewise.
3619 * manual/pipe.texi: Likewise.
3620 * manual/process.texi: Likewise.
3621 * manual/resource.texi: Likewise.
3622 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3623 child on GNU/Hurd.
3624 * manual/setjmp.texi: Likewise.
3625 * manual/signal.texi: Likewise.
3626 * manual/startup.texi: Likewise.
3627 * manual/stdio.texi: Likewise.
3628 * manual/terminal.texi: Likewise.
3629 (ONLCR): Document as POSIX.
3630 (OXTABS): Document availability on GNU/Linux as XTABS.
3631 (ONOEOT): Document availability separately from other bits.
3632 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3633 * manual/time.texi: Likewise.
3634 * manual/users.texi: Likewise.
3635 * INSTALL: Regenerated.
3636 * sysdeps/gnu/errlist.c: Regenerated.
3637
07037eeb
JM
3638 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3639 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3640 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3641 puts.
3642 * configure: Regenerated.
3643
d1d3431a
JM
36442012-03-07 Joseph Myers <joseph@codesourcery.com>
3645
af6a1e37
JM
3646 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3647 default includes instead of AC_HEADER_CHECK.
3648 * sysdeps/i386/configure: Regenerated.
3649
d1d3431a
JM
3650 [BZ #10716]
3651 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3652 * math/s_cacoshf.c (__cacoshf): Likewise.
3653 * math/s_cacoshl.c (__cacoshl): Likewise.
3654 * math/s_casinh.c (__casinh): Set signs of result from argument.
3655 * math/s_casinhf.c (__casinhf): Likewise.
3656 * math/s_casinhl.c (__casinhl): Likewise.
3657 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3658 (casinh_test): Add more tests.
3659 * sysdeps/i386/fpu/libm-test-ulps: Update.
3660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3661
482ff4da
UD
36622012-03-07 Ulrich Drepper <drepper@gmail.com>
3663
872fda05
UD
3664 * po/zh_TW.po: Update from translation team.
3665
a4300c7a
UD
3666 * login/Makefile (distribute): Remove variable.
3667 * catgets/Makefile: Likewise.
3668 * mach/Makefile: Likewise.
3669 * malloc/Makefile: Likewise.
3670 * misc/Makefile: Likewise.
3671 * iconv/Makefile: Likewise.
3672 * nscd/Makefile: Likewise.
3673 * hurd/Makefile: Likewise.
3674 * manual/Makefile: Likewise.
3675 * locale/Makefile: Likewise.
3676 * intl/Makefile: Likewise.
3677 * conform/Makefile: Likewise.
3678 * nss/Makefile: Likewise.
3679 * time/Makefile: Likewise.
3680 * soft-fp/Makefile: Likewise.
3681 * dirent/Makefile: Likewise.
3682 * gmon/Makefile: Likewise.
3683 * po/Makefile: Likewise.
3684 * rt/Makefile: Likewise.
3685 * socket/Makefile: Likewise.
3686 * math/Makefile: Likewise.
3687 * signal/Makefile: Likewise.
3688 * debug/Makefile: Likewise.
3689 * elf/Makefile: Likewise.
3690 * timezone/Makefile: Likewise.
3691 * stdlib/Makefile: Likewise.
3692 * iconvdata/Makefile: Likewise.
3693 * sunrpc/Makefile: Likewise.
3694 * io/Makefile: Likewise.
3695 * argp/Makefile: Likewise.
3696 * inet/Makefile: Likewise.
3697 * hesiod/Makefile: Likewise.
3698 * grp/Makefile: Likewise.
3699 * csu/Makefile: Likewise.
3700 * wctype/Makefile: Likewise.
3701 * crypt/Makefile: Likewise.
3702 * libio/Makefile: Likewise.
3703 * string/Makefile: Likewise.
3704 * nis/Makefile: Likewise.
3705 * resolv/Makefile: Likewise.
3706 * stdio-common/Makefile: Likewise.
3707 * wcsmbs/Makefile: Likewise.
3708 * dlfcn/Makefile: Likewise.
3709 * posix/Makefile: Likewise.
3710
3b7c4e74 3711 [BZ #6959]
482ff4da
UD
3712 * timezone/Makefile: Don't install timezone files, just the programs
3713 and scripts.
3714
f72ed77d
UD
37152012-03-06 Ulrich Drepper <drepper@gmail.com>
3716
a000466f
UD
3717 * nss/databases.def: Add missing gshadow entry.
3718
f72ed77d
UD
3719 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3720
a53b7a4e
MP
37212012-03-06 Marek Polacek <polacek@redhat.com>
3722
3723 [BZ #13726]
3724 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3725 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3726 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3727 * stdio-common/tst-long-dbl-fphex.c: New file.
3728
e9258400
DM
37292012-03-06 David S. Miller <davem@davemloft.net>
3730
3731 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3732 (set_obp_int): New function.
3733 (get_obp_int): New function.
3734 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
3735 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3736 Avoid unused variable warnings on 'val' and use builtin_expect.
3737 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3738 __builtin_expect.
e9258400
DM
3739 (INLINE_CLONE_SYSCALL): Likewise.
3740
3bd2c723
DM
37412012-03-05 David S. Miller <davem@davemloft.net>
3742
3743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3744
bbb78d03
AS
37452012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3746
884c5db4
AS
3747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3748
bbb78d03
AS
3749 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3750 only for |x| >= 40.
3751 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3752
1c9f702a 37532012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
3754
3755 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3756 Replace gettimeofday with __vdso_gettimeofday.
3757
7be16f82
RM
3758 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3759 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3760 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
3761
3762 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3763 time with __vdso_time.
3764
ed58a00f
JM
37652012-03-05 Joseph Myers <joseph@codesourcery.com>
3766
3767 * manual/lang.texi (size_t): Note types to which size_t may be
3768 equivalent with the GNU C Library, but do not describe when
3769 differences between them are significant.
3770
30ee4ced
AJ
37712012-03-05 Andreas Jaeger <aj@suse.de>
3772
3773 * sysdeps/i386/fpu/libm-test-ulps: Update.
3774
b7cd39e8
JM
37752012-03-05 Joseph Myers <joseph@codesourcery.com>
3776
3777 [BZ #3976]
3778 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3779 (__ieee754_pow): Save and restore rounding mode and use
3780 round-to-nearest for main computations.
3781 * math/libm-test.inc (pow_test_tonearest): New function.
3782 (pow_test_towardzero): Likewise.
3783 (pow_test_downward): Likewise.
3784 (pow_test_upward): Likewise.
3785 (main): Call the new functions.
3786 * sysdeps/i386/fpu/libm-test-ulps: Update.
3787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
3788
3789 [BZ #3976]
3790 * math/libm-test.inc (cosh_test_tonearest): New function.
3791 (cosh_test_towardzero): Likewise.
3792 (cosh_test_downward): Likewise.
3793 (cosh_test_upward): Likewise.
3794 (sinh_test_tonearest): Likewise.
3795 (sinh_test_towardzero): Likewise.
3796 (sinh_test_downward): Likewise.
3797 (sinh_test_upward): Likewise.
3798 (main): Call the new functions.
3799 * sysdeps/i386/fpu/libm-test-ulps: Update.
3800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3801
6c6a98c9
TV
38022012-03-05 Tom de Vries <tom@codesourcery.com>
3803
3804 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3805 default stack guard is set in last bytes.
3806 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3807
21bb2d2e 38082012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 3809
21bb2d2e 3810 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 3811
21bb2d2e
AJ
3812 [BZ #13656]
3813 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3814 possibly allocate from heap instead of stack.
3815 * stdio-common/bug-vfprintf-nargs.c: New file.
3816 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 3817
c6922934
AS
38182012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3819
3820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3821
bc957d53
MP
38222012-03-03 Marek Polacek <polacek@redhat.com>
3823
3824 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3825 * math/math_private.h: Likewise.
3826 * stdlib/tst-strtod.c: Likewise.
3827 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3828 * sysdeps/x86_64/bits/atomic.h: Likewise.
3829
6358490d
DM
38302012-03-02 David S. Miller <davem@davemloft.net>
3831
3832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3836 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3837 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3838 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3839 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3840
01ae168d
RM
38412012-03-02 Roland McGrath <roland@hack.frob.com>
3842
d9a17c07
RM
3843 [BZ #13792]
3844 * manual/examples/README: New file, says the example source files
3845 can be used under GPL>=2.
3846 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3847 line containing just "*/".
3848 * manual/examples/add.c: Add copyright header (GPL>=2).
3849 * manual/examples/argp-ex1.c: Likewise.
3850 * manual/examples/argp-ex2.c: Likewise.
3851 * manual/examples/argp-ex3.c: Likewise.
3852 * manual/examples/argp-ex4.c: Likewise.
3853 * manual/examples/atexit.c: Likewise.
3854 * manual/examples/db.c: Likewise.
3855 * manual/examples/dir.c: Likewise.
3856 * manual/examples/dir2.c: Likewise.
3857 * manual/examples/execinfo.c: Likewise.
3858 * manual/examples/filecli.c: Likewise.
3859 * manual/examples/filesrv.c: Likewise.
3860 * manual/examples/fmtmsgexpl.c: Likewise.
3861 * manual/examples/genpass.c: Likewise.
3862 * manual/examples/inetcli.c: Likewise.
3863 * manual/examples/inetsrv.c: Likewise.
3864 * manual/examples/isockad.c: Likewise.
3865 * manual/examples/longopt.c: Likewise.
3866 * manual/examples/memopen.c: Likewise.
3867 * manual/examples/memstrm.c: Likewise.
3868 * manual/examples/mkfsock.c: Likewise.
3869 * manual/examples/mkisock.c: Likewise.
3870 * manual/examples/mygetpass.c: Likewise.
3871 * manual/examples/pipe.c: Likewise.
3872 * manual/examples/popen.c: Likewise.
3873 * manual/examples/rprintf.c: Likewise.
3874 * manual/examples/search.c: Likewise.
3875 * manual/examples/select.c: Likewise.
3876 * manual/examples/setjmp.c: Likewise.
3877 * manual/examples/sigh1.c: Likewise.
3878 * manual/examples/sigusr.c: Likewise.
3879 * manual/examples/stpcpy.c: Likewise.
3880 * manual/examples/strdupa.c: Likewise.
3881 * manual/examples/strftim.c: Likewise.
3882 * manual/examples/strncat.c: Likewise.
3883 * manual/examples/subopt.c: Likewise.
3884 * manual/examples/swapcontext.c: Likewise.
3885 * manual/examples/termios.c: Likewise.
3886 * manual/examples/testopt.c: Likewise.
3887 * manual/examples/testpass.c: Likewise.
3888 * manual/examples/timeval_subtract.c: Likewise.
3889
01ae168d
RM
3890 [BZ #13792]
3891 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3892 function to ...
3893 * manual/timeval_subtract.c.texi: ... here, new file.
3894
49efa33d
DM
38952012-03-02 David S. Miller <davem@davemloft.net>
3896
3897 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3898
28afd92d
JM
38992012-03-02 Joseph Myers <joseph@codesourcery.com>
3900
804360ed
JM
3901 [BZ #3976]
3902 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3903 (__sin): Save and restore rounding mode and use round-to-nearest
3904 for all computations.
3905 (__cos): Save and restore rounding mode and use round-to-nearest
3906 for all computations.
3907 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3908 <fenv.h>.
3909 (tan): Save and restore rounding mode and use round-to-nearest for
3910 all computations.
3911 * math/libm-test.inc (cos_test_tonearest): New function.
3912 (cos_test_towardzero): Likewise.
3913 (cos_test_downward): Likewise.
3914 (cos_test_upward): Likewise.
3915 (sin_test_tonearest): Likewise.
3916 (sin_test_towardzero): Likewise.
3917 (sin_test_downward): Likewise.
3918 (sin_test_upward): Likewise.
3919 (tan_test_tonearest): Likewise.
3920 (tan_test_towardzero): Likewise.
3921 (tan_test_downward): Likewise.
3922 (tan_test_upward): Likewise.
3923 (main): Call the new functions.
3924 * sysdeps/i386/fpu/libm-test-ulps: Update.
3925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3926
a6d06d7b
JM
3927 [BZ #10135]
3928 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3929 small n, then large n, before computing and testing k+n.
3930 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3931 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3932 Likewise.
3933 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3934 Likewise.
3935 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3936 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3937 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3938 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3939 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3940 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3941 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3942 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3943 * math/libm-test.inc (scalbn_test): Add more tests.
3944 (scalbln_test): Likewise.
3945
07e12bb3
JM
3946 * manual/filesys.texi (mode_t): Describe constraints on size and
3947 signedness, not exact equivalence to a particular type.
3948 (ino_t): Likewise.
3949 (ino64_t): Likewise.
3950 (dev_t): Likewise.
3951 (nlink_t): Likewise.
3952 (blkcnt_t): Likewise.
3953 (blkcnt64_t): Likewise.
3954 * manual/llio.texi (off_t): Likewise.
3955
28afd92d
JM
3956 [BZ #3976]
3957 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3958 (__ieee754_exp): Save and restore rounding mode and use
3959 round-to-nearest for all computations.
3960 * math/libm-test.inc (exp_test_tonearest): New function.
3961 (exp_test_towardzero): Likewise.
3962 (exp_test_downward): Likewise.
3963 (exp_test_upward): Likewise.
3964 (main): Call the new functions.
3965 * sysdeps/i386/fpu/libm-test-ulps: Update.
3966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3967
b1eeb65d
CD
39682012-03-01 Chris Demetriou <cgd@google.com>
3969
3970 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3971 have predictable order.
3972
53362a4b
DM
39732012-03-01 David S. Miller <davem@davemloft.net>
3974
3c969083
DM
3975 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3976
759707de
DM
3977 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3978 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3979 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3980 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3981
dfdb8ff2
DM
3982 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3983 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3984 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3986 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3987 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3988 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3989 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3990 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3991
ead89f96
DM
3992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3993
7f66bd07
DM
3994 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3995 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3996 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3997
53362a4b
DM
3998 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3999 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4000 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4001 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4002 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4003 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4004 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4005 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4006 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4007 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4008 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4009 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4010 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4011 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4012 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4013 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4014 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4015 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4016 * sysdeps/sparc/elf/configure: Regenerated.
4017
7b1902cb
JM
40182012-03-01 Joseph Myers <joseph@codesourcery.com>
4019
bec039bc
JM
4020 * configure.in (AS, LD): Require binutils 2.20 or later.
4021 * configure: Regenerated.
4022 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4023 as required minimum version.
4024 * INSTALL: Regenerated.
4025
7b1902cb
JM
4026 [BZ #2541]
4027 [BZ #4108]
4028 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4029 before squaring exponent.
4030 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4031 bottom long double and 27 bits of top long double before squaring
4032 exponent.
4033 * math/libm-test.inc (erfc_test): Add more tests.
4034 * sysdeps/i386/fpu/libm-test-ulps: Update.
4035 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4037
f775c276
KT
40382012-03-01 Kai Tietz <ktietz@redhat.com>
4039
4040 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4041 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4042 containing bit-fields.
4043 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4044 * soft-fp/single.h (_FP_UNION_S): Likewise.
4045 * soft-fp/double.h (_FP_UNION_D): Likewise.
4046
5b8a4d4a
JM
40472012-02-29 Joseph Myers <joseph@codesourcery.com>
4048
0bab47b6
JM
4049 [BZ #13786]
4050 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4051 not include ../strcmp.S.
4052 [USE_AS_STRNCASECMP_L]: Likewise.
4053 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4054 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4055 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4056 (__strncasecmp_l_ia32): Define as alias to
4057 __strncasecmp_l_nonascii.
4058
0fcad3e2
JM
4059 [BZ #5794]
4060 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4061 * sysdeps/i386/fpu/libm-test-ulps: Update.
4062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4063
5b8a4d4a
JM
4064 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4066
8fdceb2e
JL
40672012-02-29 Jeff Law <law@redhat.com>
4068
4069 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4070 out of bounds read.
4071
1f393a11
MP
40722012-02-29 Marek Polacek <polacek@redhat.com>
4073
4074 [BZ #13706]
4075 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4076 * elf/Makefile: Add rules to run tst-unused-dep.out.
4077
8847f037
DM
40782012-02-28 David S. Miller <davem@davemloft.net>
4079
4080 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4081 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4082 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4083 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4084 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4085 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4086
169d7f11
JM
40872012-02-29 Joseph Myers <joseph@codesourcery.com>
4088
4089 * math/libm-test.inc (llround_test): Move one test from
4090 lround_test. Use TEST_f_L in moved test.
4091 (lround_test): Move misplaced test to llround_test. Add testcase
4092 from bug 2561.
4093
39adf059
UD
40942012-02-28 Ulrich Drepper <drepper@gmail.com>
4095
4096 * sysdeps/x86_64/fpu/e_expf.S: New file.
4097 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4098
71b5d1c5
SB
40992012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4100
4101 [BZ #13637]
4102 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4103 of remain_len that may cause incomplete multi-byte character and
4104 false match.
4105 * posix/bug-regex33.c: New file.
4106 * posix/Makefile (tests): Add bug-regex33.
4107
1f77f049
JM
41082012-02-28 Joseph Myers <joseph@codesourcery.com>
4109
4110 * manual/macros.texi: New file.
4111 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4112 * manual/libc.texinfo: Include macros.texi.
4113 * manual/creatute.texi: Likewise.
4114 * manual/install.texi: Likewise.
4115 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4116 @glibcadj{} in references to the GNU C Library.
4117 * manual/charset.texi: Likewise.
4118 * manual/conf.texi: Likewise.
4119 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4120 when not using those macros.
4121 * manual/creature.texi: Likewise.
4122 * manual/crypt.texi: Likewise.
4123 * manual/errno.texi: Likewise.
4124 * manual/filesys.texi: Likewise.
4125 * manual/header.texi: Likewise.
4126 * manual/install.texi: Likewise.
4127 * manual/intro.texi: Likewise.
4128 * manual/io.texi: Likewise.
4129 * manual/job.texi: Likewise.
4130 * manual/lang.texi: Likewise.
4131 * manual/libc.texiinfo: Likewise.
4132 * manual/llio.texi: Likewise.
4133 * manual/locale.texi: Likewise.
4134 * manual/maint.texi: Likewise.
4135 * manual/math.texi: Likewise.
4136 * manual/memory.texi: Likewise.
4137 * manual/message.texi: Likewise.
4138 * manual/nss.texi: Likewise.
4139 * manual/pattern.texi: Likewise.
4140 * manual/process.texi: Likewise.
4141 * manual/resource.texi: Likewise.
4142 * manual/search.texi: Likewise.
4143 * manual/setjmp.texi: Likewise.
4144 * manual/signal.texi: Likewise.
4145 * manual/socket.texi: Likewise.
4146 * manual/startup.texi: Likewise.
4147 * manual/stdio.texi: Likewise.
4148 * manual/string.texi: Likewise.
4149 * manual/sysinfo.texi: Likewise.
4150 * manual/syslog.texi: Likewise.
4151 * manual/terminal.texi: Likewise.
4152 * manual/time.texi: Likewise.
4153 * manual/users.texi: Likewise.
4154 * INSTALL: Regenerated.
4155 * NOTES: Regenerated.
d40c5d54 4156 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4157
450bf206
AS
41582012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4159
4160 * include/dirent.h: Include <dirstream.h> before
4161 <dirent/dirent.h>.
4162
741a235b
DM
41632012-02-28 David S. Miller <davem@davemloft.net>
4164
4165 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4166 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4167 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4168 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4169
d6b5aa58
DM
41702012-02-27 David S. Miller <davem@davemloft.net>
4171
1aff59a3
DM
4172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4174 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4175 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4176
d6b5aa58
DM
4177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4178 frame pointer instead of stack pointer relative arg slot.
4179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4180 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4181 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4182
433f48bf
CD
41832012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4184
4185 [BZ #3992]
4186 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4187
d674b76d
DM
41882012-02-27 David S. Miller <davem@davemloft.net>
4189
4190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4194 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4195 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4196 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4197 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4198
0e7727f7
JM
41992012-02-27 Joseph Myers <joseph@codesourcery.com>
4200
4201 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4202 later. Allow versions 5-9.
43be4ca2 4203 * configure: Regenerated.
0e7727f7
JM
4204 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4205 required minimum version and 4.6 as recommended version. Do not
4206 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4207 * INSTALL: Regenerated.
0e7727f7 4208
a78bc654
DM
42092012-02-27 David S. Miller <davem@davemloft.net>
4210
428d5830
DM
4211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4215 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4216 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4217 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4218 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4219
a78bc654
DM
4220 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4221 manipulate bits before adding and subtracting TWO112[sx].
4222 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4223
4579f81c
RM
42242012-02-27 Roland McGrath <roland@hack.frob.com>
4225
36c8acb4
RM
4226 [BZ #13775]
4227 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4228 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4229 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4230 being in POSIX, because they are in 1003.1-2008.
4231
84ad622b
RM
4232 * rt/tst-aio.c: Include <fcntl.h>.
4233 * rt/tst-aio7.c: Likewise.
4234 * rt/tst-aio64.c: Likewise.
4235
4579f81c
RM
4236 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4237
abd923db
JM
42382012-02-27 Joseph Myers <joseph@codesourcery.com>
4239
4240 * manual/install.texi (--with-headers): Describe headers as
4241 interface headers, not private headers.
4242 (Specific advice for GNU/Linux systems): Describe use of headers
4243 from "make headers_install", not private headers from older
4244 kernels.
43be4ca2 4245 * INSTALL: Regenerated.
abd923db
JM
4246 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4247 Change to 2.6.19.
4248 * sysdeps/unix/sysv/linux/configure: Regenerated.
4249
6664049b
JM
4250 * manual/llio.texi (fclean): Remove documentation.
4251
bb8b6697
JM
4252 * manual/Makefile (libc-texi-generated): New variable. Include
4253 version.texi.
4254 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4255 $(libc-texi-generated), not duplicated list of files.
4256 (version.texi, stamp-version): New rules.
4257 (realclean): Remove $(libc-texi-generated), not individual files
4258 from that list. Do not remove dir-add.texinfo.
4259 * manual/libc.texinfo: Comment out uses of edition numbers and
4260 references to printed manual. Remove last-updated dates.
4261 (EDITION): Comment out.
4262 (ISBN): Likewise.
4263 (VERSION, UPDATED): Remove.
4264 (version.texi): Include.
4265
12e5c3b9
AS
42662012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4267
4268 * sysdeps/posix/spawni.c: Include <signal.h>.
4269 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4270 * sysdeps/pthread/aio_fsync.c: Likewise.
4271
4efeffc1 42722012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4273
ba63ba08
UD
4274 * conform/Makefile (tests): Run only when not cross-compiling and
4275 when fast-check is not defined.
4276
d94a4670
UD
4277 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4278 * conform/data/limits.h-data: Fixes for POSIX2008.
4279 * conform/run-conformtest.sh: Run all tests.
4280 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4281 headers.
4282 * include/bits/dlfcn.h: Likewise.
4283 * include/langinfo.h: Likewise.
4284 * include/monetary.h: Likewise.
4285 * include/sys/poll.h: Likewise.
4286
4287 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4288 for __USE_GNU.
4289 * posix/spawn.h: Define __need_sigset_t.
4290 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4291 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4292 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4293 to get sigevent_t only.
4294 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4295 only for __USE_GNU.
4296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4297 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4298 process_vm_writev only for __USE_GNU.
4299 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4300
4301 * conform/Makefile: For now ignore errors from run-conformtest.
4302 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4303 POSIX to avoid namespace pollution. Don't prepend headers.
4304 * conform/data/aio.h-data: Fixes for POSIX testing.
4305 * conform/data/fcntl.h-data: Likewise.
4306 * conform/data/glob.h-data: Likewise.
4307 * conform/data/grp.h-data: Likewise.
4308 * conform/data/pthread.h-data: Likewise.
4309 * conform/data/pwd.h-data: Likewise.
4310 * conform/data/signal.h-data: Likewise.
4311 * conform/data/spawn.h-data: Likewise.
4312 * conform/data/stdio.h-data: Likewise.
4313 * conform/data/stdlib.h-data: Likewise.
4314 * conform/data/stropts.h-data: Likewise.
4315 * conform/data/sys/mman.h-data: Likewise.
4316 * conform/data/sys/stat.h-data: Likewise.
4317 * conform/data/sys/types.h-data: Likewise.
4318 * conform/data/sys/wait.h-data: Likewise.
4319 * conform/data/time.h-data: Likewise.
4320 * conform/data/unistd.h-data: Likewise.
4321 * conform/data/utime.h-data: Likewise.
4322
4323 * io/sys/stat.h: fchmod was always in POSIX.
4324 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4325 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4326 * rt/aio.h: Define __need_timespec before including <time.h>.
4327 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4328 struct. Add forward declaration of pthread_attr_t and use it in
4329 sigevent.
4330 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4331 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4332 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4333 always remove CLK_TCK definition.
4334
c20105c3
AS
43352012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4336
4337 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4338
7a270350
UD
43392012-02-25 Ulrich Drepper <drepper@gmail.com>
4340
31341567
UD
4341 * conform/run-conformtest.sh: New file.
4342 * conform/Makefile: Run run-conformtest for tests.
4343 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4344 support.
4345
4346 * conform/data/uchar.h-data: New file.
4347 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4348 * conform/data/arpa/inet.h-data: Likewise.
4349 * conform/data/assert.h-data: Likewise.
4350 * conform/data/complex.h-data: Likewise.
4351 * conform/data/cpio.h-data: Likewise.
4352 * conform/data/ctype.h-data: Likewise.
4353 * conform/data/dirent.h-data: Likewise.
4354 * conform/data/dlfcn.h-data: Likewise.
4355 * conform/data/errno.h-data: Likewise.
4356 * conform/data/fcntl.h-data: Likewise.
4357 * conform/data/float.h-data: Likewise.
4358 * conform/data/fmtmsg.h-data: Likewise.
4359 * conform/data/fnmatch.h-data: Likewise.
4360 * conform/data/ftw.h-data: Likewise.
4361 * conform/data/glob.h-data: Likewise.
4362 * conform/data/grp.h-data: Likewise.
4363 * conform/data/iconv.h-data: Likewise.
4364 * conform/data/inttypes.h-data: Likewise.
4365 * conform/data/langinfo.h-data: Likewise.
4366 * conform/data/libgen.h-data: Likewise.
4367 * conform/data/limits.h-data: Likewise.
4368 * conform/data/locale.h-data: Likewise.
4369 * conform/data/math.h-data: Likewise.
4370 * conform/data/monetary.h-data: Likewise.
4371 * conform/data/mqueue.h-data: Likewise.
4372 * conform/data/ndbm.h-data: Likewise.
4373 * conform/data/net/if.h-data: Likewise.
4374 * conform/data/netdb.h-data: Likewise.
4375 * conform/data/netinet/in.h-data: Likewise.
4376 * conform/data/nl_types.h-data: Likewise.
4377 * conform/data/poll.h-data: Likewise.
4378 * conform/data/pthread.h-data: Likewise.
4379 * conform/data/pwd.h-data: Likewise.
4380 * conform/data/regex.h-data: Likewise.
4381 * conform/data/sched.h-data: Likewise.
4382 * conform/data/search.h-data: Likewise.
4383 * conform/data/semaphore.h-data: Likewise.
4384 * conform/data/setjmp.h-data: Likewise.
4385 * conform/data/signal.h-data: Likewise.
4386 * conform/data/spawn.h-data: Likewise.
4387 * conform/data/stdarg.h-data: Likewise.
4388 * conform/data/stdio.h-data: Likewise.
4389 * conform/data/stdlib.h-data: Likewise.
4390 * conform/data/string.h-data: Likewise.
4391 * conform/data/strings.h-data: Likewise.
4392 * conform/data/stropts.h-data: Likewise.
4393 * conform/data/sys/ipc.h-data: Likewise.
4394 * conform/data/sys/mman.h-data: Likewise.
4395 * conform/data/sys/msg.h-data: Likewise.
4396 * conform/data/sys/resource.h-data: Likewise.
4397 * conform/data/sys/select.h-data: Likewise.
4398 * conform/data/sys/sem.h-data: Likewise.
4399 * conform/data/sys/shm.h-data: Likewise.
4400 * conform/data/sys/socket.h-data: Likewise.
4401 * conform/data/sys/stat.h-data: Likewise.
4402 * conform/data/sys/statvfs.h-data: Likewise.
4403 * conform/data/sys/time.h-data: Likewise.
4404 * conform/data/sys/timeb.h-data: Likewise.
4405 * conform/data/sys/times.h-data: Likewise.
4406 * conform/data/sys/types.h-data: Likewise.
4407 * conform/data/sys/uio.h-data: Likewise.
4408 * conform/data/sys/un.h-data: Likewise.
4409 * conform/data/sys/utsname.h-data: Likewise.
4410 * conform/data/sys/wait.h-data: Likewise.
4411 * conform/data/syslog.h-data: Likewise.
4412 * conform/data/tar.h-data: Likewise.
4413 * conform/data/termios.h-data: Likewise.
4414 * conform/data/utime.h-data: Likewise.
4415 * conform/data/utmpx.h-data: Likewise.
4416 * conform/data/varargs.h-data: Likewise.
4417 * conform/data/wchar.h-data: Likewise.
4418 * conform/data/wctype.h-data: Likewise.
4419 * conform/data/wordexp.h-data: Likewise.
4420
4421 * include/stropts.h: New file.
4422 * include/uchar.h: New file.
4423 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4424 * include/assert.h: Likewise.
4425 * include/ctype.h: Likewise.
4426 * include/dirent.h: Likewise.
4427 * include/dlfcn.h: Likewise.
4428 * include/fcntl.h: Likewise.
4429 * include/fnmatch.h: Likewise.
4430 * include/glob.h: Likewise.
4431 * include/grp.h: Likewise.
4432 * include/libio.h: Likewise.
4433 * include/locale.h: Likewise.
4434 * include/math.h: Likewise.
4435 * include/net/if.h: Likewise.
4436 * include/netdb.h: Likewise.
4437 * include/netinet/in.h: Likewise.
4438 * include/pthread.h: Likewise.
4439 * include/pwd.h: Likewise.
4440 * include/regex.h: Likewise.
4441 * include/sched.h: Likewise.
4442 * include/search.h: Likewise.
4443 * include/setjmp.h: Likewise.
4444 * include/signal.h: Likewise.
4445 * include/stdio.h: Likewise.
4446 * include/stdlib.h: Likewise.
4447 * include/string.h: Likewise.
4448 * include/sys/cdefs.h: Likewise.
4449 * include/sys/mman.h: Likewise.
4450 * include/sys/msg.h: Likewise.
4451 * include/sys/resource.h: Likewise.
4452 * include/sys/select.h: Likewise.
4453 * include/sys/socket.h: Likewise.
4454 * include/sys/stat.h: Likewise.
4455 * include/sys/statvfs.h: Likewise.
4456 * include/sys/time.h: Likewise.
4457 * include/sys/times.h: Likewise.
4458 * include/sys/uio.h: Likewise.
4459 * include/sys/utsname.h: Likewise.
4460 * include/sys/wait.h: Likewise.
4461 * include/termios.h: Likewise.
4462 * include/time.h: Likewise.
4463 * include/ulimit.h: Likewise.
4464 * include/unistd.h: Likewise.
4465 * include/utime.h: Likewise.
4466 * include/wchar.h: Likewise.
4467 * include/wctype.h: Likewise.
4468 * include/wordexp.h: Likewise.
4469
4470 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4471
7a270350
UD
4472 * time/time.h: TIME_UTC must be a macro.
4473 Make timespec_get available for ISO C11 only as well.
4474
7724defc
UD
44752012-02-24 Ulrich Drepper <drepper@gmail.com>
4476
4477 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4478 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4479
6b1d1d46
JM
44802012-02-24 Joseph Myers <joseph@codesourcery.com>
4481
4482 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4483
0f8bbd69
JM
44842012-02-24 Joseph Myers <joseph@codesourcery.com>
4485
4486 * manual/texinfo.tex: Update to version 2012-01-19.16.
4487
66ab80bc
JM
44882012-02-24 Joseph Myers <joseph@codesourcery.com>
4489
4490 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4491
74981cc5
RM
44922012-02-24 Roland McGrath <roland@hack.frob.com>
4493
ee968201
RM
4494 [BZ #13738]
4495 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4496 * manual/fdl-1.3.texi: New file.
4497 * manual/fdl-1.1.texi: File removed.
4498
74981cc5
RM
4499 [BZ #13738]
4500 * manual/libc.texinfo (FDL_VERSION): New @set.
4501 Use it for mention of FDL in cover text.
4502 (Documentation License): Use it in @include file name.
4503
7bb764bc
JM
45042012-02-22 Joseph Myers <joseph@codesourcery.com>
4505 Roland McGrath <roland@hack.frob.com>
4506
4507 [BZ #5461]
4508 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4509 not LONG_LONG_MAX and LONG_LONG_MIN.
4510 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4511 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4512 name.
4513 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4514
6cbeae47
JM
45152012-02-22 Joseph Myers <joseph@codesourcery.com>
4516
4517 [BZ #2547]
4518 [BZ #11365]
4519 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4520 manipulate bits before adding and subtracting TWO23[sx].
4521 * math/libm-test.inc (nearbyint_test): Add more tests.
4522
fe45ce09
JM
45232012-02-22 Joseph Myers <joseph@codesourcery.com>
4524
4525 [BZ #2548]
4526 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4527 bits before adding and subtracting TWO23[sx].
4528 * math/libm-test.inc (rint_test): Add more tests.
4529 (rint_test_tonearest): Likewise.
4530 (rint_test_towardzero): Likewise.
4531 (rint_test_downward): Likewise.
4532 (rint_test_upward: Likewise.
4533
ff3b3d82
JM
45342012-02-22 Joseph Myers <joseph@codesourcery.com>
4535
4536 [BZ #10110]
4537 * include/stdc-predef.h: New file. Extracted from features.h.
4538 * include/features.h: Include stdc-predef.h.
4539 * Makefile (headers): Add stdc-predef.h.
4540 * CONFORMANCE (Compiler limitations): Update.
4541
ef0aab35
JM
45422012-02-22 Joseph Myers <joseph@codesourcery.com>
4543
4544 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4545
58639409
DM
45462012-02-21 David S. Miller <davem@davemloft.net>
4547
4548 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4549 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4550
c0e70b25
DM
45512012-02-20 David S. Miller <davem@davemloft.net>
4552
4553 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4554 using a normal save/restore sequence, rather than allocating a
4555 dummy stack frame just to store a frame pointer and restore.
4556 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4557
fb06851d
JM
45582012-02-21 Joseph Myers <joseph@codesourcery.com>
4559
4560 * manual/install.texi: Fix stray word in line-wrapped comment.
4561
7a8b71c3
DM
45622012-02-20 David S. Miller <davem@davemloft.net>
4563
d510c123
DM
4564 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4565 both binutils and gcc support GOTDATA.
4566
0722d7c2
DM
4567 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4568 "rd %pc" in the PIC register setup sequences.
4569
3d2b3019
DM
4570 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4571 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4572 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4573 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4574 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4575 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4576 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4577 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4578 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4579 (SYSCALL_ERROR_HANDLER): Likewise.
4580 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4581 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4582 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4583 (SYSCALL_ERROR_HANDLER): Likewise.
4584
c80098a9
DM
4585 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4586 (HAVE_GCC_GOTDATA): New.
4587 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4588 relocation support in both binutils and gcc.
4589 * sysdeps/sparc/elf/configure: Regenerate.
4590
3a2545a0
DM
4591 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4592 * sysdeps/sparc/sparc32/elf/configure: Delete.
4593 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4594 * sysdeps/sparc/sparc64/elf/configure: Delete.
4595 * sysdeps/sparc/elf/configure.in: New file.
4596 * sysdeps/sparc/elf/configure: Generate.
4597
7a8b71c3
DM
4598 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4599 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4600 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4601 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4602 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4603
f1e86fca
JM
46042012-02-21 Joseph Myers <joseph@codesourcery.com>
4605
4606 * manual/install.texi: Do not mention specific glibc version
4607 numbers.
4608 * manual/libc.texinfo (VERSION, UPDATED): Update.
4609 (@copying): Use @copyright{} and range of years.
4610
0e7dfaef
JM
46112012-02-21 Joseph Myers <joseph@codesourcery.com>
4612
4613 [BZ #13695]
4614 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4615 [crti.S not in sysdirs] (generated): Do not append.
4616 [crti.S not in sysdirs] (omit-deps): Likewise.
4617 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4618 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4619 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4620 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4621 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4622 Likewise.
4623 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4624 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4625 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4626 * csu/defs.awk: Remove file.
4627 * sysdeps/generic/initfini.c: Likewise.
4628 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4629 variable.
4630 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4631 Likewise.
4632
599af3ca
JM
46332012-02-20 Joseph Myers <joseph@codesourcery.com>
4634
4635 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4636 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4637 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4638 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4639 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4640 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4641 <bits/epoll.h>.
4642 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4643 (__EPOLL_PACKED): Define to empty if not defined by
4644 <bits/epoll.h>.
4645 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4647 bits/epoll.h.
4648
0e499750
JM
46492012-02-20 Joseph Myers <joseph@codesourcery.com>
4650
4651 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4652 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4653 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4654 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4655 <bits/timerfd.h>.
4656 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4658 bits/timerfd.h.
4659
5ad91f6e
JM
46602012-02-20 Joseph Myers <joseph@codesourcery.com>
4661
4662 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4663 in C locale.
4664 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4665 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4666 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4668
06b99b02
AJ
46692012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4670
4671 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4672 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4673
7638c0fd
AS
46742012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4675
4676 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4677 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4678 defined.
4679 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4680 Likewise.
4681 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4682 entry for 2.16.
4683
92221550
AJ
46842012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4685
4686 * math/w_acos.c: Use non-signaling floating-point comparisons.
4687 * math/w_acosf.c: Likewise.
4688 * math/w_acosh.c: Likewise.
4689 * math/w_acoshf.c: Likewise.
4690 * math/w_acoshl.c: Likewise.
4691 * math/w_acosl.c: Likewise.
4692 * math/w_asin.c: Likewise.
4693 * math/w_asinf.c: Likewise.
4694 * math/w_asinl.c: Likewise.
4695 * math/w_atanh.c: Likewise.
4696 * math/w_atanhf.c: Likewise.
4697 * math/w_atanhl.c: Likewise.
4698 * math/w_exp2.c: Likewise.
4699 * math/w_exp2f.c: Likewise.
4700 * math/w_exp2l.c: Likewise.
4701 * math/w_j0.c: Likewise.
4702 * math/w_j0f.c: Likewise.
4703 * math/w_j0l.c: Likewise.
4704 * math/w_j1.c: Likewise.
4705 * math/w_j1f.c: Likewise.
4706 * math/w_j1l.c: Likewise.
4707 * math/w_jn.c: Likewise.
4708 * math/w_jnf.c: Likewise.
4709 * math/w_log.c: Likewise.
4710 * math/w_log10.c: Likewise.
4711 * math/w_log10f.c: Likewise.
4712 * math/w_log10l.c: Likewise.
4713 * math/w_log2.c: Likewise.
4714 * math/w_log2f.c: Likewise.
4715 * math/w_log2l.c: Likewise.
4716 * math/w_logf.c: Likewise.
4717 * math/w_logl.c: Likewise.
4718 * math/w_sqrt.c: Likewise.
4719 * math/w_sqrtf.c: Likewise.
4720 * math/w_sqrtl.c: Likewise.
4721 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4722 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4723 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4724 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4725 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4726
ebaf36eb
JM
47272012-02-19 Joseph Myers <joseph@codesourcery.com>
4728
4729 [BZ #9739]
4730 * manual/string.texi (strnlen): Use correct parameter name in
4731 equivalent expression.
4732
71c254a6
JM
47332012-02-19 Joseph Myers <joseph@codesourcery.com>
4734
4735 [BZ #11174]
4736 * manual/users.texi (seteuid): Consistently use neweuid for
4737 argument name.
4738
16d2c631
JM
47392012-02-19 Joseph Myers <joseph@codesourcery.com>
4740
4741 [BZ #13704]
4742 * manual/nss.texi (Services in the NSS configuration): Correct
4743 list of services in example configuration file.
4744
cd837b09
NB
47452012-02-19 Nick Bowler <nbowler@draconx.ca>
4746
4747 [BZ #11322]
4748 * manual/arith.texi: Remove statements about negative zero
4749 behaving identically to zero.
4750
02c4bbad
JM
47512012-02-18 Joseph Myers <joseph@codesourcery.com>
4752
4753 [BZ #5993]
4754 * manual/install.texi: Do not document upgrading from libc5.
4755
366842e7
JM
47562012-02-18 Joseph Myers <joseph@codesourcery.com>
4757
4758 [BZ #4596]
4759 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4760
dd54084d
DM
47612012-02-18 David S. Miller <davem@davemloft.net>
4762
4763 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4764 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4765 %o7 across the call.
4766 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4767 instead.
4768 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4769 SETUP_PIC_REG_LEAF.
4770 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4771 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4772 * sysdeps/sparc/crtn.S: Likewise.
4773
2bcc53a3
UD
47742012-02-17 Ulrich Drepper <drepper@gmail.com>
4775
4776 * aout/Makefile: Remove.
4777
09c093b5
RK
47782012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4779
4780 [BZ #13058]
4781 * manual/examples/argp-ex1.c (main): Format definition in GNU
4782 style.
4783 * manual/examples/argp-ex2.c (main): Likewise.
4784 * manual/examples/argp-ex3.c (main): Likewise.
4785 * manual/examples/argp-ex4.c (main): Likewise.
4786 * manual/examples/longopt.c (main): Use new-style prototype
4787 definition.
4788 * manual/examples/strncat.c (main): Specify return type and use
4789 (void) for arguments.
4790 * manual/examples/subopt.c (main): Use char **argv argument.
4791
2ee633a2
JM
47922012-02-17 Joseph Myers <joseph@codesourcery.com>
4793
4794 [BZ #5077]
4795 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4796 rounding modes.
4797
0520adde
FB
47982012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4799
4800 [BZ #6907]
4801 * manual/string.texi (strchr): Change when strchrnul is
4802 recommended.
4803
3f4081cd
DGM
48042012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4805
4806 [BZ #174]
4807 * manual/locale.texi (setlocale): Document LOCPATH.
4808
d1b10e78
JM
48092012-02-17 Joseph Myers <joseph@codesourcery.com>
4810
4811 [BZ #10210]
4812 * manual/process.texi (execle): Move @dots{} before last argument.
4813
79c6869c
PB
48142012-02-17 Paul Bolle <pebolle@tiscali.nl>
4815
4816 [BZ #12047]
4817 * manual/charset.texi (Generic Charset Conversion): Fix typo
4818 (LC_TYPE -> LC_CTYPE).
4819
cc6e48bc
NB
48202012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4821
4822 [BZ #5805]
4823 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4824 (scalbnf): Likewise.
4825 (scalbnl): Likewise.
4826 (scalbln): Likewise.
4827 (scalblnf): Likewise.
4828 (scalblnl): Likewise.
4829 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4830 (vwarnx): Likewise.
4831 (verr): Likewise.
4832 (verrx): Likewise.
4833 * manual/filesys.texi (telldir): Use braces around return type.
4834 * manual/llio.texi (mmap): Add space after comma.
4835 (mmap64): Likewise.
4836 * manual/math.texi (jn): Use @var{} on parameter names.
4837 (jnf): Likewise.
4838 (jnl): Likewise.
4839 (yn): Likewise.
4840 (ynf): Likewise.
4841 (ynl): Likewise.
4842 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4843 line.
4844 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4845 "...".
4846 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4847 (sched_get_priority_max): Likewise.
4848 * manual/signal.texi (sigvec): Add space after comma.
4849 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4850 names.
4851 (if_indextoname): Likewise.
4852 (if_freenameindex): Likewise.
4853 (sendto): Use ',' instead of '.' in prototype.
4854 * manual/startup.texi (syscall): Use @dots{} instead of literal
4855 "...".
4856 * manual/stdio.texi (__fpending): Separate initial words of
4857 paragraph from @deftypefun line.
4858 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4859 "...".
4860 (vsyslog): Use @var{} on parameter names.
4861 * manual/terminal.texi (stty): Use @var{} on parameter names.
4862 * manual/users.texi (getutmp): Use @var{} on parameter names.
4863 (getutmpx): Likewise.
4864
5b23062f
JM
48652012-02-17 Joseph Myers <joseph@codesourcery.com>
4866
4867 [BZ #6884]
4868 * manual/stdio.texi (fopen): Fix typos in description of
4869 ",ccs=STRING".
4870
8dee4833
AJ
48712012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4872
4873 [BZ #4026]
4874 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4875 get clock_id definition.
4876
9078ce93
TS
48772012-02-17 Thomas Schwinge <thomas@schwinge.name>
4878
4879 [BZ #4822]
4880 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4881 (madvise): Cast every argument to void on its own.
4882
3835c55f
JM
48832012-02-17 Joseph Myers <joseph@codesourcery.com>
4884
4885 [BZ #9902]
4886 * manual/startup.texi (Exit Status): Fix typo.
4887
35c47e37
JM
48882012-02-17 Joseph Myers <joseph@codesourcery.com>
4889
4890 [BZ #10140]
4891 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4892 * manual/examples/argp-ex2.c: Likewise.
4893 * manual/examples/argp-ex3.c: Likewise.
4894
e3b69ca7
RH
48952012-02-16 Richard Henderson <rth@redhat.com>
4896
4897 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4898 * sysdeps/s390/s390-32/initfini.c: Remove.
4899 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4900 * sysdeps/s390/s390-64/initfini.c: Remove.
4901
df83af67
KK
49022012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4903
4904 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4905 compiler output for sysdeps/generic/initfini.c.
4906 * sysdeps/sh/elf/initfini.c: Remove file.
4907
f63f3380
DM
49082012-02-16 David S. Miller <davem@davemloft.net>
4909
fb59b3a4
DM
4910 [BZ #11494]
4911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4912
f63f3380
DM
4913 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4914 * sysdeps/sparc/crti.S: New file.
4915 * sysdeps/sparc/crtn.S: New file.
4916 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4917 * sysdeps/sparc/sparc64/Makefile: Likewise.
4918
df6a4a4a
MF
49192012-02-15 Mike Frysinger <vapier@gentoo.org>
4920
6dd8f3dc 4921 [BZ #3335]
df6a4a4a
MF
4922 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4923
1cac7236
RM
49242012-02-15 Roland McGrath <roland@hack.frob.com>
4925
d2c736f8
RM
4926 [BZ #4822]
4927 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4928
1cac7236
RM
4929 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4930 (write, read, close): Likewise.
4931 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4932
8e475601
JM
49332012-02-15 Joseph Myers <joseph@codesourcery.com>
4934
4935 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4936 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4937 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4938 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4939 <bits/signalfd.h>.
4940 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4942 bits/signalfd.h.
4943
ed656b40
MP
49442012-02-14 Marek Polacek <polacek@redhat.com>
4945
4946 * sysdeps/x86_64/crti.S: New file.
4947 * sysdeps/x86_64/crtn.S: New file.
4948 * sysdeps/x86_64/elf/initfini.c: Remove file.
4949
2a979d3a
JM
49502012-02-13 Joseph Myers <joseph@codesourcery.com>
4951
4952 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4953 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4954 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4955 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4956 <bits/inotify.h>.
4957 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4959 bits/inotify.h.
4960
2a418ac3
JM
49612012-02-13 Joseph Myers <joseph@codesourcery.com>
4962
4963 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4964 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4965 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4966 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4967 <bits/eventfd.h>.
4968 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4970 bits/eventfd.h.
4971
fb779be7
TS
49722012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4973
e19e83c5
RM
4974 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4975 __feraiseexcept instead of feraiseexcept.
7c35ffed 4976
fb779be7
TS
4977 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4978 nanosleep invocations.
4979 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4980 strings, and add error checking for a nanosleep invocations.
4981
59ba27a6
PE
49822012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4983
4984 Replace FSF snail mail address with URLs, as per GNU coding standards.
4985 Most of the snail mail addresses were wrong anyway, and omitting
4986 them makes the source code easier to maintain. Almost all of the
4987 changes are to license notices and to locale LC_IDENTIFICATION
4988 addresses, except for this one:
4989 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4990 not its snail mail address.
4991
57b957eb
RH
49922012-02-09 Richard Henderson <rth@twiddle.net>
4993
af850b1c
RH
4994 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4995 of kernel-features.h.
4996
57b957eb
RH
4997 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4998
6b73181a
MP
49992012-02-08 Marek Polacek <polacek@redhat.com>
5000
5001 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5002 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5003 * sysdeps/gnu/_G_config.h: Likewise.
5004 * sysdeps/generic/_G_config.h: Likewise.
5005
26ecc33a
AS
50062012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5007
6c6dbc63
AS
5008 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5009 tests.
5010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5011
e216c012
AS
5012 * sysdeps/powerpc/powerpc32/crti.S: New file.
5013 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5014 * sysdeps/powerpc/powerpc64/crti.S: New file.
5015 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5016
26ecc33a
AS
5017 * Makeconfig (have-initfini): Don't set.
5018 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5019 * configure.in (nopic_initfini): Don't substitute.
5020 * config.h.in (HAVE_INITFINI): Don't #undef.
5021 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5022 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5023
3add8e13
JM
50242012-02-08 Joseph Myers <joseph@codesourcery.com>
5025
5026 Support crti.S and crtn.S provided directly by architectures.
5027 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5028 [crti.S in sysdirs] (omit-deps): Likewise.
5029 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5030 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5031 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5032 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5033 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5034 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5035 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5036 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5037 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5038 compiler output for sysdeps/generic/initfini.c.
5039 * sysdeps/i386/elf/Makefile: Remove file.
5040 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5041
a22f12b4
MP
50422012-02-07 Marek Polacek <polacek@redhat.com>
5043
5044 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5045 * sysdeps/gnu/_G_config.h: Likewise.
5046 * sysdeps/mach/hurd/_G_config.h: Likewise.
5047
148cf100
MP
50482012-02-07 Marek Polacek <polacek@redhat.com>
5049
5050 * math/Makefile (tests): Add tst-CMPLX2.
5051 * math/tst-CMPLX2.c: New file.
5052
cfdc0dd7
AS
50532012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5054
84ba42c4
AS
5055 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5056
cfdc0dd7
AS
5057 * math/libm-test.inc (jn_test): Add missing L suffix.
5058
622c86f4
MP
50592012-02-06 Marek Polacek <polacek@redhat.com>
5060
5061 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5062 * sysdeps/i386/fpu/e_powf.S: Likewise.
5063 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5064 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5065 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5066 * sysdeps/i386/fpu/e_pow.S: Likewise.
5067 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5068 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5069 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5070 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5071 * sysdeps/i386/fpu/e_log2.S: Likewise.
5072 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5073 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5074 * sysdeps/i386/fpu/e_powl.S: Likewise.
5075 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5076 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5077 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5078 * sysdeps/i386/fpu/e_logl.S: Likewise.
5079 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5080 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5081 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5082 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5083 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5084 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5085 * sysdeps/i386/fpu/e_log.S: Likewise.
5086 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5087 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5088 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5089 * sysdeps/i386/fpu/e_logf.S: Likewise.
5090 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5091 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5092 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5093 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5094 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5095 * sysdeps/i386/fpu/e_log10.S: Likewise.
5096 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5097 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5098 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5099 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5100 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5101 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5102 * sysdeps/i386/asm-syntax.h: Likewise.
5103 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5104 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5105 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5106 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5107 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5108 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5109 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5110 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5111 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5112 * sysdeps/powerpc/sysdep.h: Likewise.
5113 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5114 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5115
d4a54ac6
JM
51162012-02-06 Joseph Myers <joseph@codesourcery.com>
5117
5118 [BZ #411]
5119 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5120
314054ea
JM
51212012-02-06 Joseph Myers <joseph@codesourcery.com>
5122
5123 * sysdeps/i386/sysdep.h: Include <features.h>.
5124 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5125 version.
5126
d8e0ca50
JM
51272012-02-05 Joseph Myers <joseph@codesourcery.com>
5128
5129 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5130 Define.
5131 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5132 LOAD_PIC_REG_STR.
5133
b1da7dd9
JM
51342012-02-03 Joseph Myers <joseph@codesourcery.com>
5135
5136 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5137 (SETUP_PIC_REG): Use GET_PC_THUNK.
5138 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5139 macro.
5140
9a1d9254
JM
51412012-02-03 Joseph Myers <joseph@codesourcery.com>
5142
5143 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5144 for non-PIC compilation.
5145 (SETUP_PIC_REG): Add .p2align directive.
5146 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5147 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5148 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5149 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5150 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5151 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5152 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5153 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5154 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5155 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5156 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5157 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5158 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5159 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5160 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5161 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5162 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5163 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5164 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5165 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5166 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5167 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5168 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5169 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5170 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5172 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5173 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5174 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5175 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5176 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5177 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5178 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5179 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5180 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5181 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5182 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5183 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5184 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5185 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5186 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5187
65dc3b75
JM
51882012-02-03 Joseph Myers <joseph@codesourcery.com>
5189
5190 * math/tst-CMPLX.c: Include <stdio.h>.
5191
d55bf177
JM
51922012-01-31 Joseph Myers <joseph@codesourcery.com>
5193
5194 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5195 float.
5196 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5197 * sysdeps/sparc/bits/mathdef.h: Likewise.
5198
69db4f8f
MP
51992012-01-31 Marek Polacek <polacek@redhat.com>
5200
5201 * libio/libio.h: Don't define _PARAMS.
5202 * locale/programs/config.h: Don't define PARAMS.
5203 * stdlib/strtol_l.c: Likewise.
5204 (__strtol_l): Remove PARAMS from the prototype.
5205
41b81892
UD
52062012-01-31 Ulrich Drepper <drepper@gmail.com>
5207
3b49edc0
UD
5208 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5209 names. Just use the correct names. Remove unnecessary wrapper
5210 functions.
5211 * malloc/arena.c: Likewise.
5212 * malloc/hooks.c: Likewise.
5213
41b81892
UD
5214 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5215 ARENA_TEST says not to. Simplify test for creation of a new arena.
5216 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5217
27a25b6e
UD
52182012-01-30 Ulrich Drepper <drepper@gmail.com>
5219
5220 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5221 into tail calls.
5222 (update_get_addr): New function.
5223 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5224 GET_ADDR_MODULE parameter.
5225
c8a89e7d
JM
52262012-01-30 Joseph Myers <joseph@codesourcery.com>
5227
5228 * crypt/cert.c: Remove __STDC__ conditionals.
5229 * crypt/crypt-entry.c: Likewise.
5230 * crypt/crypt_util.c: Likewise.
5231 * libio/filedoalloc.c: Likewise.
5232 * libio/fileops.c: Likewise.
5233 * libio/genops.c: Likewise.
5234 * libio/iofclose.c: Likewise.
5235 * libio/iofdopen.c: Likewise.
5236 * libio/iofopen.c: Likewise.
5237 * libio/iofopen64.c: Likewise.
5238 * libio/iogetdelim.c: Likewise.
5239 * libio/iopopen.c: Likewise.
5240 * libio/obprintf.c: Likewise.
5241 * libio/oldfileops.c: Likewise.
5242 * libio/oldiofclose.c: Likewise.
5243 * libio/oldiofdopen.c: Likewise.
5244 * libio/oldiofopen.c: Likewise.
5245 * libio/oldiopopen.c: Likewise.
5246 * libio/wfiledoalloc.c: Likewise.
5247 * libio/wgenops.c: Likewise.
5248 * locale/programs/xmalloc.c: Likewise.
5249 * misc/syslog.c: Likewise.
5250 * stdio-common/xbug.c: Likewise.
5251 * string/memchr.c: Likewise.
5252 * string/memcmp.c: Likewise.
5253 * string/memrchr.c: Likewise.
5254 * string/rawmemchr.c: Likewise.
5255 * sysdeps/posix/getcwd.c: Likewise.
5256 * time/strftime_l.c: Likewise.
5257
3b100462
JM
52582012-01-30 Joseph Myers <joseph@codesourcery.com>
5259
5260 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5261 * config.make.in (config-cflags-sse2avx): Define.
5262 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5263 Fix typo.
5264
607998af
CM
52652012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5266
5267 * scripts/config.guess: Update from upstream config git repository.
5268 * scripts/config.sub: Likewise.
5269
3601428f
CM
52702012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5271
3ac8b282
CM
5272 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5273 (EM_NUM): Update.
5274 (R_TILEPRO_*, R_TILEGX_*): New macros.
5275
e034841e
CM
5276 * scripts/firstversions.awk: Fix bug in version range handling.
5277
540d7568
CM
5278 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5279
3601428f
CM
5280 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5281
463de862
CM
5282 * include/sys/epoll.h: New file.
5283 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5284 libc_hidden_def.
5285
73139a76
UD
52862012-01-28 Ulrich Drepper <drepper@gmail.com>
5287
96bc5b45
UD
5288 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5289 Avoid unnecessary __WORDSIZE == 64 test.
5290 (fmaxf): Use VEX format if possible.
5291 (fmax): Likewise.
5292 (fminf): Likewise.
5293 (fmin): Likewise.
5294
56f6f6a2
UD
5295 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5296 * math/math_private.h: Remove libc_fegetround* and
5297 libc_fesetround*.
5298 * sysdeps/i386/configure.in: Check for -msse2avx.
5299 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5300 also if SSE2AVX is defined.
5301 Remove libc_fegetround* and libc_fesetround*.
5302 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5303 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5304 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5305 of HAS_YMM_USABLE.
5306 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5307 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5308 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5309 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5310 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5311
73139a76
UD
5312 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5313
d73f93a4
AZ
53142012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5315
5316 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5317 size is not set.
5318 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5319
6ee65ed6
UD
53202012-01-27 Ulrich Drepper <drepper@gmail.com>
5321
5322 [BZ #13618]
5323 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5324 relocation.
5325 * Makeconfig (libm): Define.
5326 * elf/Makefile: Add rules to build and run tst-relsort1.
5327 * elf/tst-relsort1.c: New file.
5328 * elf/tst-relsort1mod1.c: New file.
5329 * elf/tst-relsort1mod2.c: New file.
5330
8db21882
JM
53312012-01-27 Joseph Myers <joseph@codesourcery.com>
5332
5333 * math/s_ldexp.c: Remove __STDC__ conditionals.
5334 * math/s_ldexpf.c: Likewise.
5335 * math/s_ldexpl.c: Likewise.
5336 * math/s_nextafter.c: Likewise.
5337 * math/s_nexttowardf.c: Likewise.
5338 * math/s_significand.c: Likewise.
5339 * math/s_significandf.c: Likewise.
5340 * math/s_significandl.c: Likewise.
5341 * math/w_jnl.c: Likewise.
5342 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5343 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5344 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5345 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5346 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5347 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5348 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5350 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5351 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5352 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5353 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5354 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5355 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5356 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5357 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5358 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5361 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5362 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5363 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5364 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5365 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5366 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5367 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5368 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5369 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5370 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5371 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5372 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5373 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5374 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5375 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5376 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5377 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5378 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5379 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5380 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5381 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5382 * sysdeps/ieee754/k_standard.c: Likewise.
5383 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5384 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5385 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5386 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5387 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5388 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5389 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5390 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5391 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5393 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5424 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5425 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5426 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5428 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5430 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5431 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5432 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5435 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5436 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5437 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5438 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5439 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5441 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5442 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5443 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5444 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5446 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5447 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5448 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5449 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5452 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5453 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5454 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5455 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5456 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5457 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5458 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5462 * sysdeps/ieee754/s_matherr.c: Likewise.
5463 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5464 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5465 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5466 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5467
965a54a4
JM
54682012-01-26 Joseph Myers <joseph@codesourcery.com>
5469
5470 * crypt/md5.h: Remove __STDC__ conditionals.
5471 * libio/libioP.h: Likewise.
5472 * locale/programs/config.h: Likewise.
5473 * sysdeps/generic/sysdep.h: Likewise.
5474 * sysdeps/i386/asm-syntax.h: Likewise.
5475 * sysdeps/s390/asm-syntax.h: Likewise.
5476 * sysdeps/unix/sysdep.h: Likewise.
5477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5479
7071ad79
JM
54802012-01-26 Joseph Myers <joseph@codesourcery.com>
5481
5482 * libio/libio.h: Remove __STDC__ conditionals.
5483 * malloc/obstack.h: Likewise.
5484 * math/complex.h: Likewise.
5485 * math/math.h: Likewise.
5486 * sysdeps/generic/_G_config.h: Likewise.
5487 * sysdeps/gnu/_G_config.h: Likewise.
5488 * sysdeps/mach/hurd/_G_config.h: Likewise.
5489 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5490 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5491 * sysdeps/sparc/bits/mathdef.h: Likewise.
5492
afc5ed09
UD
54932012-01-26 Ulrich Drepper <drepper@gmail.com>
5494
5495 [BZ #13583]
5496 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5497 Clean up HAS_* macros.
afc5ed09 5498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5499 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5500 possible.
5501 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5502 HAS_AVX.
5503 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5504 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5505 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5506 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5507 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5508
bdb6de1d
JM
55092012-01-25 Joseph Myers <joseph@codesourcery.com>
5510
5511 * elf/tst-unique3.cc (gets): Remove declaration.
5512 * elf/tst-unique3lib.cc (gets): Likewise.
5513 * elf/tst-unique3lib2.cc (gets): Likewise.
5514 * elf/tst-unique4.cc (gets): Likewise.
5515
b15549e6
UD
55162012-01-24 Ulrich Drepper <drepper@gmail.com>
5517
5518 * include/stdio.h: Add C++ protection. Add gets declarations and
5519 definitions.
5520 * debug/tst-chk1.c: Don't declare gets here.
5521 * stdio-common/tst-gets.c: Likewise.
5522
a037381f
JM
55232012-01-24 Joseph Myers <joseph@codesourcery.com>
5524
5525 * posix/glob: Remove directory.
5526
f1d4aa75
JM
55272012-01-24 Joseph Myers <joseph@codesourcery.com>
5528
5529 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5530
81c0c964
PT
55312012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5532
5533 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5534 of the non-standard EPFNOSUPPORT.
5535
0ea698ae
ST
55362011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5537
5538 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5539 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5540 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5541
d220b117
UD
55422012-01-21 Ulrich Drepper <drepper@gmail.com>
5543
5544 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5545
3e1aa84e
UD
55462012-01-20 Ulrich Drepper <drepper@gmail.com>
5547
5548 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5549 transient errors.
5550 * nscd/grpcache.c (cache_addgr): Likewise.
5551 * nscd/hstcache.c (cache_addhst): Likewise.
5552 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5553 * nscd/pwdcache.c (cache_addpw): Likewise.
5554 * nscd/servicescache.c (cache_addserv): Likewise.
5555
400aa020
UD
55562012-01-16 Ulrich Drepper <drepper@gmail.com>
5557
d77e7869
UD
5558 * malloc/malloc.c: Various cleanups.
5559 * malloc/hooks.c: Likewise.
5560
400aa020
UD
5561 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5562 * stdlib/bug-fmtmsg1.c: New file.
5563
5564 * stdlib/fmtmsg.c (init): Add missing unlock.
5565 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5566
e0a309cf
MP
55672012-01-12 Marek Polacek <polacek@redhat.com>
5568
5569 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5570 and _GNU_SOURCE.
5571
929d11c7
WS
55722012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5573
5574 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5575 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5576 macro to ensure uniqueness of label name.
5577 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5578 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5579
41d0e869
UD
55802012-01-11 Ulrich Drepper <drepper@gmail.com>
5581
0cc5ed3b
UD
5582 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5583
41d0e869
UD
5584 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5585 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5586 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5587 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5588
a47a831a
UD
55892012-01-10 Ulrich Drepper <drepper@gmail.com>
5590
daa891c0
UD
5591 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5592
5593 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5594 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5595 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5596
e58ef0f2
UD
5597 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5598
a47a831a 5599 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5600 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5601 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5602 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5603
5604 * math/bits/math-finite.h: Add ldexp support.
5605
a0bfc9c7
MP
56062012-01-10 Marek Polacek <polacek@redhat.com>
5607
5608 * locale/programs/localedef.h (show_archive_content): Add noreturn
5609 attribute.
5610
d6e97a1d
UD
56112012-01-09 Ulrich Drepper <drepper@gmail.com>
5612
5613 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5614
d5835c26
UD
56152012-01-08 Ulrich Drepper <drepper@gmail.com>
5616
e5f484c6
UD
5617 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5618
d5835c26
UD
5619 * io/Makefile (headers): Add bits/poll2.h.
5620
d1f741e9
WS
56212011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5622
5623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5624 typo #include statement.
5625
ec09c1c4
UD
56262012-01-08 Ulrich Drepper <drepper@gmail.com>
5627
5628 * include/sys/cdefs.h: Define __attribute_alloc_size.
5629 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5630 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5631 * elf/pldd.c: Likewise.
5632 * iconv/iconv_charmap.c: Likewise.
5633 * iconv/iconvconfig.c: Likewise.
5634 * iconv/strtab.c: Likewise.
5635 * locale/programs/locale.c: Likewise.
5636 * locale/programs/localedef.h: Likewise.
5637 * locale/programs/simple-hash.c: Likewise.
5638 * nscd/nscd.h: Likewise.
5639 * nss/makedb.c: Likewise.
5640 * sysdeps/generic/ldconfig.h: Likewise.
5641 * locale/programs/localedef.c: Remove xmalloc prototype.
5642 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5643
20b38e03
PP
56442012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5645
5646 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5647 appropriate.
5648
a0da5fe1
UD
56492012-01-08 Ulrich Drepper <drepper@gmail.com>
5650
1d5a644a 5651 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5652 * math/tst-CMPLX.c: New file.
1d5a644a 5653
8784a6db
UD
5654 * math/complex.h (CMPLXL): Fix typo.
5655
d9a216c0
UD
5656 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5657 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5658 GLIBC_2.16.
5659 * debug/tst-chk1.c: Add poll and ppoll tests.
5660 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5661 * include/sys/poll.h: Add hidden proto for ppoll.
5662 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5663 * sysdeps/mach/hurd/ppoll.c: Likewise.
5664 * io/ppoll.c: Likewise.
5665 * debug/poll_chk.c: New file.
5666 * debug/ppoll_chk.c: New file.
5667 * include/bits/poll2.h: New file.
5668 * io/bits/poll2.h: New file.
5669
ac097f5c
UD
5670 [BZ #1350]
5671 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5672
2119dcfa
UD
5673 * configure.in: static is always set to yes. Remove.
5674 * config.make.in: Don't set build-static.
5675 * Makeconfig: Remove use of build-static.
5676 * dlfcn/Makefile: Likewise.
5677 * elf/Makefile: Likewise.
5678 * math/Makefile: Likewise.
5679 * misc/Makefile: Likewise.
5680 * nptl/Makefile: Likewise.
5681 * sysdeps/mach/hurd/Makefile: Likewise.
5682
121766a9
UD
5683 * configure.in: PWD_P is not used anymore.
5684 * config.make.in: Remove PWD_P entry.
5685
51a1d39c 5686 * configure.in: Remove last remnants of RANLIB.
8720d066 5687 No need to check for signed size_t anymore.
215f4bdc
UD
5688 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5689 and IA-64.
3857022a 5690 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
5691 * aclocal.m4: Likewise.
5692
d3ed7225
UD
5693 * wcsmbs/mbrtoc16.c: Implement using towc function.
5694 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5695 * wcsmbs/wcsmbsload.c: Likewise.
5696 * iconv/gconv_simple.c: Likewise.
5697 * iconv/gconv_int.h: Likewise.
5698 * iconv/gconv_builtin.h: Likewise.
5699 * iconv/iconv_prog.c: Remove CHAR16 handling.
5700
5701 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5702
5703 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5704
a0da5fe1
UD
5705 * configure.in: Remove --with-elf and --enable-bounded options.
5706 Dont set base_machine for ia64. More non-ELF conditions removed.
5707 Remove testing and setting of leading underscore information.
5708 * config.make.in (build-bounded): Set to no.
5709 * config.h.in: Remove NO_UNDERSCORES entry.
5710 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5711 them.
5712 * csu/start.c: Remove !NO_UNDERSCORE code.
5713 * locale/localeinfo.h: Likewise.
5714 * sysdeps/generic/machine-gmon.h: Likewise.
5715 * sysdeps/generic/sysdep.h: Likewise.
5716 * sysdeps/i386/sysdep.h: Likewise.
5717 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5718 * sysdeps/mach/sysdep.h: Likewise.
5719 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5720 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5721 * sysdeps/sh/sysdep.h: Likewise.
5722 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5723 * sysdeps/unix/i386/sysdep.S: Likewise.
5724 * sysdeps/unix/sparc/start.c: Likewise.
5725 * sysdeps/unix/sparc/sysdep.S: Likewise.
5726 * sysdeps/unix/sparc/sysdep.h: Likewise.
5727 * sysdeps/unix/start.c: Likewise.
5728 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5729 * sysdeps/x86_64/sysdep.h: Likewise.
5730
df78418a
UD
57312012-01-07 Ulrich Drepper <drepper@gmail.com>
5732
a784e502
UD
5733 [BZ #13553]
5734 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5735 for non-gcc.
5736 * argp/argp-fmtstream.h: Use const instead __const.
5737 * argp/argp.h: Likewise.
5738 * assert/assert.h: Likewise.
5739 * bits/fenv.h: Likewise.
5740 * bits/sched.h: Likewise.
5741 * bits/sigset.h: Likewise.
5742 * bits/sigthread.h: Likewise.
5743 * catgets/nl_types.h: Likewise.
5744 * conform/data/pthread.h-data: Likewise.
5745 * crypt/crypt-private.h: Likewise.
5746 * crypt/crypt.h: Likewise.
5747 * crypt/crypt_util.c: Likewise.
5748 * ctype/ctype.h: Likewise.
5749 * debug/execinfo.h: Likewise.
5750 * debug/mbsnrtowcs_chk.c: Likewise.
5751 * debug/mbsrtowcs_chk.c: Likewise.
5752 * debug/wcsnrtombs_chk.c: Likewise.
5753 * debug/wcsrtombs_chk.c: Likewise.
5754 * debug/wcstombs_chk.c: Likewise.
5755 * dirent/dirent.h: Likewise.
5756 * dlfcn/dlfcn.h: Likewise.
5757 * elf/neededtest4.c: Likewise.
5758 * grp/grp.h: Likewise.
5759 * gshadow/gshadow.h: Likewise.
5760 * iconv/gconv.h: Likewise.
5761 * iconv/gconv_int.h: Likewise.
5762 * iconv/gconv_simple.c: Likewise.
5763 * iconv/iconv.h: Likewise.
5764 * iconv/loop.c: Likewise.
5765 * iconv/skeleton.c: Likewise.
5766 * include/aio.h: Likewise.
5767 * include/aliases.h: Likewise.
5768 * include/argz.h: Likewise.
5769 * include/arpa/inet.h: Likewise.
5770 * include/assert.h: Likewise.
5771 * include/dirent.h: Likewise.
5772 * include/dlfcn.h: Likewise.
5773 * include/execinfo.h: Likewise.
5774 * include/fcntl.h: Likewise.
5775 * include/fenv.h: Likewise.
5776 * include/glob.h: Likewise.
5777 * include/grp.h: Likewise.
5778 * include/libintl.h: Likewise.
5779 * include/mntent.h: Likewise.
5780 * include/netdb.h: Likewise.
5781 * include/pwd.h: Likewise.
5782 * include/rpc/netdb.h: Likewise.
5783 * include/sched.h: Likewise.
5784 * include/search.h: Likewise.
5785 * include/shadow.h: Likewise.
5786 * include/signal.h: Likewise.
5787 * include/stdio.h: Likewise.
5788 * include/stdlib.h: Likewise.
5789 * include/string.h: Likewise.
5790 * include/sys/socket.h: Likewise.
5791 * include/sys/stat.h: Likewise.
5792 * include/sys/statfs.h: Likewise.
5793 * include/sys/statvfs.h: Likewise.
5794 * include/sys/syslog.h: Likewise.
5795 * include/sys/time.h: Likewise.
5796 * include/sys/uio.h: Likewise.
5797 * include/time.h: Likewise.
5798 * include/unistd.h: Likewise.
5799 * include/utmp.h: Likewise.
5800 * include/wchar.h: Likewise.
5801 * include/wctype.h: Likewise.
5802 * inet/aliases.h: Likewise.
5803 * inet/arpa/inet.h: Likewise.
5804 * inet/netinet/ether.h: Likewise.
5805 * inet/netinet/in.h: Likewise.
5806 * intl/libintl.h: Likewise.
5807 * io/bits/fcntl2.h: Likewise.
5808 * io/fcntl.h: Likewise.
5809 * io/ftw.h: Likewise.
5810 * io/sys/poll.h: Likewise.
5811 * io/sys/stat.h: Likewise.
5812 * io/sys/statfs.h: Likewise.
5813 * io/sys/statvfs.h: Likewise.
5814 * io/utime.h: Likewise.
5815 * libio/bits/stdio.h: Likewise.
5816 * libio/bits/stdio2.h: Likewise.
5817 * libio/libio.h: Likewise.
5818 * libio/libioP.h: Likewise.
5819 * libio/stdio.h: Likewise.
5820 * locale/lc-ctype.c: Likewise.
5821 * locale/locale.h: Likewise.
5822 * login/utmp.h: Likewise.
5823 * malloc/arena.c: Likewise.
5824 * malloc/malloc.c: Likewise.
5825 * malloc/malloc.h: Likewise.
5826 * malloc/mcheck.c: Likewise.
5827 * malloc/mtrace.c: Likewise.
5828 * math/bits/mathcalls.h: Likewise.
5829 * math/fenv.h: Likewise.
5830 * math/math_private.h: Likewise.
5831 * misc/bits/error.h: Likewise.
5832 * misc/bits/syslog.h: Likewise.
5833 * misc/err.h: Likewise.
5834 * misc/error.h: Likewise.
5835 * misc/fstab.h: Likewise.
5836 * misc/mntent.h: Likewise.
5837 * misc/regexp.h: Likewise.
5838 * misc/search.h: Likewise.
5839 * misc/sgtty.h: Likewise.
5840 * misc/sys/mman.h: Likewise.
5841 * misc/sys/syslog.h: Likewise.
5842 * misc/sys/uio.h: Likewise.
5843 * misc/sys/xattr.h: Likewise.
5844 * misc/ttyent.h: Likewise.
5845 * nis/rpcsvc/ypclnt.h: Likewise.
5846 * nss/nss.h: Likewise.
5847 * posix/bits/unistd.h: Likewise.
5848 * posix/fnmatch.h: Likewise.
5849 * posix/glob.h: Likewise.
5850 * posix/sched.h: Likewise.
5851 * posix/spawn.h: Likewise.
5852 * posix/sys/wait.h: Likewise.
5853 * posix/unistd.h: Likewise.
5854 * posix/wordexp.h: Likewise.
5855 * pwd/pwd.h: Likewise.
5856 * resolv/netdb.h: Likewise.
5857 * resource/sys/resource.h: Likewise.
5858 * rt/aio.h: Likewise.
5859 * rt/bits/mqueue2.h: Likewise.
5860 * rt/mqueue.h: Likewise.
5861 * shadow/shadow.h: Likewise.
5862 * signal/signal.h: Likewise.
5863 * socket/send.c: Likewise.
5864 * socket/sendto.c: Likewise.
5865 * socket/sys/socket.h: Likewise.
5866 * stdio-common/printf.h: Likewise.
5867 * stdlib/bits/stdlib.h: Likewise.
5868 * stdlib/fmtmsg.h: Likewise.
5869 * stdlib/monetary.h: Likewise.
5870 * stdlib/stdlib.h: Likewise.
5871 * stdlib/ucontext.h: Likewise.
5872 * streams/stropts.h: Likewise.
5873 * string/argz.h: Likewise.
5874 * string/bits/string2.h: Likewise.
5875 * string/string.h: Likewise.
5876 * string/strings.h: Likewise.
5877 * sunrpc/rpc/auth.h: Likewise.
5878 * sunrpc/rpc/auth_des.h: Likewise.
5879 * sunrpc/rpc/clnt.h: Likewise.
5880 * sunrpc/rpc/netdb.h: Likewise.
5881 * sunrpc/rpc/pmap_clnt.h: Likewise.
5882 * sunrpc/rpc/xdr.h: Likewise.
5883 * sysdeps/generic/inttypes.h: Likewise.
5884 * sysdeps/generic/net/if.h: Likewise.
5885 * sysdeps/generic/sys/swap.h: Likewise.
5886 * sysdeps/gnu/net/if.h: Likewise.
5887 * sysdeps/gnu/utmpx.h: Likewise.
5888 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5889 * sysdeps/i386/i486/bits/string.h: Likewise.
5890 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5891 * sysdeps/s390/bits/string.h: Likewise.
5892 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5893 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5894 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5895 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5896 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5897 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5898 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5899 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5900 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5901 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5902 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5903 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5904 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5905 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5906 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5907 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5908 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5909 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5910 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5911 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5912 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5913 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5914 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5915 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5916 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5917 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5918 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5919 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5920 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5921 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5922 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5923 * sysvipc/sys/ipc.h: Likewise.
5924 * sysvipc/sys/msg.h: Likewise.
5925 * sysvipc/sys/sem.h: Likewise.
5926 * sysvipc/sys/shm.h: Likewise.
5927 * termios/termios.h: Likewise.
5928 * time/sys/time.h: Likewise.
5929 * time/time.h: Likewise.
5930 * wcsmbs/bits/wchar2.h: Likewise.
5931 * wcsmbs/uchar.h: Likewise.
5932 * wcsmbs/wchar.h: Likewise.
5933 * wctype/wctype.h: Likewise.
5934
0269750c
UD
5935 [BZ #13551]
5936 * Makeconfig: Remove all but ELF support including AIX support.
5937 * Makerules: Likewise.
5938 * config.h.in: Likewise.
5939 * config.make.in: Likewise.
5940 * configure: Likewise.
5941 * configure.in: Likewise.
5942 * csu/Makefile: Likewise.
5943 * csu/version.c: Likewise.
5944 * debug/Makefile: Likewise.
5945 * dlfcn/Makefile: Likewise.
5946 * elf/Makefile: Likewise.
5947 * extra-lib.mk: Likewise.
5948 * iconv/Makefile: Likewise.
5949 * include/libc-symbols.h: Likewise.
5950 * include/shlib-compat.h: Likewise.
5951 * resolv/Makefile: Likewise.
5952 * resolv/res_libc.c: Likewise.
5953 * rt/Makefile: Likewise.
5954 * sysdeps/i386/asm-syntax.h: Likewise.
5955 * sysdeps/i386/sysdep.h: Likewise.
5956 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5957 * sysdeps/mach/sysdep.h: Likewise.
5958 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5959 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5960 * sysdeps/s390/asm-syntax.h: Likewise.
5961 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5962 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5963 * sysdeps/sh/sysdep.h: Likewise.
5964 * sysdeps/unix/sparc/sysdep.h: Likewise.
5965 * sysdeps/wordsize-32/divdi3.c: Likewise.
5966 * sysdeps/x86_64/sysdep.h: Likewise.
5967
00bbd29b
UD
5968 * argp/Versions: Remove _argp_unlock_xxx.
5969
5970 [BZ #13559]
5971 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5972 * abilist/libBrokenLocale.abilist: Likewise.
5973 * abilist/libanl.abilist: Likewise.
5974 * abilist/libc.abilist: Likewise.
5975 * abilist/libcrypt.abilist: Likewise.
5976 * abilist/libdl.abilist: Likewise.
5977 * abilist/libm.abilist: Likewise.
5978 * abilist/libnsl.abilist: Likewise.
5979 * abilist/libpthread.abilist: Likewise.
5980 * abilist/libresolv.abilist: Likewise.
5981 * abilist/librt.abilist: Likewise.
5982 * abilist/libthread_db.abilist: Likewise.
5983 * abilist/libutil.abilist: Likewise.
5984 * abilist/libnss_db.abilist: New file.
5985
5986 * scripts/abilist.awk: Add support for indirect functions.
5987
a2693a0e
UD
5988 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5989
3f05895f
UD
5990 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5991
ecb6fb48
UD
5992 * shlib-versions: Remove entries for ports architectures.
5993
664f8cb9
UD
5994 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5995 files in ports.
5996 * elf/stackguard-macros.h: Remove support for IA-64.
5997 * elf/tst-auditmod1.c: Likewise.
5998 * sysdeps/generic/ldsodefs.h: Likewise.
5999
7ae81d88
UD
6000 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6001 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6002 configure files.
6003
bdeba135
UD
6004 [BZ #13552]
6005 * configure.in: Remove --enable-omitfp support.
6006 * FAQ.in: Adjust.
6007 * config.make.in: Likewise.
6008 * Makeconfig: Likewise.
6009 * manual/install.texi: Likewise.
6010
d75a0a62
UD
6011 In case anyone cares, the IA-64 architecture could move to ports.
6012 * sysdeps/ia64/*: Removed.
6013 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6014 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6015
dcc9756b
UD
6016 [BZ #13555]
6017 * configure.in: Remove entries for unsupported architectures.
6018
d3761ebc 6019 [BZ #13533]
9954432e
UD
6020 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6021 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6022 routines.
6023 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6024 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6025 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6026 fall back to using wcrtomb.
6027 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6028 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6029 renaming.
6030 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6031 * wcsmbs/tst-c16c32-1.c: New file.
6032
6033 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6034 local variable.
6035
c3a87236
UD
6036 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6037
28926a1b
UD
6038 * elf/tst-unique3.cc: Add explicit declaration of gets.
6039 * elf/tst-unique3lib.cc: Likewise.
6040 * elf/tst-unique3lib2.cc: Likewise.
6041 * elf/tst-unique4.cc: Likewise.
6042
df78418a
UD
6043 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6044
8ecd6b2a
JM
60452012-01-06 Joseph Myers <joseph@codesourcery.com>
6046
6047 [BZ #13566]
6048 * assert/assert.h (static_assert): Don't define for C++.
6049 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6050 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6051
9f115170
UD
60522012-01-03 Ulrich Drepper <drepper@gmail.com>
6053
5e0d0300
UD
6054 * iconv/loop.c (single loop): Fix assertion in storing of
6055 remaining bytes.
6056
9f115170
UD
6057 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6058
81fb02b0
UD
60592012-01-01 Ulrich Drepper <drepper@gmail.com>
6060
6061 * posix/getconf.c: Update copyright year.
6062 * nss/getent.c: Likewise.
a316c1f6 6063 * nss/makedb.c: Likewise.
81fb02b0
UD
6064 * iconv/iconvconfig.c: Likewise.
6065 * iconv/iconv_prog.c: Likewise.
6066 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6067 * elf/pldd.c: Likewise.
6068 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6069 * catgets/gencat.c: Likewise.
6070 * csu/version.c: Likewise.
6071 * elf/ldd.bash.in: Likewise.
6072 * elf/sprof.c (print_version): Likewise.
6073 * locale/programs/locale.c: Likewise.
6074 * locale/programs/localedef.c: Likewise.
a316c1f6 6075 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6076 * nscd/nscd.c (print_version): Likewise.
6077 * debug/xtrace.sh: Likewise.
6078 * malloc/memusage.sh: Likewise.
6079 * malloc/mtrace.pl: Likewise.
6080 * debug/catchsegv.sh: Likewise.
6081
2ba92745
JJ
60822011-12-30 Jakub Jelinek <jakub@redhat.com>
6083
6084 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6085 pure attribute.
6086
dadebdae
UD
60872011-12-24 Ulrich Drepper <drepper@gmail.com>
6088
d3761ebc 6089 [BZ #13533]
db6af3eb
UD
6090 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6091 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6092 transformations.
6093 * iconv/gconv_int.h: Likewise.
6094 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6095 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6096 from libc for GLIBC_2.16.
6097 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6098 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6099 * wcsmbs/uchar.h: Really define mbstate_t.
6100 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6101 * wcsmbs/c16rtomb.c: New file.
6102 * wcsmbs/mbrtoc16.c: New file.
6103 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6104 for C/POSIX locale.
6105 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6106 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6107
dadebdae
UD
6108 * wcsmbs/wchar.h: Add missing __restrict.
6109
67371b56
UD
61102011-12-23 Ulrich Drepper <drepper@gmail.com>
6111
74033a25
UD
6112 [BZ #13532]
6113 * time/Makefile (routines): Add timespec_get.
6114 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6115 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6116 timespec for ISO C11.
6117 * time/timespec_get.c: New file.
6118 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6119 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6120
380d7e87
UD
6121 [BZ #13531]
6122 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6123 * stdlib/stdlib.h: Declare aligned_alloc.
6124 * Versions.def: Add GLIBC_2.16 for libc.
6125 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6126
4e9e7a35
UD
6127 [BZ 13527]
6128 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6129 ISO C11.
6130
380d7e87 6131 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6132 code.
6133
03a71829
UD
6134 [BZ #13528]
6135 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6136
839e283e
UD
6137 [BZ #13529]
6138 * assert/assert.h (static_assert): Define.
6139
ce5294e2 6140 * version.h: Update for 2.16 development version.
90fa7312 6141
8d44e150 6142 [BZ #13526]
d7809905
UD
6143 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6144 _ISOC11_SOURCE.
6145
c0da14cd
UD
6146 * version.h (RELEASE): Bump for 2.15 release.
6147 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6148
530a3249
MP
6149 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6150 Patch by Marek Polacek <mpolacek@redhat.com>.
6151
67371b56
UD
6152 * bits/byteswap.h: Protect long long constants with __extension__.
6153 * sysdeps/i386/bits/byteswap.h: Likewise.
6154 * sysdeps/ia64/bits/byteswap.h: Likewise.
6155 * sysdeps/s390/bits/byteswap.h: Likewise.
6156 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6157
15db4de1
LD
61582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6159
6160 [BZ #13540]
bbe315ea
LD
6161 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6162 destination buffer.
15db4de1
LD
6163 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6164
2b2596b1
MP
61652011-12-23 Marek Polacek <polacek@redhat.com>
6166
6167 * elf/dl-addr.c (determine_info): Add inline keyword.
6168 * elf/tst-auditmod4b.c (check_avx): Likewise.
6169 * elf/tst-auditmod6b.c (check_avx): Likewise.
6170 * elf/tst-auditmod6c.c (check_avx): Likewise.
6171 * elf/tst-auditmod7b.c (check_avx): Likewise.
6172
70c6c246
UD
61732011-12-23 Ulrich Drepper <drepper@gmail.com>
6174
6175 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6176 !__SSE_MATH__.
6177
c044cf14
LD
61782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6179
15db4de1 6180 [BZ #13540]
c044cf14
LD
6181 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6182 processing for last bytes.
6183
6b13d9d9
BH
61842011-08-06 Bruno Haible <bruno@clisp.org>
6185
d455f537
BH
6186 [BZ #13061]
6187 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6188 U+0385, not to U+1FEE.
6189
6b13d9d9
BH
6190 [BZ #13062]
6191 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6192 entry for U+00A5 U+0301.
6193
db910efd
UD
61942011-12-22 Ulrich Drepper <drepper@gmail.com>
6195
27deeafc
UD
6196 [BZ #13166]
6197 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6198 buffer for the output is too small.
6199
aed9d171
UD
6200 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6201 optimization.
6202
db910efd
UD
6203 [BZ #13185]
6204 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6205 SSE flags if possible.
6206
2bd779ae
LD
62072011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6208
e7f9dac3 6209 [BZ #13540]
2bd779ae
LD
6210 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6211 processing for last bytes.
6212
154bfc16
JM
62132011-12-22 Joseph Myers <joseph@codesourcery.com>
6214
6215 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6216 (syscall-list-default-options, syscall-list-default-condition)
6217 (syscall-list-includes): Define.
6218 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6219 list of ABIs and options and #if conditions for each ABI. Do not
6220 handle common syscalls between ABIs specially.
6221 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6222 Remove.
6223 (syscall-list-variants, syscall-list-32bit-options)
6224 (syscall-list-32bit-condition, syscall-list-64bit-options)
6225 (syscall-list-64bit-condition): Define.
6226 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6227 (syscall-list-variants, syscall-list-32bit-options)
6228 (syscall-list-32bit-condition, syscall-list-64bit-options)
6229 (syscall-list-64bit-condition): Define.
6230 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6231 Remove.
6232 (syscall-list-variants, syscall-list-32bit-options)
6233 (syscall-list-32bit-condition, syscall-list-64bit-options)
6234 (syscall-list-64bit-condition): Define.
6235 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6236 Remove.
6237 (syscall-list-variants, syscall-list-32bit-options)
6238 (syscall-list-32bit-condition, syscall-list-64bit-options)
6239 (syscall-list-64bit-condition): Define.
6240
21eaf3a5
UD
62412011-12-22 Ulrich Drepper <drepper@gmail.com>
6242
16c6f992
UD
6243 * locale/iso-639.def: Add brx entry.
6244
41043168
UD
6245 [BZ #13328]
6246 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6247 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6248
21eaf3a5
UD
6249 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6250 __feraiseexcept_renamed.
6251
e3a851a2
UD
62522011-12-21 Ulrich Drepper <drepper@gmail.com>
6253
4920765e
UD
6254 [BZ #13538]
6255 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6256 EPOLLET with unsigned values.
6257 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6258 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6259
e3a851a2
UD
6260 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6261 to large cancellation.
6262 * math/s_cacoshf.c: Likewise.
6263 * math/s_cacoshl.c: Likewise.
6264
b27e24b8
RK
62652011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6266
6267 [BZ #13305]
aebefeee 6268 [BZ #12786]
b27e24b8
RK
6269 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6270 * math/s_cacoshf.c: Likewise.
6271 * math/s_cacoshl.c: Likewise.
6272
ee190f67
UD
62732011-12-21 Ulrich Drepper <drepper@gmail.com>
6274
6275 [BZ #13439]
6276 * iconv/gconv.h: Define __GCONV_SWAP.
6277 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6278 * iconvdata/utf-16.c: Likewise.
6279 * iconvdata/utf-32.c: Likewise.
6280
707f25df
AS
62812011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6282
6283 [BZ #13524]
6284 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6285 numerator after shifting it by one limb.
6286
d2daaa1e
RÁE
62872011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6288
6289 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6290 under [__USE_EXTERN_INLINES].
6291
a4647e72
UD
62922011-12-17 Ulrich Drepper <drepper@gmail.com>
6293
6294 [BZ #13446]
6295 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6296
f0b264f1
AZ
62972011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6298
6299 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6300 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6301 optimized code.
6302 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6303 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6304 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6305 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6306 for strncasecmp/strncasecmp_l compilation.
6307 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6308 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6309
8ef4f244
MP
63102011-12-08 Marek Polacek <mpolacek@redhat.com>
6311
6312 [BZ #13484]
6313 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6314 of __asm__.
6315
97ac2654
UD
63162011-12-17 Ulrich Drepper <drepper@gmail.com>
6317
6318 [BZ #13506]
6319 * time/tzfile.c (__tzfile_read): Check values from file header.
6320
91d2a845
WS
63212011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6322
6323 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6324 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6325 * powerpc/powerpc32/dl-start.S: Likewise.
6326 * powerpc/powerpc32/elf/start.S: Likewise.
6327 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6328 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6329 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6330 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6331 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6332 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6333 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6334 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6335 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6336 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6337 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6338 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6339 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6340 * powerpc/powerpc32/memset.S: Likewise.
6341 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6342 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6343 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6344 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6345 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6346 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6347 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6348 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6349 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6350 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6351 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6352 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6353 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6354
a1267ba1
AZ
63552011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6356
6357 * math/libm-test.inc: Added more nearbyint tests.
6358 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6359 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6360 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6361 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6362
ad8ac1bd
RL
63632011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6364
6365 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6366 FD_CLOEXEC.
6367
1d3e4b61
UD
63682011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6369
6370 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6371 Add wcscpy-ssse3 wcscpy-c.
6372 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6373 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6374 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6375 * sysdeps/x86_64/wcschr.S: New file.
6376 * sysdeps/x86_64/wcsrchr.S: New file.
6377 * string/test-strcmp.c: Remove checking of wcscmp function for
6378 wrong alignments.
6379 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6380 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6381 wcsrchr-sse2 wcsrchr-c.
6382 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6383 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6384 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6385 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6386 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6387 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6388 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6389 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6390 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6391 * wcsmbc/wcschr.c (WCSCHR): New macro.
6392
5b330a2d
UD
63932011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6394
6395 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6396 * wcsmbs/test-wcsrchr.c: New file.
6397 * string/test-strrchr.c: Add wcsrchr support.
6398 (WIDE): New macro.
6399 * wcsmbs/test-wcscpy.c: New file.
6400 * string/test-strcpy.c: Add wcscpy support.
6401 (WIDE): New macro.
26428b7c 6402
f039c043
UD
64032011-12-10 Ulrich Drepper <drepper@gmail.com>
6404
6405 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6406 the inner loop.
6407
850fb039
AS
64082011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6409
6410 [BZ #13472]
6411 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6412
4efbd5cb
UD
64132011-12-04 Ulrich Drepper <drepper@gmail.com>
6414
52ff5dd0 6415 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6416 Minor optimizations.
52ff5dd0 6417
4efbd5cb
UD
6418 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6419 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6420 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6421
8a426e12
UD
64222011-12-03 Ulrich Drepper <drepper@gmail.com>
6423
aff2453d
UD
6424 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6425 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6426 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6427 for gcc to avoid warnings.
6428 * inet/Makefile (tests): Add tst-checks.
6429 * inet/tst-checks.c: New file.
6430
6431 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6432 warning.
6433
6434 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6435 __wmemcmp_sse2.
6436
6437 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6438 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6439
8a426e12
UD
6440 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6441
9bea3473
UD
64422011-12-02 Ulrich Drepper <drepper@gmail.com>
6443
3a965496
UD
6444 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6445 problem.
6446
9bea3473
UD
6447 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6448
f101631b
UD
64492011-11-29 Joseph Myers <joseph@codesourcery.com>
6450
6451 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6452 conditional on GCC version.
6453 (__arch_compare_and_exchange_val_8_acq)
6454 (__arch_compare_and_exchange_val_16_acq)
6455 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6456 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6457 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6458
a98275aa
UD
64592011-12-02 Joseph Myers <joseph@codesourcery.com>
6460
6461 * sysdeps/sh/backtrace.c: New file.
6462
d4cc29a2
AS
64632011-12-02 Andreas Schwab <schwab@redhat.com>
6464
6465 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6466 parenthesis.
6467
6257af2d
AS
64682011-12-01 Andreas Schwab <schwab@redhat.com>
6469
6470 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6471 falling back to utime.
6472
b5f44c1a
AS
64732011-11-30 Andreas Schwab <schwab@redhat.com>
6474
6475 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6476 expectations for float.
6477
f3a6cc0a
AS
64782011-11-29 Andreas Schwab <schwab@redhat.com>
6479
6480 * locale/weight.h (findidx): Add parameter len.
6481 * locale/weightwc.h (findidx): Likewise.
6482 * posix/fnmatch_loop.c (FCT): Adjust caller.
6483 * posix/regcomp.c (build_equiv_class): Likewise.
6484 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6485 * posix/regexec.c (check_node_accept_bytes): Likewise.
6486 * string/strcoll_l.c (STRCOLL): Likewise.
6487 * string/strxfrm_l.c (STRXFRM): Likewise.
6488
9d65ea3a
UD
64892011-11-17 Ulrich Drepper <drepper@gmail.com>
6490
6491 * Makefile.in: Remove CVSOPT handling.
6492 * configure.in: Remove use of AC_REVISION.
6493 * iconvdata/Makefile (distribute): No need to filter out CVS.
6494 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6495 handling.
6496
5583a086
AS
64972011-11-16 Andreas Schwab <schwab@redhat.com>
6498
6499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6500 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6501 [USE_AS_STRNCASECMP_L]: Likewise.
6502 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6503 NO_TLS_DIRECT_SEG_REFS.
6504 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6505 Fix argument offsets for non-PIC.
6506 [USE_AS_STRNCASECMP_L]: Likewise.
6507 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6508 NO_TLS_DIRECT_SEG_REFS.
6509
d62a8200
UD
65102011-11-15 Ulrich Drepper <drepper@gmail.com>
6511
9d65ea3a 6512 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6513 O_CLOEXEC.
6514 * locale/loadlocale.c (_nl_load_locale): Likewise.
6515
09f93bd3
AS
65162011-11-15 Andreas Schwab <schwab@redhat.com>
6517
446514f9
AS
6518 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6519 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6520 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6521 (SYSCALL_GETTIME): Set errno on error.
6522
09f93bd3
AS
6523 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6524 count references to noai6ai_cached.
6525
312be3f9
UD
65262011-11-15 Ulrich Drepper <drepper@gmail.com>
6527
6528 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6529
6530 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6531 FD_CLOEXEC for /proc/self/maps.
6532
6533 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6534 FD_CLOEXEC for /proc/meminfo.
6535
6536 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6537 gai.conf.
6538
6539 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6540 FD_CLOEXEC for given file.
6541
6542 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6543
6544 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6545 FD_CLOEXEC for /etc/hosts.
6546 (_gethtent): Likewise.
6547
6548 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6549
6550 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6551 cancellation and set FD_CLOEXEC for /etc/netgroup.
6552
6553 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6554 reading /etc/publickey.
6555
6556 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6557 allow cancellation when reading /etc/group.
6558
6559 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6560 cancellation.
6561 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6562
6563 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6564 when using data file.
6565
6566 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6567
6568 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6569 (write_nis_obj): Use "c" and "e" in fopen.
6570
6571 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6572
6573 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6574
6575 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6576
6577 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6578
6579 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6580 locale.alias.
6581
6582 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6583
6584 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6585
6586 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6587
6588 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6589 file parsing and set FD_CLOEXEC.
6590
82af0fa8
UD
65912011-11-14 Ulrich Drepper <drepper@gmail.com>
6592
6593 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6594
a5fb313c
AS
65952011-11-14 Andreas Schwab <schwab@redhat.com>
6596
6597 * malloc/arena.c (arena_get2): Don't call reused_arena when
6598 _int_new_arena failed.
6599
6abf3465
UD
66002011-11-14 Ulrich Drepper <drepper@gmail.com>
6601
6602 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6603 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6604 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6605 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6606 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6607 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6608 to compile strcasecmp and strncasecmp.
6609 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6610 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6611
6612 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6613
76e3966e
UD
66142011-11-13 Ulrich Drepper <drepper@gmail.com>
6615
6616 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6617 locale-defines.sym to gen-as-const-headers.
6618 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6619 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6620 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6621 to compile strcasecmp and strncasecmp.
6622 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6623 strcasecmp_l and strncasecmp_l.
6624 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6625 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6626 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6627 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6628 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6629 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6630 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6631 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6632 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6633 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6634 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6635
ab26144e
UD
66362011-11-12 Ulrich Drepper <drepper@gmail.com>
6637
7edb22ef
UD
6638 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6639 result of SYSDEP_GETTIME_CPU to retval.
6640 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6641 parameter list to macro. Remove trailing semicolon. Adjust users.
6642
9694fc44
UD
6643 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6644 variable.
6645
8ad89ef8
UD
6646 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6647 mantissa words.
6648 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6649
0c822ef9
UD
6650 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6651 from unused variable.
6652
874e0564
UD
6653 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6654 DWARF definitions.
6655 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6656 for assembling.
6657
3a2edc79
UD
6658 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6659 over namespaces.
6660
f3c2577f
UD
6661 * sunrpc/rpc_prot.c (rejected): Fix case value.
6662
294ce126
UD
6663 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6664 unsigned long long int to avoid warnings in shift.
6665
5e2b63c6
UD
6666 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6667 of use of trans.
6668 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6669 variable tmp.
6670
e7f4b08e
UD
6671 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6672 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6673 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6674
ab26144e
UD
6675 * nis/nis_table.c (nis_list): Use variable of correct type for
6676 result of __follow_path call.
6677
8a6d5255
AZ
66782011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6679
6680 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6681 of math functions ceil, trunc, floor, round, and sqrt, when
6682 avaliable on the platform.
6683 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6684 name clash.
6685 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6686 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6687 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6688
aaddc98c
MP
66892011-10-30 Marek Polacek <mpolacek@redhat.com>
6690
6691 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6692 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6693
95b7042b
RM
66942011-11-11 Roland McGrath <roland@hack.frob.com>
6695
6696 * include/unistd.h: Fix __readlink return type.
6697 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6698
57769839
UD
66992011-11-11 Ulrich Drepper <drepper@gmail.com>
6700
6701 * stdlib/ucontext.h: Undo last change for makecontext.
6702
edc5984d
AS
67032011-11-11 Andreas Schwab <schwab@redhat.com>
6704
98591e58
AS
6705 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6706
edc5984d
AS
6707 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6708 * setjmp/setjmp.h: Mark functions as non-leaf.
6709 * setjmp/bits/setjmp2.h: Likewise.
6710 * stdlib/ucontext.h: Likewise.
6711
77cdc054
AS
67122011-11-10 Andreas Schwab <schwab@redhat.com>
6713
6714 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6715 (reused_arena): Don't check arena limit.
6716 (arena_get2): Atomically check arena limit.
6717
fe72eebd
UD
67182011-11-08 Ulrich Drepper <drepper@gmail.com>
6719
5f078c32
UD
6720 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6721 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6722
fe72eebd
UD
6723 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6724 instructions.
6725
ae1bc2fa
AS
67262011-11-07 Andreas Schwab <schwab@redhat.com>
6727
7583a88d
AS
6728 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6729 handler when locking.
6730
ae1bc2fa
AS
6731 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6732 Fix size of allocated buffer.
6733
10fb0bfa
AS
67342011-11-04 Andreas Schwab <schwab@redhat.com>
6735
998832a4
AS
6736 [BZ #10103]
6737 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6738 declarations for long double functions.
6739 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6740
10fb0bfa
AS
6741 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6742
3d7ba52b
AS
67432011-11-03 Andreas Schwab <schwab@redhat.com>
6744
a9ae54a1
AS
6745 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6746 installed.
6747
3d7ba52b
AS
6748 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6749 is disabled.
6750
bc8db248
ST
67512011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6752
6753 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6754
45b96dd6
AS
67552011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6756
647776f6
AS
6757 * include/alloca.h (stackinfo_alloca_round): Define.
6758 (extend_alloca): Use it.
6759 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6760 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6761 here.
6762
d91a8b93
AS
6763 * scripts/check-local-headers.sh: Ignore libaudit.h.
6764
45b96dd6
AS
6765 * nscd/Makefile (extra-objs): Make recursively expanded.
6766
432d41ce
UD
67672011-11-01 Ulrich Drepper <drepper@gmail.com>
6768
34372fc6
UD
6769 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6770 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6771
fadb59f8
UD
6772 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6773 * posix/tst-rfc3484-2.c: Likewise.
6774 * posix/tst-rfc3484-3.c: Likewise.
6775
78239589
UD
6776 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6777 process_vm_writev.
6778 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6779 process_vm_writev.
6780 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6781 process_vm_writev from libc using GLIBC_2.15 version.
6782
432d41ce
UD
6783 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6784
02f9c6cf
PP
67852011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6786
6787 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6788 stack usage.
6789
3a2c0242
UD
67902011-10-31 Ulrich Drepper <drepper@gmail.com>
6791
f4ec4833
UD
6792 [BZ #13367]
6793 * nss/getent.c (initgroups_keys): Show error message in case no group
6794 names are given.
6795
3a2c0242
UD
6796 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6797 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6798 __bump_nl_timestamp.
6799 * nscd/connections (nscd_init): When host database is served open
6800 netlink socket and request notification about configuration changes.
6801 (main_loop_poll): Track netlink file descriptor and bump timestamp
6802 in case data becomes available.
6803 (main_loop_epoll): Likewise.
6804 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6805 (database_pers_head): Add extra_data fileds.
6806 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6807 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6808 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6809 Adjust caller.
6810 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6811 in6ai data, call __free_in6ai.
6812 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6813 Add -DHAVE_NETLINK.
6814 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6815 interface information. Reuse previous data if netlink timestamp
6816 is not changed.
6817 (__bump_nl_timestamp): New function.
6818 (__free_in6ai): New function.
6819
636064eb
UD
68202011-10-30 Ulrich Drepper <drepper@gmail.com>
6821
6822 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6823 close_not_cancel_no_status here.
6824 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6825
9beb2334
UD
68262011-10-29 Ulrich Drepper <drepper@gmail.com>
6827
6ef76f3b
UD
6828 [BZ #13276]
6829 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6830 return value.
6831
0ffc4f3e 6832 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
6833 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6834 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6835
cb95113e
UD
68362011-07-03 Andreas Jaeger <aj@suse.de>
6837
6838 [BZ #10709]
6839 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6840 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6841 * math/libm-test.inc (sin_test): Add test case.
6842
a1b560ff
UD
68432011-10-29 Ulrich Drepper <drepper@gmail.com>
6844
c9aaface
UD
6845 [BZ #13337]
6846 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6847 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6848
d272e7f1
UD
6849 * elf/chroot_canon.c (chroot_canon): Cleanups.
6850
1bc33071
UD
6851 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6852
1760874d
TJ
6853 [BZ #13335]
6854 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6855 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6856
51d91b18
UD
6857 * string/test-strchr.c: Make usable for strchrnul testing.
6858 * string/test-strchrnul.c: New file.
6859 * string/Makefile (strop-tests): Add strchrnul.
6860
a1b560ff 6861 * po/it.po: Update from translation team.
b611fb81 6862 * po/es.po: Likewise.
a1b560ff 6863
a5b81e1f
UD
68642011-10-28 Ulrich Drepper <drepper@gmail.com>
6865
fd52bc6d
UD
6866 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6867 the three constants needed as parameters. Drop the others.
6868 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6869 __m128i_strloadu_tolower.
52e4b9eb
UD
6870 Create and initialize variable zero and use it in all the places
6871 where _mm_setzero_si128 was used.
fd52bc6d 6872
a5b81e1f
UD
6873 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6874 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6875 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6876 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6877 anymore.
6878 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6879 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6880 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6881 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6882 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6883 __mpranred, __mptan.
6884 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6885 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6886 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6887 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6888 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6889 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6890 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6891 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6892 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6893
b4343346
AS
68942011-10-28 Andreas Schwab <schwab@redhat.com>
6895
0c92d8a8
AS
6896 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6897 redefine if SHARED.
6898 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6899
b4343346
AS
6900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6901 wide char related routines to wcsmbs subdir.
6902
3871f58f
AS
69032011-10-27 Andreas Schwab <schwab@redhat.com>
6904
6905 [BZ #13344]
6906 * misc/sys/cdefs.h (__THROWNL): Define.
6907 * posix/unistd.h: Use __THREADNL instead of __THREAD
6908 for memory synchronization functions.
6909
94d44d9f
RM
69102011-10-26 Roland McGrath <roland@hack.frob.com>
6911
21b64b15 6912 [BZ #13349]
94d44d9f
RM
6913 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6914 doesn't exist.
6915 * manual/stdio.texi (Obstack Streams): Node removed.
6916
f6ce9294
AS
69172011-10-26 Andreas Schwab <schwab@redhat.com>
6918
80479147
AS
6919 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6920 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6921 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6922
f6ce9294
AS
6923 * math/math_private.h (math_force_eval): Allow non-addressable
6924 arguments.
6925 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6926
618280a1
UD
69272011-10-25 Ulrich Drepper <drepper@gmail.com>
6928
e0016b11
UD
6929 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6930 file is not needed.
6931
6932 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6933 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6934 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6935 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6936 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6937 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6938 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6939 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6940 Add AVX variants.
6941 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6942 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6943 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6944 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6945 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6946 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6947 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6948 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6949 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6950 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6951 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6952 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6953 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6954 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6955 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6956 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6957 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6958 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6959 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6960
6961 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6962 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6963
618280a1
UD
6964 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6965 place. Use VEX encoding when compiling for AVX.
6966
37822576
AS
69672011-10-25 Andreas Schwab <schwab@redhat.com>
6968
1f1e1947
AS
6969 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6970 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6971
37822576
AS
6972 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6973
31ea014d
UD
69742011-10-25 Ulrich Drepper <drepper@gmail.com>
6975
d7826aa1 6976 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 6977 useless if() expression.
d7826aa1
UD
6978 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6979 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6980 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6981 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6982 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6983 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6984 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6985 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6987 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6988 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6989 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6990 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6991 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6992 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6993 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6994 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6995 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6996 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6997
31ea014d
UD
6998 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6999
16437fec
AS
70002011-10-25 Andreas Schwab <schwab@redhat.com>
7001
7002 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7003 condition.
7004 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7005
31d3cc00
UD
70062011-10-25 Ulrich Drepper <drepper@gmail.com>
7007
7008 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7009 .text section. Avoid duplicate constants.
7010 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7020 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7022 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7025 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7027 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7033 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7034 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7035 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7036 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7037 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7038 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7039 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7040 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7041 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7042 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7043 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7044 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7045 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7046 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7047 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7048 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7049 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7050 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7051 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7052 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7053 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7054 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7055
58985aa9
UD
70562011-10-24 Ulrich Drepper <drepper@gmail.com>
7057
202c9deb
UD
7058 * sysdeps/x86_64/dla.h: Move to ...
7059 * sysdeps/x86_64/fpu/dla.h: ...here.
7060 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7061 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7062
af968f62
UD
7063 * config.make.in: Add have-mfma4 entry.
7064 * configure.in: Substitute libc_cv_cc_fma4.
7065 * math/Makefile (dbl-only-routines): Add sincostab.
7066 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7067 Use __sincostab not sincos.
7068 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7069 name is a macro.
7070 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7071 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7073 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7074 using __copysign.
7075 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7076 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7077 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7078 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7079 and __inv.
7080 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7081 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7082 __copysign.
7083 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7084 define aliases when function name is a macro.
7085 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7086 sysdeps/ieee754/dbl-64/sincos.tbl.
7087 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7088 fma4-enabled routines.
7089 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7090 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7091 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7092 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7093 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7094 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7095 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7096 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7097 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7098 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7099 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7100 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7101 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7102 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7103 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7104 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7105 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7106 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7107 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7108 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7109 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7110 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7111 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7112 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7113 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7114 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7115 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7116 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7117 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7118 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7119
58985aa9
UD
7120 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7121 rename.
7122 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7123 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7124 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7125 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7126 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7127 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7128 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7129 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7130
a201fbcf
AS
71312011-10-24 Andreas Schwab <schwab@redhat.com>
7132
7133 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7134
fc2ee42a
LD
71352011-10-23 Ulrich Drepper <drepper@gmail.com>
7136
bb3129bd
UD
7137 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7138
0275fff8
UD
7139 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7140 prediction.
7141 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7142
2fa2ae85
UD
7143 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7144 Remove unused variable magic_bits.
7145 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7146
fc2ee42a
LD
7147 * string/strnlen.c: Define and use STRNLEN macro.
7148 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7149 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7150 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7151 * wcsmbs/wcslen.c: Define and use WCSLEN.
7152 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7153 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7154 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7155 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7156 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7157 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7158 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7159
ce7dd29f
LD
71602011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7161
7162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7163 strnlen-sse2-no-bsf.
7164 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7165 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7166 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7167 Add strnlen support.
7168 (USE_AS_STRNLEN): New macro.
7169 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7170 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7171 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7172 * sysdeps/x86_64/wcslen.S: New file.
7173
979c70a3
MZ
71742011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7175
7176 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7177 XMM-moves are used for copying on small sizes.
7178
2d09f82f
LD
71792011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7180
7181 * wcsmbs/Makefile (strop-tests): Add wcschr.
7182 * wcsmbs/test-wcschr.c: New file.
7183 * string/test-strchr.c: Update.
7184 Add wcschr support.
7185 (WIDE): New macro.
7186
619fccca
LD
71872011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7188
2d09f82f 7189 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7190 * wcsmbs/test-wcslen.c: New file.
7191 * string/test-strlen.c: Update.
7192 Add wcslen support.
7193 (WIDE): New macro.
7194
09f699ea
UD
71952011-10-23 Ulrich Drepper <drepper@gmail.com>
7196
7197 * po/it.po: Update from translation team.
7198
95584d3b
LD
71992011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7200
7201 * sysdeps/x86_64/wcscmp.S: Update.
7202 Fix wrong comparison semantics.
7203 wcscmp shall use signed comparison not unsigned.
7204 Don't use substraction to avoid overflow bug.
7205 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7206 * wcsmbc/wcscmp.c: Likewise.
7207 * string/test-strcmp.c: Likewise.
7208 Add new tests to check cases with negative values.
7209
c8b3296b
UD
72102011-10-23 Ulrich Drepper <drepper@gmail.com>
7211
7212 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7213 * sysdeps/x86_64/dla.h: ...here. New file.
7214 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7215 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7216 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7218 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7219 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7220 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7221 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7222 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7223
246ad57a
AS
72242011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7225
7226 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7227 __ynl_finite aliases.
7228
a1a87169
UD
72292011-10-22 Ulrich Drepper <drepper@gmail.com>
7230
0d355eb7
UD
7231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7232
a1a87169
UD
7233 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7234 define DLA_FMA.
7235 [DLA_FMA] (EMULV): Use DLA_FMA.
7236 [DLA_FMA] (MUL12): Use EMULV.
7237 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7238 that are not needed.
7239 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7240 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7241 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7242 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7244 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7245 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7246
ee2aafe0
AS
72472011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7248
7249 * math/s_nan.c: Undef __nan.
7250 * math/s_nanf.c: Undef __nanf.
7251 * math/s_nanl.c: Undef __nanl.
7252 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7253 "math_private.h".
7254
bc62c2fb
UD
72552011-10-22 Ulrich Drepper <drepper@gmail.com>
7256
77425c63
UD
7257 * math/s_catan.c: Add branch predictions.
7258 * math/s_catanf.c: Likewise.
7259 * math/s_catanh.c: Likewise.
7260 * math/s_catanhf.c: Likewise.
7261 * math/s_catanhl.c: Likewise.
7262 * math/s_catanl.c: Likewise.
7263 * math/s_cexp.c: Likewise.
7264 * math/s_cexpf.c: Likewise.
7265 * math/s_cexpl.c: Likewise.
7266 * math/s_clog.c: Likewise.
7267 * math/s_clog10.c: Likewise.
7268 * math/s_clog10f.c: Likewise.
7269 * math/s_clog10l.c: Likewise.
7270 * math/s_clogf.c: Likewise.
7271 * math/s_clogl.c: Likewise.
7272 * math/s_csqrt.c: Likewise.
7273 * math/s_csqrtf.c: Likewise.
7274 * math/s_csqrtl.c: Likewise.
7275 * math/s_ctanf.c: Likewise.
7276 * math/s_ctanh.c: Likewise.
7277 * math/s_ctanhf.c: Likewise.
7278 * math/s_ctanhl.c: Likewise.
7279 * math/s_ctanl.c: Likewise.
7280
bc62c2fb
UD
7281 * math/math_private.h: Define __nan, __nanf, __nanl.
7282 * math/s_cacosh.c: Include <math_private.h>.
7283 * math/s_cacoshl.c: Likewise.
7284 * math/s_casinh.c: Likewise.
7285 * math/s_casinhf.c: Likewise.
7286 * math/s_casinhl.c: Likewise.
7287 * math/s_ccos.c: Rely entire on ccosh.
7288 * math/s_ccosf.c: Rely entire on ccoshf.
7289 * math/s_ccosl.c: Rely entirely on ccoshl.
7290 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7291 Remove tests for FE_INVALID.
7292 * math/s_ccoshf.c: Likewise.
7293 * math/s_ccoshl.c: Likewise.
7294 * math/s_csin.c: Likewise.
7295 * math/s_csinf.c: Likewise.
7296 * math/s_csinh.c Likewise.
7297 * math/s_csinhf.c: Likewise.
7298 * math/s_csinhl.c: Likewise.
7299 * math/s_csinl.c: Likewise.
7300 * math/s_ctan.c: Likewise.
7301 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7302 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7303 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7304
8ec250a4
UD
73052011-10-21 Ulrich Drepper <drepper@gmail.com>
7306
c196fed8
UD
7307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7308 compilation problems.
7309
8ec250a4
UD
7310 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7311 __builtin_expect.
7312
8d4f46c6
UD
73132011-10-20 Ulrich Drepper <drepper@gmail.com>
7314
ed72b654
UD
7315 * sysdeps/i386/configure.in: Test for -mfma4 option.
7316 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7317 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7318 COMMON_CPUID_INDEX_80000001.
7319 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7320 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7321 use it if FMA3 is not supported.
7322 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7323
8d4f46c6
UD
7324 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7325 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7326
d45c60c2
AS
73272011-10-20 Andreas Schwab <schwab@redhat.com>
7328
7329 [BZ #12892]
7330 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7331 it would create a cycle with a link time dependency.
7332
d9a4d2ab
UD
73332011-10-19 Ulrich Drepper <drepper@gmail.com>
7334
855d1560
UD
7335 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7336 instruction.
7337 * string/Makefile (strop-tests): Add rawmemchr.
7338 * string/test-rawmemchr.c: New file.
7339
d9a4d2ab
UD
7340 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7341 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7342 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7343 when compiling str{,n}casecmp and when AVX is available. Hook up
7344 new optimized code in initializers.
7345
8f3b1ffe
AS
73462011-10-19 Andreas Schwab <schwab@redhat.com>
7347
7348 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7349 __feraiseexcept instead of feraiseexcept.
7350
d38f1dba
UD
73512011-10-18 Ulrich Drepper <drepper@gmail.com>
7352
d9a8d0ab
UD
7353 * math/math_private.h: Define defaults for libc_fetestexcept and
7354 libc_feupdateenv.
7355 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7356 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7357 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7358 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7359 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7360 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7361 libc_fetestexcept and libc_feupdateenv.
7362
4855e3dd
UD
7363 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7364 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7365 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7366 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7367 libc_feholdexcept_setround.
7368
581d30e3
UD
7369 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7370 Add s_nearbyint-c and s_nearbyintf-c.
7371 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7372 nearbyintf inlines.
7373 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7374 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7375 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7376 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7377
d38f1dba
UD
7378 * math/math_private.h: Define defaults for libc_fegetround,
7379 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7380 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7381 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7382 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7383 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7384 standard functions.
7385 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7386 Remove comments and hacks for old compiler versions.
7387 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7388 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7389 libc_feholdexceptl.
7390
caa6c9d8
AS
73912011-10-18 Andreas Schwab <schwab@redhat.com>
7392
7393 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7394 (__feraiseexcept_renamed): Add __NTH.
7395 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7396 namespace violations.
7397
97c066e6
UD
73982011-10-17 Ulrich Drepper <drepper@gmail.com>
7399
99ce7b04
UD
7400 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7401
1004d182
UD
7402 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7403
228a984d
UD
7404 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7405 recently added interfaces.
7406 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7407
c8553a6a
UD
7408 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7409 about macro parameter expansion.
7410
ed22dcf6
UD
7411 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7412 __NO_MATH_INLINES is defined. Cleanups.
7413
7414 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7415 and __floorf is target has SSE4.1.
7416 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7417 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7418 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7419 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7420
b171c137
UD
7421 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7422 name.
7423 (floorf): Likewise.
7424
97c066e6
UD
7425 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7426
629f62ef
AS
74272011-10-17 Andreas Schwab <schwab@redhat.com>
7428
49a43d80
AS
7429 * misc/sys/cdefs.h: Fix last change.
7430
629f62ef
AS
7431 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7432 database lookup.
7433
e453f6cd
UD
74342011-10-16 Ulrich Drepper <drepper@gmail.com>
7435
aa78043a
UD
7436 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7437
ad0f5cad
UD
7438 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7439 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7440 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7441 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7442 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7443 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7444 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7445 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7446 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7447 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7448 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7449 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7450 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7451 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7452 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7453 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7454 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7455 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7456 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7457 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7458 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7459 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7460
7461 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7462 ceil, ceilf, floor, floorf.
7463
7464 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7465 Perform IRELATIVE relocations last.
7466
e453f6cd
UD
7467 * elf/do-rel.h: Add another parameter nrelative, replacing the
7468 local variable with the same name. Change name of the function
7469 to end in Rel or Rela (uppercase).
7470 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7471 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7472 elf_dynamic_do_##reloc function.
7473
fd5bdc09
UD
74742011-10-15 Ulrich Drepper <drepper@gmail.com>
7475
79b195b5
UD
7476 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7477 is sufficient, at least on modern CPUs.
7478
d4a28569
UD
7479 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7480
b61099b5
UD
7481 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7482 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7483
bcf01e6d
UD
7484 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7485 __expl_finite.
7486 * math/bits/math-finite.h: Add entries for exp.
7487 * math/e_expl.c: Add __*_finite alias.
7488 * sysdeps/i386/fpu/e_exp.S: Likewise.
7489 * sysdeps/i386/fpu/e_expf.S: Likewise.
7490 * sysdeps/i386/fpu/e_expl.c: Likewise.
7491 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7492 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7493 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7495 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7496 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7497 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7498
ba1a0d59
UD
7499 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7500 is sufficient, at least on modern CPUs.
7501
fd5bdc09
UD
7502 * ctype/ctype-info.c (__ctype_init): Define.
7503 * include/ctype.h (__ctype_init): Declare.
7504 (__ctype_b_loc): The variable is always initialized.
7505 (__ctype_toupper_loc): Likewise.
7506 (__ctype_tolower_loc): Likewise.
7507 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7508 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7509
7872cfb0
AS
75102011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7511
b468825a
AS
7512 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7513
7872cfb0
AS
7514 * configure.in: Also look in $cxxmachine/include for C++ system
7515 headers.
7516
be13f7bf
LD
75172011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7518
7519 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7520 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7521 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7522 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7523 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7524 (USE_AS_WMEMCMP): New macro.
7525 Fixing indents.
7526 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7527 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7528 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7529 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7531 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7532 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7533 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7534 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7535 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7536 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7537 (USE_AS_WMEMCMP): New macro.
7538 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7539 * sysdeps/string/test-memcmp.c: Update.
7540 Fix simple_wmemcmp.
7541 Add new tests.
7542 * wcsmbs/wmemcmp.c: Update.
7543 (WMEMCMP): New macro.
7544 Fix overflow bug.
7545
556a2007
AJ
75462011-10-12 Andreas Jaeger <aj@suse.de>
7547
7548 [BZ #13268]
7549 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7550
538faaa7
UD
75512011-10-15 Ulrich Drepper <drepper@gmail.com>
7552
ab6737ff
UD
7553 * libio/iofwide.c (do_length): Avoid warning.
7554
538faaa7
UD
7555 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7556
396a21b1
UD
75572011-10-14 Ulrich Drepper <drepper@gmail.com>
7558
cdf2901f
UD
7559 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7560
38ad40ce
UD
7561 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7562 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7563 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7564 * sysdeps/i386/i686/fpu/e_log.S: New file.
7565 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7566 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7567
396a21b1
UD
7568 * ctype/ctype.h: Add support for inlined isXXX functions when
7569 compiling C++ code.
7570
6b1f68c9
AS
75712011-10-14 Andreas Schwab <schwab@redhat.com>
7572
349290c0
AS
7573 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7574
6b1f68c9
AS
7575 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7576
f2282d42
RM
75772011-10-13 Roland McGrath <roland@hack.frob.com>
7578
7579 [BZ #13291]
7580 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7581
5298ffa8
AS
75822011-10-13 Andreas Schwab <schwab@redhat.com>
7583
714fad23
AS
7584 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7585 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7586 feraiseexcept.
7587
81dcc7fb
AS
7588 * sysdeps/x86_64/memrchr.S: Check for zero size.
7589
5298ffa8
AS
7590 * string/stratcliff.c: Add memrchr tests.
7591
951fbcec
LD
75922011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7593
7594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7595 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7596 rawmemchr-sse2 rawmemchr-sse2-bsf.
7597 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7598 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7599 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7600 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7601 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7602 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7603 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7604 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7605 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7606 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7607 * string/memrchr.c (MEMRCHR): New macro.
7608
0ac5ae23
UD
76092011-10-12 Ulrich Drepper <drepper@gmail.com>
7610
7611 Add integration with gcc's -ffinite-math-only and optimize wrapper
7612 functions in libm.
7613 * Versions.def: Define GLIBC_2.15 version for libm.
7614 * math/Makefile (headers): Add bits/math-finite.h.
7615 * math/bits/math-finite.h: New file.
7616 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7617 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7618 * math/e_acoshl.c: Add __*_finite alias.
7619 * math/e_acosl.c: Likewise.
7620 * math/e_asinl.c: Likewise.
7621 * math/e_atan2l.c: Likewise.
7622 * math/e_atanhl.c: Likewise.
7623 * math/e_coshl.c: Likewise.
7624 * math/e_exp10.c: Likewise.
7625 * math/e_exp10f.c: Likewise.
7626 * math/e_exp10l.c: Likewise.
7627 * math/e_exp2l.c: Likewise.
7628 * math/e_fmodl.c: Likewise.
7629 * math/e_gammal_r.c: Likewise.
7630 * math/e_hypotl.c: Likewise.
7631 * math/e_j0l.c: Likewise.
7632 * math/e_j1l.c: Likewise.
7633 * math/e_jnl.c: Likewise.
7634 * math/e_lgammal_r.c: Likewise.
7635 * math/e_log10l.c: Likewise.
7636 * math/e_log2l.c: Likewise.
7637 * math/e_logl.c: Likewise.
7638 * math/e_powl.c: Likewise.
7639 * math/e_sinhl.c: Likewise.
7640 * math/e_sqrtl.c: Likewise.
7641 * math/e_scalb.c: Completely rewritten and optimized.
7642 * math/e_scalbf.c: Likewise.
7643 * math/e_scalbl.c: Likewise.
7644 * math/w_acos.c: Likewise.
7645 * math/w_acosf.c: Likewise.
7646 * math/w_acosl.c: Likewise.
7647 * math/w_acosh.c: Likewise.
7648 * math/w_acoshf.c: Likewise.
7649 * math/w_acoshl.c: Likewise.
7650 * math/w_asin.c: Likewise.
7651 * math/w_asinf.c: Likewise.
7652 * math/w_asinl.c: Likewise.
7653 * math/w_atan2.c: Likewise.
7654 * math/w_atan2f.c: Likewise.
7655 * math/w_atan2l.c: Likewise.
7656 * math/w_atanh.c: Likewise.
7657 * math/w_atanhf.c: Likewise.
7658 * math/w_atanhl.c: Likewise.
7659 * math/w_exp10.c: Likewise.
7660 * math/w_exp10f.c: Likewise.
7661 * math/w_exp10l.c: Likewise.
7662 * math/w_fmod.c: Likewise.
7663 * math/w_fmodf.c: Likewise.
7664 * math/w_fmodl.c: Likewise.
7665 * math/w_j0.c: Likewise.
7666 * math/w_j0f.c: Likewise.
7667 * math/w_j0l.c: Likewise.
7668 * math/w_j1.c: Likewise.
7669 * math/w_j1f.c: Likewise.
7670 * math/w_j1l.c: Likewise.
7671 * math/w_jn.c: Likewise.
7672 * math/w_jnf.c: Likewise.
7673 * math/w_log.c: Likewise.
7674 * math/w_logf.c: Likewise.
7675 * math/w_logl.c: Likewise.
7676 * math/w_log10.c: Likewise.
7677 * math/w_log10f.c: Likewise.
7678 * math/w_log10l.c: Likewise.
7679 * math/w_log2.c: Likewise.
7680 * math/w_log2f.c: Likewise.
7681 * math/w_log2l.c: Likewise.
7682 * math/w_pow.c: Likewise.
7683 * math/w_powf.c: Likewise.
7684 * math/w_powl.c: Likewise.
7685 * math/w_remainder.c: Likewise.
7686 * math/w_remainderf.c: Likewise.
7687 * math/w_remainderl.c: Likewise.
7688 * math/w_scalb.c: Likewise.
7689 * math/w_scalbf.c: Likewise.
7690 * math/w_scalbl.c: Likewise.
7691 * math/w_sqrt.c: Likewise.
7692 * math/w_sqrtf.c: Likewise.
7693 * math/w_sqrtl.c: Likewise.
7694 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7695 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7696 used.
7697 * math/math_private.h: Declare __kernel_standard_f.
7698 * math/w_cosh.c: Remove cruft and optimize a bit.
7699 * math/w_coshf.c: Likewise.
7700 * math/w_coshl.c: Likewise.
7701 * math/w_exp2.c: Likewise.
7702 * math/w_exp2f.c: Likewise.
7703 * math/w_exp2l.c: Likewise.
7704 * math/w_hypot.c: Likewise.
7705 * math/w_hypotf.c: Likewise.
7706 * math/w_hypotl.c: Likewise.
7707 * math/w_lgamma.c: Likewise.
7708 * math/w_lgamma_r.c: Likewise.
7709 * math/w_lgammaf.c: Likewise.
7710 * math/w_lgammaf_r.c: Likewise.
7711 * math/w_lgammal.c: Likewise.
7712 * math/w_lgammal_r.c: Likewise.
7713 * math/w_sinh.c: Likewise.
7714 * math/w_sinhf.c: Likewise.
7715 * math/w_sinhl.c: Likewise.
7716 * math/w_tgamma.c: Likewise.
7717 * math/w_tgammaf.c: Likewise.
7718 * math/w_tgammal.c: Likewise.
7719 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7720 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7721 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7722 Minor optimizations. Pretty printing. Remove cruft.
7723 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7724 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7725 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7726 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7727 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7728 * sysdeps/i386/fpu/e_asin.S: Likewise.
7729 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7730 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7731 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7732 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7733 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7734 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7735 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7736 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7737 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7738 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7739 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7740 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7741 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7742 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7743 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7744 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7745 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7746 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7747 * sysdeps/i386/fpu/e_log.S: Likewise.
7748 * sysdeps/i386/fpu/e_log10.S: Likewise.
7749 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7750 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7751 * sysdeps/i386/fpu/e_log2.S: Likewise.
7752 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7753 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7754 * sysdeps/i386/fpu/e_logf.S: Likewise.
7755 * sysdeps/i386/fpu/e_logl.S: Likewise.
7756 * sysdeps/i386/fpu/e_pow.S: Likewise.
7757 * sysdeps/i386/fpu/e_powf.S: Likewise.
7758 * sysdeps/i386/fpu/e_powl.S: Likewise.
7759 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7760 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7761 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7762 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7763 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7764 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7765 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7766 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7767 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7768 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7769 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7771 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7772 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7773 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7774 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7775 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7777 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7778 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7779 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7780 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7781 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7782 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7783 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7784 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7785 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7786 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7787 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7788 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7789 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7790 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7791 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7792 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7793 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7794 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7795 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7796 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7797 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7798 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7799 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7800 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7801 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7802 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7803 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7804 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7805 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7806 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7807 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7808 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7809 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7810 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7811 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7813 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7814 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7817 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7818 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7819 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7820 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7821 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7822 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7823 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7824 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7827 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7833 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7837 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7845 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7848 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7851 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7853 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7854 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7856 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7858 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7859 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7860 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7861 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7862 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7863 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7864 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7865 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7866 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7867 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7868 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7869 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7870 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7871 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7872 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7873 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7874 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7875 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7876 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7877 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7878 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7879 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7880 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7881 (__isnanf): Likewise.
7882 (__isinf_ns): Likewise.
7883 (__isinf_nsf): Likewise.
7884 (__finite): Likewise.
7885 (__finitef): Likewise.
7886 (__ieee754_sqrt): Define as macro.
7887 (__ieee754_sqrtf): Define as macro.
7888 (__ieee754_sqrtl): Define as macro.
7889 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7890 inlined copy.
7891 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7892 __FINITE_MATH_ONLY__ consistent.
7893 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7894
12cc2fcd
AS
78952011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7896
a843a204
AS
7897 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7898 of rawmemchr.
7899
12cc2fcd
AS
7900 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7901
c853acd5
UD
79022011-10-09 Ulrich Drepper <drepper@gmail.com>
7903
7904 * po/ja.po: Update from translation team.
7905
c658d255
RM
79062011-10-08 Roland McGrath <roland@hack.frob.com>
7907
110946e4
RM
7908 * locale/programs/locarchive.c (prepare_address_space): New function.
7909 (create_archive, enlarge_archive, open_archive): Use it.
7910
50604220
RM
7911 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7912 inside [SHARED], where it is used.
7913
c658d255
RM
7914 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7915
7916 * nss/getent.c (netgroup_keys): Remove unused variable.
7917 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7918
6a621eb7
UD
79192011-10-08 Ulrich Drepper <drepper@gmail.com>
7920
7edb55ce
UD
7921 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7922 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7923 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7924 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7925 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7926 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7927 * math/Makefile (libm-calls): Add s_isinf_ns.
7928 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7929 * math/multc3.c: Likewise.
7930 * math/s_casin.c: Likewise.
7931 * math/s_casinf.c: Likewise.
7932 * math/s_casinl.c: Likewise.
7933 * math/s_ccos.c: Likewise.
7934 * math/s_ccosf.c: Likewise.
7935 * math/s_ccosl.c: Likewise.
7936 * math/s_ctan.c: Likewise.
7937 * math/s_ctanf.c: Likewise.
7938 * math/s_ctanh.c: Likewise.
7939 * math/s_ctanhf.c: Likewise.
7940 * math/s_ctanhl.c: Likewise.
7941 * math/s_ctanl.c: Likewise.
7942 * math/w_fmod.c: Likewise.
7943 * math/w_fmodf.c: Likewise.
7944 * math/w_fmodl.c: Likewise.
7945 * math/w_remainder.c: Likewise.
7946 * math/w_remainderf.c: Likewise.
7947 * math/w_remainderl.c: Likewise.
7948 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7949 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7950 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7951 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7952 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7953 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7954 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7955 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7956
187da0ae
UD
7957 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7958 of the number.
7959 * stdio-common/printf_fphex.c: Likewise.
7960 * stdio-common/printf_size.c: Likewise.
7961
9277c064
UD
7962 * math/e_exp10.c: Include math_private.h using <...> not "...".
7963 * math/e_exp10f.c: Likewise.
7964 * math/e_exp10l.c: Likewise.
7965 * math/e_exp2l.c: Likewise.
7966 * math/e_j0l.c: Likewise.
7967 * math/e_j1l.c: Likewise.
7968 * math/e_jnl.c: Likewise.
7969 * math/e_lgammal_r.c: Likewise.
7970 * math/e_rem_pio2l.c: Likewise.
7971 * math/e_scalb.c: Likewise.
7972 * math/e_scalbf.c: Likewise.
7973 * math/e_scalbl.c: Likewise.
7974 * math/k_cosl.c: Likewise.
7975 * math/k_sinl.c: Likewise.
7976 * math/k_tanl.c: Likewise.
7977 * math/s_cacoshf.c: Likewise.
7978 * math/s_catan.c: Likewise.
7979 * math/s_catanf.c: Likewise.
7980 * math/s_catanh.c: Likewise.
7981 * math/s_catanhf.c: Likewise.
7982 * math/s_catanhl.c: Likewise.
7983 * math/s_catanl.c: Likewise.
7984 * math/s_ccosh.c: Likewise.
7985 * math/s_ccoshf.c: Likewise.
7986 * math/s_ccoshl.c: Likewise.
7987 * math/s_cexp.c: Likewise.
7988 * math/s_cexpf.c: Likewise.
7989 * math/s_cexpl.c: Likewise.
7990 * math/s_clog.c: Likewise.
7991 * math/s_clog10.c: Likewise.
7992 * math/s_clog10f.c: Likewise.
7993 * math/s_clog10l.c: Likewise.
7994 * math/s_clogf.c: Likewise.
7995 * math/s_clogl.c: Likewise.
7996 * math/s_csin.c: Likewise.
7997 * math/s_csinf.c: Likewise.
7998 * math/s_csinh.c: Likewise.
7999 * math/s_csinhf.c: Likewise.
8000 * math/s_csinhl.c: Likewise.
8001 * math/s_csinl.c: Likewise.
8002 * math/s_csqrt.c: Likewise.
8003 * math/s_csqrtf.c: Likewise.
8004 * math/s_csqrtl.c: Likewise.
8005 * math/s_ctan.c: Likewise.
8006 * math/s_ctanf.c: Likewise.
8007 * math/s_ctanh.c: Likewise.
8008 * math/s_ctanhf.c: Likewise.
8009 * math/s_ctanhl.c: Likewise.
8010 * math/s_ctanl.c: Likewise.
8011 * math/s_ldexp.c: Likewise.
8012 * math/s_ldexpf.c: Likewise.
8013 * math/s_ldexpl.c: Likewise.
8014 * math/s_significand.c: Likewise.
8015 * math/s_significandf.c: Likewise.
8016 * math/s_significandl.c: Likewise.
8017 * math/w_acos.c: Likewise.
8018 * math/w_acosf.c: Likewise.
8019 * math/w_acosh.c: Likewise.
8020 * math/w_acoshf.c: Likewise.
8021 * math/w_acoshl.c: Likewise.
8022 * math/w_acosl.c: Likewise.
8023 * math/w_asin.c: Likewise.
8024 * math/w_asinf.c: Likewise.
8025 * math/w_asinl.c: Likewise.
8026 * math/w_atan2.c: Likewise.
8027 * math/w_atan2f.c: Likewise.
8028 * math/w_atan2l.c: Likewise.
8029 * math/w_atanh.c: Likewise.
8030 * math/w_atanhf.c: Likewise.
8031 * math/w_atanhl.c: Likewise.
8032 * math/w_cosh.c: Likewise.
8033 * math/w_coshf.c: Likewise.
8034 * math/w_coshl.c: Likewise.
8035 * math/w_dremf.c: Likewise.
8036 * math/w_exp10.c: Likewise.
8037 * math/w_exp10f.c: Likewise.
8038 * math/w_exp10l.c: Likewise.
8039 * math/w_exp2.c: Likewise.
8040 * math/w_exp2f.c: Likewise.
8041 * math/w_fmod.c: Likewise.
8042 * math/w_fmodf.c: Likewise.
8043 * math/w_fmodl.c: Likewise.
8044 * math/w_hypot.c: Likewise.
8045 * math/w_hypotf.c: Likewise.
8046 * math/w_hypotl.c: Likewise.
8047 * math/w_j0.c: Likewise.
8048 * math/w_j0f.c: Likewise.
8049 * math/w_j0l.c: Likewise.
8050 * math/w_j1.c: Likewise.
8051 * math/w_j1f.c: Likewise.
8052 * math/w_j1l.c: Likewise.
8053 * math/w_jn.c: Likewise.
8054 * math/w_jnf.c: Likewise.
8055 * math/w_jnl.c: Likewise.
8056 * math/w_lgamma.c: Likewise.
8057 * math/w_lgamma_r.c: Likewise.
8058 * math/w_lgammaf.c: Likewise.
8059 * math/w_lgammaf_r.c: Likewise.
8060 * math/w_lgammal.c: Likewise.
8061 * math/w_lgammal_r.c: Likewise.
8062 * math/w_log.c: Likewise.
8063 * math/w_log10.c: Likewise.
8064 * math/w_log10f.c: Likewise.
8065 * math/w_log10l.c: Likewise.
8066 * math/w_log2.c: Likewise.
8067 * math/w_log2f.c: Likewise.
8068 * math/w_log2l.c: Likewise.
8069 * math/w_logf.c: Likewise.
8070 * math/w_logl.c: Likewise.
8071 * math/w_pow.c: Likewise.
8072 * math/w_powf.c: Likewise.
8073 * math/w_powl.c: Likewise.
8074 * math/w_remainder.c: Likewise.
8075 * math/w_remainderf.c: Likewise.
8076 * math/w_remainderl.c: Likewise.
8077 * math/w_scalb.c: Likewise.
8078 * math/w_scalbf.c: Likewise.
8079 * math/w_scalbl.c: Likewise.
8080 * math/w_sinh.c: Likewise.
8081 * math/w_sinhf.c: Likewise.
8082 * math/w_sinhl.c: Likewise.
8083 * math/w_sqrt.c: Likewise.
8084 * math/w_sqrtf.c: Likewise.
8085 * math/w_sqrtl.c: Likewise.
8086 * math/w_tgamma.c: Likewise.
8087 * math/w_tgammaf.c: Likewise.
8088 * math/w_tgammal.c: Likewise.
8089
6a621eb7
UD
8090 * po/ja.po: Update from translation team.
8091
bf582445
AJ
80922011-09-29 Andreas Jaeger <aj@suse.de>
8093
f9efbf3a
AJ
8094 [BZ #13179]
8095 * sunrpc/netname.c (netname2host): Fix logic.
8096
bf582445
AJ
8097 [BZ #6779]
8098 [BZ #6783]
8099 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8100 correctly.
8101 * math/w_remainder.c (__remainder): Likewise.
8102 * math/w_remainderf.c (__remainderf): Likewise.
8103 * math/libm-test.inc (remainder_test): Add test cases.
8104
48693bea
AK
81052011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8106
8107 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8108 sdiv_qrnnd.
8109
42622229
LD
81102011-10-07 Ulrich Drepper <drepper@gmail.com>
8111
8112 * string/test-memcmp.c: Avoid unncessary #defines.
8113 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8114
093ecf92
LD
81152011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8116
8117 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8118 Use new sse2 version for core i3 - i7 as it's faster
8119 than sse42 version.
8120 (bit_Prefer_PMINUB_for_stringop): New.
8121 * sysdeps/x86_64/rawmemchr.S: Update.
8122 Replace with faster SSE2 version.
8123 * sysdeps/x86_64/memrchr.S: New file.
8124 * sysdeps/x86_64/memchr.S: Update.
8125 Replace with faster SSE2 version.
8126
fde56e5c
MP
81272011-09-12 Marek Polacek <mpolacek@redhat.com>
8128
8129 * elf/dl-load.c (lose): Add cast to avoid warning.
8130
21fd49a9
UD
81312011-10-07 Ulrich Drepper <drepper@gmail.com>
8132
5a06e643
UD
8133 * po/ca.po: Update from translation team.
8134
684ae515
UD
8135 * inet/getnetgrent_r.c: Hook up nscd.
8136 * nscd/Makefile (routines): Add nscd_netgroup.
8137 (nscd-modules): Add netgroupcache.
8138 (CFLAGS-netgroupcache.c): Define.
8139 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8140 (cache_search): Add const to second parameter.
8141 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8142 INNETGR.
8143 (dbs): Add netgrdb entry.
8144 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8145 (verify_persistent_db): Handle netgrdb.
8146 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8147 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8148 GETFDNETGR.
8149 (netgroup_response_header): Define.
8150 (innetgroup_response_header): Define.
8151 (datahead): Add netgroup_response_header and innetgroup_response_header
8152 elements.
8153 * nscd/nscd.conf: Add entries for netgroup cache.
8154 * nscd/nscd.h (dbtype): Add netgrdb.
8155 (_PATH_NSCD_NETGROUP_DB): Define.
8156 (netgroup_iov_disabled): Declare.
8157 (xmalloc, xcalloc, xrealloc): Move declarations here.
8158 (cache_search): Adjust prototype.
8159 Add netgroup-related prototypes.
8160 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8161 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8162 (__nscd_innetgr): Declare.
8163 * nscd/selinux.c (perms): Use access_vector_t as element type and
8164 add netgroup-related initializers.
8165 * nscd/netgroupcache.c: New file.
8166 * nscd/nscd_netgroup.c: New file.
8167 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8168 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8169 For four parameters use innetgr.
8170 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8171 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8172 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8173 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8174
21fd49a9
UD
8175 * nscd/connections.c (register_traced_file): Don't register file
8176 for disabled databases.
8177
054c0457
UD
81782011-10-06 Ulrich Drepper <drepper@gmail.com>
8179
32b63198
UD
8180 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8181
054c0457
UD
8182 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8183 from tree and freeing node.
8184
64031225
JO
81852011-09-25 Jiri Olsa <jolsa@redhat.com>
8186
8187 * nss/nsswitch.c (__nss_database_lookup): Handle
8188 nss_parse_service_list out of memory case.
8189
0490345c
JO
81902011-09-15 Jiri Olsa <jolsa@redhat.com>
8191
8192 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8193 out of memory case.
8194
3a62d00d
AS
81952011-10-04 Andreas Schwab <schwab@redhat.com>
8196
8197 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8198 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8199 pass it down.
8200 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8201 elf_machine_rela, elf_machine_lazy_rel.
8202 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8203 (ELF_DYNAMIC_DO_REL): Likewise.
8204 (ELF_DYNAMIC_DO_RELA): Likewise.
8205 (ELF_DYNAMIC_RELOCATE): Likewise.
8206 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8207 to ELF_DYNAMIC_DO_REL.
8208 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8209 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8210 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8211 elf_machine_rela.
8212 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8213 skip_ifunc, don't call ifunc function if non-zero.
8214 (elf_machine_rela): Likewise.
8215 (elf_machine_lazy_rel): Likewise.
8216 (elf_machine_lazy_rela): Likewise.
8217 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8218 (elf_machine_lazy_rel): Likewise.
8219 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8220 Likewise.
8221 (elf_machine_lazy_rel): Likewise.
8222 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8223 Likewise.
8224 (elf_machine_lazy_rel): Likewise.
8225 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8226 (elf_machine_lazy_rel): Likewise.
8227 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8228 (elf_machine_lazy_rel): Likewise.
8229 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8230 (elf_machine_lazy_rel): Likewise.
8231 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8232 (elf_machine_lazy_rel): Likewise.
8233 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8234 (elf_machine_lazy_rel): Likewise.
8235 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8236 (elf_machine_lazy_rel): Likewise.
8237
68577918
UD
82382011-09-28 Ulrich Drepper <drepper@gmail.com>
8239
8240 * nss/nss_files/files-init.c (_nss_files_init): Use static
8241 initialization for all the *_traced_file variables.
8242
68822d74
AS
82432011-09-28 Andreas Schwab <schwab@redhat.com>
8244
8245 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8246
2056100b
RM
82472011-09-27 Roland McGrath <roland@hack.frob.com>
8248
8249 [BZ #13226]
8250 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8251
32c76b63
AS
82522011-09-27 Andreas Schwab <schwab@redhat.com>
8253
8254 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8255 Reread the line before reparsing it.
8256
bf972c9d
AS
82572011-09-26 Andreas Schwab <schwab@redhat.com>
8258
8259 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8260
e057a1b5
JM
82612011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8262 Maxim Kuvyrkov <maxim@codesourcery.com>
8263 Joseph Myers <joseph@codesourcery.com>
8264
8265 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8266 if needed for __stack_chk_guard.
8267
bc7e1c36
RM
82682011-09-19 Roland McGrath <roland@hack.frob.com>
8269
ecb1482f
RM
8270 * sysdeps/posix/spawni.c (script_execute): Always define it.
8271 It will be optimized away if unused.
8272 (maybe_script_execute): New function.
8273 (__spawni): Call it.
8274
bc7e1c36
RM
8275 * Makerules: Don't include tls.make.
8276 (config-tls): Always set to thread.
8277 * tls.make.c: File removed.
8278
1c3b002b
MF
82792011-09-19 Mike Frysinger <vapier@gentoo.org>
8280
8281 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8282 * config.make.in (CPPFLAGS-config): New substituted variable.
8283
2840865d
UD
82842011-09-15 Ulrich Drepper <drepper@gmail.com>
8285
88738eb6
UD
8286 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8287
cbf645a6 8288 [BZ #13192]
2840865d
UD
8289 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8290 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8291
b402e91a
RM
82922011-09-15 Roland McGrath <roland@hack.frob.com>
8293
8294 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8295 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8296 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8297 (CALL_FAIL): Likewise.
8298 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8299 (CALL_FAIL): Macro removed.
8300 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8301
4c1a1f71
UD
83022011-09-15 Ulrich Drepper <drepper@gmail.com>
8303
8304 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8305 for __FINITE_MATH_ONLY__ == 1.
8306
edc121be
AS
83072011-09-15 Andreas Schwab <schwab@redhat.com>
8308
8309 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8310 __ieee754_sqrt instead of sqrt.
8311 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8312 __ieee754_sqrtf instead of sqrtf.
8313 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8314 __floorf instead of floorf.
8315 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8316 __floorf, __truncf instead of floorf, truncf.
8317
cd205654
UD
83182011-09-14 Ulrich Drepper <drepper@gmail.com>
8319
ee4d0315
UD
8320 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8321
cd205654
UD
8322 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8323 __extern_always_inline.
8324 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8325 32-bit.
8326
48b67d71
AS
83272011-09-14 Andreas Schwab <schwab@redhat.com>
8328
8329 * elf/rtld.c (dl_main): Also relocate in dependency order when
8330 doing symbol dependency testing.
8331
1ae12c75
AS
83322011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8333
8334 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8335 Always define `refsym'.
8336
995a80df
AS
83372011-09-13 Andreas Schwab <schwab@redhat.com>
8338
e529793b
AS
8339 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8340 (__FD_ELT): Renamed from __FDELT.
8341 * misc/bits/select2.h (__FD_ELT): Likewise.
8342 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8343 __FD_MASK instead of __FDELT, __FDMASK.
8344 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8345 Likewise.
8346 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8347 Likewise.
8348
52d4fef8
AS
8349 * elf/Makefile (gen-ldd): Fix pattern.
8350
995a80df
AS
8351 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8352 (init_tls): Likewise.
8353
8682f8b0
UD
83542011-09-12 Ulrich Drepper <drepper@gmail.com>
8355
8356 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8357
de82006d
AS
83582011-09-12 Andreas Schwab <schwab@redhat.com>
8359
a7c8e6a1
AS
8360 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8361 `struct cmsghdr *' instead of `void *'.
8362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8363 Likewise.
8364
0f31fe77
AS
83652011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8366
8367 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8368 if non-absolute.
8369 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8370 ldd_rewrite_script.
0f31fe77 8371
32b4c839
UD
83722011-09-11 Ulrich Drepper <drepper@gmail.com>
8373
83cd1420
UD
8374 * configure.in: Remove --with-tls option.
8375 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8376 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8377 out in case it is missing.
8378 * sysdeps/ia64/elf/configure.in: Likewise.
8379 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8380 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8381 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8382 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8383 * sysdeps/sh/elf/configure.in: Likewise.
8384 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8385 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8386 * sysdeps/x86_64/elf/configure.in: Likewise.
8387 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8388 * sysdeps/mach/hurd/tls.h: Likewise.
8389
633f745d
UD
8390 [BZ #13067]
8391 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8392
f318beb8
UD
8393 [BZ #13090]
8394 * configure.in: Fix use of AC_INIT.
8395
32b4c839
UD
8396 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8397
3ce1f295
UD
83982011-09-10 Ulrich Drepper <drepper@gmail.com>
8399
bb016596
UD
8400 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8401 __set_errno.
8e58439c
UD
8402 * malloc/hooks.c: Likewise.
8403
aebae053 8404 [BZ #11929]
02d46fc4
UD
8405 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8406 variables statically.
8407 (narenas): Initialize.
8408 (list_lock): Initialize.
bb016596
UD
8409 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8410 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8411 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8412 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8413 Add initializers to main_arena and mp_.
8414 (malloc_state): Remove pagesize member. Change all users to use
8415 GLRO(dl_pagesize).
8416
8417 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8418 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8419 is always initialized.
8420
22a89187
UD
8421 * malloc/malloc.c: Removed unused configurations and dead code.
8422 * malloc/arena.c: Likewise.
8423 * malloc/hooks.c: Likewise.
02d46fc4 8424 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8425
d063d164
UD
8426 * include/tls.h: Removed. USE___THREAD must always be defined.
8427 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8428 * elf/dl-libc.c: Likewise.
8429 * elf/dl-tsd.c: Likewise.
8430 * include/errno.h: Likewise.
8431 * include/netdb.h: Likewise.
8432 * include/resolv.h: Likewise.
8433 * inet/herrno-loc.c: Likewise.
8434 * inet/herrno.c: Likewise.
8435 * malloc/arena.c: Likewise.
8436 * malloc/hooks.c: Likewise.
8437 * malloc/malloc.c: Likewise.
8438 * resolv/res-state.c: Likewise.
8439 * resolv/res_libc.c: Likewise.
8440 * sysdeps/i386/dl-machine.h: Likewise.
8441 * sysdeps/ia64/dl-machine.h: Likewise.
8442 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8443 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8444 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8445 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8446 * sysdeps/sh/dl-machine.h: Likewise.
8447 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8448 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8449 * sysdeps/unix/i386/sysdep.S: Likewise.
8450 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8451 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8452 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8453 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8454 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8455 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8456 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8457 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8458 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8460 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8461 * sysdeps/x86_64/dl-machine.h: Likewise.
8462 * tls.make.c: Likewise.
8463
3ce1f295
UD
8464 * configure.in: Remove --with-__thread option. Make tests for
8465 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8466 tls_model attribute fail if no support is available. Remove
8467 USE_IN_LIBIO.
8468 * Makeconfig: Adjust for dropped configure option. All features are
8469 now mandatory.
8470 * Makerules: Likewise.
8471 * Versions.def: Likewise.
8472 * argp/argp-fmtstream.c: Likewise.
8473 * argp/argp-fmtstream.h: Likewise.
8474 * argp/argp-help.c: Likewise.
8475 * assert/assert.c: Likewise.
8476 * config.h.in: Likewise.
8477 * config.make.in: Likewise.
8478 * configure: Likewise.
8479 * configure.in: Likewise.
8480 * csu/Versions: Likewise.
8481 * csu/init.c: Likewise.
8482 * elf/tst-audit2.c: Likewise.
8483 * elf/tst-tls10.c: Likewise.
8484 * elf/tst-tls10.h: Likewise.
8485 * elf/tst-tls11.c: Likewise.
8486 * elf/tst-tls12.c: Likewise.
8487 * elf/tst-tls14.c: Likewise.
8488 * elf/tst-tlsmod11.c: Likewise.
8489 * elf/tst-tlsmod12.c: Likewise.
8490 * elf/tst-tlsmod13.c: Likewise.
8491 * elf/tst-tlsmod13a.c: Likewise.
8492 * elf/tst-tlsmod14a.c: Likewise.
8493 * elf/tst-tlsmod15b.c: Likewise.
8494 * elf/tst-tlsmod16a.c: Likewise.
8495 * elf/tst-tlsmod16b.c: Likewise.
8496 * elf/tst-tlsmod7.c: Likewise.
8497 * elf/tst-tlsmod8.c: Likewise.
8498 * elf/tst-tlsmod9.c: Likewise.
8499 * gmon/gmon.c: Likewise.
8500 * grp/fgetgrent_r.c: Likewise.
8501 * grp/putgrent.c: Likewise.
8502 * hurd/fopenport.c: Likewise.
8503 * include/libc-symbols.h: Likewise.
8504 * include/tls.h: Likewise.
8505 * intl/gettextP.h: Likewise.
8506 * intl/loadinfo.h: Likewise.
8507 * locale/global-locale.c: Likewise.
8508 * locale/localeinfo.h: Likewise.
8509 * mach/devstream.c: Likewise.
8510 * malloc/arena.c: Likewise.
8511 * malloc/set-freeres.c: Likewise.
8512 * misc/err.c: Likewise.
8513 * misc/getttyent.c: Likewise.
8514 * misc/mntent_r.c: Likewise.
8515 * posix/getopt.c: Likewise.
8516 * posix/wordexp.c: Likewise.
8517 * pwd/fgetpwent_r.c: Likewise.
8518 * resolv/Versions: Likewise.
8519 * resolv/res_hconf.c: Likewise.
8520 * shadow/fgetspent_r.c: Likewise.
8521 * shadow/putspent.c: Likewise.
8522 * stdio-common/printf_fphex.c: Likewise.
8523 * stdio-common/tmpfile.c: Likewise.
8524 * stdlib/abort.c: Likewise.
8525 * stdlib/fmtmsg.c: Likewise.
8526 * sunrpc/auth_unix.c: Likewise.
8527 * sunrpc/clnt_perr.c: Likewise.
8528 * sunrpc/clnt_tcp.c: Likewise.
8529 * sunrpc/clnt_udp.c: Likewise.
8530 * sunrpc/clnt_unix.c: Likewise.
8531 * sunrpc/openchild.c: Likewise.
8532 * sunrpc/svc_simple.c: Likewise.
8533 * sunrpc/svc_tcp.c: Likewise.
8534 * sunrpc/svc_udp.c: Likewise.
8535 * sunrpc/svc_unix.c: Likewise.
8536 * sunrpc/xdr.c: Likewise.
8537 * sunrpc/xdr_array.c: Likewise.
8538 * sunrpc/xdr_rec.c: Likewise.
8539 * sunrpc/xdr_ref.c: Likewise.
8540 * sunrpc/xdr_stdio.c: Likewise.
8541
1248c1c4
PB
85422011-09-09 Ulrich Drepper <drepper@gmail.com>
8543
8544 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8545
85462011-07-03 Andreas Jaeger <aj@suse.de>
8547
8548 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8549 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8550 regenerate with gen-libm-tests.pl.
8551
85522010-05-12 Petr Baudis <pasky@suse.cz>
8553
8554 [BZ #11589]
8555 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8556 around j0() zero points by switching to j1().
8557 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8558 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8560 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8561
f22e1074
UD
85622011-09-09 Ulrich Drepper <drepper@gmail.com>
8563
f19009c1
UD
8564 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8565 instead of 0.
8566 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8567 instead of 0. .
8568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8569 Patch in part by Pavel Roskin <proski@gnu.org>.
8570
3f8cc204
UD
8571 [BZ #13138]
8572 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8573 realloc.
8574 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8575 Free memory block if necessary.
8576
f22e1074
UD
8577 [BZ #12847]
8578 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8579 be NULL. Don't lock in this case.
8580
0a2349f9
RM
85812011-09-09 Roland McGrath <roland@hack.frob.com>
8582
8583 * elf/elf.h (ELFOSABI_GNU): New macro.
8584 (ELFOSABI_LINUX): Define to that.
8585
f3cdd467
DZ
85862011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8587
8588 * string/strncat.c (strncat): Undef the symbol in case it has been
8589 defined in bits/string.h.
8590
74718d13
UD
85912011-09-09 Ulrich Drepper <drepper@gmail.com>
8592
633e9e0f
UD
8593 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8594
0a2349f9 8595 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8596 link map.
8597
f9924780
AJ
85982011-08-17 Andreas Jaeger <aj@suse.de>
8599
8600 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8601
7f5517aa
PP
86022011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8603 Ian Lance Taylor <iant@google.com>
8604
8605 * math/libm-test.inc (lround_test): New testcase.
8606 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8607
762011fe
UD
86082011-09-08 Ulrich Drepper <drepper@gmail.com>
8609
92963737
UD
8610 * Makefile: Remove support for automatic cvs check-ins.
8611 * Makerules: Likewise.
8612 * config.make.in: Likewise.
8613 * configure.in: Likewise.
8614 * intl/Makefile: Likewise.
8615 * locale/Makefile: Likewise.
8616 * po/Makefile: Likewise.
8617 * posix/Makefile: Likewise.
8618 * sysdeps/gnu/Makefile: Likewise.
8619 * sysdeps/mach/hurd/Makefile: Likewise.
8620 * sysdeps/sparc/sparc32/Makefile: Likewise.
8621
b0727fd8
JS
8622 [BZ #13118]
8623 * posix/Makefile (bug-regex32-ENV): Define.
8624 Patch by John Stanley <jpsinthemix@verizon.net>.
8625
a0f33f99
UD
8626 * misc/Makefile (headers): Add bits/select2.h.
8627 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8628 * misc/bits/select2.h: New file.
8629 * include/bits/select2.h: New file.
8630 * debug/Makefile (routines): Add fdelt_chk.
8631 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8632 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8633 FD_ISSET.
8634 * debug/fdelt_chk.c: New file.
8635
762011fe
UD
8636 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8637 * wcsmbs/test-wmemcmp.c: Likewise.
8638 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8639 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8640
86412011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8642
8643 * string/Makefile (strop-tests): Add memcmp.
8644 * string/test-wmemcmp.c: New file.
8645 * string/test-memcmp.c: Add wmemcmp support.
8646
7f513ec8
RM
86472011-09-08 Roland McGrath <roland@hack.frob.com>
8648
0442afb4
RM
8649 [BZ #13153]
8650 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8651 2011-07-19 change.
8652
7f513ec8
RM
8653 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8654 garbage value in a __mach_port_mod_refs call in the cases of the
8655 task-self and thread-self ports.
8656
a12b2239
ST
86572011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8658
8659 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8660
610f9ab4
AS
86612011-09-08 Andreas Schwab <schwab@redhat.com>
8662
7f513ec8 8663 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8664
48882a1a
LD
86652011-09-07 Ulrich Drepper <drepper@gmail.com>
8666
b49865be
UD
8667 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8668
fdc86bc9
UD
8669 * elf/dl-libc.c (dlerror_run): Pass back error code from
8670 dl_catch_error.
8671
c966526a
UD
8672 [BZ #13123]
8673 * elf/dl-load.c (lose): Free l_origin if it is valid.
8674
48882a1a
LD
8675 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8676 names.
8677 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8678 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8679 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8680 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8681 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8682 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8683
77a2a8b4
AZ
86842011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8685
8686 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8687 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8688 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8689 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8690 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8691 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8692 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8693 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8694 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8695 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8696
24f579d8
AM
86972011-08-15 Alan Modra <amodra@gmail.com>
8698
8699 [BZ #13092]
8700 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8701 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8702 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8703 ppc_mcount to static-only-routines.
8704 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8705 __mcount_internal.
8706 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8707 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8708
3d4837df
UD
87092011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8710
8711 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8712 for finite and infinity parameters.
8713
22700377
WS
87142011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8715
8716 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8717 and add nop instructions for throughput optimization.
8718 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8719
5025581e
WS
87202011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8721
8722 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8723 aligned copy for power7 with vector-scalar instructions.
8724 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8725
08a300c9
L
87262011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8727
8728 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8729 AVX check.
8730
59178ef9
AS
87312011-09-07 Andreas Schwab <schwab@redhat.com>
8732
8733 [BZ #13144]
8734 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8735 last change.
8736
e38ba7ab
UD
87372011-09-07 Ulrich Drepper <drepper@gmail.com>
8738
8739 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8740 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8741 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8742 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8743 clock_gettime.
8744
d53a73ac
UD
87452011-09-06 Ulrich Drepper <drepper@gmail.com>
8746
fc8bffcc
UD
8747 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8748 Forgot to demangle the pointer.
8749
ceaa0c5d
UD
8750 * sysdeps/i386/sysdep.h: Define atom_text_section.
8751 * sysdeps/x86_64/sysdep.h: Likewise.
8752 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8753 section with atom_text_section.
8754 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8755 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8756 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8757 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8758 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8759
a77d3c17
UD
8760 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8761 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8762 already be defined. Change to take two parameters and don't assign
8763 result to variable. Adjust all users.
8764 Define INTERNAL_GETTIME if not already defined.
8765 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8766 call.
8767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8768 HAVE_CLOCK_GETTIME_VSYSCALL.
8769 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8770
d53a73ac
UD
8771 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8772 gettimeofday vsyscall, just use time.
8773
a8f84144
AS
87742011-09-06 Andreas Schwab <schwab@redhat.com>
8775
8776 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8777 <errno.h>.
8778
ef606249
UD
87792011-09-06 Ulrich Drepper <drepper@gmail.com>
8780
8781 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8782 syscall on x86-64.
8783 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8784 syscall.
8785 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8786 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8787 syscall if possible.
8788
6585cb60
UD
87892011-09-05 Ulrich Drepper <drepper@gmail.com>
8790
8791 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8792 e_ident. Don't pass to find_mapsXX.
8793 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8794
a5f524e4
LD
87952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8796
8797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8798 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8799 * sysdeps/x86_64/multiarch/strchr.S: Update.
8800 Check bit_slow_BSF bit.
8801 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8802 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8803 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8804
554881ef
UD
88052011-09-05 Ulrich Drepper <drepper@gmail.com>
8806
d96de963
UD
8807 [BZ #13134]
8808 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8809 before glibc 2.15.
8810 (tryshell): Define.
8811 (__spawni): Change last parameter to be flag. Test
8812 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8813 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8814 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8815 * posix/spawni.c: Likewise.
8816 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8817 * posix/spawnp.c: Likewise. Change normal version to use
8818 SPAWN_XFLAGS_USE_PATH.
8819 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8820 SPAWN_XFLAGS_TRY_SHELL.
8821
d48e5868
UD
8822 [BZ #13150]
8823 * posix/glob.h: Remove gcc 1.x support.
8824
554881ef
UD
8825 [BZ #13068]
8826 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8827
693fb948
LD
88282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8829
8830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8831 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8832 strrchr-sse2-bsf
8833 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8834 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8835 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8836 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8837 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8838 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8839
1b48c537
UD
88402011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8841
49d42c37
UD
8842 * sysdeps/x86_64/wcscmp.S: New file.
8843
1b48c537
UD
8844 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8845 wcscmp-c wcscmp-sse2
8846 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8847 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8848 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8849 * wcsmbs/wcscmp.c: Allow renaming.
8850
15c95c5d
DM
88512011-09-05 David S. Miller <davem@davemloft.net>
8852
8853 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8854 stack slot, rather than the struct return pointer slot.
8855 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8856 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8858 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8859
2f0ad8f3
UD
88602011-09-05 Ulrich Drepper <drepper@gmail.com>
8861
d88ae418
UD
8862 * po/ja.po: Update from translation team.
8863
2f0ad8f3
UD
8864 [BZ #13144]
8865 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8866 kernel in 64-bit binaries.
8867
5f4318d1
DM
88682011-09-01 David S. Miller <davem@davemloft.net>
8869
8870 * elf/elf.h (HWCAP_SPARC_*): Move to..
8871 * sysdeps/sparc/sysdep.h: this new file and add new values.
8872 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8873 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8874 _DL_HWCAP_COUNT to 24.
8875 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8876 entries.
8877 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8878 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8879 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8880 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8881 instead of magic constants.
8882 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8883
3ba57516
DM
88842011-08-31 David S. Miller <davem@davemloft.net>
8885
8886 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8887 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8888 Reimplement to do errno handling inline.
8889 (SYSCALL_ERROR_HANDLER): New macro.
8890 (__SYSCALL_STRING): Do not do errno handling in asm.
8891 (__CLONE_SYSCALL_STRING): Delete.
8892 (__INTERNAL_SYSCALL_STRING): Delete.
8893 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8894 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8895 (PSEUDO): Reimplement to do errno handling inline.
8896 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8897 (SYSCALL_ERROR_HANDLER): New macro.
8898 (__SYSCALL_STRING): Do not do errno handling in asm.
8899 (__CLONE_SYSCALL_STRING): Delete.
8900 (__INTERNAL_SYSCALL_STRING): Delete.
8901 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8902 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8903 i386.
8904 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8905 (inline_syscall*): Add 'err' argument.
8906 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8907 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8908 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8909 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8910
8911 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8912 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8913
2bc17433
AS
89142011-08-30 Andreas Schwab <schwab@redhat.com>
8915
8916 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8917
fbeb5f4d
JO
89182011-08-29 Jiri Olsa <jolsa@redhat.com>
8919
8920 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8921 directive.
8922
ad69cc26
DM
89232011-08-24 David S. Miller <davem@davemloft.net>
8924
8925 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8926
39dd69df
AS
89272011-08-24 Andreas Schwab <schwab@redhat.com>
8928
8929 * elf/Makefile: Add rules to build and run unload8 test.
8930 * elf/unload8.c: New file.
8931 * elf/unload8mod1.c: New file.
8932 * elf/unload8mod1x.c: New file.
8933 * elf/unload8mod2.c: New file.
8934 * elf/unload8mod3.c: New file.
8935
8936 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8937 it wasn't used.
8938
2c0b250a
DM
89392011-08-23 David S. Miller <davem@davemloft.net>
8940
8941 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8942 subtract stack bias.
8943 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8944 %sp not %fp in calculations.
8945 (_JMPBUF_UNWINDS_ADJ): Likewise.
8946
22044b48
DM
8947 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8948 (aio_suspend): Call it to force an exception region around the
8949 AIO_MISC_WAIT() invocation.
8950
2cae4995
AS
89512011-08-23 Andreas Schwab <schwab@redhat.com>
8952
8953 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8954 backslash.
8955
873a772e
AJ
89562011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8957
8958 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8959 protection macro.
8960 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8961 and <dl-machine.h>.
8962 (Elf64_FuncDesc): Remove.
8963
25ad0df1
DM
89642011-08-22 David S. Miller <davem@davemloft.net>
8965
8966 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8967 sigaltstack check, add missing cfi directives.
8968 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8969 missing cfi directives, and sigaltstack handling.
8970
e888bcbe
AS
89712011-08-16 Andreas Schwab <schwab@redhat.com>
8972
8973 [BZ #11724]
8974 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8975 object is seen twice.
8976 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8977
8978 * elf/Makefile (distribute): Add tst-initorder2.c.
8979 (tests): Add tst-initorder2.
8980 (modules-names): Add tst-initorder2a tst-initorder2b
8981 tst-initorder2c tst-initorder2d. Add rules to build them.
8982 ($(objpfx)tst-initorder2.out): New rule.
8983 * elf/tst-initorder2.c: New file.
8984 * elf/tst-initorder2.exp: New file.
8985
87162f46
AS
89862011-08-22 Andreas Schwab <schwab@redhat.com>
8987
70538b7f
AS
8988 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8989
f55ffe58
AS
8990 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8991 dependencies back to end of function.
8992
87162f46
AS
8993 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8994 $(elfobjdir)/ld.so.
8995
91b392a4
UD
89962011-08-21 Ulrich Drepper <drepper@gmail.com>
8997
8998 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8999 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9000 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9001 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9002 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9003 of __vdso_gettimeofday.
9004 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9005 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9006 attribute_hidden.
9007 (_libc_vdso_platform_setup): Remove initialization of
9008 __vdso_gettimeofday and __vdso_time.
9009
5c43483f
UD
90102011-08-20 Ulrich Drepper <drepper@gmail.com>
9011
775a77e7
UD
9012 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9013 and fgetc_unlocked.
9014 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9015 getc_unlocked.
89f447ed 9016
49c74ba9
UD
9017 * elf/dl-open.c (add_to_global): Report additions to the global scope
9018 for LD_DEBUG=scopes.
9019 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9020 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9021
5c43483f
UD
9022 [BZ #13114]
9023 * stdio-common/Makefile (tests): Add bug24.
9024 * stdio-common/bug24.c: New file.
9025
a101b025
AJ
90262011-08-19 Andreas Jaeger <aj@suse.de>
9027
9028 [BZ #13114]
9029 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9030 non-existant file when using close-on-exec mode.
9031
c88f1766
UD
90322011-08-20 Ulrich Drepper <drepper@gmail.com>
9033
0276a718
UD
9034 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9035 the very first instruction.
9036
c88f1766
UD
9037 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9038 the CFI state in the end.
9039 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9040 inclusion of dl-trampoline.h.
9041 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9042
51ccffa0
AS
90432011-08-19 Andreas Schwab <schwab@redhat.com>
9044
94d7165f
AS
9045 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9046 expectations for long double.
9047
51ccffa0
AS
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9049 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9050
fd708658 90512011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9052
9053 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9054 artificual limit depends upon the system page size.
9055
44f0a71e
UD
90562011-08-17 Ulrich Drepper <drepper@gmail.com>
9057
9058 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9059 * resolv/Makefile: Define CFLAGS-libresolv.
9060
8de79a24
AS
90612011-08-17 Andreas Schwab <schwab@redhat.com>
9062
9063 * nss/makedb.c (compute_tables): Make variables used in nested
9064 function static.
9065
27724598
UD
90662011-08-17 Ulrich Drepper <drepper@gmail.com>
9067
c5305d88
UD
9068 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9069 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9070 if buffer was too small.
9071
27724598
UD
9072 * elf/pldd.c (main): Attach to all threads in the process.
9073 Rewrite /proc handling to use *at functions.
9074
076fe015
UD
90752011-08-16 Ulrich Drepper <drepper@gmail.com>
9076
174baab3
UD
9077 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9078 specifies first scope to show.
9079 (dl_open_worker): Update callers. Move printing scope of new
9080 object to before the relocation.
44f0a71e 9081 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9082 * sysdeps/generic/ldsodefs.h: Update declaration.
9083
076fe015
UD
9084 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9085 string for the scope number.
9086
a60df2c3
UD
90872011-08-14 Ulrich Drepper <drepper@gmail.com>
9088
9089 * nscd/servicescache.c (cache_addserv): Make sure written is always
9090 initialized.
9091
5e4287d1
RM
90922011-08-14 Roland McGrath <roland@hack.frob.com>
9093
85ae0589
RM
9094 * sysdeps/i386/i486/bits/atomic.h
9095 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9096 statement expression, so as to suppress "set but not used" warning.
9097 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9098
69f63097
RM
9099 * string/strncat.c (STRNCAT): Use prototype definition.
9100
675456ef
RM
9101 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9102 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9103 -Iprograms here.
9104 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9105 (localedef-modules): Add localedef.
9106 (locale-modules): Add locale.
9107
5e4287d1
RM
9108 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9109 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9110 to avoid a warning.
9111
9c96ff23
DM
91122011-08-14 David S. Miller <davem@davemloft.net>
9113
9114 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9115 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9116
f9ddf089
UD
91172011-08-13 Ulrich Drepper <drepper@gmail.com>
9118
44f0a71e 9119 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9120 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9121 * elf/rtld.c (dl_main): Set l_name of vDSO.
9122 Call _dl_show_scope when DL_DEBUG_SCOPES.
9123 (process_dl_debug): Recognize scopes flag and also set it for all.
9124 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9125 Declare _dl_show_scope.
9126
1dc27704
UD
9127 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9128 (do_dlopen): Pass caller_dlopen to dl_open.
9129 (__libc_dlopen_mode): Initialize caller_dlopen.
9130
f9ddf089
UD
9131 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9132 of libc. Make tolower call locale-independent. Optimize a bit by
9133 using isdigit instead of isalnum.
9134 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9135
9ac533d3
UD
91362011-08-12 Ulrich Drepper <drepper@gmail.com>
9137
9138 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9139 was a dependency or dynamically loaded.
9140
89edf2e9
UD
91412011-08-11 Ulrich Drepper <drepper@gmail.com>
9142
8e999d29
UD
9143 * intl/l10nflist.c: Allow architecture-specific pop function.
9144 * sysdeps/x86_64/l10nflist.c: New file.
9145
89edf2e9
UD
9146 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9147 classification.
9148
14d96785
AS
91492011-08-10 Andreas Schwab <schwab@redhat.com>
9150
9151 * include/dirent.h: Add libc_hidden_proto for scandirat and
9152 scandirat64. Don't declare __scandirat64.
9153 * dirent/scandirat.c: Add libc_hidden_def.
9154 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9155 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9156
6761ac04
DM
91572011-08-10 David S. Miller <davem@davemloft.net>
9158
9159 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9160 enum.
9161 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9162 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9163 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9164
c55fbd1e
UD
91652011-08-09 Ulrich Drepper <drepper@gmail.com>
9166
9167 * Versions.def [libc]: Add GLIBC_2.15.
9168 * dirent/Makefile (routines): Add scandirat and scandirat64.
9169 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9170 GLIBC_2.15.
9171 * dirent/dirent.h: Declare scandirat and scandirat64.
9172 * dirent/scandirat.c: New file.
9173 * dirent/scandirat64.c: New file.
9174 * sysdeps/wordsize-64/scandirat.c: New file.
9175 * sysdeps/wordsize-64/scandirat64.c: New file.
9176 * dirent/opendir.c: Define opendirat.
9177 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9178 using scandirat.
9179 * dirent/scandir64.c: Adjust for scandir.c change.
9180 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9181 __scandirat64, and __scandir_cancel_handler.
9182 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9183 additional parameter and use openat instead of open (outside of ld.so).
9184 Add new __opendir as wrapper around __opendirat.
9185 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9186 here without requiring old scandirat implementation.
9187
879165f2
UD
91882011-08-08 Ulrich Drepper <drepper@gmail.com>
9189
9190 * dirent/scandir.c (cancel_handler): Renamed to
9191 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9192 defined. Adjust users.
9193 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9194 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9195
cb7e923b
UD
91962011-08-04 Ulrich Drepper <drepper@gmail.com>
9197
16292edd
UD
9198 * string/test-string.h (IMPL): Use __STRING to expand name and then
9199 stringify it.
9200
cb7e923b
UD
9201 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9202 of cleanups.
9203
cff82933
LD
92042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9205
9206 * string/Makefile: Update.
9207 (strop-tests): Append strncat.
9208 * string/test-wcscmp.c: New file.
9209 New comprehensive test for wcscmp.
9210 * string/test-strcmp.c: Update.
9211 (WIDE): New define.
9212
9be9bfcc
AS
92132011-07-22 Andreas Schwab <schwab@redhat.com>
9214
9215 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9216 line.
9217
2e96f1c7
AS
92182011-07-26 Andreas Schwab <schwab@redhat.com>
9219
9220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9221 encoding to ACE if AI_IDN.
9222
85188888
JJ
92232011-08-01 Jakub Jelinek <jakub@redhat.com>
9224
9225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9226 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9227
5fa16e9b
LD
92282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9229
9230 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9231 Fix overflow bug in strncat.
9232 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9233
9234 * string/test-strncat.c: Update.
9235 Add new tests for checking overflow bugs.
9236
92372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9238
9239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9240 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9241 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9242 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9243 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9244 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9245 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9246 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9247 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9248
9249 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9250 (USE_AS_STRCAT): Define.
9251 Add strcat and strncat support.
9252 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9253
8c1a459f
AS
92542011-07-25 Andreas Schwab <schwab@redhat.com>
9255
9256 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9257 __n bigger than INT_MAX+1.
9258 (__strncmp_g): Likewise.
9259
bba33c28
UD
92602011-07-23 Ulrich Drepper <drepper@gmail.com>
9261
798be72d
UD
9262 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9263 * libio/stido.h: Likewise.
9264
8accd4dc
UD
9265 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9266 (AF_NFC): Define.
9267 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9268 (AF_NFC): Define.
9269
cbff0d96
UD
9270 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9271 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9272 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9273 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9274 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9275
9191c04a
UD
9276 [BZ #13021]
9277 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9278 installed.
9279
bba33c28
UD
9280 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9281 typo.
9282 (_dl_x86_64_save_sse): Likewise.
9283
90f139dd
UD
92842011-07-22 Ulrich Drepper <drepper@gmail.com>
9285
1aae088a
UD
9286 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9287 OSXSAVE.
9288 (_dl_x86_64_save_sse): Likewise.
9289
8e2045f5
UD
9290 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9291
90f139dd
UD
9292 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9293
1d002f25
AS
92942011-07-21 Andreas Schwab <schwab@redhat.com>
9295
9296 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9297 change.
9298 (_dl_x86_64_save_sse): Use correct AVX check.
9299
21137f89
UD
93002011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9301
9302 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9303 bug in strncpy/strncat.
9304 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9305
a65c0b7a
UD
93062011-07-21 Ulrich Drepper <drepper@gmail.com>
9307
9308 * string/tester.c (test_strcat): Add tests for different alignments
9309 of source and destination.
9310 (test_strncat): Likewise.
9311
6986b98a
UD
93122011-07-20 Ulrich Drepper <drepper@gmail.com>
9313
90bb2039
UD
9314 [BZ #12852]
9315 * posix/glob.c (glob): Check passed in values before using them in
9316 expressions to avoid some overflows.
9317 (glob_in_dir): Likewise.
9318
5644ef54
UD
9319 [BZ #13007]
9320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9321 check for AVX enablement so that we don't crash with old kernels and
9322 new hardware.
9323 * elf/tst-audit4.c: Add same checks here.
9324 * elf/tst-audit6.c: Likewise.
9325
9326 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9327
bfc9dc9b
AS
93282011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9329
9330 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9331
702e64bb
UD
93322011-07-20 Ulrich Drepper <drepper@gmail.com>
9333
9334 * po/cs.po: Update from translation team.
9335 * po/bg.po: Likewise.
9336
295e904f
MP
93372011-07-12 Marek Polacek <mpolacek@redhat.com>
9338
9339 * misc/sys/cdefs.h: Add support for const attribute.
9340 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9341 to gnu_dev_{major,minor,makedev} functions.
9342
3ff94596
MP
93432011-07-20 Marek Polacek <mpolacek@redhat.com>
9344
9345 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9346
28b59fca
AS
93472011-07-20 Andreas Schwab <schwab@redhat.com>
9348
9349 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9350 strlen results.
9351
19df733e
AK
93522011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9353
9354 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9355 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9356 register in order to avoid conflicts with the soft frame pointer
9357 being held in r11 when necessary.
9358 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9359 (INTERNAL_VSYSCALL_NCS): Likewise.
9360
c8835729
MP
93612011-07-14 Marek Polacek <mpolacek@redhat.com>
9362
9363 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9364 * elf/dl-fini.c (_dl_fini): Adjust caller.
9365 * elf/dl-close.c (_dl_close_worker): Likewise.
9366 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9367
b902330c
MP
93682011-07-15 Marek Polacek <mpolacek@redhat.com>
9369
8991e135
MP
9370 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9371 "aux_cache->nlibs < 0".
9372
b902330c
MP
9373 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9374 in the reload-count case.
9375
99710781
LD
93762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9377
9378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9379 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9380 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9381 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9382 * sysdeps/x86_64/multiarch/strcat.S: New file.
9383 * sysdeps/x86_64/multiarch/strncat.S: New file.
9384 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9385 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9386 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9387 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9388 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9389 (USE_AS_STRCAT): Define.
9390 Add strcat and strncat support.
9391 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9392 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9393 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9394 * string/strncat.c: Update.
9395 (USE_AS_STRNCAT): Define.
9396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9397 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9398 and i7.
9399 * sysdeps/x86_64/multiarch/init-arch.h
9400 (bit_Prefer_PMINUB_for_stringop): New.
9401 (index_Prefer_PMINUB_for_stringop): Likewise.
9402 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9403 bit_Prefer_PMINUB_for_stringop.
9404
7dc6bd90
UD
94052011-07-19 Ulrich Drepper <drepper@gmail.com>
9406
9407 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9408 buffer64.
9409 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9410 of casting of buffer.
9411 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9412 buffer32 and buffer64.
9413 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9414 writes instead of casting of buffer.
9415 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9416 buffer32.
9417 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9418 casting of buffer.
9419
e0e72284
AS
94202011-07-19 Andreas Schwab <schwab@redhat.com>
9421
9422 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9423
feb1eb0b
UD
94242011-07-19 Ulrich Drepper <drepper@gmail.com>
9425
9426 * nscd/nscd.c (termination_handler): Don't do anything for a database
9427 if it has not yet been initialized.
9428
298711ff
UD
94292011-07-18 Ulrich Drepper <drepper@gmail.com>
9430
9431 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9432
94332011-07-15 Marek Polacek <mpolacek@redhat.com>
9434
9435 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9436
f9d68389
UD
94372011-07-18 Ulrich Drepper <drepper@gmail.com>
9438
9439 * po/nl.po: Update from translation team.
9440 * po/sv.po: Likewise.
9441
db290cf5
RM
94422011-07-16 Roland McGrath <roland@hack.frob.com>
9443
9444 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9445 now disallowed by GCC.
5c550700 9446
fd5e21c7
RM
9447 * configure.in (use-default-link): Default to yes if a test -shared
9448 link meets our qualifications.
9449 * configure: Regenerated.
9450
5c550700
RM
9451 * config.make.in (output-format): New variable.
9452 * configure.in: Check for ld --print-output-format support.
9453 * configure: Regenerated.
9454 * Makerules ($(common-objpfx)format.lds)
9455 [$(output-format) != unknown]: Just use $(output-format),
9456 instead of the linker-script munging.
9457
9fa2c032
RM
94582011-07-14 Roland McGrath <roland@hack.frob.com>
9459
a6928d51
RM
9460 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9461 of $(common-objpfx)shlib.lds.
9462 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9463
661607b3
RM
9464 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9465 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9466
9fa2c032
RM
9467 * configure.in (-z relro check): Adjust test code to add a large
9468 writable data section after it.
9469 * configure: Regenerated.
9470
defe9061
RM
94712011-07-11 Roland McGrath <roland@hack.frob.com>
9472
9473 * configure.in (-z relro check): Fix test code to make the variable
9474 truly const.
9475 * configure: Regenerated.
9476
319b9ad4
UD
94772011-07-11 Ulrich Drepper <drepper@gmail.com>
9478
9479 * nscd/nscd.h (struct traced_file): Define.
9480 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9481 elements. Add traced_files.
9482 (inotify_fd): Declare.
9483 (register_traced_file): Declare.
9484 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9485 (inotify_fd): Export.
9486 (resolv_conf_descr): Remove.
9487 (nscd_init): Move inotify descriptor creation to main.
9488 Don't register files for notification here.
9489 (register_traced_file): New function.
9490 (invalidate_cache): Don't use reset_res to determine whether to call
9491 res_init, go through the list of registered files.
9492 (main_loop_poll): The inotify descriptors are now stored in the
9493 structures for the traced files.
9494 (main_loop_epoll): Likewise
9495 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9496 to __nss_disable_nscd.
9497 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9498 for a database anymore. Check the records for all the registered
9499 files instead.
9500 * nss/Makefile (libnss_files-routines): Add files-init.
9501 (libnss_db-routines): Add db-init.
9502 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9503 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9504 * nss/nss_db/db-init.c: New file.
9505 * nss/nss_files/files-init.c: New file.
9506 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9507 __nss_lookup_function.
9508 (__nss_lookup_function): Call nss_load_library.
9509 (nss_load_all_libraries): New function.
9510 (__nss_disable_nscd): Take parameter with callback function for files
9511 to register. Set is_nscd. Load all the DSOs for the NSS modules
9512 used for the cached services.
9513 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9514 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9515 options for features to all the files in nscd.
9516
9517 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9518
23bee3e8
RM
95192011-07-10 Roland McGrath <roland@hack.frob.com>
9520
9521 * csu/elf-init.c (__libc_csu_init): Comment typo.
9522
46a5b7f0
UD
95232011-07-09 Ulrich Drepper <drepper@gmail.com>
9524
9525 * po/pl.po: Update from translation team.
9526 * po/ja.po: Likewise.
9527 * po/ru.po: Likewise.
9528 * po/ko.po: Likewise.
9529 * po/fr.po: Likewise.
9530
d30cf5bb
RM
95312011-07-09 Roland McGrath <roland@hack.frob.com>
9532
113ddea4
RM
9533 * configure.in (.ctors/.dtors header and trailer check):
9534 Use an empirical test on a built program.
9535 * configure: Regenerated.
9536
574920b4
RM
9537 * configure.in (-z relro check): Use an empirical test on a built DSO.
9538 Detect, but do not require, on ia64.
9539 * configure: Regenerated.
9540
d30cf5bb
RM
9541 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9542 Update tests that use readelf to use $READELF instead.
9543 * configure: Regenerated.
9544
8538fdb3
UD
95452011-07-08 Ulrich Drepper <drepper@gmail.com>
9546
9547 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9548 if the result is not used.
9549
04d08991
AJ
95502011-07-05 Andreas Jaeger <aj@suse.de>
9551
9552 [BZ#9696]
9553 * stdlib/tst-strtod.c: Add testcase.
9554
de283087
AD
95552011-07-07 Ulrich Drepper <drepper@gmail.com>
9556
4e5f31c8 9557 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9558 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9559 The latter has a higher limit. Take additional parameter to pass to
9560 the new function.
9561 (__pathconf): Pass file to __statfs_link_max.
9562 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9563 __statfs_link_max.
9564 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9565 __statfs_link_max.
9566
de283087
AD
9567 [BZ #12868]
9568 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9569 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9570 Handle Lustre.
9571 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9572 (__statfs_filesize_max): Likewise.
9573 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9574
c75fa153
AJ
95752011-07-05 Andreas Jaeger <aj@suse.de>
9576
9577 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9578
1a544854
UD
95792011-07-06 Marek Polacek <mpolacek@redhat.com>
9580
9581 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9582 `status' variable.
9583 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9584 Likewise.
9585
6f0eec67
UD
95862011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9587
9588 * Makefile (strop-tests): Add strncat.
9589 * string/test-strncat.c: New file.
9590
aae30307
UD
95912011-06-30 Marek Polacek <mpolacek@redhat.com>
9592
9593 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9594
c0cfb5eb
UD
95952011-06-21 Andreas Jaeger <aj@suse.de>
9596
9597 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9598 Copy rule from iconvdata/Makefile.
9599
01636b21
UD
96002011-07-06 Ulrich Drepper <drepper@gmail.com>
9601
9602 [BZ #12922]
9603 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9604 but no long options are defined, just return 'W'.
9605
9895c8bc
UD
96062011-06-22 Marek Polacek <mpolacek@redhat.com>
9607
9608 [BZ #9696]
9609 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9610
5d4cf042
UD
96112011-07-06 Ulrich Drepper <drepper@gmail.com>
9612
9613 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9614 netgroups to read.
960e5535 9615 (innetgr): Likewise.
5d4cf042 9616
751eb97e
RM
96172011-07-05 Roland McGrath <roland@hack.frob.com>
9618
9619 * config.make.in (install_root): Default to $(DESTDIR).
9620
f15f1e45
UD
96212011-07-05 Ulrich Drepper <drepper@gmail.com>
9622
9623 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9624
4e34ac6a
RM
96252011-07-02 Roland McGrath <roland@hack.frob.com>
9626
5e9b6af4
RM
9627 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9628
84f9ea0f
RM
9629 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9630 containing directory rather than embedding absolute directory names.
9631
ea5ee9f7
RM
9632 * scripts/check-local-headers.sh: Rewritten using awk.
9633 Match by word, not by line. Print error messages for matches.
9634 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9635
1b74661a
RM
9636 * Makerules [shlib-lds-flags empty]:
9637 ($(common-objpfx)libc_pic.opts): New target.
9638 ($(common-objpfx)libc_pic.os.clean): New target.
9639 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9640
9641 * config.make.in (OBJCOPY): New variable.
9642 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9643 * configure: Regenerated.
9644
f781ef40
RM
9645 * config.make.in (use-default-link): New variable.
9646 * configure.in (use_default_link): Grok --with-default-link to set it.
9647 * configure: Regenerated.
9648 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9649 (shlib-lds, shlib-lds-flags): Define to empty.
9650
2d4fa81e
RM
9651 * Makerules (shlib-lds): New variable.
9652 (shlib-lds-flags): New variable.
9653 (build-shlib, build-moduile, build-module-asneeded): Use it.
9654 ($(common-objpfx)libc.so): Use $(shlib-lds).
9655 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9656 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9657
31fffa6b
RM
9658 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9659 DT_FLAGS/DT_FLAGS_1 with zero flags.
9660
4e34ac6a
RM
9661 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9662 linker script munging.
9663
fcfc776b
UD
96642011-07-02 Ulrich Drepper <drepper@gmail.com>
9665
9666 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9667 as 128-bit value.
9668 * crypt/sha512.c (sha512_process_block): Perform total addition using
9669 128-bit if possible.
9670 (__sha512_finish_ctx): Likewise.
9671 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9672 as 64-bit value.
9673 * crypt/sha256.c (SWAP64): Define.
9674 (sha256_process_block): Perform total addition using 64-bit if
9675 possible.
9676 (__sha256_finish_ctx): Likewise.
9677
99231d9a
UD
96782011-07-01 Ulrich Drepper <drepper@gmail.com>
9679
9680 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9681 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9682 * nscd/hstcache.c (cache_addhst): Likewise.
9683 * nscd/grpcache.c (cache_addgr): Likewise.
9684 * nscd/aicache.c (addhstaiX): Likewise
9685 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9686
445b4a53
TK
96872011-07-01 Thorsten Kukuk <kukuk@suse.de>
9688
9689 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9690 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9691 * nscd/hstcache.c (cache_addhst): Likewise.
9692 * nscd/grpcache.c (cache_addgr): Likewise.
9693 * nscd/aicache.c (addhstaiX): Likewise
9694
6d4d8e8e
AS
96952011-07-01 Andreas Schwab <schwab@redhat.com>
9696
9697 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9698 domain only when needed.
9699
89f654c5
AS
97002011-06-30 Andreas Schwab <schwab@redhat.com>
9701
9702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9703 is always restored.
9704
cf3b23ff
UD
97052011-06-29 Ulrich Drepper <drepper@gmail.com>
9706
9707 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9708 are re-adding the entry.
9709 * nscd/servicescache.c (cache_addserv): Likewise.
9710
751626f9
AJ
97112011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9712
9713 * sysdeps/generic/dl-irel.h: fix protection against multiple
9714 inclusions.
9715 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9716
9113ea1f
UD
97172011-06-28 Ulrich Drepper <drepper@gmail.com>
9718
5c0b8d90
UD
9719 [BZ #12935]
9720 * malloc/memusage.sh: Fix quoting in message.
9721 * debug/xtrace.sh: Likewise.
9722
9113ea1f
UD
9723 * configure.in: Remove support for --experimental-malloc option, make
9724 it the default.
9725 * config.make.in: Likewise.
9726 * malloc/Makefile: Likewise.
9727
a4172181
AS
97282011-06-27 Andreas Schwab <schwab@redhat.com>
9729
9730 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9731 two-byte characters.
9732
78a7eee7
RM
97332011-06-27 Roland McGrath <roland@hack.frob.com>
9734
62bede13
RM
9735 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9736 AC_CACHE_CHECK invocation.
9737 * configure: Regenerated.
9738
78a7eee7
RM
9739 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9740
5ce33a62
UD
97412011-06-27 Ulrich Drepper <drepper@gmail.com>
9742
034807a9
UD
9743 [BZ #12350]
9744 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9745 bit from old_res_options.
9746
4902da17
UD
9747 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9748
5ce33a62
UD
9749 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9750 value type for setfct.
9751
c2344f56
L
97522011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9753
9754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9755 __gettimeofday instead of gettimeofday.
9756
68468076
UD
97572011-06-26 Ulrich Drepper <drepper@gmail.com>
9758
9759 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9760
acb0d739
L
97612011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9762
9763 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9764
9765 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9766 info.
9767
8912479f
L
97682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9769
9770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9771 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9772 strcpy-sse2-unaligned strncpy-sse2-unaligned
9773 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9774 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9775 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9776 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9777 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9778 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9779 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9780 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9781 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9782 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9783 (STRCPY): Support SSE2 and SSSE3 versions.
9784
d5495a11
UD
97852011-06-24 Ulrich Drepper <drepper@gmail.com>
9786
9787 [BZ #12874]
9788 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9789 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9790 kernels which artificially limit size of requests.
9791
0b1cbaae
L
97922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9793
9794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9795 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9796 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9797 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9798 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9799 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9800 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9801 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9802 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9803 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9804 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9805 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9806 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9807 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9808 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9810 Enable unaligned load optimization for Intel Core i3, i5 and i7
9811 processors.
9812 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9813 Define.
9814 (index_Fast_Unaligned_Load): Define.
9815 (HAS_FAST_UNALIGNED_LOAD): Define.
9816
07f494a0
MP
98172011-06-23 Marek Polacek <mpolacek@redhat.com>
9818
9819 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9820
fa3fc0fe
UD
98212011-06-22 Ulrich Drepper <drepper@gmail.com>
9822
9823 [BZ #12907]
9824 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9825 until it is clear that the information is realy needed.
9826 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9827
e12df166
AS
98282011-06-22 Andreas Schwab <schwab@redhat.com>
9829
9830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9831
852eb34d
UD
98322011-06-22 Ulrich Drepper <drepper@gmail.com>
9833
84e2a551
UD
9834 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9835 /sys/devices/system/cpu/online if it is usable.
9836
852eb34d
UD
9837 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9838 reading the information from the /proc filesystem to once a second.
9839
6e502e19
UD
98402011-06-21 Andreas Jaeger <aj@suse.de>
9841
9842 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9843 NULL after inclusion of kernel headers.
9844
75d39ff2
UD
98452011-06-21 Ulrich Drepper <drepper@gmail.com>
9846
51f9aa6a
UD
9847 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9848 calls to internal_setent.
9849
c0244a9d
UD
9850 [BZ #12885]
9851 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9852 addresses using gethostbyname4_r ignore IPv4 addresses.
9853
c5e3c2ae
UD
9854 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9855 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9856
75d39ff2
UD
9857 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9858
42675c6f
DM
98592011-06-20 David S. Miller <davem@davemloft.net>
9860
9861 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9862 inclusions.
9863 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9864
9865 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9866 (elf_irel): Use it.
9867 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9868 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9869 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9870 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9871 * sysdeps/x86_64/dl-irel.h: Likewise.
9872
9873 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9874 * elf/dl-sym.c: Likewise.
9875
57912a71
UD
98762011-06-15 Ulrich Drepper <drepper@gmail.com>
9877
9878 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9879 need to dereference resplen2.
9880
ee22793d
AS
98812011-06-14 Andreas Schwab <schwab@redhat.com>
9882
9883 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9884
a9e836b0
UD
98852011-06-15 Ulrich Drepper <drepper@gmail.com>
9886
77fb9117
UD
9887 * Makeconfig: Define vardbdir and inst_vardbdir.
9888 * nss/Makefile: Add rules to install db-Makefile.
9889
40c1b22c
UD
9890 * nss/nss_db/db-XXX.c: Cleanup.
9891
9f2da732
UD
9892 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9893 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9894 GLIBC_PRIVATE.
9895 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9896 * nss/makedb.c: Implement -g option to specify that value strings
9897 are generated and should not be added to table iterated over for
9898 get*ent calls.
9899 * nss/nss_db/db-initgroups.c: New file.
9900
82e9a1f7
UD
9901 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9902 interface.
9903
c41af17e
UD
9904 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9905 (internal_getgrouplist): Adjust to name change.
9906 Update use_initgroups_entry if this is not the first call.
9907 * nss/databases.def: Add initgroups entry.
9908
a9e836b0
UD
9909 * nss/makedb.c (compute_tables): Check result of multiple hash table
9910 sizes to minimize maximum chain length.
9911
2666d441
UD
99122011-06-14 Ulrich Drepper <drepper@gmail.com>
9913
9914 * Versions.def: Add entry for libnss_db.
9915 * shlib-versions: Likewise.
9916 * nss/Makefile: Add rules to build libnss_db.
9917 * nss/Versions: Add libnss_db information. Organize libnss_files
9918 entries better.
9919 * nss/db-Makefile: Add gshadow support. Change rules for the new
9920 makedb progra. Some minor improvements to generate smaller files.
9921 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9922 here from...
9923 * nss/makedb.c: ...here.
9924 Improve database format to be smaller and require less memory at
9925 runtime.
9926 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9927 db anymore.
9928 * nss/nss_db/db-netgrp.c: Likewise.
9929 * nss/nss_db/db-open.c: Likewise.
9930 * nss/nss_files/flies-XXX.x: Adjust comments.
9931 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9932 * nss/nss_files/files-grp.c: Likewise.
9933 * nss/nss_files/files-hosts.c: Likewise.
9934 * nss/nss_files/files-network.c: Likewise.
9935 * nss/nss_files/files-proto.c: Likewise.
9936 * nss/nss_files/files-pwd.c: Likewise.
9937 * nss/nss_files/files-rpc.c: Likewise.
9938 * nss/nss_files/files-service.c: Likewise.
9939 * nss/nss_files/files-sgrp.c: Likewise.
9940 * nss/nss_files/files-spwd.c: Likewise.
9941 * nss/nss_db/db-alias.c: Removed.
9942 * nss/nss_db/dummy-db.h: Removed.
9943
9ee76b5a
UD
99442011-06-02 Ulrich Drepper <drepper@gmail.com>
9945
9946 * nss/makedb.c: Rewritten to not use database library.
9947 * nss/Makefile: Update to build new makedb program.
9948
c71ca1f8
AJ
99492011-06-14 Andreas Jaeger <aj@suse.de>
9950
9951 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9952 memset declaration.
9953
3154bfb8
UD
99542011-06-10 Andreas Schwab <schwab@redhat.com>
9955
9956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9957 tmpbuf.
9958
b350afab
RM
99592011-06-10 Roland McGrath <roland@hack.frob.com>
9960
decd4e50
RM
9961 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9962 * elf/Makefile ($(objpfx)ld.so): Likewise.
9963
5615eaf2
RM
9964 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9965 Don't list ld.so twice in dependencies.
9966
9967 * posix/bug-regex31.c: Include <stdlib.h>.
9968
9969 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9970
9971 * nis/nss_compat/compat-spwd.c
9972 (getspent_next_nss_netgr): Remove unused variable.
9973 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9974
9975 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9976 nonmembers" output to use the right array.
9977
9978 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9979
9980 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9981
9982 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9983 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9984 * catgets/gencat.c (read_input_file): Likewise.
9985 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9986
9987 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9988 variable definition inside #if's controlling its use.
9989
9990 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9991
9992 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9993
9994 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9995
9996 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9997 unreachable code.
9998
9999 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10000
b68e08db
RM
10001 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10002 * configure: Regenerated.
10003
b350afab
RM
10004 * Makerules: Revert last change.
10005 * elf/Makefile: Likewise.
10006
28368601
RM
100072011-06-09 Roland McGrath <roland@hack.frob.com>
10008
10009 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10010 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10011 (reloc-link): Likewise.
10012
11988f8f
UD
100132011-06-09 Ulrich Drepper <drepper@gmail.com>
10014
10015 * elf/Makefile: Add rules to build pldd.
10016 * elf/pldd.c: New file.
10017 * elf/pldd-xx.c: New file.
10018
e80fab37
UD
100192011-06-07 Ulrich Drepper <drepper@gmail.com>
10020
10021 * version.h: Update for 2.15 development version.
10022
9b849836
DM
100232011-06-07 David S. Miller <davem@davemloft.net>
10024
10025 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10026 ifuncs.
10027 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10028 elf_machine_lazy_rel): Likewise.
10029 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10030 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10031 elf_machine_lazy_rel): Likewise.
10032 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10033 dl_hwcap via passed in argument.
10034 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10035 Likewise.
10036
5a31b283
AK
100372011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10038
10039 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10040
069e52f8
RM
100412011-06-06 Roland McGrath <roland@hack.frob.com>
10042
10043 [BZ #12849]
10044 * manual/fdl-1.1.texi: New file, verbatim from:
10045 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10046 * manual/lgpl-2.1.texi: New file, verbatim from:
10047 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10048 * manual/Makefile (licenses): New variable, list those new file names.
10049 (texis): Use it.
10050 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10051
10052 * manual/fdl.texi: File removed.
10053 * manual/lesser.texi: File removed.
10054 * manual/libc.texinfo (Copying, Documentation License):
10055 Use new @include file names, put @appendix directive before @include.
10056
f16846a5
JJ
100572011-06-04 Jakub Jelinek <jakub@redhat.com>
10058
10059 [BZ #12841]
10060 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10061 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10062 (mq_open): Add __NTH.
10063
3d29045b
L
100642011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10065
10066 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10067 Assume Intel Core i3/i5/i7 processor if AVX is available.
10068
8c297311
UD
100692011-05-31 Ulrich Drepper <drepper@gmail.com>
10070
10071 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10072 typo.
10073
c8fc0c91
UD
100742011-05-31 Andreas Schwab <schwab@redhat.com>
10075
10076 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10077 memory. Use alloca_account. Fix memory leak when retrying.
10078
5b27a807
UD
100792011-05-31 Ulrich Drepper <drepper@gmail.com>
10080
356f8bc6
UD
10081 * version.h (RELEASE): Bump for 2.14 release.
10082 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10083
5b27a807
UD
10084 * config.make.in (RANLIB): Remove entry.
10085
01f16ab0
UD
100862011-05-30 Ulrich Drepper <drepper@gmail.com>
10087
41fce8bd
UD
10088 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10089 (libc.pot): Work around missing support for .ksh extension in xgettext.
10090
4769ae77
UD
10091 [BZ #12684]
10092 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10093 if both request failed.
10094 (send_dg): In case of server errors clear resplen or *resplen2.
10095
6b1e7d19
UD
10096 [BZ #12454]
10097 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10098 when there are multiple maps.
10099 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10100 (_dl_fini): Remove test here.
10101
01f16ab0
UD
10102 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10103
b1ebd700
UD
101042011-05-29 Ulrich Drepper <drepper@gmail.com>
10105
7ae22829
UD
10106 [BZ #12350]
10107 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10108 bit from old_res_options.
10109 (gaih_inet): Likewise.
10110
553149f6 10111 [BZ #11099]
18a84741 10112 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10113 as signed.
10114
652ffab1
UD
10115 * resolv/res_init.c (res_setoptions): Make the code more compact.
10116
16985fd0
UD
10117 [BZ #11558]
10118 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10119 set RES_USEVC.
10120
0464f746
UD
10121 [BZ #11634]
10122 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10123
7d17596c
UD
10124 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10125
cf6bbbd7
UD
10126 [BZ #11781]
10127 * malloc/malloc.h: Declare malloc hook variables as volatile.
10128
13f1ab36
UD
10129 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10130 in last patch.
10131
b1ebd700
UD
10132 [BZ #11799]
10133 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10134 raise in the comment.
80e2212d
UD
10135 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10136 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10137 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10138
ce67228d
UD
101392011-05-28 Ulrich Drepper <drepper@gmail.com>
10140
8887a920
UD
10141 [BZ #12811]
10142 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10143 grow the buffers more if it already has to be sufficient.
10144 (build_wcs_upper_buffer): Likewise.
10145 * posix/regexec.c (check_matching): Likewise.
10146 (clean_state_log_if_needed): Likewise.
10147 (extend_buffers): Don't enlarge buffers beyond size of the input
10148 buffer.
10149 Patches mostly by Emil Wojak <emil@wojak.eu>.
10150 * posix/bug-regex32.c: New file.
10151 * posix/Makefile (tests): Add bug-regex32.
10152
4f031072
UD
10153 * locale/findlocale.c (_nl_find_locale): Return right away if
10154 _nl_explode_name failed.
10155 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10156
d0478f0c
UD
10157 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10158
de81b246
UD
10159 * debug/xtrace.sh: Unify messages.
10160 * malloc/memusage.sh: Likewise.
10161
c738465a
UD
10162 [BZ #12813]
10163 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10164 time symbol from vDSO. Substitute with vsyscall if not available.
10165 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10166 __vdso_time.
10167
f1f929d7
UD
10168 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10169 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10170 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10171 Add sendmmsg and internal_sendmmsg.
10172 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10173 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10174 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10175
ce67228d
UD
10176 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10177 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10178 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10179
e57420c6
UD
101802011-05-27 Ulrich Drepper <drepper@gmail.com>
10181
a8509ca5
UD
10182 [BZ #12813]
10183 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10184 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10185 available.
10186 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10187 __vdso_getcpu.
10188
e57420c6
UD
10189 [BZ #12814]
10190 * iconvdata/Makefile (tests): Add bug-iconv9.
10191 * iconvdata/bug-iconv9.c: New file.
10192
4d07db15
AS
101932011-05-27 Andreas Schwab <schwab@redhat.com>
10194
10195 [BZ #12814]
10196 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10197
ea486f69
JJ
101982011-05-25 Jakub Jelinek <jakub@redhat.com>
10199
10200 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10201 (struct user_regs_struct): Change intcs field back to cs.
10202
6f038433
UD
102032011-05-25 Ulrich Drepper <drepper@gmail.com>
10204
10205 * po/ja.po: Update from translation team.
10206
67f86a25
UD
102072011-05-23 Ulrich Drepper <drepper@gmail.com>
10208
10209 [BZ #12795]
10210 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10211 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10212
def7fbd6
AS
102132011-05-20 Andreas Schwab <schwab@redhat.com>
10214
10215 * stdlib/longlong.h: Update from GCC.
10216
f50ef8f1
AS
102172011-05-23 Andreas Schwab <schwab@redhat.com>
10218
10219 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10220 parameter name.
10221 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10222 Add parameter name.
10223 (__sysconf): Pass it down.
10224
de7ce8f1
UD
102252011-05-22 Ulrich Drepper <drepper@gmail.com>
10226
f2962a71
UD
10227 [BZ #12671]
10228 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10229 some situations.
10230 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10231 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10232 add in in __libc_use_alloca calls. Adjust callers.
10233 (glob): Use malloc in some situations.
10234
de7ce8f1
UD
10235 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10236 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10237 pltexit.
10238
aec84f53
UD
102392011-05-21 Ulrich Drepper <drepper@gmail.com>
10240
05bb4a68
UD
10241 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10242 and CLOCK_BOOTTIME_ALARM.
10243
7ea72f99
UD
10244 [BZ #12782]
10245 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10246 is returned.
10247
7e4afad5
UD
10248 * string/_strerror.c (__strerror_r): Print negative errors as signed
10249 numbers.
10250
8e211fec
UD
10251 [BZ #12777]
10252 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10253 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10254 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10255
f7d82dc9
UD
10256 * configure.in: Fix typo in redirection and correct removal of test
10257 files in two cases.
10258
cc9e536d
UD
10259 [BZ #12788]
10260 * locale/setlocale.c (new_composite_name): Fix test to check for
10261 identical name of all categories.
10262
aec84f53
UD
10263 [BZ #12792]
10264 * libio/filedoalloc.c (local_isatty): New function.
10265 (_IO_file_doallocate): Use local_isatty.
10266 * stdio-common/perror.c (perror): In case a new stream is used
10267 forward the stream error.
10268 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10269 error flag.
10270
78e64fdc
RT
102712011-05-20 Ulrich Drepper <drepper@gmail.com>
10272
34a9094f
UD
10273 [BZ #11869]
10274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10275 alloca.
10276 * include/alloca.h (extend_alloca_account): Define.
10277
78e64fdc
RT
10278 [BZ #11857]
10279 * posix/regex.h: Fix comments with documentation of user-accessible
10280 fields after compilation and describe correct free'ing of pattern
10281 after re_compile_pattern.
10282 Patch by Reuben Thomas <rrt@sc3d.org>.
10283
457bddfc
RA
102842011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10285
10286 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10287 and -mno-altivec to prevent the compiler from using Altivec and/or
10288 VSX instructions when the corresponding registers are not available.
10289
a4527b51
AS
102902011-05-19 Andreas Schwab <schwab@redhat.com>
10291
10292 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10293
ed690b2f
UD
102942011-05-19 Ulrich Drepper <drepper@gmail.com>
10295
10296 * libio/freopen.c (freopen): Use __dup2, not dup2.
10297 * libio/freopen64.c (freopen64): Likewise.
10298
8db73634
L
102992011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10300
10301 [BZ #12775]
10302 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10303 * math/Makefile (tests): Add test-powl.
10304 (CFLAGS-test-powl.c): Define.
10305 * math/test-powl.c: New file.
10306
0a197a9d
L
103072011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10308
10309 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10310
ee30c380
UD
103112011-05-17 Ulrich Drepper <drepper@gmail.com>
10312
10313 [BZ #11837]
10314 * iconvdata/gb18030.c: Update to GB18020-2005.
10315
6ce75379
UD
103162011-05-16 Ulrich Drepper <drepper@gmail.com>
10317
a4b89fd8
AR
10318 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10319 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10320 Patch by Aharon Robbins <arnold@skeeve.com>.
10321
ea389b12
UD
10322 [BZ #11892]
10323 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10324 on the stack.
10325
68a3f91f
UD
10326 [BZ #11895]
10327 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10328 through underflows.
10329
15cc7dd1
UD
10330 [BZ #12766]
10331 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10332 point to strings before performing equality test for error_one_per_line
10333 mode.
10334
f3799213
UD
10335 [BZ #11697]
10336 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10337
d79a9c94
UD
10338 [BZ #11820]
10339 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10340 (struct user_fpregs_struct): Avoid __uint*_t types.
10341
56e5eb46
UD
10342 [BZ #6420]
10343 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10344 symbol info. Use it instead of calling _dl_addr locally.
10345 (lock_and_info): New function.
10346 (tr_freehook): Call lock_and_info and pass symbol info as additional
10347 parameter to tr_where.
10348 (tr_mallochook): Likewise.
10349 (tr_reallochook): Likewise.
10350 (tr_memalignhook): Likewise.
10351
6ce75379
UD
10352 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10353 used and couldn't be at all thread-safe.
10354
f8a3b5bf
UD
103552011-05-15 Ulrich Drepper <drepper@gmail.com>
10356
94b7cc37
UD
10357 * libio/freopen.c (freopen): Don't close old file descriptor
10358 before the new one is opened. Instead dup the new file descriptor
10359 to the old one after the new stream is created.
10360 * libio/freopen64.c (freopen64): Likewise.
10361 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10362 * libio/fileops.c (_IO_new_file_close_it): Handle new
10363 _IO_FLAGS2_NOCLOSE flag.
10364 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10365 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10366 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10367 _IO_FLAGS2_NOCLOSE flag.
10368 * include/unistd.h: Add hidden_proto for dup3.
10369 Define __have_dup3.
10370 * io/dup3.c: Define hidden symbol.
10371 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10372
bd25564e
UD
10373 [BZ #7101]
10374 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10375 when an incomplete long option is used.
10376 * posix/tst-getopt_long1.c: New file.
10377 * posix/Makefile (tests): Add tst-getopt_long1.
10378
c84cfef4
UD
10379 [BZ #10138]
10380 * scripts/config.guess: Update from autoconf-2.68.
10381 * scripts/config.sub: Likewise.
10382
3b85df27
UD
10383 [BZ #10157]
10384 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10385 tests into ...
10386 (has_cpuclock): ...this. New function.
10387 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10388 macro here based on has_cpuclock code.
10389
15a856b1
UD
10390 [BZ #10149]
10391 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10392 First byte (not low byte) is now always NUL.
10393 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10394
05f399e6
UD
10395 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10396 Use non-cancelable interfaces.
10397
10a52685 10398 [BZ #9809]
94ecc67d
UD
10399 * locale/iso-639.def: Add entry for Sorani.
10400
f8a3b5bf
UD
10401 [BZ #11901]
10402 * include/stdlib.h: Move include protection to the right place.
10403 Define abort_msg_s. Declare __abort_msg with it.
10404 * stdlib/abort.c (__abort_msg): Adjust type.
10405 * assert/assert.c (__assert_fail_base): New function. Majority
10406 of code from __assert_fail. Allocate memory for __abort_msg with
10407 mmap.
10408 (__assert_fail): Now call __assert_fail_base.
10409 * assert/assert-perr.c: Remove bulk of implementation. Use
10410 __assert_fail_base.
10411 * include/assert.hL Declare __assert_fail_base.
10412 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10413 mmap.
10414 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10415
1af4e298
UD
104162011-05-14 Ulrich Drepper <drepper@gmail.com>
10417
f8a3b5bf 10418 [BZ #11952]
d26dfc60
MG
10419 [BZ #12453]
10420 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10421 until all modules are registered in the DTV.
10422 * elf/Makefile: Add rules to build and run tst-tls19.
10423 * elf/tst-tls19.c: New file.
10424 * elf/tst-tls19mod1.c: New file.
10425 * elf/tst-tls19mod2.c: New file.
10426 * elf/tst-tls19mod3.c: New file.
10427 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10428
2fc54d6f
UD
10429 [BZ #12083]
10430 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10431 correctly.
10432
98d76b46
UD
10433 [BZ #12601]
10434 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10435 two-byte sequence errors.
10436 * iconvdata/Makefile (tests): Add bug-iconv8.
10437 * iconvdata/bug-iconv8.c: New file.
10438
da3c19ef
UD
10439 [BZ #12626]
10440 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10441 buf2 definition.
10442
ca408c15
UD
10443 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10444
d6f67f7d
UD
10445 [BZ #12432]
10446 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10447 (dummy_getcfa): New function.
10448 (init): Get _Unwind_GetCFA address, use dummy if not found.
10449 (backtrace_helper): In recursion check, also check whether CFA changes.
10450 (__backtrace): Completely initialize arg.
10451
1af4e298 10452 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10453 storing incomplete byte sequence in state object. Avoid testing for
10454 guaranteed too small input if we know there is enough data available.
1af4e298 10455
da62f81b
AS
104562011-05-11 Andreas Schwab <schwab@redhat.com>
10457
10458 * Makeconfig (+link-pie): Indent.
10459 * Rules (binaries-pie): Define if $(have-fpie) and
10460 $(build-shared).
10461 (binaries-shared): Also filter out $(binaries-pie).
10462 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10463 * nscd/Makefile (others-pie): Add nscd.
10464 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10465 ($(objpfx)nscd): Remove command override.
10466 * login/Makefile (others-pie): Add pt_chown.
10467 ($(objpfx)pt_chown): Remove command override.
10468 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10469 remove command overrides.
10470
fcabc0f8
UD
104712011-05-13 Ulrich Drepper <drepper@gmail.com>
10472
20030ae6
UD
10473 * libio/tst_putwc.c: Fix error messages.
10474
fcabc0f8
UD
10475 [BZ #12724]
10476 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10477 currently writing and seek to current position when not.
10478 * libio/Makefile (tests): Add bug-fclose1.
10479 * libio/bug-fclose1.c: New file.
10480
320a5dc0
PB
104812011-05-12 Ulrich Drepper <drepper@gmail.com>
10482
10483 [BZ #12511]
10484 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10485 don't set DF_1_NODELETE here.
10486 (do_lookup_x): When entering new entry test for copy relocation
10487 and if necessary set DF_1_NODELETE flag.
10488 * elf/tst-unique4.cc: New file.
10489 * elf/tst-unique4.h: New file.
10490 * elf/tst-unique4lib.cc: New file.
10491 * elf/Makefile: Add rules to build and run tst-unique4.
10492 Patch by Piotr Bury <pbury@goahead.com>.
10493
22836f52
UD
104942011-05-11 Ulrich Drepper <drepper@gmail.com>
10495
f574184a
UD
10496 [BZ #12052]
10497 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10498
e1fb097f
UD
10499 [BZ #12625]
10500 * misc/mntent_r.c (addmntent): Flush the stream after the output
10501
22836f52
UD
10502 [BZ #12393]
10503 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10504 (is_trusted_path_normalize): Skip initial colon. Append slash
10505 to empty buffer. Duplicate is_trusted_path code but allow
10506 constructed patch to be prefix.
10507 (is_dst): Allow $ORIGIN followed by /.
10508 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10509 Correct testing of result of is_trusted_path_normalize
10510 (decompose_rpath): Fix warning.
10511
7b3b0b2a
UD
105122011-05-10 Ulrich Drepper <drepper@gmail.com>
10513
10514 [BZ #11257]
10515 * grp/initgroups.c (internal_getgrouplist): When we found the service
10516 list through the initgroups entry in nsswitch.conf do not always
10517 continue on a successful lookup. Don't always use the
eac80ce2 10518 __nss_group_database value if it is set.
7b3b0b2a
UD
10519 * nss/nsswitch.conf (initgroups): Change action for successful db
10520 lookup to continue for compatibility.
10521
2a81eaa5
UD
105222011-05-09 Ulrich Drepper <drepper@gmail.com>
10523
be97a69e
UD
10524 [BZ #11532]
10525 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10526 and CP774 modules.
10527 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10528 and CP774 modules.
10529 * iconvdata/tst-tables.sh: Likewise.
10530 * iconvdata/cp770.c: New file.
10531 * iconvdata/cp771.c: New file.
10532 * iconvdata/cp772.c: New file.
10533 * iconvdata/cp773.c: New file.
10534 * iconvdata/cp774.c: New file.
10535 * iconvdata/testdata/CP770: New file.
10536 * iconvdata/testdata/CP770..UTF8: New file.
10537 * iconvdata/testdata/CP771: New file.
10538 * iconvdata/testdata/CP771..UTF8: New file.
10539 * iconvdata/testdata/CP772: New file.
10540 * iconvdata/testdata/CP772..UTF8: New file.
10541 * iconvdata/testdata/CP773: New file.
10542 * iconvdata/testdata/CP773..UTF8: New file.
10543 * iconvdata/testdata/CP774: New file.
10544 * iconvdata/testdata/CP774..UTF8: New file.
10545
10546 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10547 END CHARMAP line.
10548 * iconvdata/gen-8bit-gap.sh: Likewise.
10549 * iconvdata/gen-8bit.sh: Likewise.
10550
c1e9e399
UD
10551 * locale/iso-639.def: Add ary entry.
10552
24c55fb3 10553 [BZ #11258]
96b4b1b0
UD
10554 * locale/C-translit.h.in: Add U20A1 transliteration.
10555
bdc2f971
KB
10556 [BZ #12178]
10557 * locale/iso-639.def: Add wae entry.
10558 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10559
2952b117
UD
10560 [BZ #12545]
10561 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10562 for n.
10563
2a81eaa5
UD
10564 [BZ #12711]
10565 * locale/C-translit.h.in: Add entry for U20B9.
10566 Patch by pravin.d.s@gmail.com.
10567
28377d1b
UD
105682011-05-08 Ulrich Drepper <drepper@gmail.com>
10569
7fb90fb8
UD
10570 [BZ #12713]
10571 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10572 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10573 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10574 in rtld. Use *stat64.
7fb90fb8 10575 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10576 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10577 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10578 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10579 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10580 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10581 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10582 __fstatat64 macros.
7fb90fb8
UD
10583 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10584 * dirent/rewinddir.c: Add libc_hidden_def.
10585 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10586 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10587
28377d1b
UD
10588 * include/dirent.h (__alloc_dir): Add flags parameter.
10589 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10590 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10591 __alloc_dir.
10592 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10593 from fdopendir if O_CLOEXEC is already set.
10594
66bdbaa4
AM
105952011-03-15 Alan Modra <amodra@gmail.com>
10596
10597 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10598 l_tls_firstbyte_offset non-zero. Save padding offset in
10599 l_tls_firstbyte_offset for later use.
10600 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10601 freeing static tls block.
10602
95721191
JN
106032011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10604
10605 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10606 where #ifdef was intended. The intent is to prevent ARG_MAX from
10607 being defined by the kernel headers.
10608
f87dfb1f
UD
106092011-05-07 Ulrich Drepper <drepper@gmail.com>
10610
10611 [BZ #12734]
10612 * resolv/resolv.h: Define RES_NOTLDQUERY.
10613 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10614 no-tld-query and set RES_NOTLDQUERY.
10615 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10616 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10617 modern BIND to search name as TLD unless forbidden.
10618
47c3cd7a
UD
106192011-05-07 Petr Baudis <pasky@suse.cz>
10620 Ulrich Drepper <drepper@gmail.com>
10621
10622 [BZ #12393]
10623 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10624 (is_trusted_path): ...to here.
c1e9ea35 10625 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10626 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10627 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10628
8a35c912
PP
106292011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10630
10631 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10632 __BEGIN/__END_DECLS.
10633
acd41f47
UD
106342011-05-06 Ulrich Drepper <drepper@gmail.com>
10635
10636 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10637 NSS_STATUS_NOTFOUND if no record was found.
10638
597df647
AS
106392011-05-05 Andreas Schwab <schwab@redhat.com>
10640
10641 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10642 (headers-not-in-tirpc): Remove rpc/netdb.h
10643 * resolv/netdb.h: Revert last change.
10644
b9af1301
PP
106452011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10646
10647 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10648 circular dependency between libgcc.a and libc.a.
10649
4e34d5f5
AS
106502011-05-05 Andreas Schwab <schwab@redhat.com>
10651
10652 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10653 * nis/Makefile: Don't install rpcsvc/*.
10654 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10655 instead of <rpc/types.h>.
10656 (MAXHOSTNAMELEN): Define.
10657
00ee369c
AS
106582011-05-03 Andreas Schwab <schwab@redhat.com>
10659
10660 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10661
0b592a30
MB
106622011-04-28 Maciej Babinski <mbabinski@google.com>
10663
10664 [BZ #12714]
10665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10666 gethostbyname4_r when IPv6 results are possible.
10667
6e04cbbe
UD
106682011-05-02 Ulrich Drepper <drepper@gmail.com>
10669
10670 [BZ #12723]
10671 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10672 _PC_PIPE_BUF handling.
10673
e4ecafe0
BH
106742011-04-30 Bruno Haible <bruno@clisp.org>
10675
10676 [BZ #12717]
10677 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10678 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10679 to 'int'.
10680 * inet/getnameinfo.c (getnameinfo): Likewise.
10681
125ee683
UD
106822011-04-29 Ulrich Drepper <drepper@gmail.com>
10683
10684 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10685 to groups setting in database lookup.
10686 * nss/nsswitch.conf: Add initgroups entry.
10687
b722481a
EB
106882011-04-22 Ulrich Drepper <drepper@gmail.com>
10689
10690 [BZ #12685]
10691 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10692 mode string.
10693 Patch by Eric Blake <eblake@redhat.com>.
10694
4df46dbd
L
106952011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10696
10697 * sunrpc/Makefile (need-export-routines): Add svc_run.
10698 (routines): Remove svc_run.
10699 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10700 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10701 * sunrpc/svc_run.c (svc_run): Likewise.
10702 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10703
e84142d2
UD
107042011-04-21 Ulrich Drepper <drepper@gmail.com>
10705
10706 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10707 problem in reallocation in last patch.
10708
877175d8
UD
107092011-04-20 Ulrich Drepper <drepper@gmail.com>
10710
10711 * sunrpc/Makefile: Move inclusion of Rules.
10712
ab8eed78
UD
107132011-04-19 Ulrich Drepper <drepper@gmail.com>
10714
10715 * nss/nss_files/files-initgroups.c: New file.
10716 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10717 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10718 _nss_files_initgroups_dyn.
10719
e3d8f584
RS
107202011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10721
10722 * elf/elf.h (R_ARM_IRELATIVE): Define.
10723
af190f45
UD
107242011-04-19 Ulrich Drepper <drepper@gmail.com>
10725
10726 * po/ru.po: Update from translation team.
10727
53cf59ef
UD
107282011-04-17 Ulrich Drepper <drepper@gmail.com>
10729
10730 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10731 dependencies.
10732
4c559bcd
MF
107332011-02-06 Mike Frysinger <vapier@gentoo.org>
10734
10735 [BZ #12653]
10736 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10737 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10738 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10739 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10740 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10741
4420675c
AS
107422011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10743
10744 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10745 differing bytes.
10746 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10747 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10748 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10749
75ea32ab
UD
107502011-04-17 Ulrich Drepper <drepper@gmail.com>
10751
10752 [BZ #12420]
10753 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10754 storing it.
10755 * stdlib/bug-getcontext.c: New file.
10756 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10757
27390476
AK
107582011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10759
10760 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10761 instructions into .machine "z9-109".
10762 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10763 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10764
10442705
AK
107652011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10766
10767 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10768 between environment variables and auxiliary vector.
10769
7b57bfe5
UD
107702011-04-16 Ulrich Drepper <drepper@gmail.com>
10771
10772 * Makefile: Add rules to build linkobj/libc.so.
10773 * include/libc-symbols.h: Define libc_hidden_nolink.
10774 * include/rpc/auth.h: Mark functions which are to be hidden.
10775 * include/rpc/auth_des.h: Likewise.
10776 * include/rpc/auth_unix.h: Likewise.
10777 * include/rpc/clnt.h: Likewise.
10778 * include/rpc/des_crypt.h: Likewise.
10779 * include/rpc/key_prot.h: Likewise.
10780 * include/rpc/pmap_clnt.h: Likewise.
10781 * include/rpc/pmap_prot.h: Likewise.
10782 * include/rpc/pmap_rmt.h: Likewise.
10783 * include/rpc/rpc_msg.h: Likewise.
10784 * include/rpc/svc.h: Likewise.
10785 * include/rpc/svc_auth.h: Likewise.
10786 * include/rpc/xdr.h: Likewise.
10787 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10788 * nss/Makefile: Likewise.
10789 * sunrpc/Makefile: Don't install headers. Build library with normal
10790 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10791 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10792 for the compat linking library. Remove use of INTDEF/INTUSE.
10793 * sunrpc/auth_none.c: Likewise.
10794 * sunrpc/auth_unix.c: Likewise.
10795 * sunrpc/authdes_prot.c: Likewise.
10796 * sunrpc/authuxprot.c: Likewise.
10797 * sunrpc/clnt_gen.c: Likewise.
10798 * sunrpc/clnt_perr.c: Likewise.
10799 * sunrpc/clnt_raw.c: Likewise.
10800 * sunrpc/clnt_simp.c: Likewise.
10801 * sunrpc/clnt_tcp.c: Likewise.
10802 * sunrpc/clnt_udp.c: Likewise.
10803 * sunrpc/clnt_unix.c: Likewise.
10804 * sunrpc/des_crypt.c: Likewise.
10805 * sunrpc/des_soft.c: Likewise.
10806 * sunrpc/get_myaddr.c: Likewise.
10807 * sunrpc/key_call.c: Likewise.
10808 * sunrpc/key_prot.c: Likewise.
10809 * sunrpc/netname.c: Likewise.
10810 * sunrpc/pm_getmaps.c: Likewise.
10811 * sunrpc/pm_getport.c: Likewise.
10812 * sunrpc/pmap_clnt.c: Likewise.
10813 * sunrpc/pmap_prot.c: Likewise.
10814 * sunrpc/pmap_prot2.c: Likewise.
10815 * sunrpc/pmap_rmt.c: Likewise.
10816 * sunrpc/publickey.c: Likewise.
10817 * sunrpc/rpc_cmsg.c: Likewise.
10818 * sunrpc/rpc_common.c: Likewise.
10819 * sunrpc/rpc_dtable.c: Likewise.
10820 * sunrpc/rpc_prot.c: Likewise.
10821 * sunrpc/rpc_thread.c: Likewise.
10822 * sunrpc/rtime.c: Likewise.
10823 * sunrpc/svc.c: Likewise.
10824 * sunrpc/svc_auth.c: Likewise.
10825 * sunrpc/svc_authux.c: Likewise.
10826 * sunrpc/svc_raw.c: Likewise.
10827 * sunrpc/svc_run.c: Likewise.
10828 * sunrpc/svc_simple.c: Likewise.
10829 * sunrpc/svc_tcp.c: Likewise.
10830 * sunrpc/svc_udp.c: Likewise.
10831 * sunrpc/svc_unix.c: Likewise.
10832 * sunrpc/svcauth_des.c: Likewise.
10833 * sunrpc/xcrypt.c: Likewise.
10834 * sunrpc/xdr.c: Likewise.
10835 * sunrpc/xdr_array.c: Likewise.
10836 * sunrpc/xdr_float.c: Likewise.
10837 * sunrpc/xdr_intXX_t.c: Likewise.
10838 * sunrpc/xdr_mem.c: Likewise.
10839 * sunrpc/xdr_rec.c: Likewise.
10840 * sunrpc/xdr_ref.c: Likewise.
10841 * sunrpc/xdr_sizeof.c: Likewise.
10842 * sunrpc/xdr_stdio.c: Likewise.
10843
e6c61494
UD
108442011-04-10 Ulrich Drepper <drepper@gmail.com>
10845
10846 [BZ #12650]
10847 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10848 * sysdeps/ia64/dl-tls.h: Likewise.
10849 * sysdeps/powerpc/dl-tls.h: Likewise.
10850 * sysdeps/s390/dl-tls.h: Likewise.
10851 * sysdeps/sh/dl-tls.h: Likewise.
10852 * sysdeps/sparc/dl-tls.h: Likewise.
10853 * sysdeps/x86_64/dl-tls.h: Likewise.
10854 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10855
34fe483e
AS
108562011-03-14 Andreas Schwab <schwab@redhat.com>
10857
10858 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10859 rpath element also skip the following colon.
10860 (expand_dynamic_string_token): Add is_path parameter and pass
10861 down to DL_DST_REQUIRED and _dl_dst_substitute.
10862 (decompose_rpath): Call expand_dynamic_string_token with
10863 non-zero is_path. Ignore empty rpaths.
10864 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10865 with zero is_path.
10866
f12a32e6
AS
108672011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10868
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10870 Make cancelable.
10871
38a7d692
UD
108722011-04-09 Ulrich Drepper <drepper@gmail.com>
10873
10874 [BZ #12655]
10875 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10876 Patch by Filipe David Manana <fdmanana@apache.org>.
10877
e451d22b
AS
108782011-04-07 Andreas Schwab <schwab@redhat.com>
10879
10880 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10881 Maintain aligned stack.
10882 (CHECK_RSP): Remove unused macro.
10883
dedc7c7b
UD
108842011-04-03 Ulrich Drepper <drepper@gmail.com>
10885
10886 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10887 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10888
94521213
UD
108892011-04-02 Ulrich Drepper <drepper@gmail.com>
10890
10891 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10892
8cb700c0 10893 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 10894
0354e355
L
108952011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10896
10897 [BZ #12518]
10898 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10899 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10900 * sysdeps/x86_64/memmove.c: New file.
10901 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10902 (memcpy): Renamed to ...
10903 (__new_memcpy): This.
10904 (memcpy): Provide GLIBC_2_14 memcpy.
10905 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10906 (memcpy): Provide GLIBC_2_2_5 memcpy.
10907
8593482f
UD
109082011-04-01 Ulrich Drepper <drepper@gmail.com>
10909
10910 [BZ #12631]
10911 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10912
81a5726b
AS
109132011-03-30 Andreas Schwab <schwab@redhat.com>
10914
10915 * misc/syncfs.c: New file.
10916 * misc/Makefile (routines): Add syncfs.
10917 * posix/unistd.h: Declare syncfs.
10918 * sysdeps/unix/syscalls.list: Add syncfs.
10919
00e5419f
AS
109202011-04-01 Andreas Schwab <schwab@redhat.com>
10921
10922 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10923 open_by_handle_at.
10924 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10925 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10927 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10929 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10930 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10931
748876bf
UD
109322011-04-01 Ulrich Drepper <drepper@gmail.com>
10933
658e451d
UD
10934 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10935 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10936 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10937 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10938 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10940 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10941
748876bf
UD
10942 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10943 sync_file_range.c with -fexceptions.
10944 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10945 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10946 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10947 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10948 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10949 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10950 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
10951 sync_file_range as cancellation point
10952 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10953 now a wrapper around __call_sync_file_range with cancellation handling.
10954 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10955 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10956 function name to __call_sync_file_range.
10957 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10958 Add call_sync_file_range.
748876bf 10959
6e63d5e1
AS
109602011-04-01 Andreas Schwab <schwab@redhat.com>
10961
10962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 10963 bits/timex.h.
6e63d5e1 10964
46998f74
UD
109652011-04-01 Ulrich Drepper <drepper@gmail.com>
10966
4c1423ed
UD
10967 * iconv/iconv.h: Fix typo in comment.
10968 * io/fcntl.h: Likewise.
10969 * libio/stdio.h: Likewise.
10970 * posix/spawn.h: Likewise.
10971 * posix/unistd.h: Likewise.
10972 * stdlib/stdlib.h: Likewise.
10973 * time/time.h: Likewise.
10974 * wcsmbs/wchar.h: Likewise.
10975
158648c0
UD
10976 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10977 open_by_handle): Add.
10978 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10979 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10980 Augment a few comments.
10981 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10982 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10983 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10984 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10985 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10986 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10987 open_by_handle.
10988
46998f74
UD
10989 * io/fcntl.h (AT_EMPTY_PATH): Define.
10990
83fe108b
UD
109912011-03-30 Ulrich Drepper <drepper@gmail.com>
10992
10993 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10994 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10995 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10996 to...
10997 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
10998 * Versions.def: Add GLIBC_2.14.
10999 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11000 Export.
83fe108b 11001
bb242059
UD
110022011-03-22 Ulrich Drepper <drepper@gmail.com>
11003
11004 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11005 round counter.
11006 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11007
c97a1282
L
110082011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11009
11010 [BZ #12597]
11011 * string/test-strncmp.c (do_page_test): New function.
11012 (check2): Likewise.
11013 (test_main): Call check2.
11014 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11015
2a115601
UD
110162011-03-20 Ulrich Drepper <drepper@gmail.com>
11017
11018 [BZ #12587]
11019 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11020 Handle cache information in CPU leaf 4.
11021 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11022
8126d904
UD
110232011-03-18 Ulrich Drepper <drepper@gmail.com>
11024
042c49c6 11025 [BZ #12583]
8126d904
UD
11026 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11027 character representation.
11028 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11029
ccfe366e
RA
110302011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11031
11032 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11033 END(__isnan) to END(__isnanf) to match function entry point/label
11034 EALIGN(__isnanf,...).
11035
c6e13027
JJ
110362011-03-10 Jakub Jelinek <jakub@redhat.com>
11037
11038 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11039
33f85a3f
UD
110402011-03-10 Ulrich Drepper <drepper@gmail.com>
11041
028478fa
UD
11042 [BZ #12510]
11043 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11044 copy from the symbol referenced in the relocation to initialize the
11045 used variable.
11046 Patch by Piotr Bury <pbury@goahead.com>.
11047 * elf/Makefile: Add rules to build and tst-unique3.
11048 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11049 * elf/tst-unique3.cc: New file.
11050 * elf/tst-unique3.h: New file.
11051 * elf/tst-unique3lib.cc: New file.
11052 * elf/tst-unique3lib2.cc: New file.
11053
33f85a3f
UD
11054 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11055
03592fc7
MF
110562011-03-10 Mike Frysinger <vapier@gentoo.org>
11057
11058 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11059 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11060 to _start.
03592fc7 11061
6a5ee102
UD
110622011-03-06 Ulrich Drepper <drepper@gmail.com>
11063
11064 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11065 to-be-loaded object along a path to loader is ld.so.
11066
7e4ba49c
HJ
110672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11068 Ulrich Drepper <drepper@gmail.com>
11069
11070 * sysdeps/x86_64/memset.S: After aligning destination, code
11071 branches to different locations depending on the value of
11072 misalignment, when multiarch is enabled. Fix this.
11073
110742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11075
11076 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11077 Set _x86_64_preferred_memory_instruction for AMD processsors.
11078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11079 Set bit_Prefer_SSE_for_memop for AMD processors.
11080
13a804de
UD
110812011-03-04 Ulrich Drepper <drepper@gmail.com>
11082
11083 * libio/fmemopen.c (fmemopen): Optimize a bit.
11084
9d25c392
AS
110852011-03-03 Andreas Schwab <schwab@redhat.com>
11086
11087 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11088
a5543c6a
RM
110892011-03-03 Roland McGrath <roland@redhat.com>
11090
11091 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11092
012d35f7
DM
110932011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11094
7e4ba49c 11095 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11096 __bzero_ultra1 instead of __memset_ultra1.
11097
4bff6e01
AS
110982011-02-23 Andreas Schwab <schwab@redhat.com>
11099 Ulrich Drepper <drepper@gmail.com>
11100
11101 [BZ #12509]
11102 * include/link.h (struct link_map): Add l_orig_initfini.
11103 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11104 returning unsuccessfully.
11105 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11106 close of a file loaded at startup, restore the original l_initfini
11107 list.
11108 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11109 list, store the pointer.
11110 * elf/Makefile ($(objpfx)noload-mem): New rule.
11111 (noload-ENV): Define.
11112 (tests): Add $(objpfx)noload-mem.
11113 * elf/noload.c: Include <memcheck.h>.
11114 (main): Call mtrace. Close all opened handles.
11115
f2092faf
AS
111162011-02-17 Andreas Schwab <schwab@redhat.com>
11117
11118 [BZ #12454]
11119 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11120 dependencies are missing.
11121
6c8a2e88
ST
111222011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11123
f2092faf 11124 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11125 Hurd needs munmap.
11126 * sysdeps/mach/hurd/ifreq.h: New file.
11127
84a42118
PB
111282011-01-27 Petr Baudis <pasky@suse.cz>
11129 Ulrich Drepper <drepper@gmail.com>
11130
071f805e 11131 [BZ 12445]#
84a42118
PB
11132 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11133 to extend_alloca().
11134 * stdio-common/bug23.c: New file.
11135 * stdio-common/Makefile (tests): Add bug23.
11136
e23fe25b
AS
111372010-09-28 Andreas Schwab <schwab@redhat.com>
11138 Ulrich Drepper <drepper@gmail.com>
11139
11140 [BZ #12489]
11141 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11142 before performing relro protection. At old place add assertion
11143 to make sure nothing changed.
11144
d3f02e10
NS
111452011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11146 Glauber de Oliveira Costa <glommer@gmail.com>
11147
11148 * elf/elf.h: Add new ARM TLS relocs.
11149
d55fd7a5
RA
111502011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11151
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11153 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11154 cast from r3.
11155 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11156 'tests' variable.
11157 * sysdeps/wordsize-64/tst-writev.c: New file.
11158
2206397e
RA
111592011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11160
11161 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11162 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11163 insns in _dl_start to prevent a TOC reference before relocs are
11164 resolved.
11165
e9433893
UD
111662011-02-15 Ulrich Drepper <drepper@gmail.com>
11167
11168 [BZ #12469]
11169 * Makeconfig: Remove RANLIB definition.
11170 * Makerules: Don't use RANLIB.
11171 * aclocal.m4: Remove ranlib test.
11172 * configure.in: No need to check for ranlib.
11173 * elf/rtld-Rules: Don't use RANLIB.
11174
f75286c6
ST
111752011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11176
8e31c82d
ST
11177 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11178 protection macro.
11179 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11180 inclusion protection macro.
11181
f75286c6
ST
11182 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11183 SIGRTMIN and SIGRTMAX and print information in that case only when
11184 SIGRTMIN is defined.
11185
c1d0e639
JJ
111862011-02-11 Jakub Jelinek <jakub@redhat.com>
11187
11188 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11189 arginfo fn returning -1.
11190
11191 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11192 and thousands string is zero terminated.
11193
edf9294e
AS
111942011-02-03 Andreas Schwab <schwab@redhat.com>
11195
11196 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11197 sysdeps/unix/sysv/linux/bits/socket.h.
11198
2b7e92df
ST
111992011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11200
edf9294e
AS
11201 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11202 (__CPU_COUNT): Remove old macros.
11203 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11204 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11205 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11206 (__sched_cpualloc, __sched_cpufree): Add declarations.
11207
a4c7ea7b
UD
112082011-02-05 Ulrich Drepper <drepper@gmail.com>
11209
11210 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11211 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11212 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11213 (readdhstai): Return value of addhstaiX call.
11214 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11215 (addgrbyX): Return value returned by cache_addgr.
11216 (readdgrbyname): Return value returned by addgrbyX.
11217 (readdgrbygid): Likewise.
11218 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11219 (addpwbyX): Return value returned by cache_addpw.
11220 (readdpwbyname): Return value returned by addhstbyX.
11221 (readdpwbyuid): Likewise.
11222 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11223 (addservbyX): Return value returned by cache_addserv.
11224 (readdservbyname): Return value returned by addservbyX:
11225 (readdservbyport): Likewise.
11226 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11227 (addhstbyX): Return value returned by cache_addhst.
11228 (readdhstbyname): Return value returned by addhstbyX.
11229 (readdhstbyaddr): Likewise.
11230 (readdhstbynamev6): Likewise.
11231 (readdhstbyaddrv6): Likewise.
11232 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11233 (readdinitgroups): Return value returned by addinitgroupsX.
11234 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11235 (prune_cache): Keep track of timeout value of re-added entries.
11236 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11237 * nscd/nscd.h: Adjust prototypes of readd* functions.
11238
a0bf67cc
RM
112392011-02-04 Roland McGrath <roland@redhat.com>
11240
11241 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11242 (nis_stats): Likewise.
11243 * nis/nis_modify.c (nis_modify): Likewise.
11244 * nis/nis_remove.c (nis_remove): Likewise.
11245 * nis/nis_add.c (nis_add): Likewise.
11246
11247 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11248
11249 * posix/fnmatch_loop.c: Add some consts.
11250
11251 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11252
435b95eb
L
112532011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11254
11255 [BZ #12460]
11256 * config.make.in (config-cflags-novzeroupper): Define.
11257 * configure.in: Substitute libc_cv_cc_novzeroupper.
11258 * elf/Makefile (AVX-CFLAGS): Define.
11259 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11260 (CFLAGS-tst-auditmod4a.c): Likewise.
11261 (CFLAGS-tst-auditmod4b.c): Likewise.
11262 (CFLAGS-tst-auditmod6b.c): Likewise.
11263 (CFLAGS-tst-auditmod6c.c): Likewise.
11264 (CFLAGS-tst-auditmod7b.c): Likewise.
11265 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11266
8517b15e
UD
112672011-02-02 Ulrich Drepper <drepper@gmail.com>
11268
11269 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11270 function to the callback.
11271 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11272
10a656fe
AS
112732011-02-02 Andreas Schwab <schwab@redhat.com>
11274
11275 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11276 of errno.
11277
968dad0a
UD
112782011-01-19 Ulrich Drepper <drepper@gmail.com>
11279
9f94d2ea 11280 [BZ #11724]
968dad0a
UD
11281 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11282 of constructors.
11283 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11284 of destructors.
11285 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11286
11287 [BZ #11724]
11288 * elf/Makefile: Add rules to build and run new test.
11289 * elf/tst-initorder.c: New file.
11290 * elf/tst-initorder.exp: New file.
11291 * elf/tst-initordera1.c: New file.
11292 * elf/tst-initordera2.c: New file.
11293 * elf/tst-initordera3.c: New file.
11294 * elf/tst-initordera4.c: New file.
11295 * elf/tst-initorderb1.c: New file.
11296 * elf/tst-initorderb2.c: New file.
11297 * elf/tst-order-a1.c: New file.
11298 * elf/tst-order-a2.c: New file.
11299 * elf/tst-order-a3.c: New file.
11300 * elf/tst-order-a4.c: New file.
11301 * elf/tst-order-b1.c: New file.
11302 * elf/tst-order-b2.c: New file.
11303 * elf/tst-order-main.c: New file.
11304 New test case by George Gensure <werkt0@gmail.com>.
11305
86e92359
UD
113062010-10-01 Andreas Schwab <schwab@redhat.com>
11307
11308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11309 decoding ACE if AI_CANONIDN.
11310
5d5732b0
UD
113112011-01-18 Ulrich Drepper <drepper@gmail.com>
11312
11313 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11314
a77e8cbc
UD
113152011-01-17 Ulrich Drepper <drepper@gmail.com>
11316
6392473f
UD
11317 * version.h (RELEASE): Bump for 2.13 release.
11318 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11319
620a0529
UD
11320 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11321
18ba70a5
UD
11322 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11323 MADV_NOHUGEPAGE.
32465c3e
UD
11324 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11325 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11326 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11327 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11328 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11329 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11330
c0dafcf1
UD
11331 * posix/getconf.c: Update copyright year.
11332 * catgets/gencat.c: Likewise.
11333 * csu/version.c: Likewise.
11334 * debug/catchsegv.sh: Likewise.
11335 * debug/xtrace.sh: Likewise.
11336 * elf/ldconfig.c: Likewise.
11337 * elf/ldd.bash.in: Likewise.
11338 * elf/sprof.c (print_version): Likewise.
11339 * iconv/iconv_prog.c: Likewise.
11340 * iconv/iconvconfig.c: Likewise.
11341 * locale/programs/locale.c: Likewise.
11342 * locale/programs/localedef.c: Likewise.
11343 * malloc/memusage.sh: Likewise.
11344 * malloc/mtrace.pl: Likewise.
11345 * nscd/nscd.c (print_version): Likewise.
11346 * nss/getent.c: Likewise.
11347
a77e8cbc
UD
11348 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11349 PF_CAIF, and PF_ALG.
11350 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11351
77e8bddf
AS
113522011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11353
1f20b93a
AS
11354 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11355 (modules-names): Use them.
11356 (ifunc-test-modules, ifunc-pie-tests): Define.
11357 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11358 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11359 (test-extras): Likewise.
11360 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11361 $(compile-command.c).
11362 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11363 (all-built-dso): Define.
11364 (check-textrel.out, check-execstack.out): Depend on it.
11365
77e8bddf
AS
11366 * configure.in: Don't override --enable-multi-arch.
11367
bc425b33
UD
113682011-01-15 Ulrich Drepper <drepper@gmail.com>
11369
11370 [BZ #6812]
11371 * nscd/hstcache.c (tryagain): Define.
11372 (cache_addhst): Return tryagain not notfound for temporary errors.
11373 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11374 failed.
11375
794c3ad3
UD
113762011-01-14 Ulrich Drepper <drepper@gmail.com>
11377
70181fdd
UD
11378 [BZ #10563]
11379 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11380 to make the syscall.
11381 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11382
794c3ad3
UD
11383 [BZ #12378]
11384 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11385 and fall back to matching as normal character if the string ends before
11386 the matching ']' is found. This is what POSIX requires.
11387 * posix/testfnm.c: Adjust test result.
11388 * posix/globtest.sh: Adjust test result. Add new test.
11389 * posix/tst-fnmatch.input: Likewise.
11390 * posix/tst-fnmatch2.c: Add new test.
11391
68dc9497
AS
113922010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11393
11394 * elf/Makefile (check-execstack): Revert last change. Depend on
11395 check-execstack.h.
11396 (check-execstack.h): New target.
11397 (generated): Add check-execstack.h.
11398 * elf/check-execstack.c: Include "check-execstack.h".
11399 (main): Revert last change.
11400 (handle_file): Return zero if GNU_STACK is absent and
11401 DEFAULT_STACK_PERMS doesn't include PF_X.
11402
451f001b
UD
114032011-01-13 Ulrich Drepper <drepper@gmail.com>
11404
cfa28e56
UD
11405 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11406 in child fails because the descriptor is already closed.
8cf8ce17
UD
11407 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11408 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11409 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11410
1086d70d
UD
11411 [BZ #12397]
11412 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11413 syscall.
11414
451f001b
UD
11415 [BZ #10484]
11416 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11417 temporary buffer used to handle multi lookups locally.
a85b5cb4 11418 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11419
08769175
UD
114202011-01-12 Ulrich Drepper <drepper@gmail.com>
11421
11422 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11423 loader is ld.so.
11424
5e49c52e
UD
114252011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11426
11427 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11428 alignment for SSE2.
11429
60522a5f
UD
114302011-01-12 Ulrich Drepper <drepper@gmail.com>
11431
11432 [BZ #12394]
11433 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11434 characters. When rounding increased number of integer digits recompute
11435 number of groups.
11436 * stdio-common/tst-grouping.c: New file.
11437 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11438
f257bbd7
UD
114392011-01-09 Ulrich Drepper <drepper@gmail.com>
11440
11441 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11442 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11443
11444 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11445 void.
11446 * bits/select.h: Likewise.
11447
fa9c15cb
UD
114482011-01-08 Ulrich Drepper <drepper@gmail.com>
11449
11450 * po/ja.po: Update from translation team.
11451
16c2895f
DM
114522011-01-04 David S. Miller <davem@sunset.davemloft.net>
11453
11454 [BZ #11155]
11455 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11456 implementation just like for lxstat, fxstatat, et al.
11457
2543fef2
JM
114582010-12-27 Jim Meyering <meyering@redhat.com>
11459
11460 [BZ #12348]
11461 * posix/regexec.c (build_trtable): Return failure indication upon
11462 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11463
98727dbe
UD
114642010-12-25 Ulrich Drepper <drepper@gmail.com>
11465
5bd6dc5c
UD
11466 [BZ #12201]
11467 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11468 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11469 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11470 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11471
97983464
UD
11472 [BZ #12207]
11473 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11474
98727dbe
UD
11475 [BZ #12204]
11476 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11477 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11478
4a531bb0
L
114792010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11480
11481 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11482 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11483 script has SORT_BY_INIT_PRIORITY.
11484 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11485 NO_CTORS_DTORS_SECTIONS is defined.
11486 * elf/soinit.c: Likewise.
11487 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11488 NO_CTORS_DTORS_SECTIONS is defined.
11489 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11490 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11491 * sysdeps/sh/init-first.c: Likewise.
11492 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11493
07eb4b71
UD
114942010-12-24 Ulrich Drepper <drepper@gmail.com>
11495
11496 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11497 always use the slow path.
11498
30950a5f
RA
114992010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11500
11501 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11502 similar rule which adds the sysdep directories to the header search in
11503 order to pick up the correct platform stackinfo.h.
11504 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11505 perform test if it is, otherwise return successfully without testing.
11506 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11507 DEFAULT_STACK_PERMS define in stackinfo.h.
11508 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11509 defined in stackinfo.h.
11510 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11511 DEFAULT_STACK_PERMS defined in stackinfo.h.
11512 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11513 * sysdeps/ia64/stackinfo.h: Likewise.
11514 * sysdeps/s390/stackinfo.h: Likewise.
11515 * sysdeps/sh/stackinfo.h: Likewise.
11516 * sysdeps/sparc/stackinfo.h: Likewise.
11517 * sysdeps/x86_64/stackinfo.h: Likewise.
11518 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11519 PF_X for powerpc64. Retain PF_X for powerpc32.
11520
db753e2c
UD
115212010-12-19 Ulrich Drepper <drepper@gmail.com>
11522
14b697f7
UD
11523 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11524 accurately.
db753e2c
UD
11525 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11526 GETDENTS_64BIT_ALIGNED.
11527
28300719
UD
115282010-12-14 Ulrich Drepper <dreper@gmail.com>
11529
14b697f7 11530 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11531
4f197237
AS
115322010-12-10 Andreas Schwab <schwab@redhat.com>
11533
dbb0472f
AS
11534 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11535 _GNU_SOURCE.
11536
4f197237
AS
11537 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11538 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11539 Remove __restrict.
11540 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11541 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11542
fb88ac72
UD
115432010-12-09 Ulrich Drepper <drepper@gmail.com>
11544
11545 [BZ #11655]
11546 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11547 are initialized.
11548
42acbb92
JJ
115492010-12-09 Jakub Jelinek <jakub@redhat.com>
11550
11551 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11552
c038d98d
UD
115532010-12-03 Ulrich Drepper <drepper@gmail.com>
11554
11555 * po/it.po: Update from translation team.
11556
3a4a2499
L
115572010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11558
11559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11560 unused codes.
11561
1e24cf6e
UD
115622010-11-30 Ulrich Drepper <drepper@gmail.com>
11563
11564 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11565
a7690819
AS
115662010-11-24 Andreas Schwab <schwab@redhat.com>
11567
11568 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11569 specially.
11570 (gaih_getanswer_slice): Likewise.
11571
3bf8d1b1
JJ
115722010-10-20 Jakub Jelinek <jakub@redhat.com>
11573
11574 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11575
6db52fbb
PB
115762010-05-31 Petr Baudis <pasky@suse.cz>
11577
11578 [BZ #11149]
11579 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11580 silently even in the chroot mode.
11581
eaca7569
UD
115822010-11-22 Ulrich Drepper <drepper@gmail.com>
11583
11584 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11585 last patch a bit. Pretty printing
11586
3056dcdb
UD
115872010-05-31 Petr Baudis <pasky@suse.cz>
11588
11589 [BZ #10085]
11590 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11591 initialization of skip_initgroups_dyn.
11592
cf7c9078
UD
115932010-11-19 Ulrich Drepper <drepper@gmail.com>
11594
11595 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11596 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11597
a1fb5e3e
UD
115982010-11-16 Ulrich Drepper <drepper@gmail.com>
11599
11600 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11601
3540d66b
AS
116022010-11-11 Andreas Schwab <schwab@redhat.com>
11603
11604 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11605 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11606 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11607 ($(objpfx)tst-fnmatch-mem): New rule.
11608 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11609 * posix/tst-fnmatch.c (main): Call mtrace.
11610
13b69574
L
116112010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11612
11613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11614 Support Intel processor model 6 and model 0x2c.
11615
da93d214
LM
116162010-11-10 Luis Machado <luisgpm@br.ibm.com>
11617
11618 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11619 signed comparison.
11620
8ca52c6e
L
116212010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11622
11623 [BZ #12205]
11624 * string/test-strncasecmp.c (check_result): New function.
11625 (do_one_test): Use it.
11626 (check1): New function.
11627 (test_main): Use it.
11628 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11629 Support strcasecmp and strncasecmp.
11630
69da074d
UD
116312010-11-08 Ulrich Drepper <drepper@gmail.com>
11632
11633 [BZ #12194]
11634 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11635 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11636
ff02d528
L
116372010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11638
11639 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11640 IFUNC support.
11641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11642 memset-x86-64.
11643 * sysdeps/x86_64/multiarch/bzero.S: New file.
11644 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11645 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11646 * sysdeps/x86_64/multiarch/memset.S: New file.
11647 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11649 Set bit_Prefer_SSE_for_memop for Intel processors.
11650 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11651 Define.
11652 (index_Prefer_SSE_for_memop): Define.
11653 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11654
344d0b54
LM
116552010-11-04 Luis Machado <luisgpm@br.ibm.com>
11656
11657 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11658 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11659
c0dde15b
UD
116602010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11661
11662 [BZ #12191]
11663 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11664 (__x86_64_raw_data_cache_size_half): Likewise.
11665 (__x86_64_raw_shared_cache_size): Likewise.
11666 (__x86_64_raw_shared_cache_size_half): Likewise.
11667
11668 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11669 (__x86_64_raw_data_cache_size_half): Likewise.
11670 (__x86_64_raw_shared_cache_size): Likewise.
11671 (__x86_64_raw_shared_cache_size_half): Likewise.
11672 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11673 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11674 and __x86_64_raw_shared_cache_size_half. Round
11675 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11676 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11677 to multiple of 256 bytes.
11678
0e516e0e
MS
116792010-11-03 Ulrich Drepper <drepper@gmail.com>
11680
11681 [BZ #12167]
11682 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11683 of inacessible symlinks. Verify result of symlink before returning it.
11684 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11685 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11686
0e012e87
ER
116872010-10-28 Erich Ritz <erichritz@gmail.com>
11688
11689 * math/math.h (isinf): Fix typo in comment.
11690
de0ff7bc
UD
116912010-11-01 Ulrich Drepper <drepper@gmail.com>
11692
11693 * po/da.po: Update from translation team.
11694
fa41c84d
UD
116952010-10-26 Ulrich Drepper <drepper@gmail.com>
11696
11697 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11698 is added to the list.
11699
f0967738
AK
117002010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11701 Ulrich Drepper <drepper@gmail.com>
11702
11703 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11704 the global list here. Move code to...
11705 (_dl_add_to_namespace_list): ...here. New function.
11706 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11707 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11708 * elf/dl-load.c (lose): Don't remove the element from the list.
11709 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11710 (_dl_map_object): Likewise.
11711
117122010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
11713
11714 [BZ #12159]
11715 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11716 into all bytes of SSE register.
11717 Patch by Richard Li <richardpku@gmail.com>.
11718
f0967738 117192010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
11720
11721 [BZ #12140]
11722 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11723 perturbing.
11724
d0b9e94f
MB
117252010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11726
11727 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11728 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11729 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11730 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11732 submachine.
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11734
8e9f92e9
AS
117352010-10-22 Andreas Schwab <schwab@redhat.com>
11736
11737 * include/dlfcn.h (__RTLD_SECURE): Define.
11738 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11739 mode & __RTLD_SECURE instead.
11740 (open_path): Rename preloaded parameter to secure.
11741 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11742 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11743 * elf/dl-deps.c (openaux): Likewise.
11744 * elf/rtld.c (struct map_args): Remove is_preloaded.
11745 (map_doit): Don't use it.
11746 (dl_main): Likewise.
11747 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11748 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11749
bc96fbda
AS
117502010-09-09 Andreas Schwab <schwab@redhat.com>
11751
11752 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11753 (sysd-rules-targets): Remove duplicates.
11754 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11755 rtld-%.$o dependency.
11756
22cd1c9b
AS
117572010-10-18 Andreas Schwab <schwab@redhat.com>
11758
11759 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11760 _dl_map_object do it.
11761
18edac48
UD
117622010-10-19 Ulrich Drepper <drepper@gmail.com>
11763
11764 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11765 fast fma builtins, define the macros in the C99 standard.
11766 (FP_FAST_FMAF): Likewise.
11767 (FP_FAST_FMAL): Likewise.
11768 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11769
11770 * bits/mathdef.h: Update copyright year.
11771 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11772
d2050124
MM
117732010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11774
11775 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11776 builtins, define the macros in the C99 standard.
11777 (FP_FAST_FMAF): Likewise.
11778 (FP_FAST_FMAL): Likewise.
11779 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11780 multiply/add.
11781 (FP_FAST_FMAF): Likewise.
11782
475facd1
JJ
117832010-10-15 Jakub Jelinek <jakub@redhat.com>
11784
11785 [BZ #3268]
11786 * math/libm-test.inc (fma_test): Some new testcases.
11787 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11788 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11789 y and infinite z. Do multiplication by C already in long double.
11790 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11792 y and infinite z. Do bitwise or of inexact bit into u.d.
11793 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11794 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11795 * sysdeps/i386/fpu/s_fma.S: Removed.
11796 * sysdeps/i386/fpu/s_fmal.S: Removed.
11797
7c08a05c
JJ
117982010-10-16 Jakub Jelinek <jakub@redhat.com>
11799
11800 [BZ #3268]
11801 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11802 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11803 computation is not scheduled after fetestexcept. Fix value
11804 of minimum denormal long double.
11805
f3f7372d
JJ
118062010-10-14 Jakub Jelinek <jakub@redhat.com>
11807
11808 [BZ #3268]
11809 * math/libm-test.inc (fma_test): Add some more tests.
11810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11811 correctly.
11812
14d43591
AS
118132010-10-15 Andreas Schwab <schwab@redhat.com>
11814
11815 * scripts/data/localplt-s390-linux-gnu.data: New file.
11816 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11817
5e908464
JJ
118182010-10-13 Jakub Jelinek <jakub@redhat.com>
11819
11820 [BZ #3268]
11821 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11822 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11823 instead of dbl-64.
11824 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11825 inlines.
11826 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11828 if one of x and y is very large and the other is subnormal.
11829 * sysdeps/s390/fpu/s_fmaf.c: New file.
11830 * sysdeps/s390/fpu/s_fma.c: New file.
11831 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11832 * sysdeps/powerpc/fpu/s_fma.S: New file.
11833 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11834 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11835 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11836
118372010-10-12 Jakub Jelinek <jakub@redhat.com>
11838
11839 [BZ #3268]
11840 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11841 fma tests.
11842 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11843 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11844 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11845 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11846 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11847 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11848 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11849
b833d51f
UD
118502010-10-12 Ulrich Drepper <drepper@redhat.com>
11851
11852 [BZ #12078]
11853 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11854 * posix/bug-regex31.input: Add test case.
11855
1751705d
UD
118562010-10-11 Ulrich Drepper <drepper@gmail.com>
11857
e9b9cbf5
UD
11858 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11859 * posix/bug-regex31.input: New file.
11860
11861 [BZ #12078]
11862 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11863 (parse_sub_exp): Fix last change, use postorder.
11864
ef06edbe
UD
11865 * posix/bug-regex31.c: New file.
11866 * posix/Makefile: Add rules to build and run bug-regex31.
11867
a129c80d
UD
11868 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11869
11870 [BZ #12078]
11871 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11872
b76b818e
UD
11873 [BZ #12108]
11874 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11875 to have entries in sys_siglist.
11876
1751705d
UD
11877 [BZ #12093]
11878 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11879 be NULL.
11880
9ff8d36f
JJ
118812010-10-07 Jakub Jelinek <jakub@redhat.com>
11882
11883 [BZ #3268]
11884 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11885 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11886 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11887 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11888 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11889 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11890 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11891 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11892 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11893 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11894 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11895 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11896 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11897 * math/ftestexcept.c (fetestexcept): Likewise.
11898 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11899 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11900 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11901 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11902 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11903 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11904 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11905
af325969
UD
119062010-10-11 Ulrich Drepper <drepper@gmail.com>
11907
c579b202 11908 [BZ #12107]
af325969
UD
11909 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11910 newline.
11911
67a67b95
UD
119122010-10-06 Ulrich Drepper <drepper@gmail.com>
11913
11914 * string/bug-strstr1.c: New file.
11915 * string/Makefile: Add rules to build and run bug-strstr1.
11916
5fb308bc
EB
119172010-10-05 Eric Blake <eblake@redhat.com>
11918
11919 [BZ #12092]
11920 * string/str-two-way.h (two_way_long_needle): Always clear memory
11921 when skipping input due to the shift table.
11922
45db99c7
UD
119232010-10-03 Ulrich Drepper <drepper@gmail.com>
11924
3b111893
UD
11925 [BZ #12005]
11926 * malloc/mcheck.c: Handle large requests.
11927
45db99c7
UD
11928 [BZ #12077]
11929 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11930 for strncmp and strncasecmp.
11931 * string/stratcliff.c: Add tests for strcmp and strncmp.
11932 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11933
cf7a1eb8
NI
119342010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11935
11936 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11937 __set_fpscr.
11938
6484ba5e
AJ
119392010-09-30 Andreas Jaeger <aj@suse.de>
11940
11941 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11942 (CGROUP_SUPER_MAGIC): Define.
11943 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11944 Handle btrfs and cgroup file systems.
11945 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11946 Likewise.
11947
91c42559
LM
119482010-09-27 Luis Machado <luisgpm@br.ibm.com>
11949
11950 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11951 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11952
87a97932
AK
119532010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11954
11955 [BZ #12067]
11956 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11957 trying to locate the ELF header.
11958
c21cc9bc
AS
119592010-09-27 Andreas Schwab <schwab@redhat.com>
11960
11961 [BZ #11611]
11962 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11963 Mask out sign-bit copies when constructing f_fsid.
11964
315970f6
PB
119652010-09-24 Petr Baudis <pasky@suse.cz>
11966
11967 * debug/stack_chk_fail_local.c: Add missing licence exception.
11968 * debug/warning-nop.c: Likewise.
11969
1ac7a2c7
JM
119702010-09-15 Joseph Myers <joseph@codesourcery.com>
11971
11972 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11973 implementing getdents64 using getdents syscall, set d_type if
11974 __ASSUME_GETDENTS32_D_TYPE.
11975
56801c50
AS
119762010-09-16 Andreas Schwab <schwab@redhat.com>
11977
11978 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11979 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11980
dda51327
UD
119812010-09-21 Ulrich Drepper <drepper@redhat.com>
11982
11983 [BZ #12037]
11984 * posix/unistd.h: Undo change of feature selection for ftruncate from
11985 2010-01-11.
11986
8ffcee4a
UD
119872010-09-20 Ulrich Drepper <drepper@redhat.com>
11988
a545ecd9 11989 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
11990 detection.
11991
e24f0a8b
AS
119922010-09-20 Andreas Schwab <schwab@redhat.com>
11993
11994 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11995 fanotify_mark.
11996 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11997
7291c56f
AS
119982010-09-14 Andreas Schwab <schwab@redhat.com>
11999
12000 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12001 variables after CHECK_SP call.
12002 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12003
bc5fb037
AS
120042010-09-13 Andreas Schwab <schwab@redhat.com>
12005 Ulrich Drepper <drepper@redhat.com>
12006
12007 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12008 re-relocationg ld.so.
12009 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12010 _dl_init_paths call.
12011 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12012 here anymore.
12013
e66e7419
UD
120142010-09-14 Ulrich Drepper <drepper@redhat.com>
12015
12016 * resolv/res_init.c (__res_vinit): Count the default server we added.
12017
c044aa75
CLT
120182010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12019 Ulrich Drepper <drepper@redhat.com>
12020
12021 [BZ #11968]
12022 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12023 (____longjmp_chk): Use %ebx for saving value across system call.
12024 Add unwind info.
12025
32cf4069
AS
120262010-09-06 Andreas Schwab <schwab@redhat.com>
12027
12028 * manual/Makefile: Don't mix pattern rules with normal rules.
12029
817328ee
AS
120302010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12031
12032 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12033 operation.
12034 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12035 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12036 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12037 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12038 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12039 Likewise.
12040
29fddf61
UD
120412010-09-04 Ulrich Drepper <drepper@redhat.com>
12042
12043 [BZ #11979]
12044 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12045 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12046
0959ffc9
UD
120472010-09-02 Ulrich Drepper <drepper@redhat.com>
12048
12049 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12050 * sysdeps/x86_64/addmul_1.S: Likewise.
12051 * sysdeps/x86_64/lshift.S: Likewise.
12052 * sysdeps/x86_64/mul_1.S: Likewise.
12053 * sysdeps/x86_64/rshift.S: Likewise.
12054 * sysdeps/x86_64/sub_n.S: Likewise.
12055 * sysdeps/x86_64/submul_1.S: Likewise.
12056
ece29840
ST
120572010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12058
0959ffc9
UD
12059 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12060 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12061 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12062 * bits/sched.h [__need_schedparam]
ece29840 12063 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12064 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12065 (__defined_schedparam): Define to 1.
ece29840
ST
12066 (__sched_param): New structure, identical to sched_param.
12067 (__need_schedparam): Undefine.
12068
e53a31fe
MF
120692010-08-31 Mike Frysinger <vapier@gentoo.org>
12070
fdc0c10d
MF
12071 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12072 (epoll_create1): Declare.
12073
e53a31fe
MF
12074 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12075
a726d796
AS
120762010-08-31 Andreas Schwab <schwab@redhat.com>
12077
12078 [BZ #7066]
12079 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12080 shifting retval into place.
12081
2f3e3dc7
UD
120822010-09-01 Ulrich Drepper <drepper@redhat.com>
12083
f2933da9
UD
12084 * nis/rpcsvc/nis.h: Update copyright notice.
12085 * nis/rpcsvc/nis.x: Likewise.
12086 * nis/rpcsvc/nis_callback.h: Likewise.
12087 * nis/rpcsvc/nis_callback.x: Likewise.
12088 * nis/rpcsvc/nis_object.x: Likewise.
12089 * nis/rpcsvc/nis_tags.h: Likewise.
12090 * nis/rpcsvc/yp.h: Likewise.
12091 * nis/rpcsvc/yp.x: Likewise.
12092 * nis/rpcsvc/ypupd.h: Likewise.
12093 * nis/yp_xdr.c: Likewise.
12094 * nis/ypupdate_xdr.c: Likewise.
12095
2f3e3dc7
UD
12096 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12097 mainly the body of pmap_getport. Add parameters to specify timeouts.
12098 (pmap_getport): Use __libc_rpc_getport.
12099 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12100 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12101 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12102
f3dcc2f9
AS
121032010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12104
12105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12106 fanotify_mark.
12107
6d34eb5b
RM
121082010-08-27 Roland McGrath <roland@redhat.com>
12109
12110 * sysdeps/i386/i686/multiarch/Makefile
12111 (CFLAGS-varshift.c): New variable.
12112
9ea3de11
UD
121132010-08-27 Ulrich Drepper <drepper@redhat.com>
12114
c96d23fc
UD
12115 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12116 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12117
9ea3de11
UD
12118 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12119
12120 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12121
623aac7f
L
121222010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12123
12124 * sysdeps/x86_64/strlen.S: Unroll the loop.
12125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12126 strlen-sse2 strlen-sse2-bsf.
12127 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12128 __strlen_no_bsf if bit_Slow_BSF is set.
12129 (__strlen_sse42): Removed.
12130 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12131 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12132
8b2b7715
RM
121332010-08-25 Roland McGrath <roland@redhat.com>
12134
12135 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12136 * sysdeps/x86_64/multiarch/varshift.c: New file.
12137 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12138 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12139 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12140 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12141
e73015f2
L
121422010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12143
12144 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12145 strlen-sse2 strlen-sse2-bsf.
12146 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12147 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12148 (__strlen_sse2): Removed.
12149 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12150 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12152 bit_Slow_BSF for Atom.
12153 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12154 (index_Slow_BSF): Define.
12155 (HAS_SLOW_BSF): Define.
12156
df24a73e
UD
121572010-08-25 Ulrich Drepper <drepper@redhat.com>
12158
12159 [BZ #10851]
12160 * resolv/res_init.c (__res_vinit): When no server address at all
12161 is given default to loopback.
12162
f2ac4868
RM
121632010-08-24 Roland McGrath <roland@redhat.com>
12164
09055553
RM
12165 * configure.in: Remove config-name.h generation.
12166 * configure: Regenerated.
12167 * config-name.in: File removed.
12168 * scripts/config-uname.sh: New file.
12169 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12170 ($(objdir)config-name.h): New target.
12171
f2ac4868
RM
12172 * sunrpc/rpc_parse.h: Avoid nested comment.
12173
73f27d5e
RH
121742010-08-24 Richard Henderson <rth@redhat.com>
12175 Ulrich Drepper <drepper@redhat.com>
12176 H.J. Lu <hongjiu.lu@intel.com>
12177
12178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12180 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12181 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12182 _mm_alignr_epi8 with _mm_loadu_si128.
12183 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12184 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12185 (__m128i_shift_right): Removed.
12186 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12187 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12188 * sysdeps/x86_64/multiarch/varshift.h: New file.
12189 * sysdeps/x86_64/multiarch/varshift.S: New file.
12190
84b9230c
MF
121912010-08-21 Mike Frysinger <vapier@gentoo.org>
12192
12193 * configure.in: Move assembler checks to before sysdep dir checking.
12194
9bbd0ddc
PB
121952010-08-20 Petr Baudis <pasky@suse.cz>
12196
12197 * LICENSES: Sync the sunrpc license.
12198
9da4bb31
UD
121992010-08-19 Ulrich Drepper <drepper@redhat.com>
12200
a7ab6ec8
UD
12201 * sunrpc/auth_des.c: Update copyright notice once again.
12202 * sunrpc/auth_none.c: Likewise.
12203 * sunrpc/auth_unix.c: Likewise.
12204 * sunrpc/authdes_prot.c: Likewise.
12205 * sunrpc/authuxprot.c: Likewise.
12206 * sunrpc/bindrsvprt.c: Likewise.
12207 * sunrpc/clnt_gen.c: Likewise.
12208 * sunrpc/clnt_perr.c: Likewise.
12209 * sunrpc/clnt_raw.c: Likewise.
12210 * sunrpc/clnt_simp.c: Likewise.
12211 * sunrpc/clnt_tcp.c: Likewise.
12212 * sunrpc/clnt_udp.c: Likewise.
12213 * sunrpc/clnt_unix.c: Likewise.
12214 * sunrpc/des_crypt.c: Likewise.
12215 * sunrpc/des_soft.c: Likewise.
12216 * sunrpc/get_myaddr.c: Likewise.
12217 * sunrpc/getrpcport.c: Likewise.
12218 * sunrpc/key_call.c: Likewise.
12219 * sunrpc/key_prot.c: Likewise.
12220 * sunrpc/openchild.c: Likewise.
12221 * sunrpc/pm_getmaps.c: Likewise.
12222 * sunrpc/pm_getport.c: Likewise.
12223 * sunrpc/pmap_clnt.c: Likewise.
12224 * sunrpc/pmap_prot.c: Likewise.
12225 * sunrpc/pmap_prot2.c: Likewise.
12226 * sunrpc/pmap_rmt.c: Likewise.
12227 * sunrpc/rpc/auth.h: Likewise.
12228 * sunrpc/rpc/auth_unix.h: Likewise.
12229 * sunrpc/rpc/clnt.h: Likewise.
12230 * sunrpc/rpc/des_crypt.h: Likewise.
12231 * sunrpc/rpc/key_prot.h: Likewise.
12232 * sunrpc/rpc/netdb.h: Likewise.
12233 * sunrpc/rpc/pmap_clnt.h: Likewise.
12234 * sunrpc/rpc/pmap_prot.h: Likewise.
12235 * sunrpc/rpc/pmap_rmt.h: Likewise.
12236 * sunrpc/rpc/rpc.h: Likewise.
12237 * sunrpc/rpc/rpc_des.h: Likewise.
12238 * sunrpc/rpc/rpc_msg.h: Likewise.
12239 * sunrpc/rpc/svc.h: Likewise.
12240 * sunrpc/rpc/svc_auth.h: Likewise.
12241 * sunrpc/rpc/types.h: Likewise.
12242 * sunrpc/rpc/xdr.h: Likewise.
12243 * sunrpc/rpc_clntout.c: Likewise.
12244 * sunrpc/rpc_cmsg.c: Likewise.
12245 * sunrpc/rpc_common.c: Likewise.
12246 * sunrpc/rpc_cout.c: Likewise.
12247 * sunrpc/rpc_dtable.c: Likewise.
12248 * sunrpc/rpc_hout.c: Likewise.
12249 * sunrpc/rpc_main.c: Likewise.
12250 * sunrpc/rpc_parse.c: Likewise.
12251 * sunrpc/rpc_parse.h: Likewise.
12252 * sunrpc/rpc_prot.c: Likewise.
12253 * sunrpc/rpc_sample.c: Likewise.
12254 * sunrpc/rpc_scan.c: Likewise.
12255 * sunrpc/rpc_scan.h: Likewise.
12256 * sunrpc/rpc_svcout.c: Likewise.
12257 * sunrpc/rpc_tblout.c: Likewise.
12258 * sunrpc/rpc_util.c: Likewise.
12259 * sunrpc/rpc_util.h: Likewise.
12260 * sunrpc/rpcinfo.c: Likewise.
12261 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12262 * sunrpc/rpcsvc/key_prot.x: Likewise.
12263 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12264 * sunrpc/rpcsvc/mount.x: Likewise.
12265 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12266 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12267 * sunrpc/rpcsvc/rex.x: Likewise.
12268 * sunrpc/rpcsvc/rstat.x: Likewise.
12269 * sunrpc/rpcsvc/rusers.x: Likewise.
12270 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12271 * sunrpc/rpcsvc/spray.x: Likewise.
12272 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12273 * sunrpc/rtime.c: Likewise.
12274 * sunrpc/svc.c: Likewise.
12275 * sunrpc/svc_auth.c: Likewise.
12276 * sunrpc/svc_authux.c: Likewise.
12277 * sunrpc/svc_raw.c: Likewise.
12278 * sunrpc/svc_run.c: Likewise.
12279 * sunrpc/svc_simple.c: Likewise.
12280 * sunrpc/svc_tcp.c: Likewise.
12281 * sunrpc/svc_udp.c: Likewise.
12282 * sunrpc/svc_unix.c: Likewise.
12283 * sunrpc/svcauth_des.c: Likewise.
12284 * sunrpc/xcrypt.c: Likewise.
12285 * sunrpc/xdr.c: Likewise.
12286 * sunrpc/xdr_array.c: Likewise.
12287 * sunrpc/xdr_float.c: Likewise.
12288 * sunrpc/xdr_mem.c: Likewise.
12289 * sunrpc/xdr_rec.c: Likewise.
12290 * sunrpc/xdr_ref.c: Likewise.
12291 * sunrpc/xdr_sizeof.c: Likewise.
12292 * sunrpc/xdr_stdio.c: Likewise.
12293
9da4bb31
UD
12294 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12295 handling.
12296
bdaa77bc
AS
122972010-08-19 Andreas Schwab <schwab@redhat.com>
12298
12299 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12300
fe2f79db
LM
123012010-08-19 Luis Machado <luisgpm@br.ibm.com>
12302
12303 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12304 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12305 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12306 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12307 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12308 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12309 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12310 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12311 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12312 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12313 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12314 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12315 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12316 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12317
b9b42ee0
AB
123182010-07-26 Anton Blanchard <anton@samba.org>
12319
12320 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12321 * malloc/arena.c (heap_trim): Likewise.
12322
1c06ba31
UD
123232010-08-16 Ulrich Drepper <drepper@redhat.com>
12324
12325 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12326 here. Not...
12327 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12328 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12329
f8392f40
L
123302010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12331
12332 * sysdeps/i386/elf/Makefile: New file.
12333
3162f12e
AS
123342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12335
12336 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12337 from fanotify_init.
12338 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12339 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12340
28c90b2c
UD
123412010-08-15 Ulrich Drepper <drepper@redhat.com>
12342
12343 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12344 of strncasecmp_l.
1feccb6c 12345 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12346
ca6bb004
UD
123472010-08-14 Ulrich Drepper <drepper@redhat.com>
12348
e9f82e0d
UD
12349 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12350 strncase_l-nonascii.
12351 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12352 Add strncase_l-ssse3.
12353 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12354 * sysdeps/x86_64/strcmp.S: Likewise.
12355 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12356 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12357 * sysdeps/x86_64/strncase.S: New file.
12358 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12359 * sysdeps/x86_64/strncase_l.S: New file.
12360 * string/Makefile (strop-tests): Add strncasecmp.
12361 * string/test-strncasecmp.c: New file.
12362
12363 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12364 warning.
12365
ca6bb004
UD
12366 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12367 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12368
052fa7b3
AS
123692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12370
12371 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12372
962dba78
UD
123732010-08-12 Ulrich Drepper <drepper@redhat.com>
12374
12375 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12376 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12377 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12378
bebff237
AM
123792010-05-01 Alan Modra <amodra@gmail.com>
12380
12381 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12382 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12383 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12384 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12385 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12386 tidying. Don't tail-call __sigjmp_save for static lib.
12387 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12388 save location.
12389 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12390 (CALL_MCOUNT): Add eh info, and nop after bl.
12391 (TAIL_CALL_SYSCALL_ERROR): New macro.
12392 (PSEUDO_RET): Use it.
12393 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12394 Correct save location of integer regs and cr.
12395 (_dl_profile_resolve): Correct cr save location. Delete nops
12396 after bl when SHARED. Reduce cfi size a little by better
12397 placement of cfi directives.
12398 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12399 make a stack frame. Instead use parm save area as a temp.
12400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12401 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12403 Don't make a stack frame for parent, use parm save area.
12404 Increase child stack frame to 112 bytes. Don't save unused reg,
12405 and adjust reg usage. Set up cfi on error recovery and
12406 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12408 (__makecontext): Add dummy nop after jump to exit.
12409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12410 Use correct parm save area and cr save, reduce stack frame.
12411 Correct cfi for possible PSEUDO_RET frame setup.
12412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12413 Branch to local label emitted by PSEUDO_RET rather than
12414 __syscall_error.
12415
02637374
AS
124162010-08-12 Andreas Schwab <schwab@redhat.com>
12417
12418 [BZ #11904]
12419 * locale/programs/locale.c (print_assignment): New function.
12420 (show_locale_vars): Use it.
12421
c3e2f19b
UD
124222010-08-11 Ulrich Drepper <drepper@redhat.com>
12423
3cdaa6ad
UD
12424 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12425 field.
12426 (struct statfs64): Likewise.
12427 (_STATFS_F_FLAGS): Define.
12428 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12429 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12430 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12431 (ST_VALID): Define locally.
12432 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12433 __statvfs_getflags, use the provided value.
12434 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12435 __ASSUME_STATFS_F_FLAGS.
12436
754f7da3
UD
12437 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12438
10b3bedc
UD
12439 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12440 Add sys/fanotify.h.
12441 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12442 fanotify_mask for GLIBC_2.13.
12443 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12444 fanotify_init and fanotify_mark.
12445 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12446 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12447
c08fb0d7
UD
12448 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12449 Add prlimit.
12450 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12451 prlimit64 for GLIBC_2.13.
12452 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12453 prlimit64.
12454 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12455 syscall.
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12457 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12458 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12459 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12460 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12461 add prlimit alias.
12462 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12463
15bac72b
UD
12464 [BZ #11903]
12465 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12466 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12467
c3e2f19b
UD
12468 * nss/Makefile: Add rules to build and run tst-nss-test1.
12469 * shlib-versions: Add entry for libnss_test1.
12470 * nss/nss_test1.c: New file.
12471 * nss/tst-nss-test1.c: New file.
12472
12473 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12474 (__nss_configure_lookup): Set appropriate entry in
12475 __nss_configure_lookup to true.
12476 * nss/nsswitch.h: Define enum with indeces of databases in
12477 databases and __nss_database_custom arrays. Declare
12478 __nss_database_custom.
12479 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12480 to avoid using nscd when custom rules are installed.
12481 * nss/getXXbyYY_r.c: Likewise.
12482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12483
12484 * nss/nss_files/files-parse.c: Whitespace fixes.
12485
f15ce4d8
UD
124862010-08-09 Ulrich Drepper <drepper@redhat.com>
12487
12488 [BZ #11883]
12489 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12490 * posix/fnmatch_loop.c: Likewise.
12491
d22e4cc9
AK
124922010-07-17 Andi Kleen <ak@linux.intel.com>
12493
12494 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12495 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12496 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12497 * Versions.def [GLIBC_2.13]: Add.
12498
805bc17d
UD
124992010-08-06 Ulrich Drepper <drepper@redhat.com>
12500
12501 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12502 Also fail if tpwd after pwuid call is NULL.
12503
5a42321d
ST
125042010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12505
12506 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12507 when converting to ms.
12508
fd3ebeda
ST
125092010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12510
12511 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12512 EOPNOTSUPP errors with ENOTTY.
12513 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12514 EOPNOTSUPP errors with ENOTTY.
12515
73507d3a
UD
125162010-07-31 Ulrich Drepper <drepper@redhat.com>
12517
12518 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12519 Add strcasecmp_l-ssse3.
12520 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12521 strcasecmp.
12522 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12523 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12524 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12525
fe36dd02
UD
125262010-07-30 Ulrich Drepper <drepper@redhat.com>
12527
66f6765a
UD
12528 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12529
42e08a54
UD
12530 * string/Makefile (strop-tests): Add strcasecmp.
12531 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12532 strcasecmp_l-nonascii.
12533 (gen-as-const-headers): Add locale-defines.sym.
12534 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12535 * sysdeps/x86_64/strcasecmp.S: New file.
12536 * sysdeps/x86_64/strcasecmp_l.S: New file.
12537 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12538 * sysdeps/x86_64/locale-defines.sym: New file.
12539 * string/test-strcasecmp.c: New file.
12540
fe36dd02
UD
12541 * string/test-strcasestr.c: Test both ends of the range of characters.
12542 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12543
48cbc0d6
RM
125442010-07-29 Roland McGrath <roland@redhat.com>
12545
76e6d6bc 12546 [BZ #11856]
48cbc0d6
RM
12547 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12548
880113d9
UD
125492010-07-27 Ulrich Drepper <drepper@redhat.com>
12550
12551 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12552 for ld.so.
12553
deb9cabb
AS
125542010-07-27 Andreas Schwab <schwab@redhat.com>
12555
12556 * manual/memory.texi (Malloc Tunable Parameters): Document
12557 M_PERTURB.
12558
1c7570ff
RM
125592010-07-26 Roland McGrath <roland@redhat.com>
12560
12561 [BZ #11840]
12562 * configure.in (-fgnu89-inline check): Set and substitute
12563 gnu89_inline, not libc_cv_gnu89_inline.
12564 * configure: Regenerated.
12565 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12566
24fb0f88
UD
125672010-07-26 Ulrich Drepper <drepper@redhat.com>
12568
12569 * string/test-strnlen.c: New file.
12570 * string/Makefile (strop-tests): Add strnlen.
12571 * string/tester.c (test_strnlen): Add a few more test cases.
12572 * string/tst-strlen.c: Better error reporting.
12573
12574 * sysdeps/x86_64/strnlen.S: New file.
12575
8e96b93a
UD
125762010-07-24 Ulrich Drepper <drepper@redhat.com>
12577
12578 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12579 lower-latency instructions.
12580
dbc676d4
UD
125812010-07-23 Ulrich Drepper <drepper@redhat.com>
12582
12583 * string/test-strcasestr.c: New file.
12584 * string/test-strstr.c: New file.
12585 * string/Makefile (strop-tests): Add strstr and strcasestr.
12586 * string/str-two-way.h: Don't undefine MAX.
12587 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12588
f6a31e0e
AS
125892010-07-21 Andreas Schwab <schwab@redhat.com>
12590
12591 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12592 strcasestr-nonascii.
12593 (CFLAGS-strcasestr-nonascii.c): Define.
12594 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12595 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12596 Remove unused attribute.
12597
5dbc3b6c
RM
125982010-07-20 Roland McGrath <roland@redhat.com>
12599
12600 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12601 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12602 ld.so.cache was broken. With it, there is no way to disable dsocaps
12603 like LD_HWCAP_MASK can disable hwcaps.
12604
23d101d8
EPM
126052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12606
12607 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12608
cc9f2e47
UD
126092010-07-16 Ulrich Drepper <drepper@redhat.com>
12610
12611 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12612 call in strcasestr.
12613 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12614 __strcasestr_sse42_nonascii.
12615 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12616 strcasestr-nonascii.c.
12617 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12618
77c1b069
LM
126192010-06-15 Luis Machado <luisgpm@br.ibm.com>
12620
12621 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12622 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12623 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12624 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12625
440566c3
UD
126262010-07-09 Ulrich Drepper <drepper@redhat.com>
12627
12628 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12629 fcntl.
12630
5be9d05d
AS
126312010-07-06 Andreas Schwab <schwab@redhat.com>
12632
c30b7ee2 12633 [BZ #11577]
5be9d05d
AS
12634 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12635 dl_signal_cerror.
12636
8a492a67
UD
126372010-07-06 Ulrich Drepper <drepper@redhat.com>
12638
12639 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12640 _PC_PIPE_BUF using F_GETPIPE_SZ.
12641
713df3d5
RM
126422010-07-05 Roland McGrath <roland@redhat.com>
12643
12644 * manual/arith.texi (Rounding Functions): Fix rint description
12645 implicit in round description.
12646
702e8f14
UD
126472010-07-02 Ulrich Drepper <drepper@redhat.com>
12648
12649 * elf/Makefile: Fix linking for a few tests to make recent linker
12650 happy.
12651
52ed8be9
AS
126522010-06-30 Andreas Schwab <schwab@redhat.com>
12653
12654 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12655 $(common-objpfx)libc_nonshared.a.
12656
f47c9a11
LM
126572010-06-21 Luis Machado <luisgpm@br.ibm.com>
12658
12659 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12660 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12661 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12662 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12663 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12664 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12665 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12666 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12681 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12682 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12683 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12684 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12685 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12686 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12687 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12688 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12689 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12690 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12691 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12692 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12707
6fb8cbcb
L
127082010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12709
12710 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12711 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12712 * string/memmove.c (memmove): Renamed to ...
12713 (MEMMOVE): ...this. Default to memmove.
12714 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12715 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12716 (END_CHK): Define.
12717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12718 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12719 mempcpy-ssse3-back memmove-ssse3-back.
12720 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12721 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12722 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12723 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12724 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12725 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12726 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12727 * sysdeps/x86_64/multiarch/memmove.c: New file.
12728 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12729 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12730 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12731 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12732 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12733 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12734 Define.
12735 (index_Fast_Copy_Backward): Define.
12736 (HAS_ARCH_FEATURE): Define.
12737 (HAS_FAST_REP_STRING): Define.
12738 (HAS_FAST_COPY_BACKWARD): Define.
12739
4e733bac 127402010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
12741
12742 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12743 Restore proper fallback handling.
12744
63c4ed22
UD
127452010-06-19 Ulrich Drepper <drepper@redhat.com>
12746
ac2b484c
UD
12747 [BZ #11701]
12748 * posix/group_member.c (__group_member): Correct checking loop.
12749
63c4ed22
UD
12750 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12751 OOM in getpwuid_r correctly. Return error number when the caller
12752 should return, otherwise -1.
12753 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12754 call returning > 0 value.
12755 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12756
765ade4b
AS
127572010-06-07 Andreas Schwab <schwab@redhat.com>
12758
12759 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12760 libc_nonshared.a from targets in modules-names.
12761
80da2e09
KS
127622010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12763
12764 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12765 requires it.
12766
158db122
LM
127672010-06-10 Luis Machado <luisgpm@br.ibm.com>
12768
12769 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12770 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12771 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12772 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12773
caa78cf8
AS
127742010-06-02 Andreas Schwab <schwab@redhat.com>
12775
12776 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12777
b2ef2c01
UD
127782010-06-14 Ulrich Drepper <drepper@redhat.com>
12779
12780 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12781 and F_GETPIPE_SZ.
12782 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12783 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12784 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12785 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12786 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12787 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12788
fbd643b6
RM
127892010-06-14 Roland McGrath <roland@redhat.com>
12790
12791 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12792
f32f2869
JJ
127932010-06-07 Jakub Jelinek <jakub@redhat.com>
12794
12795 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12796 __REDIRECT followed by __THROW.
12797 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12798 * posix/getopt.h (getopt): Likewise.
12799
2a50c078
EPM
128002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12801
12802 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12803 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12804 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12805 in AT_FLAGS.
12806 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12807 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12808
eb5ad2eb
LM
128092010-05-28 Luis Machado <luisgpm@br.ibm.com>
12810
12811 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12812
3c88fe1e
L
128132010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12814
12815 [BZ #11640]
12816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12817 Properly check family and model.
12818
d2f73151
TY
128192010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12820
12821 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12822
ebd2e13d
LM
128232010-05-24 Luis Machado <luisgpm@br.ibm.com>
12824
12825 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12826
b32b8b45
UD
128272010-05-21 Ulrich Drepper <drepper@redhat.com>
12828
12829 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12830 symbol reference.
12831
9acbe24d
AS
128322010-05-19 Andreas Schwab <schwab@redhat.com>
12833
12834 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12835 symbol reference.
12836
f0ccf6ea
AS
128372010-05-21 Andreas Schwab <schwab@redhat.com>
12838
3d04ff3a
AS
12839 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12840 and internal_recvmmsg.
12841 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12842 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12843 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12844 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12845
f0ccf6ea
AS
12846 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12847 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12848 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12849
5b08ac57
AS
128502010-05-20 Andreas Schwab <schwab@redhat.com>
12851
12852 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12853
4828935d
LM
128542010-05-17 Luis Machado <luisgpm@br.ibm.com>
12855
12856 POWER7 optimizations.
12857 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12858 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12859
373d545e
UD
128602010-05-19 Ulrich Drepper <drepper@redhat.com>
12861
12862 * version.h: Update for 2.13 development version.
12863
21a2b1ae
AS
128642010-05-12 Andrew Stubbs <ams@codesourcery.com>
12865
12866 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12867 exceptions. Return 0.
12868
3f7dcb2b
RM
128692010-05-07 Roland McGrath <roland@redhat.com>
12870
12871 * elf/ldconfig.c (main): Add a const.
12872
5f24d53a 128732010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 12874
a160f8d8
UD
12875 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12876 (args_options): Add no-idn option.
12877 (ahosts_keys_int): Add idn_flags to ai_flags.
12878 (parse_option): Handle 'i' option to clear idn_flags.
12879
5f24d53a
UD
12880 * malloc/malloc.c (_int_free): Possible race in the most recently
12881 added check. Only act on the data if no current modification
12882 happened.
265bb1ce
UD
12883
12884See ChangeLog.17 for earlier changes.