]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix make clean for recent elf/Makefile changes.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d3dfcc41
RM
12012-05-03 Roland McGrath <roland@hack.frob.com>
2
3 * elf/Makefile (common-generated): Set this instead of generated for
4 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5 $(all-built-dso)-derived lists.
6
7ac30cc5
AJ
72012-05-03 Andreas Jaeger <aj@suse.de>
8
0c51e550
AJ
9 * sysdeps/i386/fpu/libm-test-ulps: Update.
10
7ac30cc5
AJ
11 * FAQ: Removed.
12 * FAQ.in: Likewise.
13 * scripts/gen-FAQ.pl: Likewise.
14 * manual/install.texi (Installation): Point to online location of
15 FAQ.
16 * Makefile (files-for-dist): Remove FAQ.
17 (FAQ): Remove.
18
d4c2917f
AM
192012-05-02 Allan McRae <allan@archlinux.org>
20
21 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22 (LDFLAGS-reldepmod5.so): Likewise.
23 (LDFLAGS-reldep6mod1.so): Likewise.
24 (LDFLAGS-reldep6mod4.so): Likewise.
25 (LDFLAGS-reldep8mod3.so): Likewise.
26 (LDFLAGS-unload4mod1.so): Likewise.
27 (LDFLAGS-unload4mod2.so): Likewise.
28 (LDFLAGS-tst-initorder): Likewise.
29 (LDFLAGS-tst-initordera2.so): Likewise.
30 (LDFLAGS-tst-initordera3.so): Likewise.
31 (LDFLAGS-tst-initordera4.so): Likewise.
32 (LDFLAGS-tst-initorderb2.so): Likewise.
33 (LDFLAGS-noload): Likewise.
34 (LDFLAGS-next): Likewise.
35 (LDFLAGS-order2mod1.so): Likewise.
36 (LDFLAGS-order2mod2.so): Likewise.
37 (LDFLAGS-tst-initorder2): Likewise.
38 (LDFLAGS-tst-initorder2a.so): Likewise.
39 (LDFLAGS-tst-initorder2b.so): Likewise.
40 (LDFLAGS-tst-initorder2c.so): Likewise.
41 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42
d77f993f
DM
432012-05-02 David S. Miller <davem@davemloft.net>
44
45 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46
171a70b4
PP
472012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48
49 [BZ #14055]
50 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51
0be196ad
AJ
522012-05-02 Andreas Jaeger <aj@suse.de>
53
54 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
55 since we manipulate rounding mode.
56 (CPPFLAGS-test-idouble.c): Likewise.
57 (CPPFLAGS-test-ifloat.c): Likewise.
58 (CFLAGS-test-ldouble.c): Likewise.
59 (CFLAGS-test-double.c): Likewise.
60 (CFLAGS-test-float.c): Likewise.
61 (CFLAGS-test-misc.c): Likewise.
62 (CFLAGS-test-test-fenv.c): Likewise.
63
4f9d04aa
AZ
642012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65
66 [BZ #2550]
67 [BZ #2570]
68 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
69 comparisons to determine direction to adjust input.
70
82a79e7d
RM
712012-05-01 Roland McGrath <roland@hack.frob.com>
72
f5a01ca9
RM
73 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
74 output to the target.
75
90fe4186
RM
76 * scripts/localplt.awk: New file.
77 * elf/Makefile ($(objpfx)check-localplt): Target removed.
78 (check-localplt-CFLAGS): Variable removed.
79 ($(all-built-dso:=.jmprel)): New static pattern rule.
80 (generated): Add those targets.
81 (localplt-built-dso): New variable.
82 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83
84 * elf/check-localplt.c: File removed.
85
82397ed6
RM
86 * scripts/check-execstack.awk: New file.
87 * elf/Makefile ($(objpfx)check-execstack): Target removed.
88 (check-execstack-CFLAGS): Variable removed.
89 ($(objpfx)check-execstack.h): Target removed.
90 ($(objpfx)execstack-default): New target.
91 (generated): Add that instead of check-execstack.h.
92 ($(all-built-dso:=.phdr)): New static pattern rule.
93 (generated): Add those targets.
94 * elf/check-execstack.c: File removed.
95
82a79e7d
RM
96 * scripts/check-textrel.awk: New file.
97 * elf/Makefile ($(objpfx)check-textrel): Target removed.
98 (check-textrel-CFLAGS): Variable removed.
99 (all-built-dso): Use := to define.o
100 ($(all-built-dso:=.dyn)): New static pattern rule.
101 (generated): Add those targets.
102 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
103 * config.make.in (READELF): New substituted variable.
104 * elf/check-textrel.c: File removed.
105
62fde54f 1062012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 107
615605c9
JM
108 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
109 allow.
110 * conform/data/ctype.h-data [C99-based standards] (isblank):
111 Expect function.
112 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
113 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
114 [ISO || ISO99 || ISO11] (*_t): Do not allow.
115 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
116 Specify type. Require positive value.
117 (EILSEQ): Likewise.
118 (ERANGE): Likewise.
119 [ISO || POSIX] (EILSEQ): Do not expect.
120 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
121 Specify type. Require positive value.
122 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
123 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
124 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
125 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
126 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
127 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
128 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
129 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
130 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
131 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
132 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
133 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
134 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
135 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
136 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
137 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
138 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
139 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
140 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
141 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
142 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
143 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
144 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
145 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
146 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
147 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
148 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
149 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
150 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
151 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
152 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
153 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
154 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
155 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
156 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
157 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
158 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
159 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
160 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
161 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
162 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
163 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
164 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
165 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
166 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
167 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
168 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
169 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
170 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
171 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
172 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
173 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
174 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
175 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
176 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
177 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
178 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
179 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
180 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
181 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
182 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
183 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
184 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
185 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
186 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
187 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
188 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
189 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
190 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
191 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
192 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
193 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
194 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
195 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
196 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
197 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
198 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
199 Require >= 2.
200 (FLT_ROUNDS): Expect as macro, not constant.
201 (FLT_MANT_DIG): Use macro-int-constant.
202 (DBL_MANT_DIG): Likewise.
203 (LDBL_MANT_DIG): Likewise.
204 (FLT_DIG): Likewise.
205 (DBL_DIG): Likewise.
206 (LDBL_DIG): Likewise.
207 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
208 (DBL_MIN_EXP): Likewise.
209 (LDBL_MIN_EXP): Likewise.
210 (FLT_MAX_EXP): Use macro-int-constant.
211 (DBL_MAX_EXP): Likewise.
212 (LDBL_MAX_EXP): Likewise.
213 (FLT_MAX_10_EXP): Likewise.
214 (DBL_MAX_10_EXP): Likewise.
215 (LDBL_MAX_10_EXP): Likewise.
216 (FLT_MAX): Use macro-constant.
217 (DBL_MAX): Likewise.
218 (LDBL_MAX): Likewise.
219 (FLT_EPSILON): Use macro-constant. Give upper bound.
220 (DBL_EPSILON): Likewise.
221 (LDBL_EPSILON): Likewise.
222 (FLT_MIN): Likewise.
223 (DBL_MIN): Likewise.
224 (LDBL_MIN): Likewise.
225 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
226 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
227 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
228 [ISO11] (FLT_HAS_SUBNORM): Likewise.
229 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
230 [ISO11] (DBL_DECIMAL_DIG): Likewise.
231 [ISO11] (FLT_DECIMAL_DIG): Likewise.
232 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
233 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
234 [ISO11] (FLT_TRUE_MIN): Likewise.
235 [ISO11] (LDBL_TRUE_MIN): Likewise.
236 [ISO || ISO99 || ISO11] (*_t): Do not allow.
237 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
238 (SCHAR_MIN): Use macro-int-constant. Specify type.
239 (SCHAR_MAX): Likewise.
240 (UCHAR_MAX): Likewise.
241 (CHAR_MIN): Likewise.
242 (CHAR_MAX): Likewise.
243 (MB_LEN_MAX): Use macro-int-constant.
244 (SHRT_MIN): Use macro-int-constant. Specify type.
245 (SHRT_MAX): Likewise.
246 (USHRT_MAX): Likewise.
247 (INT_MAX): Likewise.
248 (INT_MIN): Use macro-int-constant. Specify type. Make upper
249 bound negative.
250 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
251 bound with "U".
252 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
253 bound with "L".
254 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
255 bound negative. Suffix upper bound with "L".
256 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
257 bound with "UL".
258 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
259 Specify type.
260 [C99-based standards] (LLONG_MAX): Likewise.
261 [C99-based standards] (ULLONG_MAX): Likewise.
262 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
263 == 0.
264 [ISO11] (max_align_t): Require type.
265 [ISO || ISO99 || ISO11] (*_t): Do not allow.
266
c9140a62
JM
267 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
268 from $CFLAGS, without defining away __attribute__ calls.
269 (checknamespace): Use $CFLAGS_namespace.
270
9af0bf29
JM
271 * conform/conformtest.pl (@keywords): Only include C99 keywords
272 for standards based on C99 or C11.
273
343222a2
JM
274 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
275 Disable tests.
276 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
277 UNIX98]: Likewise.
278
661f8cf0
JM
279 * conform/conformtest.pl: Handle "macro-int-constant" and test for
280 usability of symbols in #if.
281
ee74b9cb
JM
282 * conform/conformtest.pl: If macro or constant types start
283 "promoted:", expect the symbol to be of the following type
284 promoted by the integer promotions.
62fde54f 285
aafc49b3
JM
286 * conform/conformtest.pl: Parse all "constant" and "macro" lines
287 in one place. Also handle "macro-constant".
288
fefdf574
JM
289 * conform/conformtest.pl: Only accept expected macro values with
290 "==". Parse all "macro" lines in one place.
291 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
292
f2d922fe
JM
293 * conform/conformtest.pl: Handle braced types on "constant" lines
294 instead of handling "typed-constant".
295 * conform/data/signal.h-data: Use "constant" instead of
296 "typed-constant".
297
d22956c9
JM
298 * conform/conformtest.pl: Handle "optional-" at start of lines in
299 one place rather than duplicating several cases. Handle each
300 format of "macro" line with initial "optional-".
301
028e2e38
JM
302 * conform/conformtest.pl: Only accept expected constant or
303 optional-constant values with "==". Parse all "constant" lines in
304 one place. Parse all "optional-constant" lines in one place.
305 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
306 * conform/data/fmtmsg.h-data: Likewise.
307 * conform/data/netinet/in.h-data: Likewise.
308 * conform/data/tar.h-data: Likewise.
309 * conform/data/limits.h-data: Use "==" form on "constant" and
310 "optional-constant" lines.
311
1b8f2850
JM
312 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
313 Use -std=c99 for XOPEN2K.
314 (@knownproblems): Remove.
315 (newtoken): Don't check %isknown.
316
a05a144b
JM
317 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
318 Do not expect macro.
319 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
320 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
321 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
322 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
323 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
324 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
325 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
326 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
327 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
328 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
329 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
330 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
331 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
332 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
333 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
334 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
335 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
336 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
337 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
338 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
339 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
340 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
341 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
342 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
343 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
344 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
345 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
346 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
347 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
348 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
349 [XPG3] (acosh): Likewise.
350 [XPG3] (asinh): Likewise.
351 [XPG3] (atanh): Likewise.
352 [XPG3] (cbrt): Likewise.
353 [XPG3] (expm1): Likewise.
354 [XPG3] (ilogb): Likewise.
355 [XPG3] (log1p): Likewise.
356 [XPG3] (logb): Likewise.
357 [XPG3] (nextafter): Likewise.
358 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
359 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
360 [XPG3] (remainder): Likewise.
361 [XPG3] (rint): Likewise.
362 [XPG3 || XPG4 || UNIX98] (round): Likewise.
363 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
364 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
365 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
366 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
367 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
368 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
369 [UNIX98 || XOPEN2K] (scalb): Expect.
370 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
371 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
372 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
373 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
374 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
375 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
376 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
377 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
378 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
379 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
380 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
381 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
382 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
383 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
384 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
385 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
386 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
387 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
388 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
389 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
390 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
391 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
392 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
393 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
394 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
395 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
396 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
397 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
398 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
399 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
400 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
401 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
402 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
403 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
404 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
405 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
406 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
407 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
408 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
409 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
410 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
411 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
412 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
413 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
414 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
415 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
416 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
417 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
418 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
419 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
420 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
421 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
422 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
423 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
424 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
425 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
426 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
427 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
428 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
429 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
430 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
431 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
432 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
433 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
434 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
435 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
436 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
437 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
438 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
439 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
440 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
441 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
442 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
443 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
444 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
445 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
446 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
447 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
448 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
449 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
450 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
451 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
452 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
453 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
454 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
455 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
456 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
457 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
458 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
459 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
460 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
461 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
462 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
463 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
464 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
465 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
466 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
467 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
468 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
469 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
470 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
471 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
472 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
473 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
474 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
475 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
476 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
477 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
478 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
479 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
480 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
481 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
482 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
483 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
484 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
485 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
486 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
487 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
488 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
489 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
490 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
491 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
492 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
493 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
494 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
495 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
496 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
497 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
498 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
499 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
500 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
501 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
502 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
503 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
504 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
505 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
506 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
507
73c5ebe3
JM
508 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
509 _XOPEN_SOURCE_EXTENDED for XPG4.
510
39c33b6c
JM
511 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
512
62fde54f
JM
513 * Makeconfig (localtime): Remove variable.
514 (inst_localtime-file): Likewise.
515
0741d64c
AS
5162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
517
518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
519 Update.
520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
521 Update.
522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
523 Update.
524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
525 Update.
526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
527 Update.
528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
529 Update.
530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
531 Update.
532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
533 Update.
534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
535 Update.
536
7cb029ee
JM
5372012-05-01 Joseph Myers <joseph@codesourcery.com>
538
539 [BZ #2550]
540 [BZ #2570]
541 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
542 comparisons to determine direction to adjust input.
543 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
544 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
545 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
546 Likewise.
547 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
548 Likewise.
549 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
550 Likewise.
551 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
552 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
553 Likewise.
554 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
555 Likewise.
556 * math/libm-test.inc (nexttoward_test): Add more tests.
557
412bd966
AS
5582012-05-01 Andreas Schwab <schwab@linux-m68k.org>
559
560 [BZ #14040]
561 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
562 in version GLIBC_2.1, not GLIBC_2.0.
563 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
564 Likewise.
565
9568c0c2
JM
5662012-04-30 Joseph Myers <joseph@codesourcery.com>
567
adfbc8ac
JM
568 [BZ #13942]
569 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
570 (1 - x) * (1 + x).
571 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
572 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
573 * math/libm-test.inc (acos_test): Add more tests.
574 (asin_test): Likewise.
575 * sysdeps/i386/fpu/libm-test-ulps: Update.
576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
577
5ba3cc69
JM
578 [BZ #14034]
579 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
580 of square root.
581 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
582 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
583 * math/libm-test.inc (acos_test_tonearest): New function.
584 (acos_test_towardzero): Likewise.
585 (acos_test_downward): Likewise.
586 (acos_test_upward): Likewise.
587 (asin_test_tonearest): Likewise.
588 (asin_test_towardzero): Likewise.
589 (asin_test_downward): Likewise.
590 (asin_test_upward): Likewise.
591 (main): Call the new functions.
592 * sysdeps/i386/fpu/libm-test-ulps: Update.
593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
594
9568c0c2
JM
595 [BZ #13884]
596 [BZ #13924]
597 * math/e_exp10.c: Include <float.h>.
598 (__ieee754_exp10): Handle underflow here rather than multiplying
599 large negative argument by M_LN10.
600 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
601 of __ieee754_expf.
602 * math/e_exp10l.c: Include <float.h>.
603 (__ieee754_exp10l): Handle underflow here rather than multiplying
604 large negative argument by M_LN10l.
605 * math/libm-test.inc (exp10_test): Add another test. Do not allow
606 spurious overflow exception on underflow.
607
5ac3ea17
MP
6082012-04-29 Marek Polacek <polacek@redhat.com>
609
610 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
611 (__fortify_function): New macro.
612 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
613 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
614 __extern_always_inline.
615 * libio/bits/stdio2.h: Likewise.
616 * libio/bits/stdio.h: Likewise.
617 * string/string.h: Likewise.
618 * string/bits/string3.h: Likewise.
619 * include/stdio.h: Likewise.
620 * stdlib/bits/stdlib.h: Likewise.
621 * stdlib/stdlib.h: Likewise.
622 * rt/bits/mqueue2.h: Likewise.
623 * rt/mqueue.h: Likewise.
624 * posix/bits/unistd.h: Likewise.
625 * posix/unistd.h: Likewise.
626 * io/bits/poll2.h: Likewise.
627 * io/bits/fcntl2.h: Likewise.
628 * io/fcntl.h: Likewise.
629 * io/sys/poll.h: Likewise.
630 * misc/bits/syslog.h: Likewise.
631 * misc/bits/syslog-ldbl.h: Likewise.
632 * misc/sys/syslog.h: Likewise.
633 * socket/bits/socket2.h: Likewise.
634 * socket/sys/socket.h: Likewise.
635 * debug/tst-chk1.c: Likewise.
636 * wcsmbs/bits/wchar2.h: Likewise.
637 * wcsmbs/bits/wchar-ldbl.h: Likewise.
638 * wcsmbs/wchar.h: Likewise.
639
ecf0ebfb
AJ
6402012-04-29 Andreas Jaeger <aj@suse.de>
641
642 * Makerules (tests): Remove enable-check-abi protection.
643 (check-abi-warn): Remove.
644 (check-abi-%): Remove check-abi-warn usage.
645
646 * configure.in: Remove check-abi configure option.
647 * configure: Regenerated.
648 * config.make.in (enable-check-abi): Remove.
649
6d5c57fa
AS
6502012-04-28 Andreas Schwab <schwab@linux-m68k.org>
651
24c5d07e 652 [BZ #14033]
ded5180a
AS
653 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
654 double functions to double *_finite functions.
655
7e0d315d
AS
656 [BZ #13941]
657 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
658 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
659 LDBL_MIN_EXP.
660 * stdio-common/Makefile (tests): Add tst-sprintf3.
661 * stdio-common/tst-sprintf3.c: New file.
662
6d5c57fa
AS
663 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
664 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
665
0749ff8b
JM
6662012-04-28 Joseph Myers <joseph@codesourcery.com>
667
668 * conform/conformtest.pl: Remove duplicate typed-constant
669 handling.
670
8dbd5d7b
DM
6712012-04-28 David S. Miller <davem@davemloft.net>
672
673 * Makerules (%.abilist): Add vpath on sysdep_dirs.
674 (check-abi-%): Remove AWK script prerequisite and explicit
675 abilist directory.
676 (check-abi): Rewrite to just diff the symlist with the abilist.
677 (config-tls, config-abi-config): Delete, no longer used.
678 (update-abi-%): Remove AWK script and explicit abilist directory.
679 (update-abi): Rewrite to simply compare and conditionally copy the
680 symlist and the sysdep abilist file. Remove update-abi-config
681 checks.
682 * abilist/ld.abilist: Remove.
683 * abilist/libBrokenLocale.abilist: Remove.
684 * abilist/libanl.abilist: Remove.
685 * abilist/libcrypt.abilist: Remove.
686 * abilist/libdl.abilist: Remove.
687 * abilist/librt.abilist: Remove.
688 * abilist/libthread_db.abilist: Remove.
689 * abilist/libutil.abilist: Remove.
690 * scripts/extract-abilist.awk: Remove.
691 * scripts/merge-abilist.awk: Remove.
692 * sysdeps/generic/libcidn.abilist: New file.
693 * sysdeps/generic/libnss_compat.abilist: New file.
694 * sysdeps/generic/libnss_db.abilist: New file.
695 * sysdeps/generic/libnss_dns.abilist: New file.
696 * sysdeps/generic/libnss_files.abilist: New file.
697 * sysdeps/generic/libnss_hesiod.abilist: New file.
698 * sysdeps/generic/libnss_nis.abilist: New file.
699 * sysdeps/generic/libnss_nisplus.abilist: New file.
700 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
701 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
702 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
703 file.
704 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
705 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
706 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
707 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
708 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
709 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
710 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
711 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
712 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
713 file.
714 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
715 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
716 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
717 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
718 file.
719 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
720 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
721 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
722 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
723 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
724 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
725 file.
726 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
727 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
728 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
729 file.
730 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
732 New file.
733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
734 New file.
735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
736 New file.
737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
738 New file.
739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
740 New file.
741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
742 New file.
743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
744 New file.
745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
746 New file.
747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
748 New file.
749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
750 New file.
751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
752 New file.
753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
754 New file.
755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
756 New file.
757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
758 file.
759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
760 New file.
761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
762 New file.
763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
764 file.
765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
766 New file.
767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
768 New file.
769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
770 file.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
772 New file.
773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
774 New file.
775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
776 New file.
777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
778 New file.
779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
780 New file.
781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
782 New file.
783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
785 file.
786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
787 New file.
788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
789 file.
790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
791 file.
792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
793 file.
794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
795 file.
796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
797 file.
798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
799 New file.
800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
801 file.
802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
803 file.
804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
805 New file.
806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
807 file.
808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
810 file.
811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
812 New file.
813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
814 file.
815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
816 file.
817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
818 file.
819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
820 file.
821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
822 file.
823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
824 New file.
825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
826 file.
827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
828 file.
829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
830 New file.
831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
832 file.
833 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
834 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
835 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
836 file.
837 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
838 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
839 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
840 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
841 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
842 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
843 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
844 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
845 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
846 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
849 file.
850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
851 New file.
852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
853 file.
854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
855 file.
856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
857 file.
858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
859 file.
860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
861 file.
862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
863 New file.
864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
865 New file.
866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
867 file.
868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
869 New file.
870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
871 file.
872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
874 file.
875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
876 New file.
877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
878 file.
879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
880 file.
881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
882 file.
883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
884 file.
885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
886 file.
887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
888 New file.
889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
890 New file.
891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
892 file.
893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
894 New file.
895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
896 file.
897
41d73a1b
JM
8982012-04-28 Joseph Myers <joseph@codesourcery.com>
899
900 * conform/conformtest.pl: Fix typo in handling typed-constant from
901 allow-header.
902
28aeeda4
JM
9032012-04-27 Joseph Myers <joseph@codesourcery.com>
904
adae8f5e
JM
905 * README: Cut down references to pre-2.6 Linux kernels and
906 Linuxthreads. Update lists of configurations in libc and ports
907 and sort alphabetically. Say "or newer" with Linux kernel version
908 requirements.
909
28aeeda4
JM
910 * config.h.in [IS_IN_build]: Allow compiling without optimization.
911
a462cb63
RA
9122012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
913
914 [BZ #887]
915 * math/libm-test.inc (logb_test_downward): New test to expose
916 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
917 rounding mode.
918
6ad3493e
JM
9192012-04-27 Joseph Myers <joseph@codesourcery.com>
920
921 [BZ #14027]
922 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
923 to be done.
924 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
925 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
926
2ce4f015
JM
9272012-04-26 Joseph Myers <joseph@codesourcery.com>
928
5aeb141a
JM
929 * sysdeps/unix/i386/brk.S: Remove file.
930 * sysdeps/unix/i386/dl-brk.S: Likewise.
931 * sysdeps/unix/i386/pipe.S: Likewise.
932 * sysdeps/unix/i386/sigreturn.S: Likewise.
933 * sysdeps/unix/i386/syscall.S: Likewise.
934 * sysdeps/unix/i386/vfork.S: Likewise.
935 * sysdeps/unix/i386/wait.S: Likewise.
936
7143acae
JM
937 * sysdeps/unix/common/tcsendbrk.c: Move to ...
938 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
939
2ce4f015
JM
940 * configure.in (arm*-none*): Do not allow without
941 --enable-hacker-mode.
942 (netbsd*): Remove case setting base_os.
943 (386bsd*): Likewise.
944 (freebsd*): Likewise.
945 (bsdi*): Likewise.
946 (osf*): Likewise.
947 (sunos*): Likewise.
948 (ultrix*): Likewise.
949 (newsos*): Likewise.
950 (dynix*): Likewise.
951 (*bsd*): Likewise.
952 (sysv*): Likewise.
953 (isc*): Likewise.
954 (esix*): Likewise.
955 (sco*): Likewise.
956 (minix*): Likewise.
957 (irix4*): Likewise.
958 (irix6*): Likewise.
959 (solaris[2-9]*): Likewise.
960 (none): Likewise.
961 * configure: Regenerated.
962
0ac229c8
AZ
9632012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
964
965 [BZ #11521]
966 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
967 overflow or cancellation in calculating denominator.
968 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
969 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
970 down expression to avoid unexpected rounding in newer GCCs.
971 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
972
33f244f4
DM
9732012-04-26 David S. Miller <davem@davemloft.net>
974
975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
976 long-double compat symbols.
977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
990
cfa1f3e8
DM
9912012-04-25 David S. Miller <davem@davemloft.net>
992
993 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
994 HWCAP_* values only after the memory barriers have been defined.
995 (atomic_full_barrier): Define.
996 (atomic_read_barrier): Define.
997 (atomic_write_barrier): Define.
998
6e236b92
SP
9992012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1000
1001 * shlib-versions: Add libgcc_s version information.
1002 * sysdeps/generic/libgcc_s.h: Remove.
1003 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1004 libgcc_s.h.
1005 * sysdeps/gnu/unwind-resume.c: Likewise.
1006 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1007
aab39a09
DM
10082012-04-25 David S. Miller <davem@davemloft.net>
1009
1010 * sysdeps/unix/sparc/brk.S: Delete.
1011 * sysdeps/unix/sparc/dl-brk.S: Delete.
1012 * sysdeps/unix/sparc/pipe.S: Delete.
1013 * sysdeps/unix/sparc/sysdep.S: Delete.
1014 * sysdeps/unix/sparc/sysdep.h: Delete.
1015 * sysdeps/unix/sparc/vfork.S: Delete.
1016 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1017 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1018 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1019 ret_ERRVAL, r0, r1, MOVE): Define.
1020 (JUMPTARGET): Remove.
1021 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1022 sysdeps/unix/sparc/sysdep.h
1023 (ENTRY, END): Remove.
1024 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1025
a3cc4f48
JM
10262012-04-25 Joseph Myers <joseph@codesourcery.com>
1027
2ed8cda2
JM
1028 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1029 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1030 -DIS_IN_build.
1031
35d76d59
JM
1032 * timezone/README: Update upstream location and email address for
1033 tzcode and tzdata.
1034 * timezone/zdump.c: Update from tzcode 2012b.
1035 * timezone/zic.c: Likewise.
1036
a3cc4f48
JM
1037 * configure.in (libc_cv_as_needed): Remove test.
1038 * configure: Regenerated.
1039 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1040 conditional definition.
1041 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1042 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1043 * config.make.in (have-as-needed): Remove variable.
1044
ceab42c3
SP
10452012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1046 Paul Pluzhnikov <ppluzhnikov@google.com>
1047
1048 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1049 strings correctly.
1050
3ce2865f
CLT
10512012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1052
1053 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1054 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1055 * sysdeps/sh/strlen.S: Likewise.
1056
f37e0d68
JM
10572012-04-24 Joseph Myers <joseph@codesourcery.com>
1058
ae186e9a
JM
1059 * sysdeps/unix/fork.S: Remove file.
1060 * sysdeps/unix/i386/fork.S: Likewise.
1061 * sysdeps/unix/sparc/fork.S: Likewise.
1062
b96914af
JM
1063 * sysdeps/unix/system.c: Remove file.
1064 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1065
f37e0d68
JM
1066 * sysdeps/unix/getegid.S: Remove file.
1067 * sysdeps/unix/geteuid.S: Likewise.
1068
87ef29ca
RM
10692012-04-24 Roland McGrath <roland@hack.frob.com>
1070
83bcd236
RM
1071 * scripts/check-localplt.awk: New file.
1072 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1073 of diff.
1074 * scripts/data/localplt-generic.data: Add a comment.
1075
87ef29ca
RM
1076 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1077 NODE when __dir_mkfile failed.
1078 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1079 Reported by Ludovic Courtès <ludo@gnu.org>.
1080
e5a6e567
AJ
10812012-04-24 Andreas Jaeger <aj@suse.de>
1082
1083 * Makerules (common-clean): Also remove gen-as-const-headers
1084 files.
1085
c1820385
JM
10862012-04-24 Joseph Myers <joseph@codesourcery.com>
1087
1088 * Makerules (native-compile): Do not change working directory for
1089 build. Use $(OUTPUT_OPTION) in command.
1090 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1091
94e02fc4
AZ
10922012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1093
1094 [BZ #13886]
1095 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1096 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1097 * math/libm-test.inc (floor_test): Add more tests.
1098 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1099
3a533ca3
JM
11002012-04-24 Joseph Myers <joseph@codesourcery.com>
1101
940ab4b3
JM
1102 * sysdeps/unix/getdents.c: Remove file.
1103 * sysdeps/unix/sysv/getdents.c: Likewise.
1104 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1105
90e037bd
JM
1106 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1107 sysdeps/unix/mman/syscalls.list.
1108 (mmap): Likewise.
1109 (mprotect): Likewise.
1110 (msync): Likewise.
1111 (munmap): Likewise.
1112 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1113 * sysdeps/unix/mman/syscalls.list: Remove.
1114 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1115
3a533ca3
JM
1116 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1117 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1118 * configure: Regenerated.
1119 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1120 $(libgcc_s_suffix).
1121 * config.make.in (libgcc_s_suffix): Remove variable.
1122
1ad743de
JM
11232012-04-23 Joseph Myers <joseph@codesourcery.com>
1124
4ad451e2
JM
1125 * sysdeps/unix/sysv/gethostname.c: Move to ...
1126 * sysdeps/posix/gethostname.c: ... here.
1127
5e37ce39
JM
1128 * sysdeps/unix/execve.S: Remove file.
1129
1ad743de
JM
1130 * sysdeps/unix/_exit.S: Remove file.
1131
4e681b5b
AJ
11322012-04-23 Andreas Jaeger <aj@suse.de>
1133
1134 [BZ #13739]
1135 * manual/Makefile: Remove make dist support, there's no
1136 need for a stand-alone documentation tar ball.
1137 (TEXI2DVI): Define always, it's not in Makeconfig.
1138 (dist): Removed.
1139 (tar-it): Removed.
1140 (edition): Removed.
1141 (glibc-doc-$(edition).tar): Removed
1142 (%.Z): Removed.
1143 (%.gz): Removed.
1144 (%.uu): Removed.
1145 (ETAGS): Remove, it's in Makeconfig.
1146 (move-if-change): Remove, it's in Makeconfig.
1147
c0baea34
PE
11482013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1149
1150 [BZ #13970]
1151 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1152 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1153 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1154 (strtod_l, strtof_l, strtold_l): Remove __wur.
1155 It is not necessarily an error to ignore strtol's return value.
1156 One can reliably look at the stored endptr to decide whether
1157 the number had valid syntax.
1158
7c0616fa
AJ
11592012-04-21 Andreas Jaeger <aj@suse.de>
1160
803cb6b7 1161 [BZ #13739]
7c0616fa
AJ
1162 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1163
b0fe253f
JM
11642012-04-21 Joseph Myers <joseph@codesourcery.com>
1165
1166 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1167 * sysdeps/unix/sysv/Versions: Remove file.
1168
8280f22d
MT
11692012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1170
1171 [BZ #13927]
1172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1173
75ce411f 11742012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1175
1176 [BZ #7064]
1177 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1178 version from __vm86.
1179
097d59fa
JM
11802012-04-20 Joseph Myers <joseph@codesourcery.com>
1181
a90f3bcb
JM
1182 * sysdeps/unix/common/lxstat.c: Remove file.
1183 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1184
edc7ea78
JM
1185 * sysdeps/unix/sysv/Makefile: Remove file.
1186
cb78c221
JM
1187 * sysdeps/unix/sysv/direct.h: Remove file.
1188
efa6a45f
JM
1189 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1190 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1191 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1192 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1193 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1194 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1195 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1196
9c9f2d0c
JM
1197 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1198
4541c83b
JM
1199 * sysdeps/unix/xmknod.c: Remove file.
1200 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1201
f5d153a0
JM
1202 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1203
aa746595
JM
1204 * sysdeps/unix/sysv/i386/time.S: Remove file.
1205
cce5905e
JM
1206 * sysdeps/unix/fxstat.c: Remove file.
1207 * sysdeps/unix/xstat.c: Likewise.
1208 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1209
37fa3841
JM
1210 * sysdeps/unix/sysv/sigaction.c: Remove file.
1211
ff1962a3
JM
1212 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1213 (sysdep_headers): Remove variable.
1214 [termio.h not in sysdep_headers] (generated): Likewise.
1215 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1216 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1217 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1218 * sysdeps/unix/sysv/tcflow.c: Likewise.
1219 * sysdeps/unix/sysv/tcflush.c: Likewise.
1220 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1221 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1222 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1223 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1224 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1225
e7740d31
JM
1226 * sysdeps/unix/siglist.c: Remove file.
1227
ee06f18b
JM
1228 * sysdeps/unix/getppid.S: Remove file.
1229
097d59fa
JM
1230 * sysdeps/unix/mkdir.c: Remove file.
1231 * sysdeps/unix/rmdir.c: Likewise.
1232
ff3d51ec
AS
12332012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1234
1235 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1236 ERR_MAX value.
1237 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1238 errlist-compat value.
1239
50f81fd7
DM
12402012-04-18 David S. Miller <davem@davemloft.net>
1241
1242 * sysdeps/generic/memcopy.h (reg_char): Delete.
1243 * debug/strcat_chk.c: Use char, not reg_char.
1244 * debug/strcpy_chk.c: Likewise.
1245 * debug/strncat_chk.c: Likewise.
1246 * debug/strncpy_chk.c: Likewise.
1247 * string/memchr.c: Likewise.
1248 * string/memrchr.c: Likewise.
1249 * string/rawmemchr.c: Likewise.
1250 * string/strcat.c: Likewise.
1251 * string/strchr.c: Likewise.
1252 * string/strchrnul.c: Likewise.
1253 * string/strcmp.c: Likewise.
1254 * string/strcpy.c: Likewise.
1255 * string/strncat.c: Likewise.
1256 * string/strncmp.c: Likewise.
1257 * string/strncpy.c: Likewise.
1258
8ff41c46
WS
12592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1260
1261 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1262 __builtin_memcopy is called when src and dest ranges are known to not
1263 overlap.
1264
6b652f46
WS
12652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1266
1267 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1268 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1269 fwd_align_merge macro call.
1270 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1271 bwd_align_merge macro call.
1272 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1273
b282631e
WS
12742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1275
1276 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1277 bwd_align_merge macros.
1278 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1279 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1280 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1281
95aa737c
DM
12822012-04-18 David S. Miller <davem@davemloft.net>
1283
1284 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1285
7a99a614
AJ
12862012-04-18 Andreas Jaeger <aj@suse.de>
1287
1288 [BZ# 6794]
1289 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1290 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1291 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1292
1293 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1294 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1295 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1296
1297 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1298 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1299 Adjust for changed ldbl-128 files.
1300
1301 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1302 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1303 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1304
e5270c23
DM
13052012-04-17 David S. Miller <davem@davemloft.net>
1306
1307 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1308
fb5e92c9
AS
13092012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1310
1311 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1312 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1313 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1314 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1315 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1316 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1317
76da7265
AZ
13182012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1319
1320 [BZ #6794]
1321 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1322 * math/libm-test.inc: Add ilogb errno and exception tests.
1323 * math/w_ilogb.c: New file: ilogb wrapper.
1324 * math/w_ilogbf.c: New file: ilogbf wrapper.
1325 * math/w_ilogbl.c: New file: ilogbl wrapper.
1326 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1327 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1328 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1329 exception being thrown with 0.0 as argument.
1330 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1331 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1332 exception being thrown with 0.0 as argument.
1333 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1334 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1335 exception being thrown with 0.0 as argument.
1336 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1337 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1338 exception being thrown with 0.0 as argument.
1339 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1340 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1341 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1342 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1343 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1344 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1345 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1346 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1347 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1348
0396e69d
PB
13492012-04-17 Petr Baudis <pasky@ucw.cz>
1350
1351 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1352 with altivec.
1353
750b5926
MP
13542012-04-16 Marek Polacek <polacek@redhat.com>
1355
1356 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1357
751728a1
MP
13582012-04-16 Marek Polacek <polacek@redhat.com>
1359
1360 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1361 operands of fdivp instruction.
1362
34a27407
L
13632012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1364
1365 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1366 * elf/tst-auditmod3b.c: Likewise.
1367 * elf/tst-auditmod4b.c: Likewise.
1368 * elf/tst-auditmod5b.c: Likewise.
1369 * elf/tst-auditmod6b.c: Likewise.
1370 * elf/tst-auditmod6c.c: Likewise.
1371 * elf/tst-auditmod7b.c: Likewise.
1372 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1373 * sysdeps/x86_64/preconfigure.in: Likewise.
1374 * sysdeps/x86_64/preconfigure: Regenerated.
1375
7e73e17d
L
13762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1377
1378 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1379 __ILP32__.
1380
c7a6ab72
AB
13812012-04-13 Antoine Balestrat <merkil33@gmail.com>
1382
1383 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1384 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1385
a9e8e0e0
CL
13862012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1387
1388 [BZ #13973]
1389 * locale/iso-639.def: Fix gl language name. Spotted by
1390 Yaron Shahrabani.
1391
ec98af7d
RM
13922012-04-12 Roland McGrath <roland@hack.frob.com>
1393
1394 [BZ #2074]
1395 * libio/libio.h (__io_write_fn): Update comment.
1396
247c3ede
PB
13972012-04-12 Petr Baudis <pasky@ucw.cz>
1398
1399 [BZ #2074]
1400 * stdio.texi (Hook Functions): The user provided writer function
1401 is not allowed to return -1.
1402
55939d6d
DM
14032012-04-11 David S. Miller <davem@davemloft.net>
1404
1405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1406
90020f5a
MF
14072012-04-11 Mike Frysinger <vapier@gentoo.org>
1408
1409 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1410 Add a leading slash to rtkaio.
1411
288f9098
JM
14122012-04-11 Jim Meyering <meyering@redhat.com>
1413
90020f5a
MF
1414 [BZ #11959]
1415 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1416 It is not necessarily an error to ignore fwrite's return
1417 value. One can reliably use ferror to test for errors after
1418 the fact.
288f9098 1419
4be2b570
L
14202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1421
1422 * bits/types.h (__snseconds_t): New type.
1423 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1424
1425 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1426 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1427 (__SNSECONDS_T_TYPE): Likewise.
1428 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1429 (__SNSECONDS_T_TYPE): Likewise.
1430 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1431 (__SNSECONDS_T_TYPE): Likewise.
1432
288f9098 14332012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1434
1435 [BZ #2636]
1436 * manual/time.texi (Processor Time): Return type of times is
1437 elapsed real time since an arbitrary point in the past.
1438 (CPU Time): Move CLK_TCK from here...
1439 (Processor Time): ...to here. Correct description.
1440 * manual/conf.texi (Constants for Sysconf): Correct description of
1441 _SC_CLK_TCK.
1442
d7dd4413
DM
14432012-04-10 David S. Miller <davem@davemloft.net>
1444
1445 [BZ #13967]
1446 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1447 where the is a gap between DT_REL(A) and DT_JMPREL.
1448
b46068fc
L
14492012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1450
1451 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1452 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1453 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1454
73d65cc3
SP
14552012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1456
1457 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1458 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1459 (dl_main): Handle --inhibit-cache.
1460 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1461 _dl_inhibit_cache.
1462 * elf/dl-load.c (_dl_map_object): Use it.
1463 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1464
bcc8d661
JM
14652012-04-09 Joseph Myers <joseph@codesourcery.com>
1466
8f9a2fae
JM
1467 [BZ #13872]
1468 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1469 (__ieee754_powl): Saturate large exponents rather than testing for
1470 overflow of y*log2(x).
1471 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1472 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1473 exceptions.
1474
bcc8d661
JM
1475 [BZ #11521]
1476 * math/s_ctan.c: Include <float.h>.
1477 (__ctan): Avoid internal overflow or cancellation in calculating
1478 denominator.
1479 * math/s_ctanf.c: Likewise.
1480 * math/s_ctanl.c: Likewise.
1481 * math/s_ctanh.c: Likewise.
1482 * math/s_ctanhf.c: Likewise.
1483 * math/s_ctanhl.c: Likewise.
1484 * math/libm-test.inc (ctan_test): Add more tests.
1485 (ctanh_test): Likewise.
1486 * sysdeps/i386/fpu/libm-test-ulps: Update.
1487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1488
823fbbb4
AJ
14892012-04-09 Andreas Jaeger <aj@suse.de>
1490
03879793
AJ
1491 [BZ #6894]
1492 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1493 is an optional BSD extension.
1494
823fbbb4
AJ
1495 [BZ #10254]
1496 * manual/stdio.texi (Opening Streams): Document additional fopen
1497 parameters.
1498
8de131cb
RM
14992012-04-09 Roland McGrath <roland@hack.frob.com>
1500
1501 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1502 %eax without telling the compiler.
1503
c0ed9d7d
CD
15042012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1505
1506 [BZ # 13963]
1507 * manual/install.texi: Use sourceware.org.
1508
c483f6b4
JM
15092012-04-09 Joseph Myers <joseph@codesourcery.com>
1510
d7dd9453
JM
1511 [BZ #13873]
1512 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1513 (__ieee754_pow): Generate overflow and underflow using huge*huge
1514 and tiny*tiny rather than just returning constant infinity or zero
1515 for large exponents.
1516 * math/libm-test.inc (pow_test): Require overflow exceptions for
1517 applicable cases of large exponents.
1518
c483f6b4
JM
1519 [BZ #706]
1520 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1521 (__ieee754_pow): Use iterative multiplication algorithm only for
1522 integer exponents with absolute value below 1024. Check for odd
1523 integer exponents when using algorithm for real exponents.
1524 * math/libm-test.inc (pow_test): Add more tests.
1525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1526
d2de7579
JM
15272012-04-08 Joseph Myers <joseph@codesourcery.com>
1528
1529 [BZ #13705]
1530 * math/libm-test.inc (exp_test): Do not allow overflow exception
1531 on underflow test.
1532
f77f1232
AJ
15332012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1534
1535 [BZ #13705]
1536 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1537 instead of __kernel_standard_f.
1538
3884932b
MF
15392012-04-08 Mike Frysinger <vapier@gentoo.org>
1540
1541 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1542 * sysdeps/x86_64/memset_chk.S: Likewise.
1543
54472e9c
AJ
15442012-04-08 Andreas Jaeger <aj@suse.de>
1545
6ab0fbfc
AJ
1546 [BZ #10153]
1547 * manual/startup.texi (Environment Access): Describe return value
1548 for putenv and setenv.
1549
61efba8c
AJ
1550 [BZ #6895]
1551 * manual/filesys.texi (Directory Entries): Add description for
1552 DT_LNK.
1553
95c3f29a
AJ
1554 [BZ #6890]
1555 * manual/filesys.texi (Directory Entries): Clarify that it's file
1556 system not operating system in the description of DT_UNKNOWN.
1557
54472e9c
AJ
1558 [BZ #6578]
1559 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1560
624254b1
SC
15612012-04-08 Stephen Compall <s11@member.fsf.org>
1562
1563 [BZ #6649]
1564 * manual/llio.texi (Opening and Closing Files): Add cross
1565 reference to explain mode argument.
1566
1e4920e0
MF
15672012-04-07 Mike Frysinger <vapier@gentoo.org>
1568
1569 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1570 * sysdeps/x86_64/memset_chk.S: Likewise.
1571
5ed848f3
DM
15722012-04-07 David S. Miller <davem@davemloft.net>
1573
1574 * elf/elf.h (R_SPARC_WDISP10): Define.
1575 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1576 R_SPARC_SIZE32.
1577 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1578 R_SPARC_SIZE64 and R_SPARC_H34.
1579
96154cd8
CD
15802012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1581
1582 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1583 conditions and remove no longer applicable assertion.
1584
9904dc47
L
15852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1586
1587 * bits/byteswap.h: Include <features.h>.
1588 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1589 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1590
f8887d0a
L
15912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1592
1593 * bits/byteswap.h (__bswap_16): Removed.
1594 Include <bits/byteswap-16.h> to get __bswap_16.
1595 * sysdeps/i386/bits/byteswap.h: Likewise.
1596 * sysdeps/s390/bits/byteswap.h: Likewise.
1597 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1598 * bits/byteswap-16.h: New file.
1599 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1600 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1601 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1602 * string/Makefile (headers): Add bits/byteswap-16.h.
1603
62470f60
PP
16042012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1605
1606 [BZ #13895]
1607 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1608 extra indirection.
1609 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1610 * nss/tst-nss-static.c: New.
1611
4dad7bab
RM
16122012-04-06 Robert Millan <rmh@gnu.org>
1613
1614 [BZ #6486]
1615 * manual/llio.texi (File Position Primitive): lseek
1616 refers to WHENCE when it really means OFFSET.
1617
e9142a17
AJ
16182012-04-06 Andreas Jaeger <aj@suse.de>
1619
2c040eff
AJ
1620 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1621 strncmp declarations.
1622
e9142a17
AJ
1623 * abilist/libc.abilist: Add __poll and __ppoll.
1624
ff9f1c5f
DM
16252012-04-05 David S. Miller <davem@davemloft.net>
1626
dcd2ae90
DM
1627 * scripts/check-local-headers.sh: Accept a host triplet in the
1628 path matched by the exclude regexp.
1629
993eb054
DM
1630 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1631 definition.
1632 * sysdeps/powerpc/powerpc32/dl-machine.h
1633 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1634 * sysdeps/s390/s390-32/dl-machine.h
1635 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1636 * sysdeps/sparc/sparc32/dl-machine.h
1637 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1638 * sysdeps/sparc/sparc64/dl-machine.h
1639 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1640
ff9f1c5f
DM
1641 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1642 lazy binding.
48e2e132 1643 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1644 undefined symbol errors.
1645
48e2e132 1646 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1647 DT_NEEDED entries.
1648
e80d6f94
MM
16492012-04-05 Michael Matz <matz@suse.de>
1650
1651 [BZ #13592]
1652 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1653
349fa79f
AJ
16542012-04-05 Andreas Jaeger <aj@suse.de>
1655
1656 [BZ #13908]
1657 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1658 comment.
1659
f402708f
KK
16602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1661
1662 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1663 which ROUND is no valid rounding mode.
1664
2ecccfc9
KK
16652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1666
1667 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1668 read again.
1669 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1670
8a53f50f
KK
16712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1672
1673 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1674 an exception using FPU order intentionally.
1675
16762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1677
1678 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1679 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1680 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1681 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1682
d653abb7
SJ
16832012-04-05 Simon Josefsson <simon@josefsson.org>
1684
1685 [BZ #12340]
1686 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1687 EINVAL when BUFLEN is too smal.
1688
c3b1bf7d
TS
16892012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1690
1691 [BZ #13553]
1692 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1693 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1694
b1aa60f3
AJ
16952012-04-03 Andreas Jaeger <aj@suse.de>
1696
c3b1bf7d 1697 [BZ #13938]
67f60a26
AJ
1698 * manual/setjmp.texi (System V contexts): Fix sentence.
1699
b1aa60f3
AJ
1700 [BZ #13926]
1701 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1702 New macro for this case.
1703 [!__GNUC__] (__bswap_64): New inline function for this case.
1704 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1705 * bits/byteswap.h: Likewise.
1706 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1707 ull, guard with __GLIBC_HAVE_LONG_LONG.
1708
1709 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1710 __GLIBC_HAVE_LONG_LONG.
1711
1712 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1713 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1714
39c59c35
TMQMF
17152012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1716
1717 [BZ #13691]
1718 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1719 inptr and inend, rather than using last_ch.
1720
135ffda8
DM
17212012-04-02 David S. Miller <davem@davemloft.net>
1722
1723 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1724 * stdio-common/printf-parse.h (read_int): Change return type to
1725 'int', return -1 on INT_MAX overflow.
1726 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1727 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1728 overflows INT_MAX. Check for overflow of in-format-string precision
1729 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1730 SIZE_MAX not INT_MAX for integer overflow test.
1731 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1732 skip the construct in the format string but do not record anything.
1733 * stdio-common/bug22.c: Adjust to test both width/prevision
1734 INT_MAX overflow as well as total length INT_MAX overflow. Check
1735 explicitly for proper errno values.
1736
228c019e
TS
17372012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1738
302cadd3
TS
1739 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1740 CHAR_MAX.
1741 * string/test-strcmp.c [! WIDE]: Likewise.
1742 * time/tst-mktime2.c: Likewise for INT_MAX.
1743 * string/test-string.h: #include <sys/param.h> for MIN.
1744
228c019e
TS
1745 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1746 * sysdeps/i386/init-first.c (init): Likewise.
1747 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1748 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1749 * sysdeps/sh/init-first.c (init): Likewise.
1750
cfa633f5
UD
17512012-04-01 Ulrich Drepper <drepper@gmail.com>
1752
1753 * po/ru.po: Update from translation team.
d1635ef8 1754 * po/vi.po: Likewise.
cfa633f5 1755
6cd0a5ea
SP
17562012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1757
1758 * resolv/nss_dns/dns-host.c: Merge copyright years.
1759
4b43400f
LD
17602012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1761
1762 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1763 Optimize memcpy with prefetch if
1764 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1765 src, dst pointers have unequal 16 byte alignments.
1766
48c41d04
SP
17672012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1768
1769 [BZ #13928]
1770 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1771 from a CNAME entry and return the minimum ttl for the query.
1772 (gaih_getanswer_slice): Likewise.
1773
b8dc394d
JL
17742012-03-30 Jeff Law <law@redhat.com>
1775
1776 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1777 due to long keys.
1778 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1779 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1780
2f5a5ed0
JL
1781 * resolv/nss_dns/dns-host.c: Update copyright year.
1782
1d39e359
UD
17832012-03-30 Ulrich Drepper <drepper@gmail.com>
1784
c030f70c 1785 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 1786 requests to save a system call. Fix check that all bytes are sent.
c030f70c 1787
1d39e359
UD
1788 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1789 comments for sendmmsg.
1790
17912012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
1792
1793 [BZ #13691]
1794 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1795 with only 1 character between 0x0041 and 0x01b0.
1796 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1797 * wcsmbs/tst-mbsnrtowcs.c: New file.
1798
20fde227
DM
17992012-03-29 David S. Miller <davem@davemloft.net>
1800
1801 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1802 small copies by hand.
1803
984a4237
JL
18042012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1805
1806 [BZ #13761]
1807 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1808 _nss_compat_initgroups_dyn): Fall back to malloc/free
1809 for large group memberships.
1810
18c9d62b
DM
18112012-03-28 David S. Miller <davem@davemloft.net>
1812
88d85d4f
DM
1813 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1814 that branches into memcpy.
1815 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1816 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1817 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1818 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1820 bits.
1821 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1822 implementation too.
1823 * sysdeps/sparc/mempcpy.S: New file.
1824
e5aa83e1
DM
1825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1826 the IFUNC routine in the libc case.
1827 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1828
88570753
DM
1829 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1830 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1831 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1832 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1833 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1834 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1835 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1836 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1837
249d7567
DM
1838 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1839 loop to 256 bytes instead of 64 bytes and fix test signedness.
1840
18c9d62b
DM
1841 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1842 * sysdeps/sparc/sparc32/Makefile: rather than here...
1843 * sysdeps/sparc/sparc64/Makefile: and here.
1844
05f3d1f6
UD
18452012-03-28 Ulrich Drepper <drepper@gmail.com>
1846
1847 * malloc/mallocbug.c: Avoid warnings about unused variables.
1848
86ae07a8
JL
18492012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1850
1851 [BZ #13760]
1852 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1853 in the right place. Discard and retry query if response is
1854 larger than input buffer size.
1855
41bf21a1
JM
18562012-03-28 Joseph Myers <joseph@codesourcery.com>
1857
d6270972
JM
1858 [BZ #369]
1859 [BZ #2678]
1860 [BZ #3866]
1861 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1862 x for large integer exponent.
1863 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1864 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1865 sign of result as needed afterwards.
1866 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1867 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1868 result for underflowing pow the same as for overflow.
1869 (__kernel_standard_l): Handle powl overflow and underflow here
1870 rather than calling __kernel_standard.
1871 * math/libm-test.inc (pow_test): Add more tests.
1872
414fca03 1873 [BZ #3868]
41bf21a1
JM
1874 [BZ #13879]
1875 [BZ #13910]
1876 [BZ #13911]
1877 [BZ #13912]
1878 [BZ #13913]
1879 [BZ #13915]
1880 [BZ #13916]
1881 [BZ #13917]
1882 [BZ #13918]
1883 [BZ #13919]
1884 [BZ #13920]
1885 [BZ #13921]
1886 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1887 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1888 (__kernel_standard_l): New function.
1889 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1890 __kernel_standard.
1891 * math/w_acosl.c (__acosl): Likewise.
1892 * math/w_asinl.c (__asinl): Likewise.
1893 * math/w_atan2l.c (__atan2l): Likewise.
1894 * math/w_atanhl.c (__atanhl): Likewise.
1895 * math/w_coshl.c (__coshl): Likewise.
1896 * math/w_exp10l.c (__exp10l): Likewise.
1897 * math/w_exp2l.c (__exp2l): Likewise.
1898 * math/w_fmodl.c (__fmodl): Likewise.
1899 * math/w_hypotl.c (__hypotl): Likewise.
1900 * math/w_j0l.c (__j0l, __y0l): Likewise.
1901 * math/w_j1l.c (__j1l, __y1l): Likewise.
1902 * math/w_jnl.c (__jnl, __ynl): Likewise.
1903 * math/w_lgammal.c (__lgammal): Likewise.
1904 * math/w_log10l.c (__log10l): Likewise.
1905 * math/w_log2l.c (__log2l): Likewise.
1906 * math/w_logl.c (__logl): Likewise.
1907 * math/w_powl.c (__powl): Likewise.
1908 * math/w_remainderl.c (__remainderl): Likewise.
1909 * math/w_scalbl.c (sysv_scalbl): Likewise.
1910 * math/w_sinhl.c (__sinhl): Likewise.
1911 * math/w_sqrtl.c (__sqrtl): Likewise.
1912 * math/w_tgammal.c (__tgammal): Likewise.
1913 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1914 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1915 * math/libm-test.inc (acos_test): Add more tests.
1916 (acosh_test): Likewise.
1917 (asin_test): Likewise.
1918 (atanh_test): Likewise.
1919 (exp_test): Likewise.
1920 (exp10_test): Likewise.
1921 (exp2_test): Likewise.
1922 (expm1_test): Likewise.
1923 (lgamma_test): Likewise.
1924 (log_test): Likewise.
1925 (log10_test): Likewise.
1926 (log1p_test): Likewise.
1927 (log2_test): Likewise.
1928 (pow_test): Do not allow some spurious overflow exceptions.
1929 (sqrt_test): Add more tests.
1930 (tgamma_test): Likewise.
1931 (y0_test): Likewise.
1932 (y1_test): Likewise.
1933 (yn_test): Likewise.
1934
dd62fda6
AB
19352012-03-27 Anton Blanchard <anton@samba.org>
1936
1937 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1938 MAP_HUGETLB.
1939 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1940 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1941 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1942
1e3cdfda
AJ
19432012-03-27 David S. Miller <davem@davemloft.net>
1944
b855ab85
DM
1945 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1946
1e3cdfda
AJ
1947 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1948 have-as-vis3 check.
1949
19502012-03-27 Andreas Jaeger <aj@suse.de>
1951
1952 * sysdeps/x86_64/elf/configure.in: Moved to ...
1953 * sysdeps/x86_64/configure.in: ... here.
1954 * sysdeps/x86_64/elf/start.S: Moved to ...
1955 * sysdeps/x86_64/start.S: ... here.
1956 * sysdeps/x86_64/elf/configure: Delete.
1957
1958 * sysdeps/x86_64/configure.in: Merge contents from
1959 sysdeps/i386/configure.in (without i686 check).
1960
1961 * sysdeps/i386/elf/Versions: Merge into ...
1962 * sysdeps/i386/Versions: ... this.
1963 * sysdeps/i386/elf/Versions: Delete file.
1964 * sysdeps/i386/elf/start.S: Moved to ...
1965 * sysdeps/i386/start.S: ...here.
1966 * sysdeps/i386/elf/configure.in: Merge into...
1967 * sysdeps/i386/configure.in: ...here.
1968 * sysdeps/i386/elf/configure.in: Delete file.
1969 * sysdeps/i386/elf/configure: Delete file.
1970
1971 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1972 * debug/backtracesyms.c: ... here.
1973 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1974 * debug/backtracesymsfd.c: ... here.
1975 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1976 * sysdeps/generic/ifunc-sel.h: ... here.
1977
1978 * sysdeps/unix/i386/start.c: Delete file.
1979 * sysdeps/unix/sparc/start.c: Delete file.
1980 * sysdeps/unix/start.c: Delete file.
1981
1982 * sysdeps/sh/elf/configure.in: Moved to ...
1983 * sysdeps/sh/configure.in: ... here.
1984 * sysdeps/sh/elf/start.S: Moved to ...
1985 * sysdeps/sh/start.S: ... here.
1986 * sysdeps/sh/elf/configure: Delete file.
1987
1988 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1989 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1990 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1991 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1992 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1993 * sysdeps/powerpc/powerpc64/start.S: here.
1994 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1995 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1996 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1997 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1998 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1999
2000 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2001 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2002 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2003 * sysdeps/powerpc/powerpc32/start.S: ... here.
2004 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2005 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2006 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2007
2008 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2009 * sysdeps/powerpc/ifunc-sel.h: ... here.
2010 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2011 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2012
2013 * sysdeps/sparc/elf/configure.in: Moved to ...
2014 * sysdeps/sparc/configure.in: ... here.
2015 * sysdeps/sparc/elf/configure: Delete file.
2016 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2017 * sysdeps/sparc/sparc32/start.S: ... here.
2018 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2019 * sysdeps/sparc/sparc64/start.S: ... here.
2020 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2021 * sysdeps/sparc/sparc32/Makefile: ... this.
2022 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2023 * sysdeps/sparc/sparc64/Makefile: ... this.
2024
2025 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2026 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2027 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2028 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2029 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2030 * sysdeps/s390/s390-32/setjmp.S: ... here.
2031 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2032 * sysdeps/s390/s390-32/configure.in: ... here.
2033 * sysdeps/s390/s390-32/elf/configure: Delete file.
2034 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2035 * sysdeps/s390/s390-32/start.S: ... here.
2036
2037 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2038 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2039 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2040 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2041 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2042 * sysdeps/s390/s390-64/setjmp.S: ... here.
2043 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2044 * sysdeps/s390/s390-64/configure.in: ... here
2045 * sysdeps/s390/s390-64/elf/configure: Delete file.
2046 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2047 * sysdeps/s390/s390-64/start.S: ... here.
2048 * sysdeps/s390/s390-64/elf/configure: Delete.
2049
2050 * configure.in: Remove support for elf directories in sysdeps.
2051
2052 * configure: Regenerated.
2053 * sysdeps/i386/configure: Regenerated.
2054 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2055 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2056 * sysdeps/s390/s390-32/configure: Regenerated.
2057 * sysdeps/s390/s390-64/configure: Regenerated.
2058 * sysdeps/sh/configure: Regenerated.
2059 * sysdeps/sparc/configure: Regenerated.
2060 * sysdeps/x86_64/configure: Regenerated.
2061
a3f61311
AS
20622012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2063
c876e002
AS
2064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2065
a3f61311
AS
2066 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2067 denormal result into account.
2068
ac4c54f0
RM
20692012-03-25 Roland McGrath <roland@hack.frob.com>
2070
2071 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2072 Reported by Allan McRae <allan@archlinux.org>.
2073
6a9b9c02
JL
20742012-03-23 Jeff Law <law@redhat.com>
2075
2076 * nss/getnssent.c (__nss_getent): Fix typo.
2077
4c42a0c1
DM
20782012-03-23 David S. Miller <davem@davemloft.net>
2079
2080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2081
1532c7ac
L
20822012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2083
2084 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2085 to pad to uint64_t for each field.
2086 (dl_tls_index): Replace unsigned long with uint64_t.
2087
3ff42526
PP
20882012-03-23 Daniel Jacobowitz <dmj@google.com>
2089 Paul Pluzhnikov <ppluzhnikov@google.com>
2090
2091 [BZ #6528]
2092 * grp/Makefile (otherlibs): Don't set it.
2093 * inet/Makefile (otherlibs): Likewise.
2094 * login/Makefile (otherlibs): Likewise.
2095 * nscd/Makefile (otherlibs): Likewise.
2096 * posix/Makefile (otherlibs): Likewise.
2097 * pwd/Makefile (otherlibs): Likewise.
2098 * rt/Makefile (otherlibs): Likewise.
2099 * sunrpc/Makefile (otherlibs): Likewise.
2100 * nss/Makefile (otherlibs): Likewise.
2101 Add libnss_files to routines and static-only-routines.
2102 ($(objpfx)getent): Remove rule.
2103 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2104 static-only-routines.
2105
7c69cd14
JM
21062012-03-22 Joseph Myers <joseph@codesourcery.com>
2107
2108 [BZ #13892]
2109 * math/s_cexp.c: Include <float.h>.
2110 (__cexp): Handle exp result overflowing not necessarily
2111 overflowing both real and imaginary parts of result.
2112 * math/s_cexpf.c: Likewise.
2113 * math/s_cexpl.c: Likewise.
2114 * math/libm-test.inc (cexp_test): Add more tests.
2115 * sysdeps/i386/fpu/libm-test-ulps: Update.
2116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2117
81b035fe
L
21182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2119
2120 * include/link.h (ELFW): New macro.
2121 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2122 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2123
1da7940c
L
21242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2125
2126 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2127 with uint64_t.
2128
b749dbb9
L
21292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2130
2131 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2132 declaration.
2133 (struct La_x32_retval): Likewise.
2134
2ff87f3f
L
21352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2136
2137 * sysdeps/x86_64/preconfigure.in: New file.
2138 * sysdeps/x86_64/preconfigure: New generated file.
2139
c0df8e69
JM
21402012-03-22 Joseph Myers <joseph@codesourcery.com>
2141
48e44791
JM
2142 [BZ #13824]
2143 * math/e_exp2l.c: Include <float.h>.
2144 (__ieee754_exp2l): Handle overflow and underflow cases
2145 separately. Only pass fractional part of argument to
2146 __ieee754_expl.
2147 * math/libm-test.inc (exp2_test): Add more tests.
2148
c0df8e69
JM
2149 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2150 negating x to take absolute value.
2151 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2152 Likewise.
2153 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2154 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2155 Likewise.
2156 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2157 computing low part if x was negated.
2158 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2159
c8e43ba7
L
21602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2161
2162 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2163 la_x32_gnu_pltexit.
2164 (pltexit): Cast int_retval to ptrdiff_t.
2165 * elf/tst-auditmod3b.c: Likewise.
2166 * elf/tst-auditmod4b.c: Likewise.
2167 * elf/tst-auditmod5b.c: Likewise.
2168 * elf/tst-auditmod6b.c: Likewise.
2169 * elf/tst-auditmod6c.c: Likewise.
2170 * elf/tst-auditmod7b.c: Likewise.
2171
2172 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2173 and x32_gnu_pltexit.
2174
2175 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2176 __ELF_NATIVE_CLASS.
2177 (La_x32_regs): New macro.
2178 (La_x32_retval): Likewise.
2179 (la_x32_gnu_pltenter): New function prototype.
2180 (la_x32_gnu_pltexit): Likewise.
2181
7998fa78
AS
21822012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2183
dcb33988
AS
2184 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2185 exponent.
2186
233fc563
AS
2187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2188
7998fa78
AS
2189 * configure.in (libc_cv_cc_nofma): Check for option to disable
2190 generation of FMA instructions.
2191 * configure: Regenerate.
2192 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2193 * sysdeps/ieee754/dbl-64/Makefile: New file.
2194 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2195 Remove brandred-fma4.
2196 (CFLAGS-brandred-fma4.c): Remove.
2197 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2198 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2199 define.
2200 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2201 define.
2202
8e95c99a
L
22032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2204
2205 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2206 LLONG_MAX != LONG_MAX.
2207 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2208 (_fitoa_word): Likewise.
2209 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2210 LLONG_MAX != LONG_MAX.
2211 * stdio-common/_itowa.h: Include <_itoa.h>.
2212 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2213 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2214 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2215 only if not defined.
2216 (_ITOA_WORD_TYPE): Likewise.
2217 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2218 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2219
6f4db457
DM
22202012-03-21 David S. Miller <davem@davemloft.net>
2221
2222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2223
7785fe5a
L
22242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2225
2226 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2227 of x86_64 when setting libc_cv_slibdir, libdir and
2228 libc_cv_localedir.
2229 * sysdeps/unix/sysv/linux/configure: Regenerated.
2230
4535cd55
JM
22312012-03-21 Joseph Myers <joseph@codesourcery.com>
2232
2233 * manual/lang.texi (Old Varargs): Remove section.
2234 (How Variadic): Update menu.
2235 (va_start): Do not mention varargs.h.
2236
17228132
TS
22372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2238 Joseph Myers <joseph@codesourcery.com>
2239
2240 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2241 link test.
2242 * configure: Regenerated.
2243
8149f976
TS
22442012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2245
05f3d1f6
UD
2246 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2247 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2248 conformtest.pl
8149f976 2249
1a4ac776
JM
22502012-03-21 Joseph Myers <joseph@codesourcery.com>
2251
be22ce65
JM
2252 * NOTES: Remove.
2253 * Makefile (files-for-dist): Remove NOTES.
2254 (NOTES): Remove rule.
2255 * README: Don't refer to NOTES.
2256 * manual/creature.texi: Don't include macros.texi.
2257 * manual/intro.texi (creature.texi): Remove comment referring to
2258 NOTES.
2259
40b601fb
JM
2260 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2261 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2262 * configure: Regenerated.
2263 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2264 LIBC_TRY_CC_OPTION.
2265 (libc_cv_as_i686): Likewise.
2266 (libc_cv_cc_avx): Likewise.
2267 (libc_cv_cc_sse2avx): Likewise.
2268 (libc_cv_cc_fma4): Likewise.
2269 (libc_cv_cc_novzeroupper): Likewise.
2270 * sysdeps/i386/configure: Regenerated.
2271
1a4ac776
JM
2272 [BZ #13883]
2273 * sysdeps/i386/fpu/s_cexp.S: Remove.
2274 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2275 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2276 * math/libm-test.inc (cexp_test): Add more tests.
2277 * sysdeps/i386/fpu/libm-test-ulps: Update.
2278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2279
a458e7fe
AM
22802012-03-21 Allan McRae <allan@archlinux.org>
2281
2282 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2283
0cb7efc5
JM
22842012-03-21 Joseph Myers <joseph@codesourcery.com>
2285
2286 [BZ #13871]
2287 * math/w_exp2.c: Do not include <float.h>.
2288 (o_threshold, u_threshold): Remove.
2289 (__exp2): Calculate result before checking finiteness and calling
2290 __kernel_standard.
2291 * math/w_exp2f.c: Likewise.
2292 * math/w_exp2l.c: Likewise.
2293 * math/libm-test.inc (exp2_test): Require overflow exception for
2294 1e6 input.
2460d3aa
JM
2295
2296 [BZ #3866]
2297 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2298 range of signed 64-bit integers before using fistpll. Remove
2299 checks for whether integers fit in mantissa bits.
2300 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2301 the range of signed 32-bit integers before using fistpl. Remove
2302 checks for whether integers fit in mantissa bits.
2303 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2304 (__ieee754_powl): Test for y outside the range of signed 64-bit
2305 integers before using fistpll. Reduce 64-bit values to 63-bit
2306 ones as needed.
2307 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2308 divide-by-zero is raised for zero to large negative powers.
2309 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2310 (__ieee754_powl): Test for y outside the range of signed 64-bit
2311 integers before using fistpll. Reduce 64-bit values to 63-bit
2312 ones as needed.
2313 * math/libm-test.inc (pow_test): Add more tests.
2314
eb96ffb0
L
23152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2316
2317 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2318 <stdio-common/_itoa.h>.
2319 * debug/segfault.c: Likewise.
2320 * elf/dl-cache.c: Likewise.
2321 * elf/dl-minimal.c: Likewise.
2322 * elf/dl-misc.c: Likewise.
2323 * elf/dl-sysdep.c: Likewise.
2324 * elf/dl-version.c: Likewise.
2325 * elf/rtld.c: Likewise.
2326 * hurd/hurdsock.c: Likewise.
2327 * hurd/lookup-retry.c: Likewise.
2328 * malloc/malloc.c: Likewise.
2329 * malloc/mtrace.c: Likewise.
2330 * nscd/nscd_getgr_r.c: Likewise.
2331 * nscd/nscd_getpw_r.c: Likewise.
2332 * nscd/nscd_getserv_r.c: Likewise.
2333 * posix/getopt_init.c: Likewise.
2334 * posix/wordexp.c: Likewise.
2335 * stdio-common/_itoa.c: Likewise.
2336 * stdio-common/printf_fphex.c: Likewise.
2337 * stdio-common/vfprintf.c: Likewise.
2338 * string/_strerror.c: Likewise.
2339 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2340 * sysdeps/i386/i686/hp-timing.h: Likewise.
2341 * sysdeps/mach/_strerror.c: Likewise.
2342 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2343 * sysdeps/mach/hurd/sethostid.c: Likewise.
2344 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2345 * sysdeps/mach/xpg-strerror.c: Likewise.
2346 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2347 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2348 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2349 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2350 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2351 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2352 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2353 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2354 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2355 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2356 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2357 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2358 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2359 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2360 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2361 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2362 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2363 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2364 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2365 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2366 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2367
2368 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2369
2370 * stdio-common/_itoa.h: Moved to ...
2371 * sysdeps/generic/_itoa.h: Here.
2372
2373 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2374
2375 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2376 instead of "_itoa.h" and "_itowa.h".
2377 * stdio-common/vfprintf.: Likewise.
2378
d1af992d
L
23792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2380
2381 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2382 <bits/wordsize.h>.
2383 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2384 (__signbit): Likwise.
2385 (llrintf): Likwise.
2386 (llrint): Likwise.
2387
114883e0
L
23882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2389
2390 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2391 __WORDSIZE != 64.
2392
c135cc1b
JM
23932012-03-20 Joseph Myers <joseph@codesourcery.com>
2394
2395 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2396 OVERFLOW_EXCEPTION_OK.
2397 * math/libm-test.inc ("Philosophy"): Update comment about
2398 exception testing.
2399 (OVERFLOW_EXCEPTION): Define.
2400 (OVERFLOW_EXCEPTION_OK): Likewise.
2401 (INVALID_EXCEPTION_OK): Renumber.
2402 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2403 (IGNORE_ZERO_INF_SIGN): Likewise.
2404 (test_exceptions): Handle FE_OVERFLOW.
2405 (exp10_test): Expect overflow exceptions.
2406 (exp2_test): Likewise.
2407 (expm1_test): Likewise.
2408 (nextafter_test): Likewise.
2409 (pow_test): Likewise.
2410 (scalbn_test): Likewise.
2411 (scalbln_test): Likewise.
2412
95443d88
L
24132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2414
2415 * sysdeps/x86_64/bits/atomic.h
2416 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2417 64bit integer.
2418 (atomic_exchange_acq): Likewise.
2419 (__arch_exchange_and_add_body): Likewise.
2420 (__arch_add_body): Likewise.
2421 (atomic_add_negative): Likewise.
2422 (atomic_add_zero): Likewise.
2423
490df6c4
L
24242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2425
c2722551 2426 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2427 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2428
5e52b189
L
24292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2430
2431 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2432 Check __x86_64__ instead of __WORDSIZE.
2433
a9879d4c
L
24342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2435
2436 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2437
5df98260
DM
24382012-03-19 David S. Miller <davem@davemloft.net>
2439
e1497744
DM
2440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2441
5df98260
DM
2442 * sysdeps/sparc/fpu/fenv_private.h: New file.
2443 * sysdeps/sparc/fpu/math_private.h: Use it.
2444 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2445 Remove.
2446 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2447 (libc_feholdexcept_setroundl): Remove.
2448 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2449 Remove.
2450 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2451 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2452
b4c35121
L
24532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2454
2455 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2456 int64_t instead of long int.
2457 (INSERT_WORDS64): Likwise.
2458
56965fd7
L
24592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2460
2461 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2462 _Unwind_GetCFA return to _Unwind_Ptr first.
2463
83d1aec8
JM
24642012-03-19 Joseph Myers <joseph@codesourcery.com>
2465
1897ad44
JM
2466 [BZ #13629]
2467 * math/s_clog.c: Include <float.h>.
2468 (__clog): Scale large or subnormal inputs.
2469 * math/s_clogf.c: Likewise.
2470 * math/s_clogl.c: Likewise.
2471 * math/s_clog10.c: Include <float.h>.
2472 (M_LOG10_2): Define.
2473 (__clog10): Scale large or subnormal inputs.
2474 * math/s_clog10f.c: Likewise.
2475 * math/s_clog10l.c: Likewise.
2476 * math/libm-test.inc (clog_test): Add more tests.
2477 (clog10_test): Likewise.
2478 * sysdeps/i386/fpu/libm-test-ulps: Update.
2479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2480
7726d6a9
JM
2481 [BZ #11451]
2482 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2483 x and y.
2484 * math/libm-test.inc (atan2_test): Add another test.
2485
83d1aec8
JM
2486 * Makerules (common-objdir-compile): Remove.
2487 * sysdeps/unix/Makefile (config-generated): Do not add
2488 $(unix-generated) to variable.
2489 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2490 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2491 Remove rule.
2492 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2493 Likewise.
2494 [generic bits/local_lim.h] (before-compile): Do not append to
2495 variable.
2496 [generic bits/local_lim.h] (common-generated): Likewise.
2497 [generic sys/param.h] (before-compile): Do not append to variable.
2498 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2499 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2500 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2501 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2502 include.
2503 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2504 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2505 [generic sys/param.h] ($(addprefix
2506 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2507 [generic sys/param.h] (common-generated): Do not append to
2508 variable.
2509 [generic sys/param.h] (sysdep_headers): Likewise.
2510 [generic bits/errno.h] (before-compile): Do not append to
2511 variable.
2512 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2513 rule.
2514 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2515 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2516 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2517 [generic bits/errno.h] (common-generated): Do not append to
2518 variable.
2519 [generic bits/ioctls.h] (before-compile): Do not append to
2520 variable.
2521 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2522 rule.
2523 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2524 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2525 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2526 rule.
2527 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2528 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2529 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2530 [generic bits/ioctls.h] (common-generated): Do not append to
2531 variable.
2532 [generic sys/syscall.h] (syscall.h): Remove variable.
2533 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2534 rule.
2535 [generic sys/syscall.h] (before-compile): Do not append to
2536 variable.
2537 [generic sys/syscall.h] (common-generated): Likewise.
2538 * sysdeps/unix/errnos-tmpl.c: Remove file.
2539 * sysdeps/unix/errnos.awk: Likewise.
2540 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2541 * sysdeps/unix/ioctls.awk: Likewise.
2542 * sysdeps/unix/mk-local_lim.c: Likewise.
2543 * sysdeps/unix/snarf-ioctls: Likewise.
2544
4851a949
RH
25452012-03-19 Richard Henderson <rth@twiddle.net>
2546
bd37f2ee
RH
2547 * sysdeps/i386/fpu/fenv_private.h: New file.
2548 * sysdeps/i386/fpu/math_private.h: Use it.
2549 (math_opt_barrier, math_force_eval): Remove.
2550 (libc_feholdexcept_setround_53bit): Remove.
2551 (libc_feupdateenv_53bit): Remove.
2552 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2553 (math_opt_barrier, math_force_eval): Remove.
2554 (libc_feholdexcept): Remove.
2555 (libc_feholdexcept_setround): Remove.
2556 (libc_fetestexcept, libc_fesetenv): Remove.
2557 (libc_feupdateenv_test): Remove.
2558 (libc_feupdateenv, libc_feholdsetround): Remove.
2559 (libc_feresetround): Remove.
2560
d0adc922
RH
2561 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2562 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2563
0fe0f1f8
RH
2564 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2565 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2566 (libc_feupdateenv_testl): New.
2567 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2568 (libc_feupdateenv_testf): New.
2569 (libc_feupdateenv): Use libc_feupdateenv_test.
2570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2571 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2572
eb92c487
RH
2573 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2574 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2575 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2576 (libc_feresetround_noex): New.
2577 (libc_feresetround_noexf): New.
2578 (libc_feresetround_noexl): New.
2579 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2580 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2581 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2582 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2583 SET_RESTORE_ROUND.
2584 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2585 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2586 (__cos): Likewise.
2587 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2588 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2589 SET_RESTORE_ROUND_NOEX.
2590 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2591 SET_RESTORE_ROUND_NOEXF.
2592 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2593 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2594 (libc_feholdsetroundf): New.
2595 (libc_feresetround, libc_feresetroundf): New.
2596
7d2e8012
RH
2597 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2598 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2599 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2600
b4dabbb4
RH
2601 * sysdeps/generic/math_private.h: Include <fenv.h>.
2602 (default_libc_feholdexcept): New.
2603 (default_libc_feholdexcept_setround): New.
2604 (default_libc_fesetenv, default_libc_feupdateenv): New.
2605 (libc_feholdexcept): Only define if undefined.
2606 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2607 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2608 (libc_feholdexcept_setroundl): Likewise.
2609 (libc_feholdexcept_setround_53bit): Likewise.
2610 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2611 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2612 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2613 (libc_feupdateenv_53bit): Likewise.
2614 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2615 (libc_feholdexcept): Convert from macro to inline function.
2616 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2617 (libc_fesetenv, libc_feupdateenv): Likewise.
2618
4851a949
RH
2619 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2620 not previously defined.
2621 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2622 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2623 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2624 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2625 * sysdeps/ieee754/flt-32/math_private.h: New file.
2626 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2627 math_private.h below SET_FLOAT_WORD.
2628 (__isnan, __isinf_ns, __finite): Remove.
2629 (__isnanf, __isinf_nsf, __finitef): Remove.
2630
e79d442e
AS
26312012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2632
2633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2634
90b80344
DM
26352012-03-17 David S. Miller <davem@davemloft.net>
2636
2637 [BZ #6471]
2638 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2639 for 2.16.
2640
edc21804
DM
26412012-03-16 David S. Miller <davem@davemloft.net>
2642
77e927af
DM
2643 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2644 warnings.
2645
374976dd
DM
2646 [BZ #6471]
2647 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2648 properly.
2649 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2650 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2651 sysdep_routines when subdir is sysvipc.
2652 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2653 __getshmlba helper.
2654
edc21804
DM
2655 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2656
473c3ef3
L
26572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2658
2659 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2660 [__LP64__].
2661
eb0f39b6
L
26622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2663
2664 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2665 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2666 (__lround): Renamed to ...
2667 (__llround): This. Replace long int with long long int.
2668 Define lround functions as aliases of llround functions.
2669 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2670
6b6cd74b
L
26712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2672
2673 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2674 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2675 adresses to uintptr_t. Replace "long int" and "unsigned long
2676 int" with "greg_t" on va_arg.
2677
f1a77b01
L
26782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2679
2680 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2681 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2682
2683 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2684 Move e_machine check before EI_CLASS check. Handle x32
2685 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2686 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2687 SKIP_EM_IA_64 and include
2688 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2689
2690 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2691 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2692 (add_system_dir): New macro.
2693
2694 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2695 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2696
11b90b9f
JM
26972012-03-16 Joseph Myers <joseph@codesourcery.com>
2698
c36e1d23
JM
2699 [BZ #2551]
2700 [BZ #2552]
2701 [BZ #2553]
2702 [BZ #2554]
2703 [BZ #2562]
2704 [BZ #2563]
2705 [BZ #2565]
2706 [BZ #2566]
2707 [BZ #2576]
2708 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2709 (y0): Likewise.
2710 * math/w_j0f.c (j0f): Likewise.
2711 (y0f): Likewise.
2712 * math/w_j0l.c (__j0l): Likewise.
2713 (__y0l): Likewise.
2714 * math/w_j1.c (j1): Likewise.
2715 (y1): Likewise.
2716 * math/w_j1f.c (j1f): Likewise.
2717 (y1f): Likewise.
2718 * math/w_j1l.c (__j1l): Likewise.
2719 (__y1l): Likewise.
2720 * math/w_jn.c (jn): Likewise.
2721 (yn): Likewise.
2722 * math/w_jnf.c (jnf): Likewise.
2723 (ynf): Likewise.
2724 * math/w_jnl.c (__jnl): Likewise.
2725 (__ynl): Likewise.
2726 * math/libm-test.inc (j0_test): Add more tests.
2727 (j1_test): Likewise.
2728 (jn_test): Likewise. Add trailing semicolon to existing test.
2729 (y0_test): Likewise.
2730 (y1_test): Likewise.
2731 * sysdeps/i386/fpu/libm-test-ulps: Update.
2732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2733
11b90b9f
JM
2734 [BZ #13851]
2735 [BZ #13854]
2736 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2737 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2738 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2739 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2740 (__tanl): Set errno for infinite argument.
2741 * sysdeps/i386/fpu/mptan.c: Remove.
2742 * sysdeps/i386/fpu/s_tan.S: Likewise.
2743 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2744 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2745 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2746 * math/libm-test.inc (tan_test): Add more tests and enable more
2747 tests for double and long double.
2748 * sysdeps/i386/fpu/libm-test-ulps: Update.
2749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2750
6a1bd2a1
JK
27512012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2752
2753 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2754 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2755
10a803e0
RM
27562012-03-16 Roland McGrath <roland@hack.frob.com>
2757
2758 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2759 * configure.in: Use it for both main tree and add-ons.
2760 * configure: Regenerated.
2761
f196c7f7
L
27622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2763
2764 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2765
8848d99d
JM
27662012-03-16 Joseph Myers <joseph@codesourcery.com>
2767
96cbe7f4
JM
2768 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2769 in comment.
2770
8848d99d
JM
2771 [BZ #13851]
2772 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2773 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2774 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2775 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2776 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2777 infinite argument.
2778 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2779 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2780 != 0 for prec == 2.
2781 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2782 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2783 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2784 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2785 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2786 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2787 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2788 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2789 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2790 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2791 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2792 * math/libm-test.inc (cos_test): Add more tests and enable more
2793 tests for long double.
2794 (sin_test): Likewise.
2795 (sincos_test): Likewise.
2796 * sysdeps/i386/fpu/libm-test-ulps: Update.
2797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2798
dd7f4703
DM
27992012-03-16 David S. Miller <davem@davemloft.net>
2800
2801 * sysdeps/sparc/fpu/math_private.h: New file.
2802
006f1daa
DM
28032012-03-15 David S. Miller <davem@davemloft.net>
2804
c0c83bc8
DM
2805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2806 file.
e6a62e18 2807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
2808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2809 file.
e6a62e18
DM
2810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2816 sysdep routines.
2817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2818
88cb87d9
DM
2819 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2820 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2821
006f1daa 2822 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
2823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2824 sparc-ifunc.h
006f1daa 2825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
2826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2827 Likewise.
2828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2829 Likewise.
006f1daa
DM
2830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
2833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2834 Likewise.
006f1daa
DM
2835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
2839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2840 Likewise.
2841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2842 Likewise.
006f1daa
DM
2843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2853 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2861 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2863 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2865 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2866 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2867
11e0098e
AS
28682012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2869
2870 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2871 scaling.
2872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2873
e85b09d0
AJ
28742012-03-15 Andreas Jaeger <aj@suse.de>
2875
2876 [BZ #13852]
2877 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2878 ieee754/flt-32 implementation for sin, cos and sincos.
2879 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2880 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2881 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2882 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2883 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2884 ieee754/flt-32 implementation for tan.
2885
2886 * math/libm-test.inc (cos_test): Enable some large input tests for
2887 float as well
2888 (sin_test): Likewise.
2889 (sincos_test): Likewise.
2890 (tan_test): Add tests for large input.
2891
2892 * sysdeps/i386/fpu/libm-test-ulps: Update.
2893
81c64153
AJ
28942012-03-15 Andreas Jaeger <aj@suse.de>
2895
2896 [BZ #13658]
2897 * math/libm-test.inc (cos_test): Add more test cases.
2898 (sin_test): Likewise.
2899 (sincos_test): Likewise.
2900
7bbfa5c6
AJ
29012012-03-15 Andreas Jaeger <aj@suse.de>
2902
2903 [BZ #13837]
2904 * math/libm-test.inc (cos_test): Add a test case for large input
2905 value.
2906 (sin_test): Likewise.
2907 (sincos_test): Likewise.
2908
29092012-03-15 Andreas Jaeger <aj@suse.de>,
2910 Joseph Myers <joseph@codesourcery.com>
2911
2912 [BZ #13658]
0671f479 2913 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
2914 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2915 * sysdeps/i386/fpu/branred.c: Likewise.
2916 * sysdeps/i386/fpu/dosincos.c: Likewise.
2917 * sysdeps/i386/fpu/mpa.c: Likewise.
2918 * sysdeps/i386/fpu/s_cos.S: Likewise.
2919 * sysdeps/i386/fpu/s_sin.S: Likewise.
2920 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2921 * sysdeps/i386/fpu/sincos32.c: Likewise.
2922
2923 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2924 Define.
2925 (libc_feupdateenv_53bit): Define.
2926 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2927 Define.
2928 (libc_feupdateenv_53bit): Define.
2929
2930 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2931 53 bit (without extend i386 double precision).
2932
2933 * math/libm-test.inc (sincos_test): Add tests for large input.
2934 (sin): Likewise.
2935 (cos): Likewise.
2936
2937 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2938
9cad04ea
AS
29392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2940
2941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2942
f7062b9a
DM
29432012-03-15 David S. Miller <davem@davemloft.net>
2944
2945 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2946 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2947 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2948 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
2960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2961 file.
f7062b9a 2962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
2963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2964 file.
f7062b9a 2965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
2966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2967 file.
f7062b9a 2968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
2969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2970 file.
f7062b9a
DM
2971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2972 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2973 fmin/fmax sysdep routines.
2974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2975
7bd951ff
DM
29762012-03-14 David S. Miller <davem@davemloft.net>
2977
559398ab
DM
2978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2982 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2983 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2984 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2985 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2992 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2998 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2999 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3000 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3001 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3002 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3003 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3004 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3005 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3006 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3007 routines.
3008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3009 file.
559398ab 3010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3012 file.
559398ab 3013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3015 file.
559398ab 3016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3018 file.
559398ab 3019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3021 file.
559398ab 3022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3024 file.
3025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3026 file.
3027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3028 file.
3029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3030 file.
3031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3032 New file.
3033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3034 file.
3035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3036 file.
559398ab 3037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3039 file.
559398ab 3040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3042 file.
559398ab 3043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3045 file.
559398ab 3046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3048 VIS3 routines.
559398ab
DM
3049
3050 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3051 New file.
3052
5a1c1e32
DM
3053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3054
eae47a36
DM
3055 * sysdeps/sparc/configure.in: New file.
3056 * sysdeps/sparc/configure: Generate.
3057 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3058 * configure: Regenerate.
3059 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3060 * config.make.in (have-as-vis3): New.
3061 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3062 available use -Av9d instead of -Av9a.
3063 * sysdeps/sparc/sparc64/Makefile: Likewise.
3064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3066 New file.
3067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3068 file.
3069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3070 New file.
3071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3072 file.
eae47a36
DM
3073 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3074 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3075 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3076 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3077 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3078
c0c83bc8
DM
3079 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3080 fzeros/fnegs to load 0x80000000 into a float register instead of
3081 using the stack.
7bd951ff
DM
3082 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3083
bd951ccb
JM
30842012-03-14 Joseph Myers <joseph@codesourcery.com>
3085
3086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3087 bits/syscall.h.
3088 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3089 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3090 ($(inst_includedir)/bits/syscall.h): Remove rule.
3091 ($(objpfx)bits/syscall.d): Include instead of
3092 $(objpfx)syscall-list.d.
3093 (generated): Change syscall-list.h and syscall-list.d to
3094 bits/syscall.h and bits/syscall.d.
3095
bb4e6db2
RM
30962012-03-14 Roland McGrath <roland@hack.frob.com>
3097
3098 [BZ #13846]
3099 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3100
aa4a2ae1
JM
31012012-03-14 Joseph Myers <joseph@codesourcery.com>
3102
e456826d
JM
3103 [BZ #13841]
3104 * math/s_csqrt.c: Include <float.h>.
3105 (__csqrt): Scale large or subnormal inputs.
3106 * math/s_csqrtf.c: Likewise.
3107 * math/s_csqrtl.c: Likewise.
3108 * math/libm-test.inc (csqrt_test): Add more tests.
3109 * sysdeps/i386/fpu/libm-test-ulps: Update.
3110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3111
aa4a2ae1
JM
3112 [BZ #13840]
3113 * math/libm-test.inc (hypot_test): Add more tests.
3114
7c10fd35
DM
31152012-03-13 David S. Miller <davem@davemloft.net>
3116
3117 [BZ #13840]
3118 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3119 double-precision for the calculation instead of scaling.
3120
f453b98b
JM
31212012-03-13 Joseph Myers <joseph@codesourcery.com>
3122
3123 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3124 manipulate bits before adding and subtracting TWO52[sx].
3125 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3126 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3127 Likewise.
3128 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3129
09a3453f
DM
31302012-03-13 David S. Miller <davem@davemloft.net>
3131
8e59da90
DM
3132 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3133 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3134 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3135 rtld-global-offsets.h
3136 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3137
2a8ab7f2
DM
3138 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3139 large parameters.
3140
10f62770
DM
3141 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3142
5f0bdb18
DM
3143 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3144 'err' in the ifdef scope in which it is actually used.
3145
09a3453f
DM
3146 * nss/nss_db/db-init.c: Include string.h
3147
b4b2eb5e
DM
31482012-03-12 David S. Miller <davem@davemloft.net>
3149
98bb2f1c
DM
3150 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3151 masking out of the most significant byte of random value used.
3152 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3153 Fix coding style in previous change.
3154
b4b2eb5e
DM
3155 * sysdeps/unix/sysv/linux/kernel-features.h
3156 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3157 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3158 expression.
3159 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3160 later.
3161
6e226b09
DM
31622012-03-11 David S. Miller <davem@davemloft.net>
3163
a1bcbd40
DM
3164 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3165 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3166 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3167 for 'resultvar' otherwise things get truncated on 64-bit.
3168
cb9d6174
DM
3169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3170 Fix masking out of the most significant byte of random value used.
3171
6e226b09
DM
3172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3173
058c132d
AS
31742012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3175
3176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3177
2d2cd515
DM
31782012-03-09 David S. Miller <davem@davemloft.net>
3179
3180 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3181 variables with appropriate CPP guards.
3182 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3183 frame pointer, not the stack pointer. Correct layout comments. Fix test
3184 on resulting framesize and the management of the outregs buffer for pltexit.
3185 Preserve floating point return values across _dl_call_pltexit call.
3186 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3187 framesize and the management of the outregs buffer for pltexit.
3188 Preserve floating point return values across _dl_call_pltexit
3189 call.
3190 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3191 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3192 (print_exit): Fix format string for return register value.
3193
9a07f9d0
JM
31942012-03-10 Joseph Myers <joseph@codesourcery.com>
3195
3196 * sunrpc/Makefile (others): Add rpcgen.
3197 ($(objpfx)rpcgen): Remove special build rule and dependency on
3198 libc.
3199 * sunrpc/rpcgen.c: New file.
3200
547b5e30
PE
32012012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3202
c524201a
PE
3203 [BZ #13673]
3204 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3205 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3206 * sysdeps/i386/crti.S: Likewise.
3207 * sysdeps/i386/crtn.S: Likewise.
3208 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3209 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3210 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3211 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3212 * sysdeps/sh/crti.S: Likewise.
3213 * sysdeps/sh/crtn.S: Likewise.
3214 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3215
7b6235f2
PE
3216 [BZ #13673]
3217 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3218 with URL.
3219 * locale/programs/locfile-kw.gperf: Likewise.
3220 * locale/programs/charmap-kw.h: Regenerated.
3221 * locale/programs/locfile-kw.h: Likewise.
3222
547b5e30
PE
3223 [BZ #13673]
3224 * intl/plural.y: Replace FSF snail mail address with URL.
3225 * intl/plural.c: Regenerated.
3226
5f0a5dae
RH
32272012-03-09 Richard Henderson <rth@twiddle.net>
3228
3229 * include/math_private.h: Remove file.
3230 * math/math_private.h: Move file ...
3231 * sysdeps/generic/math_private.h: ... here.
3232
b8c03620
RH
3233 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3234 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3235 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3236
4e234f5d 3237 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3238 and <math_private.h>.
3239 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3240 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3241 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3242 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3243 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3244 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3245 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3246 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3247 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3248 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3249 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3250 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3251 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3252 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3253 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3254 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3255 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3256 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3257 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3258 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3259 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3260 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3261 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3263 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3264 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3265 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3266 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3268 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3269 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3270 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3271 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3272 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3273 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3274 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3275 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3276 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3277 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3278 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3279 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3280 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3281 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3282 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3283 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3284 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3285 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3286 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3287 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3288 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3289 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3290 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3291 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3292 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3296 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3297 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3298 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3299 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3300 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3301 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3302 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3303 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3304 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3305 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3306 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3307 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3308 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3309 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3310 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3311 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3312 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3313 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3314 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3315 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3316 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3317 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3318 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3319 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3320 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3321 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3322 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3323 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3324 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3325 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3326 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3327 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3328 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3329 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3330 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3332 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3333 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3334 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3335 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3336 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3337 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3338 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3339 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3340 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3341 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3342 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3343 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3344 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3345 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3346 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3347 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3348 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3349 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3350 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3351 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3352 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3353 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3354 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3355 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3356 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3357 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3358 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3359 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3360 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3361 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3362 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3363 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3364 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3365 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3366 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3367 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3368 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3369 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3370 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3371 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3372 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3373 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3374 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3375 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3376 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3377 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3378 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3379 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3380 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3381 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3382 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3383 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3384 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3385 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3386 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3387 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3388 * sysdeps/ieee754/k_standard.c: Likewise.
3389 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3390 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3391 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3392 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3393 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3394 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3395 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3396 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3397 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3398 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3399 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3400 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3401 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3402 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3403 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3404 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3405 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3406 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3407 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3408 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3409 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3410 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3411 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3412 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3413 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3414 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3415 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3416 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3417 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3418 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3419 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3420 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3421 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3422 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3423 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3424 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3425 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3426 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3427 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3428 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3429 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3430 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3431 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3432 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3433 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3434 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3435 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3436 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3437 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3438 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3439 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3440 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3441 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3442 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3443 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3444 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3445 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3446 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3447 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3448 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3449 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3450 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3451 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3452 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3455 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3456 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3457 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3458 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3460 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3461 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3462 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3463 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3464 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3465 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3466 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3467 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3468 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3469 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3470 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3471 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3472 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3473 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3474 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3475 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3476 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3477 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3478 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3479 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3480 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3481 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3482 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3483 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3484 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3485 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3486 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3487 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3488 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3489 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3490 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3491 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3492 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3493 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3494 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3495 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3496 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3497 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3498 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3499 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3500 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3501 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3502 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3503 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3504 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3505 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3506 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3507 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3508 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3509 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3510 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3511 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3512 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3513 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3514 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3515 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3516 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3517 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3518 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3519 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3520 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3521 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3522 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3523 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3524 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3525 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3526 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3527 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3528 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3529 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3530 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3531 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3532 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3533 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3534 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3535 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3536 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3537 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3538 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3539 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3540 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3541 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3542 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3543 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3544 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3545 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3546 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3547 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3548 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3549 * sysdeps/ieee754/s_lib_version.c: Likewise.
3550 * sysdeps/ieee754/s_matherr.c: Likewise.
3551 * sysdeps/ieee754/s_signgam.c: Likewise.
3552 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3553 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3554 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3555 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3556 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3557 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3558 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3559 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3560 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3561 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3562 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3563 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3564 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3565 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3566 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3567 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3568 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3569 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3570 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3571 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3572 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3573
1991fa03
JM
35742012-03-09 Joseph Myers <joseph@codesourcery.com>
3575
3576 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3577 * sunrpc/rpc_main.c: Likewise.
3578 * sunrpc/rpc_svcout.c: Likewise.
3579
60d6f5a6
DM
35802012-03-09 David S. Miller <davem@davemloft.net>
3581
3582 * include/math_private.h: New file.
3583
4962050e
JM
35842012-03-09 Joseph Myers <joseph@codesourcery.com>
3585
02a6f887
JM
3586 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3587 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3588 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3589 from <bits/socket_type.h>.
3590 (enum __socket_type): Don't define here.
3591 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3593 bits/socket_type.h.
3594
c6e013c1
JM
3595 [BZ #13566]
3596 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3597 checking __USE_GNU.
3598
4962050e
JM
3599 * Makerules ($(inst_includedir)/%.h): New rule.
3600 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3601 (install-others): Remove variable setting.
3602 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3603
38842f45
RH
36042012-03-08 Richard Henderson <rth@twiddle.net>
3605
67bb6da6
RH
3606 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3607 from macro to inline function; merge with the
3608 !__LIBC_INTERNAL_MATH_INLINES version.
3609 (__ieee754_sqrtf): Likewise.
3610
15194b4b
RH
3611 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3612 to inline function.
3613 (__rintf, __floor, __floorf): Likewise.
3614
64e21ede
RH
3615 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3616 macro to inline function.
3617 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3618
38842f45
RH
3619 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3620 not <math/math_private.h>.
3621
c64bf5fe
DM
36222012-03-08 David S. Miller <davem@davemloft.net>
3623
3624 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3625 copyright year.
3626 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3627
82d86f28
TS
36282012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3629
3630 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3631 normalization.
3632 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3633 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3634
aea5d727
UD
36352012-03-08 Ulrich Drepper <drepper@gmail.com>
3636
3637 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3638 be defined individually, they must be defined as a block. Define
3639 S for printing a string instead of hidint the different by using a
3640 macro for adding the 'l'.
3641 * stdio-common/tst-fphex-wide.c: Adjust.
3642
70bca0a3
MP
36432012-03-07 Marek Polacek <polacek@redhat.com>
3644
3645 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3646
65b81130
MP
36472012-03-08 Marek Polacek <polacek@redhat.com>
3648
3649 [BZ #13806]
3650 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3651 * stdio-common/tst-fphex.c: Define a few macros to make the
3652 test reusable. Use them.
3653 * stdio-common/tst-fphex-wide.c: New file.
3654
07037eeb
JM
36552012-03-08 Joseph Myers <joseph@codesourcery.com>
3656
a7a93d50
JM
3657 [BZ #6911]
3658 * manual/macros.texi (gnusystems): New macro.
3659 (nongnusystems): Likewise.
3660 (gnulinuxhurdsystems): Likewise.
3661 (gnuhurdsystems): Likewise..
3662 (gnulinuxsystems): Likewise.
3663 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3664 variants of the GNU system, not "GNU system".
3665 * manual/conf.texi: Likewise.
3666 * manual/errno.texi: Likewise. Update example of errno macro
3667 expansion.
3668 * manual/filesys.texi: Likewise.
3669 (getumask): Document as specific to GNU/Hurd.
3670 * manual/install.texi: Likewise. Reword some references to
3671 GNU/Linux.
3672 * manual/intro.texi: Likewise.
3673 * manual/io.texi: Likewise.
3674 (File Name Portability): Detail which constraints are inapplicable
3675 to all GNU systems and which are only inapplicable to GNU/Hurd.
3676 * manual/job.texi: Likewise.
3677 * manual/llio.texi: Likewise.
3678 (O_NOCTTY): Document as present on GNU/Linux.
3679 * manual/maint.texi: Likewise.
3680 * manual/memory.texi: Likewise.
3681 * manual/pattern.texi: Likewise.
3682 * manual/pipe.texi: Likewise.
3683 * manual/process.texi: Likewise.
3684 * manual/resource.texi: Likewise.
3685 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3686 child on GNU/Hurd.
3687 * manual/setjmp.texi: Likewise.
3688 * manual/signal.texi: Likewise.
3689 * manual/startup.texi: Likewise.
3690 * manual/stdio.texi: Likewise.
3691 * manual/terminal.texi: Likewise.
3692 (ONLCR): Document as POSIX.
3693 (OXTABS): Document availability on GNU/Linux as XTABS.
3694 (ONOEOT): Document availability separately from other bits.
3695 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3696 * manual/time.texi: Likewise.
3697 * manual/users.texi: Likewise.
3698 * INSTALL: Regenerated.
3699 * sysdeps/gnu/errlist.c: Regenerated.
3700
07037eeb
JM
3701 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3702 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3703 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3704 puts.
3705 * configure: Regenerated.
3706
d1d3431a
JM
37072012-03-07 Joseph Myers <joseph@codesourcery.com>
3708
af6a1e37
JM
3709 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3710 default includes instead of AC_HEADER_CHECK.
3711 * sysdeps/i386/configure: Regenerated.
3712
d1d3431a
JM
3713 [BZ #10716]
3714 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3715 * math/s_cacoshf.c (__cacoshf): Likewise.
3716 * math/s_cacoshl.c (__cacoshl): Likewise.
3717 * math/s_casinh.c (__casinh): Set signs of result from argument.
3718 * math/s_casinhf.c (__casinhf): Likewise.
3719 * math/s_casinhl.c (__casinhl): Likewise.
3720 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3721 (casinh_test): Add more tests.
3722 * sysdeps/i386/fpu/libm-test-ulps: Update.
3723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3724
482ff4da
UD
37252012-03-07 Ulrich Drepper <drepper@gmail.com>
3726
872fda05
UD
3727 * po/zh_TW.po: Update from translation team.
3728
a4300c7a
UD
3729 * login/Makefile (distribute): Remove variable.
3730 * catgets/Makefile: Likewise.
3731 * mach/Makefile: Likewise.
3732 * malloc/Makefile: Likewise.
3733 * misc/Makefile: Likewise.
3734 * iconv/Makefile: Likewise.
3735 * nscd/Makefile: Likewise.
3736 * hurd/Makefile: Likewise.
3737 * manual/Makefile: Likewise.
3738 * locale/Makefile: Likewise.
3739 * intl/Makefile: Likewise.
3740 * conform/Makefile: Likewise.
3741 * nss/Makefile: Likewise.
3742 * time/Makefile: Likewise.
3743 * soft-fp/Makefile: Likewise.
3744 * dirent/Makefile: Likewise.
3745 * gmon/Makefile: Likewise.
3746 * po/Makefile: Likewise.
3747 * rt/Makefile: Likewise.
3748 * socket/Makefile: Likewise.
3749 * math/Makefile: Likewise.
3750 * signal/Makefile: Likewise.
3751 * debug/Makefile: Likewise.
3752 * elf/Makefile: Likewise.
3753 * timezone/Makefile: Likewise.
3754 * stdlib/Makefile: Likewise.
3755 * iconvdata/Makefile: Likewise.
3756 * sunrpc/Makefile: Likewise.
3757 * io/Makefile: Likewise.
3758 * argp/Makefile: Likewise.
3759 * inet/Makefile: Likewise.
3760 * hesiod/Makefile: Likewise.
3761 * grp/Makefile: Likewise.
3762 * csu/Makefile: Likewise.
3763 * wctype/Makefile: Likewise.
3764 * crypt/Makefile: Likewise.
3765 * libio/Makefile: Likewise.
3766 * string/Makefile: Likewise.
3767 * nis/Makefile: Likewise.
3768 * resolv/Makefile: Likewise.
3769 * stdio-common/Makefile: Likewise.
3770 * wcsmbs/Makefile: Likewise.
3771 * dlfcn/Makefile: Likewise.
3772 * posix/Makefile: Likewise.
3773
3b7c4e74 3774 [BZ #6959]
482ff4da
UD
3775 * timezone/Makefile: Don't install timezone files, just the programs
3776 and scripts.
3777
f72ed77d
UD
37782012-03-06 Ulrich Drepper <drepper@gmail.com>
3779
a000466f
UD
3780 * nss/databases.def: Add missing gshadow entry.
3781
f72ed77d
UD
3782 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3783
a53b7a4e
MP
37842012-03-06 Marek Polacek <polacek@redhat.com>
3785
3786 [BZ #13726]
3787 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3788 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3789 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3790 * stdio-common/tst-long-dbl-fphex.c: New file.
3791
e9258400
DM
37922012-03-06 David S. Miller <davem@davemloft.net>
3793
3794 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3795 (set_obp_int): New function.
3796 (get_obp_int): New function.
3797 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
3798 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3799 Avoid unused variable warnings on 'val' and use builtin_expect.
3800 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3801 __builtin_expect.
e9258400
DM
3802 (INLINE_CLONE_SYSCALL): Likewise.
3803
3bd2c723
DM
38042012-03-05 David S. Miller <davem@davemloft.net>
3805
3806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3807
bbb78d03
AS
38082012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3809
884c5db4
AS
3810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3811
bbb78d03
AS
3812 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3813 only for |x| >= 40.
3814 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3815
1c9f702a 38162012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
3817
3818 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3819 Replace gettimeofday with __vdso_gettimeofday.
3820
7be16f82
RM
3821 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3822 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3823 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
3824
3825 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3826 time with __vdso_time.
3827
ed58a00f
JM
38282012-03-05 Joseph Myers <joseph@codesourcery.com>
3829
3830 * manual/lang.texi (size_t): Note types to which size_t may be
3831 equivalent with the GNU C Library, but do not describe when
3832 differences between them are significant.
3833
30ee4ced
AJ
38342012-03-05 Andreas Jaeger <aj@suse.de>
3835
3836 * sysdeps/i386/fpu/libm-test-ulps: Update.
3837
b7cd39e8
JM
38382012-03-05 Joseph Myers <joseph@codesourcery.com>
3839
3840 [BZ #3976]
3841 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3842 (__ieee754_pow): Save and restore rounding mode and use
3843 round-to-nearest for main computations.
3844 * math/libm-test.inc (pow_test_tonearest): New function.
3845 (pow_test_towardzero): Likewise.
3846 (pow_test_downward): Likewise.
3847 (pow_test_upward): Likewise.
3848 (main): Call the new functions.
3849 * sysdeps/i386/fpu/libm-test-ulps: Update.
3850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
3851
3852 [BZ #3976]
3853 * math/libm-test.inc (cosh_test_tonearest): New function.
3854 (cosh_test_towardzero): Likewise.
3855 (cosh_test_downward): Likewise.
3856 (cosh_test_upward): Likewise.
3857 (sinh_test_tonearest): Likewise.
3858 (sinh_test_towardzero): Likewise.
3859 (sinh_test_downward): Likewise.
3860 (sinh_test_upward): Likewise.
3861 (main): Call the new functions.
3862 * sysdeps/i386/fpu/libm-test-ulps: Update.
3863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3864
6c6a98c9
TV
38652012-03-05 Tom de Vries <tom@codesourcery.com>
3866
3867 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3868 default stack guard is set in last bytes.
3869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3870
21bb2d2e 38712012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 3872
21bb2d2e 3873 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 3874
21bb2d2e
AJ
3875 [BZ #13656]
3876 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3877 possibly allocate from heap instead of stack.
3878 * stdio-common/bug-vfprintf-nargs.c: New file.
3879 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 3880
c6922934
AS
38812012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3882
3883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3884
bc957d53
MP
38852012-03-03 Marek Polacek <polacek@redhat.com>
3886
3887 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3888 * math/math_private.h: Likewise.
3889 * stdlib/tst-strtod.c: Likewise.
3890 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3891 * sysdeps/x86_64/bits/atomic.h: Likewise.
3892
6358490d
DM
38932012-03-02 David S. Miller <davem@davemloft.net>
3894
3895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3899 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3900 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3901 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3902 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3903
01ae168d
RM
39042012-03-02 Roland McGrath <roland@hack.frob.com>
3905
d9a17c07
RM
3906 [BZ #13792]
3907 * manual/examples/README: New file, says the example source files
3908 can be used under GPL>=2.
3909 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3910 line containing just "*/".
3911 * manual/examples/add.c: Add copyright header (GPL>=2).
3912 * manual/examples/argp-ex1.c: Likewise.
3913 * manual/examples/argp-ex2.c: Likewise.
3914 * manual/examples/argp-ex3.c: Likewise.
3915 * manual/examples/argp-ex4.c: Likewise.
3916 * manual/examples/atexit.c: Likewise.
3917 * manual/examples/db.c: Likewise.
3918 * manual/examples/dir.c: Likewise.
3919 * manual/examples/dir2.c: Likewise.
3920 * manual/examples/execinfo.c: Likewise.
3921 * manual/examples/filecli.c: Likewise.
3922 * manual/examples/filesrv.c: Likewise.
3923 * manual/examples/fmtmsgexpl.c: Likewise.
3924 * manual/examples/genpass.c: Likewise.
3925 * manual/examples/inetcli.c: Likewise.
3926 * manual/examples/inetsrv.c: Likewise.
3927 * manual/examples/isockad.c: Likewise.
3928 * manual/examples/longopt.c: Likewise.
3929 * manual/examples/memopen.c: Likewise.
3930 * manual/examples/memstrm.c: Likewise.
3931 * manual/examples/mkfsock.c: Likewise.
3932 * manual/examples/mkisock.c: Likewise.
3933 * manual/examples/mygetpass.c: Likewise.
3934 * manual/examples/pipe.c: Likewise.
3935 * manual/examples/popen.c: Likewise.
3936 * manual/examples/rprintf.c: Likewise.
3937 * manual/examples/search.c: Likewise.
3938 * manual/examples/select.c: Likewise.
3939 * manual/examples/setjmp.c: Likewise.
3940 * manual/examples/sigh1.c: Likewise.
3941 * manual/examples/sigusr.c: Likewise.
3942 * manual/examples/stpcpy.c: Likewise.
3943 * manual/examples/strdupa.c: Likewise.
3944 * manual/examples/strftim.c: Likewise.
3945 * manual/examples/strncat.c: Likewise.
3946 * manual/examples/subopt.c: Likewise.
3947 * manual/examples/swapcontext.c: Likewise.
3948 * manual/examples/termios.c: Likewise.
3949 * manual/examples/testopt.c: Likewise.
3950 * manual/examples/testpass.c: Likewise.
3951 * manual/examples/timeval_subtract.c: Likewise.
3952
01ae168d
RM
3953 [BZ #13792]
3954 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3955 function to ...
3956 * manual/timeval_subtract.c.texi: ... here, new file.
3957
49efa33d
DM
39582012-03-02 David S. Miller <davem@davemloft.net>
3959
3960 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3961
28afd92d
JM
39622012-03-02 Joseph Myers <joseph@codesourcery.com>
3963
804360ed
JM
3964 [BZ #3976]
3965 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3966 (__sin): Save and restore rounding mode and use round-to-nearest
3967 for all computations.
3968 (__cos): Save and restore rounding mode and use round-to-nearest
3969 for all computations.
3970 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3971 <fenv.h>.
3972 (tan): Save and restore rounding mode and use round-to-nearest for
3973 all computations.
3974 * math/libm-test.inc (cos_test_tonearest): New function.
3975 (cos_test_towardzero): Likewise.
3976 (cos_test_downward): Likewise.
3977 (cos_test_upward): Likewise.
3978 (sin_test_tonearest): Likewise.
3979 (sin_test_towardzero): Likewise.
3980 (sin_test_downward): Likewise.
3981 (sin_test_upward): Likewise.
3982 (tan_test_tonearest): Likewise.
3983 (tan_test_towardzero): Likewise.
3984 (tan_test_downward): Likewise.
3985 (tan_test_upward): Likewise.
3986 (main): Call the new functions.
3987 * sysdeps/i386/fpu/libm-test-ulps: Update.
3988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3989
a6d06d7b
JM
3990 [BZ #10135]
3991 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3992 small n, then large n, before computing and testing k+n.
3993 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3994 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3995 Likewise.
3996 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3997 Likewise.
3998 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3999 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4000 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4001 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4002 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4003 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4004 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4005 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4006 * math/libm-test.inc (scalbn_test): Add more tests.
4007 (scalbln_test): Likewise.
4008
07e12bb3
JM
4009 * manual/filesys.texi (mode_t): Describe constraints on size and
4010 signedness, not exact equivalence to a particular type.
4011 (ino_t): Likewise.
4012 (ino64_t): Likewise.
4013 (dev_t): Likewise.
4014 (nlink_t): Likewise.
4015 (blkcnt_t): Likewise.
4016 (blkcnt64_t): Likewise.
4017 * manual/llio.texi (off_t): Likewise.
4018
28afd92d
JM
4019 [BZ #3976]
4020 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4021 (__ieee754_exp): Save and restore rounding mode and use
4022 round-to-nearest for all computations.
4023 * math/libm-test.inc (exp_test_tonearest): New function.
4024 (exp_test_towardzero): Likewise.
4025 (exp_test_downward): Likewise.
4026 (exp_test_upward): Likewise.
4027 (main): Call the new functions.
4028 * sysdeps/i386/fpu/libm-test-ulps: Update.
4029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4030
b1eeb65d
CD
40312012-03-01 Chris Demetriou <cgd@google.com>
4032
4033 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4034 have predictable order.
4035
53362a4b
DM
40362012-03-01 David S. Miller <davem@davemloft.net>
4037
3c969083
DM
4038 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4039
759707de
DM
4040 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4041 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4042 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4043 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4044
dfdb8ff2
DM
4045 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4046 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4047 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4049 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4050 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4051 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4052 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4053 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4054
ead89f96
DM
4055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4056
7f66bd07
DM
4057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4058 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4059 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4060
53362a4b
DM
4061 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4062 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4063 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4064 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4065 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4066 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4067 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4068 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4069 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4070 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4071 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4072 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4073 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4074 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4075 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4077 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4078 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4079 * sysdeps/sparc/elf/configure: Regenerated.
4080
7b1902cb
JM
40812012-03-01 Joseph Myers <joseph@codesourcery.com>
4082
bec039bc
JM
4083 * configure.in (AS, LD): Require binutils 2.20 or later.
4084 * configure: Regenerated.
4085 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4086 as required minimum version.
4087 * INSTALL: Regenerated.
4088
7b1902cb
JM
4089 [BZ #2541]
4090 [BZ #4108]
4091 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4092 before squaring exponent.
4093 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4094 bottom long double and 27 bits of top long double before squaring
4095 exponent.
4096 * math/libm-test.inc (erfc_test): Add more tests.
4097 * sysdeps/i386/fpu/libm-test-ulps: Update.
4098 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4100
f775c276
KT
41012012-03-01 Kai Tietz <ktietz@redhat.com>
4102
4103 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4104 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4105 containing bit-fields.
4106 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4107 * soft-fp/single.h (_FP_UNION_S): Likewise.
4108 * soft-fp/double.h (_FP_UNION_D): Likewise.
4109
5b8a4d4a
JM
41102012-02-29 Joseph Myers <joseph@codesourcery.com>
4111
0bab47b6
JM
4112 [BZ #13786]
4113 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4114 not include ../strcmp.S.
4115 [USE_AS_STRNCASECMP_L]: Likewise.
4116 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4117 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4118 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4119 (__strncasecmp_l_ia32): Define as alias to
4120 __strncasecmp_l_nonascii.
4121
0fcad3e2
JM
4122 [BZ #5794]
4123 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4124 * sysdeps/i386/fpu/libm-test-ulps: Update.
4125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4126
5b8a4d4a
JM
4127 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4129
8fdceb2e
JL
41302012-02-29 Jeff Law <law@redhat.com>
4131
4132 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4133 out of bounds read.
4134
1f393a11
MP
41352012-02-29 Marek Polacek <polacek@redhat.com>
4136
4137 [BZ #13706]
4138 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4139 * elf/Makefile: Add rules to run tst-unused-dep.out.
4140
8847f037
DM
41412012-02-28 David S. Miller <davem@davemloft.net>
4142
4143 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4144 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4145 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4146 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4147 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4148 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4149
169d7f11
JM
41502012-02-29 Joseph Myers <joseph@codesourcery.com>
4151
4152 * math/libm-test.inc (llround_test): Move one test from
4153 lround_test. Use TEST_f_L in moved test.
4154 (lround_test): Move misplaced test to llround_test. Add testcase
4155 from bug 2561.
4156
39adf059
UD
41572012-02-28 Ulrich Drepper <drepper@gmail.com>
4158
4159 * sysdeps/x86_64/fpu/e_expf.S: New file.
4160 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4161
71b5d1c5
SB
41622012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4163
4164 [BZ #13637]
4165 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4166 of remain_len that may cause incomplete multi-byte character and
4167 false match.
4168 * posix/bug-regex33.c: New file.
4169 * posix/Makefile (tests): Add bug-regex33.
4170
1f77f049
JM
41712012-02-28 Joseph Myers <joseph@codesourcery.com>
4172
4173 * manual/macros.texi: New file.
4174 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4175 * manual/libc.texinfo: Include macros.texi.
4176 * manual/creatute.texi: Likewise.
4177 * manual/install.texi: Likewise.
4178 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4179 @glibcadj{} in references to the GNU C Library.
4180 * manual/charset.texi: Likewise.
4181 * manual/conf.texi: Likewise.
4182 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4183 when not using those macros.
4184 * manual/creature.texi: Likewise.
4185 * manual/crypt.texi: Likewise.
4186 * manual/errno.texi: Likewise.
4187 * manual/filesys.texi: Likewise.
4188 * manual/header.texi: Likewise.
4189 * manual/install.texi: Likewise.
4190 * manual/intro.texi: Likewise.
4191 * manual/io.texi: Likewise.
4192 * manual/job.texi: Likewise.
4193 * manual/lang.texi: Likewise.
4194 * manual/libc.texiinfo: Likewise.
4195 * manual/llio.texi: Likewise.
4196 * manual/locale.texi: Likewise.
4197 * manual/maint.texi: Likewise.
4198 * manual/math.texi: Likewise.
4199 * manual/memory.texi: Likewise.
4200 * manual/message.texi: Likewise.
4201 * manual/nss.texi: Likewise.
4202 * manual/pattern.texi: Likewise.
4203 * manual/process.texi: Likewise.
4204 * manual/resource.texi: Likewise.
4205 * manual/search.texi: Likewise.
4206 * manual/setjmp.texi: Likewise.
4207 * manual/signal.texi: Likewise.
4208 * manual/socket.texi: Likewise.
4209 * manual/startup.texi: Likewise.
4210 * manual/stdio.texi: Likewise.
4211 * manual/string.texi: Likewise.
4212 * manual/sysinfo.texi: Likewise.
4213 * manual/syslog.texi: Likewise.
4214 * manual/terminal.texi: Likewise.
4215 * manual/time.texi: Likewise.
4216 * manual/users.texi: Likewise.
4217 * INSTALL: Regenerated.
4218 * NOTES: Regenerated.
d40c5d54 4219 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4220
450bf206
AS
42212012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4222
4223 * include/dirent.h: Include <dirstream.h> before
4224 <dirent/dirent.h>.
4225
741a235b
DM
42262012-02-28 David S. Miller <davem@davemloft.net>
4227
4228 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4229 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4230 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4231 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4232
d6b5aa58
DM
42332012-02-27 David S. Miller <davem@davemloft.net>
4234
1aff59a3
DM
4235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4237 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4238 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4239
d6b5aa58
DM
4240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4241 frame pointer instead of stack pointer relative arg slot.
4242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4243 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4244 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4245
433f48bf
CD
42462012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4247
4248 [BZ #3992]
4249 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4250
d674b76d
DM
42512012-02-27 David S. Miller <davem@davemloft.net>
4252
4253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4257 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4258 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4259 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4260 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4261
0e7727f7
JM
42622012-02-27 Joseph Myers <joseph@codesourcery.com>
4263
4264 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4265 later. Allow versions 5-9.
43be4ca2 4266 * configure: Regenerated.
0e7727f7
JM
4267 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4268 required minimum version and 4.6 as recommended version. Do not
4269 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4270 * INSTALL: Regenerated.
0e7727f7 4271
a78bc654
DM
42722012-02-27 David S. Miller <davem@davemloft.net>
4273
428d5830
DM
4274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4278 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4279 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4280 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4281 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4282
a78bc654
DM
4283 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4284 manipulate bits before adding and subtracting TWO112[sx].
4285 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4286
4579f81c
RM
42872012-02-27 Roland McGrath <roland@hack.frob.com>
4288
36c8acb4
RM
4289 [BZ #13775]
4290 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4291 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4292 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4293 being in POSIX, because they are in 1003.1-2008.
4294
84ad622b
RM
4295 * rt/tst-aio.c: Include <fcntl.h>.
4296 * rt/tst-aio7.c: Likewise.
4297 * rt/tst-aio64.c: Likewise.
4298
4579f81c
RM
4299 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4300
abd923db
JM
43012012-02-27 Joseph Myers <joseph@codesourcery.com>
4302
4303 * manual/install.texi (--with-headers): Describe headers as
4304 interface headers, not private headers.
4305 (Specific advice for GNU/Linux systems): Describe use of headers
4306 from "make headers_install", not private headers from older
4307 kernels.
43be4ca2 4308 * INSTALL: Regenerated.
abd923db
JM
4309 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4310 Change to 2.6.19.
4311 * sysdeps/unix/sysv/linux/configure: Regenerated.
4312
6664049b
JM
4313 * manual/llio.texi (fclean): Remove documentation.
4314
bb8b6697
JM
4315 * manual/Makefile (libc-texi-generated): New variable. Include
4316 version.texi.
4317 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4318 $(libc-texi-generated), not duplicated list of files.
4319 (version.texi, stamp-version): New rules.
4320 (realclean): Remove $(libc-texi-generated), not individual files
4321 from that list. Do not remove dir-add.texinfo.
4322 * manual/libc.texinfo: Comment out uses of edition numbers and
4323 references to printed manual. Remove last-updated dates.
4324 (EDITION): Comment out.
4325 (ISBN): Likewise.
4326 (VERSION, UPDATED): Remove.
4327 (version.texi): Include.
4328
12e5c3b9
AS
43292012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4330
4331 * sysdeps/posix/spawni.c: Include <signal.h>.
4332 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4333 * sysdeps/pthread/aio_fsync.c: Likewise.
4334
4efeffc1 43352012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4336
ba63ba08
UD
4337 * conform/Makefile (tests): Run only when not cross-compiling and
4338 when fast-check is not defined.
4339
d94a4670
UD
4340 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4341 * conform/data/limits.h-data: Fixes for POSIX2008.
4342 * conform/run-conformtest.sh: Run all tests.
4343 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4344 headers.
4345 * include/bits/dlfcn.h: Likewise.
4346 * include/langinfo.h: Likewise.
4347 * include/monetary.h: Likewise.
4348 * include/sys/poll.h: Likewise.
4349
4350 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4351 for __USE_GNU.
4352 * posix/spawn.h: Define __need_sigset_t.
4353 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4354 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4355 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4356 to get sigevent_t only.
4357 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4358 only for __USE_GNU.
4359 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4360 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4361 process_vm_writev only for __USE_GNU.
4362 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4363
4364 * conform/Makefile: For now ignore errors from run-conformtest.
4365 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4366 POSIX to avoid namespace pollution. Don't prepend headers.
4367 * conform/data/aio.h-data: Fixes for POSIX testing.
4368 * conform/data/fcntl.h-data: Likewise.
4369 * conform/data/glob.h-data: Likewise.
4370 * conform/data/grp.h-data: Likewise.
4371 * conform/data/pthread.h-data: Likewise.
4372 * conform/data/pwd.h-data: Likewise.
4373 * conform/data/signal.h-data: Likewise.
4374 * conform/data/spawn.h-data: Likewise.
4375 * conform/data/stdio.h-data: Likewise.
4376 * conform/data/stdlib.h-data: Likewise.
4377 * conform/data/stropts.h-data: Likewise.
4378 * conform/data/sys/mman.h-data: Likewise.
4379 * conform/data/sys/stat.h-data: Likewise.
4380 * conform/data/sys/types.h-data: Likewise.
4381 * conform/data/sys/wait.h-data: Likewise.
4382 * conform/data/time.h-data: Likewise.
4383 * conform/data/unistd.h-data: Likewise.
4384 * conform/data/utime.h-data: Likewise.
4385
4386 * io/sys/stat.h: fchmod was always in POSIX.
4387 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4388 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4389 * rt/aio.h: Define __need_timespec before including <time.h>.
4390 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4391 struct. Add forward declaration of pthread_attr_t and use it in
4392 sigevent.
4393 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4394 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4395 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4396 always remove CLK_TCK definition.
4397
c20105c3
AS
43982012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4399
4400 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4401
7a270350
UD
44022012-02-25 Ulrich Drepper <drepper@gmail.com>
4403
31341567
UD
4404 * conform/run-conformtest.sh: New file.
4405 * conform/Makefile: Run run-conformtest for tests.
4406 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4407 support.
4408
4409 * conform/data/uchar.h-data: New file.
4410 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4411 * conform/data/arpa/inet.h-data: Likewise.
4412 * conform/data/assert.h-data: Likewise.
4413 * conform/data/complex.h-data: Likewise.
4414 * conform/data/cpio.h-data: Likewise.
4415 * conform/data/ctype.h-data: Likewise.
4416 * conform/data/dirent.h-data: Likewise.
4417 * conform/data/dlfcn.h-data: Likewise.
4418 * conform/data/errno.h-data: Likewise.
4419 * conform/data/fcntl.h-data: Likewise.
4420 * conform/data/float.h-data: Likewise.
4421 * conform/data/fmtmsg.h-data: Likewise.
4422 * conform/data/fnmatch.h-data: Likewise.
4423 * conform/data/ftw.h-data: Likewise.
4424 * conform/data/glob.h-data: Likewise.
4425 * conform/data/grp.h-data: Likewise.
4426 * conform/data/iconv.h-data: Likewise.
4427 * conform/data/inttypes.h-data: Likewise.
4428 * conform/data/langinfo.h-data: Likewise.
4429 * conform/data/libgen.h-data: Likewise.
4430 * conform/data/limits.h-data: Likewise.
4431 * conform/data/locale.h-data: Likewise.
4432 * conform/data/math.h-data: Likewise.
4433 * conform/data/monetary.h-data: Likewise.
4434 * conform/data/mqueue.h-data: Likewise.
4435 * conform/data/ndbm.h-data: Likewise.
4436 * conform/data/net/if.h-data: Likewise.
4437 * conform/data/netdb.h-data: Likewise.
4438 * conform/data/netinet/in.h-data: Likewise.
4439 * conform/data/nl_types.h-data: Likewise.
4440 * conform/data/poll.h-data: Likewise.
4441 * conform/data/pthread.h-data: Likewise.
4442 * conform/data/pwd.h-data: Likewise.
4443 * conform/data/regex.h-data: Likewise.
4444 * conform/data/sched.h-data: Likewise.
4445 * conform/data/search.h-data: Likewise.
4446 * conform/data/semaphore.h-data: Likewise.
4447 * conform/data/setjmp.h-data: Likewise.
4448 * conform/data/signal.h-data: Likewise.
4449 * conform/data/spawn.h-data: Likewise.
4450 * conform/data/stdarg.h-data: Likewise.
4451 * conform/data/stdio.h-data: Likewise.
4452 * conform/data/stdlib.h-data: Likewise.
4453 * conform/data/string.h-data: Likewise.
4454 * conform/data/strings.h-data: Likewise.
4455 * conform/data/stropts.h-data: Likewise.
4456 * conform/data/sys/ipc.h-data: Likewise.
4457 * conform/data/sys/mman.h-data: Likewise.
4458 * conform/data/sys/msg.h-data: Likewise.
4459 * conform/data/sys/resource.h-data: Likewise.
4460 * conform/data/sys/select.h-data: Likewise.
4461 * conform/data/sys/sem.h-data: Likewise.
4462 * conform/data/sys/shm.h-data: Likewise.
4463 * conform/data/sys/socket.h-data: Likewise.
4464 * conform/data/sys/stat.h-data: Likewise.
4465 * conform/data/sys/statvfs.h-data: Likewise.
4466 * conform/data/sys/time.h-data: Likewise.
4467 * conform/data/sys/timeb.h-data: Likewise.
4468 * conform/data/sys/times.h-data: Likewise.
4469 * conform/data/sys/types.h-data: Likewise.
4470 * conform/data/sys/uio.h-data: Likewise.
4471 * conform/data/sys/un.h-data: Likewise.
4472 * conform/data/sys/utsname.h-data: Likewise.
4473 * conform/data/sys/wait.h-data: Likewise.
4474 * conform/data/syslog.h-data: Likewise.
4475 * conform/data/tar.h-data: Likewise.
4476 * conform/data/termios.h-data: Likewise.
4477 * conform/data/utime.h-data: Likewise.
4478 * conform/data/utmpx.h-data: Likewise.
4479 * conform/data/varargs.h-data: Likewise.
4480 * conform/data/wchar.h-data: Likewise.
4481 * conform/data/wctype.h-data: Likewise.
4482 * conform/data/wordexp.h-data: Likewise.
4483
4484 * include/stropts.h: New file.
4485 * include/uchar.h: New file.
4486 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4487 * include/assert.h: Likewise.
4488 * include/ctype.h: Likewise.
4489 * include/dirent.h: Likewise.
4490 * include/dlfcn.h: Likewise.
4491 * include/fcntl.h: Likewise.
4492 * include/fnmatch.h: Likewise.
4493 * include/glob.h: Likewise.
4494 * include/grp.h: Likewise.
4495 * include/libio.h: Likewise.
4496 * include/locale.h: Likewise.
4497 * include/math.h: Likewise.
4498 * include/net/if.h: Likewise.
4499 * include/netdb.h: Likewise.
4500 * include/netinet/in.h: Likewise.
4501 * include/pthread.h: Likewise.
4502 * include/pwd.h: Likewise.
4503 * include/regex.h: Likewise.
4504 * include/sched.h: Likewise.
4505 * include/search.h: Likewise.
4506 * include/setjmp.h: Likewise.
4507 * include/signal.h: Likewise.
4508 * include/stdio.h: Likewise.
4509 * include/stdlib.h: Likewise.
4510 * include/string.h: Likewise.
4511 * include/sys/cdefs.h: Likewise.
4512 * include/sys/mman.h: Likewise.
4513 * include/sys/msg.h: Likewise.
4514 * include/sys/resource.h: Likewise.
4515 * include/sys/select.h: Likewise.
4516 * include/sys/socket.h: Likewise.
4517 * include/sys/stat.h: Likewise.
4518 * include/sys/statvfs.h: Likewise.
4519 * include/sys/time.h: Likewise.
4520 * include/sys/times.h: Likewise.
4521 * include/sys/uio.h: Likewise.
4522 * include/sys/utsname.h: Likewise.
4523 * include/sys/wait.h: Likewise.
4524 * include/termios.h: Likewise.
4525 * include/time.h: Likewise.
4526 * include/ulimit.h: Likewise.
4527 * include/unistd.h: Likewise.
4528 * include/utime.h: Likewise.
4529 * include/wchar.h: Likewise.
4530 * include/wctype.h: Likewise.
4531 * include/wordexp.h: Likewise.
4532
4533 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4534
7a270350
UD
4535 * time/time.h: TIME_UTC must be a macro.
4536 Make timespec_get available for ISO C11 only as well.
4537
7724defc
UD
45382012-02-24 Ulrich Drepper <drepper@gmail.com>
4539
4540 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4541 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4542
6b1d1d46
JM
45432012-02-24 Joseph Myers <joseph@codesourcery.com>
4544
4545 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4546
0f8bbd69
JM
45472012-02-24 Joseph Myers <joseph@codesourcery.com>
4548
4549 * manual/texinfo.tex: Update to version 2012-01-19.16.
4550
66ab80bc
JM
45512012-02-24 Joseph Myers <joseph@codesourcery.com>
4552
4553 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4554
74981cc5
RM
45552012-02-24 Roland McGrath <roland@hack.frob.com>
4556
ee968201
RM
4557 [BZ #13738]
4558 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4559 * manual/fdl-1.3.texi: New file.
4560 * manual/fdl-1.1.texi: File removed.
4561
74981cc5
RM
4562 [BZ #13738]
4563 * manual/libc.texinfo (FDL_VERSION): New @set.
4564 Use it for mention of FDL in cover text.
4565 (Documentation License): Use it in @include file name.
4566
7bb764bc
JM
45672012-02-22 Joseph Myers <joseph@codesourcery.com>
4568 Roland McGrath <roland@hack.frob.com>
4569
4570 [BZ #5461]
4571 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4572 not LONG_LONG_MAX and LONG_LONG_MIN.
4573 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4574 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4575 name.
4576 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4577
6cbeae47
JM
45782012-02-22 Joseph Myers <joseph@codesourcery.com>
4579
4580 [BZ #2547]
4581 [BZ #11365]
4582 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4583 manipulate bits before adding and subtracting TWO23[sx].
4584 * math/libm-test.inc (nearbyint_test): Add more tests.
4585
fe45ce09
JM
45862012-02-22 Joseph Myers <joseph@codesourcery.com>
4587
4588 [BZ #2548]
4589 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4590 bits before adding and subtracting TWO23[sx].
4591 * math/libm-test.inc (rint_test): Add more tests.
4592 (rint_test_tonearest): Likewise.
4593 (rint_test_towardzero): Likewise.
4594 (rint_test_downward): Likewise.
4595 (rint_test_upward: Likewise.
4596
ff3b3d82
JM
45972012-02-22 Joseph Myers <joseph@codesourcery.com>
4598
4599 [BZ #10110]
4600 * include/stdc-predef.h: New file. Extracted from features.h.
4601 * include/features.h: Include stdc-predef.h.
4602 * Makefile (headers): Add stdc-predef.h.
4603 * CONFORMANCE (Compiler limitations): Update.
4604
ef0aab35
JM
46052012-02-22 Joseph Myers <joseph@codesourcery.com>
4606
4607 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4608
58639409
DM
46092012-02-21 David S. Miller <davem@davemloft.net>
4610
4611 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4612 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4613
c0e70b25
DM
46142012-02-20 David S. Miller <davem@davemloft.net>
4615
4616 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4617 using a normal save/restore sequence, rather than allocating a
4618 dummy stack frame just to store a frame pointer and restore.
4619 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4620
fb06851d
JM
46212012-02-21 Joseph Myers <joseph@codesourcery.com>
4622
4623 * manual/install.texi: Fix stray word in line-wrapped comment.
4624
7a8b71c3
DM
46252012-02-20 David S. Miller <davem@davemloft.net>
4626
d510c123
DM
4627 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4628 both binutils and gcc support GOTDATA.
4629
0722d7c2
DM
4630 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4631 "rd %pc" in the PIC register setup sequences.
4632
3d2b3019
DM
4633 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4634 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4635 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4636 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4637 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4638 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4639 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4640 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4641 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4642 (SYSCALL_ERROR_HANDLER): Likewise.
4643 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4644 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4645 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4646 (SYSCALL_ERROR_HANDLER): Likewise.
4647
c80098a9
DM
4648 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4649 (HAVE_GCC_GOTDATA): New.
4650 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4651 relocation support in both binutils and gcc.
4652 * sysdeps/sparc/elf/configure: Regenerate.
4653
3a2545a0
DM
4654 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4655 * sysdeps/sparc/sparc32/elf/configure: Delete.
4656 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4657 * sysdeps/sparc/sparc64/elf/configure: Delete.
4658 * sysdeps/sparc/elf/configure.in: New file.
4659 * sysdeps/sparc/elf/configure: Generate.
4660
7a8b71c3
DM
4661 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4662 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4663 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4664 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4665 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4666
f1e86fca
JM
46672012-02-21 Joseph Myers <joseph@codesourcery.com>
4668
4669 * manual/install.texi: Do not mention specific glibc version
4670 numbers.
4671 * manual/libc.texinfo (VERSION, UPDATED): Update.
4672 (@copying): Use @copyright{} and range of years.
4673
0e7dfaef
JM
46742012-02-21 Joseph Myers <joseph@codesourcery.com>
4675
4676 [BZ #13695]
4677 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4678 [crti.S not in sysdirs] (generated): Do not append.
4679 [crti.S not in sysdirs] (omit-deps): Likewise.
4680 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4681 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4682 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4683 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4684 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4685 Likewise.
4686 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4687 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4688 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4689 * csu/defs.awk: Remove file.
4690 * sysdeps/generic/initfini.c: Likewise.
4691 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4692 variable.
4693 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4694 Likewise.
4695
599af3ca
JM
46962012-02-20 Joseph Myers <joseph@codesourcery.com>
4697
4698 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4699 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4700 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4702 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4703 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4704 <bits/epoll.h>.
4705 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4706 (__EPOLL_PACKED): Define to empty if not defined by
4707 <bits/epoll.h>.
4708 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4710 bits/epoll.h.
4711
0e499750
JM
47122012-02-20 Joseph Myers <joseph@codesourcery.com>
4713
4714 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4715 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4716 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4717 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4718 <bits/timerfd.h>.
4719 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4721 bits/timerfd.h.
4722
5ad91f6e
JM
47232012-02-20 Joseph Myers <joseph@codesourcery.com>
4724
4725 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4726 in C locale.
4727 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4728 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4729 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4731
06b99b02
AJ
47322012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4733
4734 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4735 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4736
7638c0fd
AS
47372012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4738
4739 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4740 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4741 defined.
4742 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4743 Likewise.
4744 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4745 entry for 2.16.
4746
92221550
AJ
47472012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4748
4749 * math/w_acos.c: Use non-signaling floating-point comparisons.
4750 * math/w_acosf.c: Likewise.
4751 * math/w_acosh.c: Likewise.
4752 * math/w_acoshf.c: Likewise.
4753 * math/w_acoshl.c: Likewise.
4754 * math/w_acosl.c: Likewise.
4755 * math/w_asin.c: Likewise.
4756 * math/w_asinf.c: Likewise.
4757 * math/w_asinl.c: Likewise.
4758 * math/w_atanh.c: Likewise.
4759 * math/w_atanhf.c: Likewise.
4760 * math/w_atanhl.c: Likewise.
4761 * math/w_exp2.c: Likewise.
4762 * math/w_exp2f.c: Likewise.
4763 * math/w_exp2l.c: Likewise.
4764 * math/w_j0.c: Likewise.
4765 * math/w_j0f.c: Likewise.
4766 * math/w_j0l.c: Likewise.
4767 * math/w_j1.c: Likewise.
4768 * math/w_j1f.c: Likewise.
4769 * math/w_j1l.c: Likewise.
4770 * math/w_jn.c: Likewise.
4771 * math/w_jnf.c: Likewise.
4772 * math/w_log.c: Likewise.
4773 * math/w_log10.c: Likewise.
4774 * math/w_log10f.c: Likewise.
4775 * math/w_log10l.c: Likewise.
4776 * math/w_log2.c: Likewise.
4777 * math/w_log2f.c: Likewise.
4778 * math/w_log2l.c: Likewise.
4779 * math/w_logf.c: Likewise.
4780 * math/w_logl.c: Likewise.
4781 * math/w_sqrt.c: Likewise.
4782 * math/w_sqrtf.c: Likewise.
4783 * math/w_sqrtl.c: Likewise.
4784 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4785 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4786 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4787 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4788 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4789
ebaf36eb
JM
47902012-02-19 Joseph Myers <joseph@codesourcery.com>
4791
4792 [BZ #9739]
4793 * manual/string.texi (strnlen): Use correct parameter name in
4794 equivalent expression.
4795
71c254a6
JM
47962012-02-19 Joseph Myers <joseph@codesourcery.com>
4797
4798 [BZ #11174]
4799 * manual/users.texi (seteuid): Consistently use neweuid for
4800 argument name.
4801
16d2c631
JM
48022012-02-19 Joseph Myers <joseph@codesourcery.com>
4803
4804 [BZ #13704]
4805 * manual/nss.texi (Services in the NSS configuration): Correct
4806 list of services in example configuration file.
4807
cd837b09
NB
48082012-02-19 Nick Bowler <nbowler@draconx.ca>
4809
4810 [BZ #11322]
4811 * manual/arith.texi: Remove statements about negative zero
4812 behaving identically to zero.
4813
02c4bbad
JM
48142012-02-18 Joseph Myers <joseph@codesourcery.com>
4815
4816 [BZ #5993]
4817 * manual/install.texi: Do not document upgrading from libc5.
4818
366842e7
JM
48192012-02-18 Joseph Myers <joseph@codesourcery.com>
4820
4821 [BZ #4596]
4822 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4823
dd54084d
DM
48242012-02-18 David S. Miller <davem@davemloft.net>
4825
4826 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4827 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4828 %o7 across the call.
4829 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4830 instead.
4831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4832 SETUP_PIC_REG_LEAF.
4833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4834 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4835 * sysdeps/sparc/crtn.S: Likewise.
4836
2bcc53a3
UD
48372012-02-17 Ulrich Drepper <drepper@gmail.com>
4838
4839 * aout/Makefile: Remove.
4840
09c093b5
RK
48412012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4842
4843 [BZ #13058]
4844 * manual/examples/argp-ex1.c (main): Format definition in GNU
4845 style.
4846 * manual/examples/argp-ex2.c (main): Likewise.
4847 * manual/examples/argp-ex3.c (main): Likewise.
4848 * manual/examples/argp-ex4.c (main): Likewise.
4849 * manual/examples/longopt.c (main): Use new-style prototype
4850 definition.
4851 * manual/examples/strncat.c (main): Specify return type and use
4852 (void) for arguments.
4853 * manual/examples/subopt.c (main): Use char **argv argument.
4854
2ee633a2
JM
48552012-02-17 Joseph Myers <joseph@codesourcery.com>
4856
4857 [BZ #5077]
4858 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4859 rounding modes.
4860
0520adde
FB
48612012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4862
4863 [BZ #6907]
4864 * manual/string.texi (strchr): Change when strchrnul is
4865 recommended.
4866
3f4081cd
DGM
48672012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4868
4869 [BZ #174]
4870 * manual/locale.texi (setlocale): Document LOCPATH.
4871
d1b10e78
JM
48722012-02-17 Joseph Myers <joseph@codesourcery.com>
4873
4874 [BZ #10210]
4875 * manual/process.texi (execle): Move @dots{} before last argument.
4876
79c6869c
PB
48772012-02-17 Paul Bolle <pebolle@tiscali.nl>
4878
4879 [BZ #12047]
4880 * manual/charset.texi (Generic Charset Conversion): Fix typo
4881 (LC_TYPE -> LC_CTYPE).
4882
cc6e48bc
NB
48832012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4884
4885 [BZ #5805]
4886 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4887 (scalbnf): Likewise.
4888 (scalbnl): Likewise.
4889 (scalbln): Likewise.
4890 (scalblnf): Likewise.
4891 (scalblnl): Likewise.
4892 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4893 (vwarnx): Likewise.
4894 (verr): Likewise.
4895 (verrx): Likewise.
4896 * manual/filesys.texi (telldir): Use braces around return type.
4897 * manual/llio.texi (mmap): Add space after comma.
4898 (mmap64): Likewise.
4899 * manual/math.texi (jn): Use @var{} on parameter names.
4900 (jnf): Likewise.
4901 (jnl): Likewise.
4902 (yn): Likewise.
4903 (ynf): Likewise.
4904 (ynl): Likewise.
4905 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4906 line.
4907 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4908 "...".
4909 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4910 (sched_get_priority_max): Likewise.
4911 * manual/signal.texi (sigvec): Add space after comma.
4912 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4913 names.
4914 (if_indextoname): Likewise.
4915 (if_freenameindex): Likewise.
4916 (sendto): Use ',' instead of '.' in prototype.
4917 * manual/startup.texi (syscall): Use @dots{} instead of literal
4918 "...".
4919 * manual/stdio.texi (__fpending): Separate initial words of
4920 paragraph from @deftypefun line.
4921 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4922 "...".
4923 (vsyslog): Use @var{} on parameter names.
4924 * manual/terminal.texi (stty): Use @var{} on parameter names.
4925 * manual/users.texi (getutmp): Use @var{} on parameter names.
4926 (getutmpx): Likewise.
4927
5b23062f
JM
49282012-02-17 Joseph Myers <joseph@codesourcery.com>
4929
4930 [BZ #6884]
4931 * manual/stdio.texi (fopen): Fix typos in description of
4932 ",ccs=STRING".
4933
8dee4833
AJ
49342012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4935
4936 [BZ #4026]
4937 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4938 get clock_id definition.
4939
9078ce93
TS
49402012-02-17 Thomas Schwinge <thomas@schwinge.name>
4941
4942 [BZ #4822]
4943 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4944 (madvise): Cast every argument to void on its own.
4945
3835c55f
JM
49462012-02-17 Joseph Myers <joseph@codesourcery.com>
4947
4948 [BZ #9902]
4949 * manual/startup.texi (Exit Status): Fix typo.
4950
35c47e37
JM
49512012-02-17 Joseph Myers <joseph@codesourcery.com>
4952
4953 [BZ #10140]
4954 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4955 * manual/examples/argp-ex2.c: Likewise.
4956 * manual/examples/argp-ex3.c: Likewise.
4957
e3b69ca7
RH
49582012-02-16 Richard Henderson <rth@redhat.com>
4959
4960 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4961 * sysdeps/s390/s390-32/initfini.c: Remove.
4962 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4963 * sysdeps/s390/s390-64/initfini.c: Remove.
4964
df83af67
KK
49652012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4966
4967 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4968 compiler output for sysdeps/generic/initfini.c.
4969 * sysdeps/sh/elf/initfini.c: Remove file.
4970
f63f3380
DM
49712012-02-16 David S. Miller <davem@davemloft.net>
4972
fb59b3a4
DM
4973 [BZ #11494]
4974 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4975
f63f3380
DM
4976 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4977 * sysdeps/sparc/crti.S: New file.
4978 * sysdeps/sparc/crtn.S: New file.
4979 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4980 * sysdeps/sparc/sparc64/Makefile: Likewise.
4981
df6a4a4a
MF
49822012-02-15 Mike Frysinger <vapier@gentoo.org>
4983
6dd8f3dc 4984 [BZ #3335]
df6a4a4a
MF
4985 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4986
1cac7236
RM
49872012-02-15 Roland McGrath <roland@hack.frob.com>
4988
d2c736f8
RM
4989 [BZ #4822]
4990 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4991
1cac7236
RM
4992 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4993 (write, read, close): Likewise.
4994 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4995
8e475601
JM
49962012-02-15 Joseph Myers <joseph@codesourcery.com>
4997
4998 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4999 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5000 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5001 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5002 <bits/signalfd.h>.
5003 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5005 bits/signalfd.h.
5006
ed656b40
MP
50072012-02-14 Marek Polacek <polacek@redhat.com>
5008
5009 * sysdeps/x86_64/crti.S: New file.
5010 * sysdeps/x86_64/crtn.S: New file.
5011 * sysdeps/x86_64/elf/initfini.c: Remove file.
5012
2a979d3a
JM
50132012-02-13 Joseph Myers <joseph@codesourcery.com>
5014
5015 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5016 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5017 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5018 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5019 <bits/inotify.h>.
5020 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5021 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5022 bits/inotify.h.
5023
2a418ac3
JM
50242012-02-13 Joseph Myers <joseph@codesourcery.com>
5025
5026 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5027 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5028 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5029 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5030 <bits/eventfd.h>.
5031 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5033 bits/eventfd.h.
5034
fb779be7
TS
50352012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5036
e19e83c5
RM
5037 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5038 __feraiseexcept instead of feraiseexcept.
7c35ffed 5039
fb779be7
TS
5040 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5041 nanosleep invocations.
5042 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5043 strings, and add error checking for a nanosleep invocations.
5044
59ba27a6
PE
50452012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5046
5047 Replace FSF snail mail address with URLs, as per GNU coding standards.
5048 Most of the snail mail addresses were wrong anyway, and omitting
5049 them makes the source code easier to maintain. Almost all of the
5050 changes are to license notices and to locale LC_IDENTIFICATION
5051 addresses, except for this one:
5052 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5053 not its snail mail address.
5054
57b957eb
RH
50552012-02-09 Richard Henderson <rth@twiddle.net>
5056
af850b1c
RH
5057 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5058 of kernel-features.h.
5059
57b957eb
RH
5060 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5061
6b73181a
MP
50622012-02-08 Marek Polacek <polacek@redhat.com>
5063
5064 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5065 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5066 * sysdeps/gnu/_G_config.h: Likewise.
5067 * sysdeps/generic/_G_config.h: Likewise.
5068
26ecc33a
AS
50692012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5070
6c6dbc63
AS
5071 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5072 tests.
5073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5074
e216c012
AS
5075 * sysdeps/powerpc/powerpc32/crti.S: New file.
5076 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5077 * sysdeps/powerpc/powerpc64/crti.S: New file.
5078 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5079
26ecc33a
AS
5080 * Makeconfig (have-initfini): Don't set.
5081 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5082 * configure.in (nopic_initfini): Don't substitute.
5083 * config.h.in (HAVE_INITFINI): Don't #undef.
5084 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5085 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5086
3add8e13
JM
50872012-02-08 Joseph Myers <joseph@codesourcery.com>
5088
5089 Support crti.S and crtn.S provided directly by architectures.
5090 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5091 [crti.S in sysdirs] (omit-deps): Likewise.
5092 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5093 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5094 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5095 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5096 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5097 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5098 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5099 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5100 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5101 compiler output for sysdeps/generic/initfini.c.
5102 * sysdeps/i386/elf/Makefile: Remove file.
5103 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5104
a22f12b4
MP
51052012-02-07 Marek Polacek <polacek@redhat.com>
5106
5107 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5108 * sysdeps/gnu/_G_config.h: Likewise.
5109 * sysdeps/mach/hurd/_G_config.h: Likewise.
5110
148cf100
MP
51112012-02-07 Marek Polacek <polacek@redhat.com>
5112
5113 * math/Makefile (tests): Add tst-CMPLX2.
5114 * math/tst-CMPLX2.c: New file.
5115
cfdc0dd7
AS
51162012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5117
84ba42c4
AS
5118 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5119
cfdc0dd7
AS
5120 * math/libm-test.inc (jn_test): Add missing L suffix.
5121
622c86f4
MP
51222012-02-06 Marek Polacek <polacek@redhat.com>
5123
5124 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5125 * sysdeps/i386/fpu/e_powf.S: Likewise.
5126 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5127 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5128 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5129 * sysdeps/i386/fpu/e_pow.S: Likewise.
5130 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5131 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5132 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5133 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5134 * sysdeps/i386/fpu/e_log2.S: Likewise.
5135 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5136 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5137 * sysdeps/i386/fpu/e_powl.S: Likewise.
5138 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5139 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5140 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5141 * sysdeps/i386/fpu/e_logl.S: Likewise.
5142 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5143 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5144 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5145 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5146 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5147 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5148 * sysdeps/i386/fpu/e_log.S: Likewise.
5149 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5150 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5151 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5152 * sysdeps/i386/fpu/e_logf.S: Likewise.
5153 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5154 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5155 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5156 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5157 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5158 * sysdeps/i386/fpu/e_log10.S: Likewise.
5159 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5160 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5161 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5162 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5163 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5164 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5165 * sysdeps/i386/asm-syntax.h: Likewise.
5166 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5167 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5168 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5169 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5170 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5171 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5172 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5173 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5174 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5175 * sysdeps/powerpc/sysdep.h: Likewise.
5176 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5177 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5178
d4a54ac6
JM
51792012-02-06 Joseph Myers <joseph@codesourcery.com>
5180
5181 [BZ #411]
5182 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5183
314054ea
JM
51842012-02-06 Joseph Myers <joseph@codesourcery.com>
5185
5186 * sysdeps/i386/sysdep.h: Include <features.h>.
5187 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5188 version.
5189
d8e0ca50
JM
51902012-02-05 Joseph Myers <joseph@codesourcery.com>
5191
5192 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5193 Define.
5194 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5195 LOAD_PIC_REG_STR.
5196
b1da7dd9
JM
51972012-02-03 Joseph Myers <joseph@codesourcery.com>
5198
5199 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5200 (SETUP_PIC_REG): Use GET_PC_THUNK.
5201 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5202 macro.
5203
9a1d9254
JM
52042012-02-03 Joseph Myers <joseph@codesourcery.com>
5205
5206 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5207 for non-PIC compilation.
5208 (SETUP_PIC_REG): Add .p2align directive.
5209 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5210 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5211 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5212 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5213 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5214 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5215 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5216 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5217 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5218 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5219 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5220 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5221 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5222 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5223 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5224 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5225 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5226 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5227 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5228 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5229 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5230 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5231 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5232 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5233 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5234 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5235 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5236 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5237 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5238 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5239 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5240 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5241 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5242 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5243 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5244 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5245 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5246 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5247 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5248 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5249 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5250
65dc3b75
JM
52512012-02-03 Joseph Myers <joseph@codesourcery.com>
5252
5253 * math/tst-CMPLX.c: Include <stdio.h>.
5254
d55bf177
JM
52552012-01-31 Joseph Myers <joseph@codesourcery.com>
5256
5257 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5258 float.
5259 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5260 * sysdeps/sparc/bits/mathdef.h: Likewise.
5261
69db4f8f
MP
52622012-01-31 Marek Polacek <polacek@redhat.com>
5263
5264 * libio/libio.h: Don't define _PARAMS.
5265 * locale/programs/config.h: Don't define PARAMS.
5266 * stdlib/strtol_l.c: Likewise.
5267 (__strtol_l): Remove PARAMS from the prototype.
5268
41b81892
UD
52692012-01-31 Ulrich Drepper <drepper@gmail.com>
5270
3b49edc0
UD
5271 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5272 names. Just use the correct names. Remove unnecessary wrapper
5273 functions.
5274 * malloc/arena.c: Likewise.
5275 * malloc/hooks.c: Likewise.
5276
41b81892
UD
5277 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5278 ARENA_TEST says not to. Simplify test for creation of a new arena.
5279 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5280
27a25b6e
UD
52812012-01-30 Ulrich Drepper <drepper@gmail.com>
5282
5283 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5284 into tail calls.
5285 (update_get_addr): New function.
5286 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5287 GET_ADDR_MODULE parameter.
5288
c8a89e7d
JM
52892012-01-30 Joseph Myers <joseph@codesourcery.com>
5290
5291 * crypt/cert.c: Remove __STDC__ conditionals.
5292 * crypt/crypt-entry.c: Likewise.
5293 * crypt/crypt_util.c: Likewise.
5294 * libio/filedoalloc.c: Likewise.
5295 * libio/fileops.c: Likewise.
5296 * libio/genops.c: Likewise.
5297 * libio/iofclose.c: Likewise.
5298 * libio/iofdopen.c: Likewise.
5299 * libio/iofopen.c: Likewise.
5300 * libio/iofopen64.c: Likewise.
5301 * libio/iogetdelim.c: Likewise.
5302 * libio/iopopen.c: Likewise.
5303 * libio/obprintf.c: Likewise.
5304 * libio/oldfileops.c: Likewise.
5305 * libio/oldiofclose.c: Likewise.
5306 * libio/oldiofdopen.c: Likewise.
5307 * libio/oldiofopen.c: Likewise.
5308 * libio/oldiopopen.c: Likewise.
5309 * libio/wfiledoalloc.c: Likewise.
5310 * libio/wgenops.c: Likewise.
5311 * locale/programs/xmalloc.c: Likewise.
5312 * misc/syslog.c: Likewise.
5313 * stdio-common/xbug.c: Likewise.
5314 * string/memchr.c: Likewise.
5315 * string/memcmp.c: Likewise.
5316 * string/memrchr.c: Likewise.
5317 * string/rawmemchr.c: Likewise.
5318 * sysdeps/posix/getcwd.c: Likewise.
5319 * time/strftime_l.c: Likewise.
5320
3b100462
JM
53212012-01-30 Joseph Myers <joseph@codesourcery.com>
5322
5323 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5324 * config.make.in (config-cflags-sse2avx): Define.
5325 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5326 Fix typo.
5327
607998af
CM
53282012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5329
5330 * scripts/config.guess: Update from upstream config git repository.
5331 * scripts/config.sub: Likewise.
5332
3601428f
CM
53332012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5334
3ac8b282
CM
5335 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5336 (EM_NUM): Update.
5337 (R_TILEPRO_*, R_TILEGX_*): New macros.
5338
e034841e
CM
5339 * scripts/firstversions.awk: Fix bug in version range handling.
5340
540d7568
CM
5341 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5342
3601428f
CM
5343 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5344
463de862
CM
5345 * include/sys/epoll.h: New file.
5346 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5347 libc_hidden_def.
5348
73139a76
UD
53492012-01-28 Ulrich Drepper <drepper@gmail.com>
5350
96bc5b45
UD
5351 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5352 Avoid unnecessary __WORDSIZE == 64 test.
5353 (fmaxf): Use VEX format if possible.
5354 (fmax): Likewise.
5355 (fminf): Likewise.
5356 (fmin): Likewise.
5357
56f6f6a2
UD
5358 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5359 * math/math_private.h: Remove libc_fegetround* and
5360 libc_fesetround*.
5361 * sysdeps/i386/configure.in: Check for -msse2avx.
5362 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5363 also if SSE2AVX is defined.
5364 Remove libc_fegetround* and libc_fesetround*.
5365 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5366 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5367 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5368 of HAS_YMM_USABLE.
5369 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5370 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5371 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5372 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5373 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5374
73139a76
UD
5375 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5376
d73f93a4
AZ
53772012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5378
5379 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5380 size is not set.
5381 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5382
6ee65ed6
UD
53832012-01-27 Ulrich Drepper <drepper@gmail.com>
5384
5385 [BZ #13618]
5386 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5387 relocation.
5388 * Makeconfig (libm): Define.
5389 * elf/Makefile: Add rules to build and run tst-relsort1.
5390 * elf/tst-relsort1.c: New file.
5391 * elf/tst-relsort1mod1.c: New file.
5392 * elf/tst-relsort1mod2.c: New file.
5393
8db21882
JM
53942012-01-27 Joseph Myers <joseph@codesourcery.com>
5395
5396 * math/s_ldexp.c: Remove __STDC__ conditionals.
5397 * math/s_ldexpf.c: Likewise.
5398 * math/s_ldexpl.c: Likewise.
5399 * math/s_nextafter.c: Likewise.
5400 * math/s_nexttowardf.c: Likewise.
5401 * math/s_significand.c: Likewise.
5402 * math/s_significandf.c: Likewise.
5403 * math/s_significandl.c: Likewise.
5404 * math/w_jnl.c: Likewise.
5405 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5406 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5407 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5408 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5409 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5413 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5414 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5415 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5416 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5417 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5418 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5419 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5420 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5421 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5422 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5423 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5424 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5425 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5426 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5427 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5428 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5429 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5430 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5431 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5432 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5433 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5434 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5435 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5436 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5437 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5438 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5439 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5440 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5441 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5442 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5443 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5444 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5445 * sysdeps/ieee754/k_standard.c: Likewise.
5446 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5447 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5448 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5450 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5452 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5453 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5454 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5455 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5456 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5464 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5465 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5467 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5470 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5477 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5478 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5489 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5490 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5491 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5495 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5496 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5501 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5503 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5507 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5510 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5511 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5512 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5513 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5514 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5515 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5516 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5517 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5519 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5520 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5521 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5522 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5523 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5524 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5525 * sysdeps/ieee754/s_matherr.c: Likewise.
5526 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5527 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5528 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5529 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5530
965a54a4
JM
55312012-01-26 Joseph Myers <joseph@codesourcery.com>
5532
5533 * crypt/md5.h: Remove __STDC__ conditionals.
5534 * libio/libioP.h: Likewise.
5535 * locale/programs/config.h: Likewise.
5536 * sysdeps/generic/sysdep.h: Likewise.
5537 * sysdeps/i386/asm-syntax.h: Likewise.
5538 * sysdeps/s390/asm-syntax.h: Likewise.
5539 * sysdeps/unix/sysdep.h: Likewise.
5540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5542
7071ad79
JM
55432012-01-26 Joseph Myers <joseph@codesourcery.com>
5544
5545 * libio/libio.h: Remove __STDC__ conditionals.
5546 * malloc/obstack.h: Likewise.
5547 * math/complex.h: Likewise.
5548 * math/math.h: Likewise.
5549 * sysdeps/generic/_G_config.h: Likewise.
5550 * sysdeps/gnu/_G_config.h: Likewise.
5551 * sysdeps/mach/hurd/_G_config.h: Likewise.
5552 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5553 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5554 * sysdeps/sparc/bits/mathdef.h: Likewise.
5555
afc5ed09
UD
55562012-01-26 Ulrich Drepper <drepper@gmail.com>
5557
5558 [BZ #13583]
5559 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5560 Clean up HAS_* macros.
afc5ed09 5561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5562 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5563 possible.
5564 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5565 HAS_AVX.
5566 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5567 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5568 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5569 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5570 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5571
bdb6de1d
JM
55722012-01-25 Joseph Myers <joseph@codesourcery.com>
5573
5574 * elf/tst-unique3.cc (gets): Remove declaration.
5575 * elf/tst-unique3lib.cc (gets): Likewise.
5576 * elf/tst-unique3lib2.cc (gets): Likewise.
5577 * elf/tst-unique4.cc (gets): Likewise.
5578
b15549e6
UD
55792012-01-24 Ulrich Drepper <drepper@gmail.com>
5580
5581 * include/stdio.h: Add C++ protection. Add gets declarations and
5582 definitions.
5583 * debug/tst-chk1.c: Don't declare gets here.
5584 * stdio-common/tst-gets.c: Likewise.
5585
a037381f
JM
55862012-01-24 Joseph Myers <joseph@codesourcery.com>
5587
5588 * posix/glob: Remove directory.
5589
f1d4aa75
JM
55902012-01-24 Joseph Myers <joseph@codesourcery.com>
5591
5592 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5593
81c0c964
PT
55942012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5595
5596 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5597 of the non-standard EPFNOSUPPORT.
5598
0ea698ae
ST
55992011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5600
5601 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5602 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5603 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5604
d220b117
UD
56052012-01-21 Ulrich Drepper <drepper@gmail.com>
5606
5607 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5608
3e1aa84e
UD
56092012-01-20 Ulrich Drepper <drepper@gmail.com>
5610
5611 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5612 transient errors.
5613 * nscd/grpcache.c (cache_addgr): Likewise.
5614 * nscd/hstcache.c (cache_addhst): Likewise.
5615 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5616 * nscd/pwdcache.c (cache_addpw): Likewise.
5617 * nscd/servicescache.c (cache_addserv): Likewise.
5618
400aa020
UD
56192012-01-16 Ulrich Drepper <drepper@gmail.com>
5620
d77e7869
UD
5621 * malloc/malloc.c: Various cleanups.
5622 * malloc/hooks.c: Likewise.
5623
400aa020
UD
5624 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5625 * stdlib/bug-fmtmsg1.c: New file.
5626
5627 * stdlib/fmtmsg.c (init): Add missing unlock.
5628 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5629
e0a309cf
MP
56302012-01-12 Marek Polacek <polacek@redhat.com>
5631
5632 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5633 and _GNU_SOURCE.
5634
929d11c7
WS
56352012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5636
5637 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5638 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5639 macro to ensure uniqueness of label name.
5640 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5641 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5642
41d0e869
UD
56432012-01-11 Ulrich Drepper <drepper@gmail.com>
5644
0cc5ed3b
UD
5645 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5646
41d0e869
UD
5647 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5648 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5649 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5650 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5651
a47a831a
UD
56522012-01-10 Ulrich Drepper <drepper@gmail.com>
5653
daa891c0
UD
5654 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5655
5656 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5657 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5658 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5659
e58ef0f2
UD
5660 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5661
a47a831a 5662 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5663 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5664 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5665 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5666
5667 * math/bits/math-finite.h: Add ldexp support.
5668
a0bfc9c7
MP
56692012-01-10 Marek Polacek <polacek@redhat.com>
5670
5671 * locale/programs/localedef.h (show_archive_content): Add noreturn
5672 attribute.
5673
d6e97a1d
UD
56742012-01-09 Ulrich Drepper <drepper@gmail.com>
5675
5676 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5677
d5835c26
UD
56782012-01-08 Ulrich Drepper <drepper@gmail.com>
5679
e5f484c6
UD
5680 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5681
d5835c26
UD
5682 * io/Makefile (headers): Add bits/poll2.h.
5683
d1f741e9
WS
56842011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5685
5686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5687 typo #include statement.
5688
ec09c1c4
UD
56892012-01-08 Ulrich Drepper <drepper@gmail.com>
5690
5691 * include/sys/cdefs.h: Define __attribute_alloc_size.
5692 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5693 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5694 * elf/pldd.c: Likewise.
5695 * iconv/iconv_charmap.c: Likewise.
5696 * iconv/iconvconfig.c: Likewise.
5697 * iconv/strtab.c: Likewise.
5698 * locale/programs/locale.c: Likewise.
5699 * locale/programs/localedef.h: Likewise.
5700 * locale/programs/simple-hash.c: Likewise.
5701 * nscd/nscd.h: Likewise.
5702 * nss/makedb.c: Likewise.
5703 * sysdeps/generic/ldconfig.h: Likewise.
5704 * locale/programs/localedef.c: Remove xmalloc prototype.
5705 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5706
20b38e03
PP
57072012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5708
5709 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5710 appropriate.
5711
a0da5fe1
UD
57122012-01-08 Ulrich Drepper <drepper@gmail.com>
5713
1d5a644a 5714 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5715 * math/tst-CMPLX.c: New file.
1d5a644a 5716
8784a6db
UD
5717 * math/complex.h (CMPLXL): Fix typo.
5718
d9a216c0
UD
5719 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5720 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5721 GLIBC_2.16.
5722 * debug/tst-chk1.c: Add poll and ppoll tests.
5723 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5724 * include/sys/poll.h: Add hidden proto for ppoll.
5725 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5726 * sysdeps/mach/hurd/ppoll.c: Likewise.
5727 * io/ppoll.c: Likewise.
5728 * debug/poll_chk.c: New file.
5729 * debug/ppoll_chk.c: New file.
5730 * include/bits/poll2.h: New file.
5731 * io/bits/poll2.h: New file.
5732
ac097f5c
UD
5733 [BZ #1350]
5734 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5735
2119dcfa
UD
5736 * configure.in: static is always set to yes. Remove.
5737 * config.make.in: Don't set build-static.
5738 * Makeconfig: Remove use of build-static.
5739 * dlfcn/Makefile: Likewise.
5740 * elf/Makefile: Likewise.
5741 * math/Makefile: Likewise.
5742 * misc/Makefile: Likewise.
5743 * nptl/Makefile: Likewise.
5744 * sysdeps/mach/hurd/Makefile: Likewise.
5745
121766a9
UD
5746 * configure.in: PWD_P is not used anymore.
5747 * config.make.in: Remove PWD_P entry.
5748
51a1d39c 5749 * configure.in: Remove last remnants of RANLIB.
8720d066 5750 No need to check for signed size_t anymore.
215f4bdc
UD
5751 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5752 and IA-64.
3857022a 5753 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
5754 * aclocal.m4: Likewise.
5755
d3ed7225
UD
5756 * wcsmbs/mbrtoc16.c: Implement using towc function.
5757 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5758 * wcsmbs/wcsmbsload.c: Likewise.
5759 * iconv/gconv_simple.c: Likewise.
5760 * iconv/gconv_int.h: Likewise.
5761 * iconv/gconv_builtin.h: Likewise.
5762 * iconv/iconv_prog.c: Remove CHAR16 handling.
5763
5764 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5765
5766 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5767
a0da5fe1
UD
5768 * configure.in: Remove --with-elf and --enable-bounded options.
5769 Dont set base_machine for ia64. More non-ELF conditions removed.
5770 Remove testing and setting of leading underscore information.
5771 * config.make.in (build-bounded): Set to no.
5772 * config.h.in: Remove NO_UNDERSCORES entry.
5773 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5774 them.
5775 * csu/start.c: Remove !NO_UNDERSCORE code.
5776 * locale/localeinfo.h: Likewise.
5777 * sysdeps/generic/machine-gmon.h: Likewise.
5778 * sysdeps/generic/sysdep.h: Likewise.
5779 * sysdeps/i386/sysdep.h: Likewise.
5780 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5781 * sysdeps/mach/sysdep.h: Likewise.
5782 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5783 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5784 * sysdeps/sh/sysdep.h: Likewise.
5785 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5786 * sysdeps/unix/i386/sysdep.S: Likewise.
5787 * sysdeps/unix/sparc/start.c: Likewise.
5788 * sysdeps/unix/sparc/sysdep.S: Likewise.
5789 * sysdeps/unix/sparc/sysdep.h: Likewise.
5790 * sysdeps/unix/start.c: Likewise.
5791 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5792 * sysdeps/x86_64/sysdep.h: Likewise.
5793
df78418a
UD
57942012-01-07 Ulrich Drepper <drepper@gmail.com>
5795
a784e502
UD
5796 [BZ #13553]
5797 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5798 for non-gcc.
5799 * argp/argp-fmtstream.h: Use const instead __const.
5800 * argp/argp.h: Likewise.
5801 * assert/assert.h: Likewise.
5802 * bits/fenv.h: Likewise.
5803 * bits/sched.h: Likewise.
5804 * bits/sigset.h: Likewise.
5805 * bits/sigthread.h: Likewise.
5806 * catgets/nl_types.h: Likewise.
5807 * conform/data/pthread.h-data: Likewise.
5808 * crypt/crypt-private.h: Likewise.
5809 * crypt/crypt.h: Likewise.
5810 * crypt/crypt_util.c: Likewise.
5811 * ctype/ctype.h: Likewise.
5812 * debug/execinfo.h: Likewise.
5813 * debug/mbsnrtowcs_chk.c: Likewise.
5814 * debug/mbsrtowcs_chk.c: Likewise.
5815 * debug/wcsnrtombs_chk.c: Likewise.
5816 * debug/wcsrtombs_chk.c: Likewise.
5817 * debug/wcstombs_chk.c: Likewise.
5818 * dirent/dirent.h: Likewise.
5819 * dlfcn/dlfcn.h: Likewise.
5820 * elf/neededtest4.c: Likewise.
5821 * grp/grp.h: Likewise.
5822 * gshadow/gshadow.h: Likewise.
5823 * iconv/gconv.h: Likewise.
5824 * iconv/gconv_int.h: Likewise.
5825 * iconv/gconv_simple.c: Likewise.
5826 * iconv/iconv.h: Likewise.
5827 * iconv/loop.c: Likewise.
5828 * iconv/skeleton.c: Likewise.
5829 * include/aio.h: Likewise.
5830 * include/aliases.h: Likewise.
5831 * include/argz.h: Likewise.
5832 * include/arpa/inet.h: Likewise.
5833 * include/assert.h: Likewise.
5834 * include/dirent.h: Likewise.
5835 * include/dlfcn.h: Likewise.
5836 * include/execinfo.h: Likewise.
5837 * include/fcntl.h: Likewise.
5838 * include/fenv.h: Likewise.
5839 * include/glob.h: Likewise.
5840 * include/grp.h: Likewise.
5841 * include/libintl.h: Likewise.
5842 * include/mntent.h: Likewise.
5843 * include/netdb.h: Likewise.
5844 * include/pwd.h: Likewise.
5845 * include/rpc/netdb.h: Likewise.
5846 * include/sched.h: Likewise.
5847 * include/search.h: Likewise.
5848 * include/shadow.h: Likewise.
5849 * include/signal.h: Likewise.
5850 * include/stdio.h: Likewise.
5851 * include/stdlib.h: Likewise.
5852 * include/string.h: Likewise.
5853 * include/sys/socket.h: Likewise.
5854 * include/sys/stat.h: Likewise.
5855 * include/sys/statfs.h: Likewise.
5856 * include/sys/statvfs.h: Likewise.
5857 * include/sys/syslog.h: Likewise.
5858 * include/sys/time.h: Likewise.
5859 * include/sys/uio.h: Likewise.
5860 * include/time.h: Likewise.
5861 * include/unistd.h: Likewise.
5862 * include/utmp.h: Likewise.
5863 * include/wchar.h: Likewise.
5864 * include/wctype.h: Likewise.
5865 * inet/aliases.h: Likewise.
5866 * inet/arpa/inet.h: Likewise.
5867 * inet/netinet/ether.h: Likewise.
5868 * inet/netinet/in.h: Likewise.
5869 * intl/libintl.h: Likewise.
5870 * io/bits/fcntl2.h: Likewise.
5871 * io/fcntl.h: Likewise.
5872 * io/ftw.h: Likewise.
5873 * io/sys/poll.h: Likewise.
5874 * io/sys/stat.h: Likewise.
5875 * io/sys/statfs.h: Likewise.
5876 * io/sys/statvfs.h: Likewise.
5877 * io/utime.h: Likewise.
5878 * libio/bits/stdio.h: Likewise.
5879 * libio/bits/stdio2.h: Likewise.
5880 * libio/libio.h: Likewise.
5881 * libio/libioP.h: Likewise.
5882 * libio/stdio.h: Likewise.
5883 * locale/lc-ctype.c: Likewise.
5884 * locale/locale.h: Likewise.
5885 * login/utmp.h: Likewise.
5886 * malloc/arena.c: Likewise.
5887 * malloc/malloc.c: Likewise.
5888 * malloc/malloc.h: Likewise.
5889 * malloc/mcheck.c: Likewise.
5890 * malloc/mtrace.c: Likewise.
5891 * math/bits/mathcalls.h: Likewise.
5892 * math/fenv.h: Likewise.
5893 * math/math_private.h: Likewise.
5894 * misc/bits/error.h: Likewise.
5895 * misc/bits/syslog.h: Likewise.
5896 * misc/err.h: Likewise.
5897 * misc/error.h: Likewise.
5898 * misc/fstab.h: Likewise.
5899 * misc/mntent.h: Likewise.
5900 * misc/regexp.h: Likewise.
5901 * misc/search.h: Likewise.
5902 * misc/sgtty.h: Likewise.
5903 * misc/sys/mman.h: Likewise.
5904 * misc/sys/syslog.h: Likewise.
5905 * misc/sys/uio.h: Likewise.
5906 * misc/sys/xattr.h: Likewise.
5907 * misc/ttyent.h: Likewise.
5908 * nis/rpcsvc/ypclnt.h: Likewise.
5909 * nss/nss.h: Likewise.
5910 * posix/bits/unistd.h: Likewise.
5911 * posix/fnmatch.h: Likewise.
5912 * posix/glob.h: Likewise.
5913 * posix/sched.h: Likewise.
5914 * posix/spawn.h: Likewise.
5915 * posix/sys/wait.h: Likewise.
5916 * posix/unistd.h: Likewise.
5917 * posix/wordexp.h: Likewise.
5918 * pwd/pwd.h: Likewise.
5919 * resolv/netdb.h: Likewise.
5920 * resource/sys/resource.h: Likewise.
5921 * rt/aio.h: Likewise.
5922 * rt/bits/mqueue2.h: Likewise.
5923 * rt/mqueue.h: Likewise.
5924 * shadow/shadow.h: Likewise.
5925 * signal/signal.h: Likewise.
5926 * socket/send.c: Likewise.
5927 * socket/sendto.c: Likewise.
5928 * socket/sys/socket.h: Likewise.
5929 * stdio-common/printf.h: Likewise.
5930 * stdlib/bits/stdlib.h: Likewise.
5931 * stdlib/fmtmsg.h: Likewise.
5932 * stdlib/monetary.h: Likewise.
5933 * stdlib/stdlib.h: Likewise.
5934 * stdlib/ucontext.h: Likewise.
5935 * streams/stropts.h: Likewise.
5936 * string/argz.h: Likewise.
5937 * string/bits/string2.h: Likewise.
5938 * string/string.h: Likewise.
5939 * string/strings.h: Likewise.
5940 * sunrpc/rpc/auth.h: Likewise.
5941 * sunrpc/rpc/auth_des.h: Likewise.
5942 * sunrpc/rpc/clnt.h: Likewise.
5943 * sunrpc/rpc/netdb.h: Likewise.
5944 * sunrpc/rpc/pmap_clnt.h: Likewise.
5945 * sunrpc/rpc/xdr.h: Likewise.
5946 * sysdeps/generic/inttypes.h: Likewise.
5947 * sysdeps/generic/net/if.h: Likewise.
5948 * sysdeps/generic/sys/swap.h: Likewise.
5949 * sysdeps/gnu/net/if.h: Likewise.
5950 * sysdeps/gnu/utmpx.h: Likewise.
5951 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5952 * sysdeps/i386/i486/bits/string.h: Likewise.
5953 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5954 * sysdeps/s390/bits/string.h: Likewise.
5955 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5956 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5957 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5958 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5959 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5960 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5961 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5962 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5963 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5964 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5965 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5966 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5967 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5968 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5969 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5970 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5971 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5973 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5974 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5975 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5976 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5977 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5978 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5979 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5980 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5981 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5982 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5983 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5984 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5985 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5986 * sysvipc/sys/ipc.h: Likewise.
5987 * sysvipc/sys/msg.h: Likewise.
5988 * sysvipc/sys/sem.h: Likewise.
5989 * sysvipc/sys/shm.h: Likewise.
5990 * termios/termios.h: Likewise.
5991 * time/sys/time.h: Likewise.
5992 * time/time.h: Likewise.
5993 * wcsmbs/bits/wchar2.h: Likewise.
5994 * wcsmbs/uchar.h: Likewise.
5995 * wcsmbs/wchar.h: Likewise.
5996 * wctype/wctype.h: Likewise.
5997
0269750c
UD
5998 [BZ #13551]
5999 * Makeconfig: Remove all but ELF support including AIX support.
6000 * Makerules: Likewise.
6001 * config.h.in: Likewise.
6002 * config.make.in: Likewise.
6003 * configure: Likewise.
6004 * configure.in: Likewise.
6005 * csu/Makefile: Likewise.
6006 * csu/version.c: Likewise.
6007 * debug/Makefile: Likewise.
6008 * dlfcn/Makefile: Likewise.
6009 * elf/Makefile: Likewise.
6010 * extra-lib.mk: Likewise.
6011 * iconv/Makefile: Likewise.
6012 * include/libc-symbols.h: Likewise.
6013 * include/shlib-compat.h: Likewise.
6014 * resolv/Makefile: Likewise.
6015 * resolv/res_libc.c: Likewise.
6016 * rt/Makefile: Likewise.
6017 * sysdeps/i386/asm-syntax.h: Likewise.
6018 * sysdeps/i386/sysdep.h: Likewise.
6019 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6020 * sysdeps/mach/sysdep.h: Likewise.
6021 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6022 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6023 * sysdeps/s390/asm-syntax.h: Likewise.
6024 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6025 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6026 * sysdeps/sh/sysdep.h: Likewise.
6027 * sysdeps/unix/sparc/sysdep.h: Likewise.
6028 * sysdeps/wordsize-32/divdi3.c: Likewise.
6029 * sysdeps/x86_64/sysdep.h: Likewise.
6030
00bbd29b
UD
6031 * argp/Versions: Remove _argp_unlock_xxx.
6032
6033 [BZ #13559]
6034 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6035 * abilist/libBrokenLocale.abilist: Likewise.
6036 * abilist/libanl.abilist: Likewise.
6037 * abilist/libc.abilist: Likewise.
6038 * abilist/libcrypt.abilist: Likewise.
6039 * abilist/libdl.abilist: Likewise.
6040 * abilist/libm.abilist: Likewise.
6041 * abilist/libnsl.abilist: Likewise.
6042 * abilist/libpthread.abilist: Likewise.
6043 * abilist/libresolv.abilist: Likewise.
6044 * abilist/librt.abilist: Likewise.
6045 * abilist/libthread_db.abilist: Likewise.
6046 * abilist/libutil.abilist: Likewise.
6047 * abilist/libnss_db.abilist: New file.
6048
6049 * scripts/abilist.awk: Add support for indirect functions.
6050
a2693a0e
UD
6051 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6052
3f05895f
UD
6053 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6054
ecb6fb48
UD
6055 * shlib-versions: Remove entries for ports architectures.
6056
664f8cb9
UD
6057 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6058 files in ports.
6059 * elf/stackguard-macros.h: Remove support for IA-64.
6060 * elf/tst-auditmod1.c: Likewise.
6061 * sysdeps/generic/ldsodefs.h: Likewise.
6062
7ae81d88
UD
6063 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6064 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6065 configure files.
6066
bdeba135
UD
6067 [BZ #13552]
6068 * configure.in: Remove --enable-omitfp support.
6069 * FAQ.in: Adjust.
6070 * config.make.in: Likewise.
6071 * Makeconfig: Likewise.
6072 * manual/install.texi: Likewise.
6073
d75a0a62
UD
6074 In case anyone cares, the IA-64 architecture could move to ports.
6075 * sysdeps/ia64/*: Removed.
6076 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6077 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6078
dcc9756b
UD
6079 [BZ #13555]
6080 * configure.in: Remove entries for unsupported architectures.
6081
d3761ebc 6082 [BZ #13533]
9954432e
UD
6083 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6084 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6085 routines.
6086 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6087 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6088 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6089 fall back to using wcrtomb.
6090 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6091 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6092 renaming.
6093 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6094 * wcsmbs/tst-c16c32-1.c: New file.
6095
6096 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6097 local variable.
6098
c3a87236
UD
6099 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6100
28926a1b
UD
6101 * elf/tst-unique3.cc: Add explicit declaration of gets.
6102 * elf/tst-unique3lib.cc: Likewise.
6103 * elf/tst-unique3lib2.cc: Likewise.
6104 * elf/tst-unique4.cc: Likewise.
6105
df78418a
UD
6106 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6107
8ecd6b2a
JM
61082012-01-06 Joseph Myers <joseph@codesourcery.com>
6109
6110 [BZ #13566]
6111 * assert/assert.h (static_assert): Don't define for C++.
6112 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6113 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6114
9f115170
UD
61152012-01-03 Ulrich Drepper <drepper@gmail.com>
6116
5e0d0300
UD
6117 * iconv/loop.c (single loop): Fix assertion in storing of
6118 remaining bytes.
6119
9f115170
UD
6120 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6121
81fb02b0
UD
61222012-01-01 Ulrich Drepper <drepper@gmail.com>
6123
6124 * posix/getconf.c: Update copyright year.
6125 * nss/getent.c: Likewise.
a316c1f6 6126 * nss/makedb.c: Likewise.
81fb02b0
UD
6127 * iconv/iconvconfig.c: Likewise.
6128 * iconv/iconv_prog.c: Likewise.
6129 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6130 * elf/pldd.c: Likewise.
6131 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6132 * catgets/gencat.c: Likewise.
6133 * csu/version.c: Likewise.
6134 * elf/ldd.bash.in: Likewise.
6135 * elf/sprof.c (print_version): Likewise.
6136 * locale/programs/locale.c: Likewise.
6137 * locale/programs/localedef.c: Likewise.
a316c1f6 6138 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6139 * nscd/nscd.c (print_version): Likewise.
6140 * debug/xtrace.sh: Likewise.
6141 * malloc/memusage.sh: Likewise.
6142 * malloc/mtrace.pl: Likewise.
6143 * debug/catchsegv.sh: Likewise.
6144
2ba92745
JJ
61452011-12-30 Jakub Jelinek <jakub@redhat.com>
6146
6147 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6148 pure attribute.
6149
dadebdae
UD
61502011-12-24 Ulrich Drepper <drepper@gmail.com>
6151
d3761ebc 6152 [BZ #13533]
db6af3eb
UD
6153 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6154 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6155 transformations.
6156 * iconv/gconv_int.h: Likewise.
6157 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6158 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6159 from libc for GLIBC_2.16.
6160 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6161 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6162 * wcsmbs/uchar.h: Really define mbstate_t.
6163 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6164 * wcsmbs/c16rtomb.c: New file.
6165 * wcsmbs/mbrtoc16.c: New file.
6166 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6167 for C/POSIX locale.
6168 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6169 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6170
dadebdae
UD
6171 * wcsmbs/wchar.h: Add missing __restrict.
6172
67371b56
UD
61732011-12-23 Ulrich Drepper <drepper@gmail.com>
6174
74033a25
UD
6175 [BZ #13532]
6176 * time/Makefile (routines): Add timespec_get.
6177 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6178 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6179 timespec for ISO C11.
6180 * time/timespec_get.c: New file.
6181 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6182 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6183
380d7e87
UD
6184 [BZ #13531]
6185 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6186 * stdlib/stdlib.h: Declare aligned_alloc.
6187 * Versions.def: Add GLIBC_2.16 for libc.
6188 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6189
4e9e7a35
UD
6190 [BZ 13527]
6191 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6192 ISO C11.
6193
380d7e87 6194 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6195 code.
6196
03a71829
UD
6197 [BZ #13528]
6198 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6199
839e283e
UD
6200 [BZ #13529]
6201 * assert/assert.h (static_assert): Define.
6202
ce5294e2 6203 * version.h: Update for 2.16 development version.
90fa7312 6204
8d44e150 6205 [BZ #13526]
d7809905
UD
6206 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6207 _ISOC11_SOURCE.
6208
c0da14cd
UD
6209 * version.h (RELEASE): Bump for 2.15 release.
6210 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6211
530a3249
MP
6212 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6213 Patch by Marek Polacek <mpolacek@redhat.com>.
6214
67371b56
UD
6215 * bits/byteswap.h: Protect long long constants with __extension__.
6216 * sysdeps/i386/bits/byteswap.h: Likewise.
6217 * sysdeps/ia64/bits/byteswap.h: Likewise.
6218 * sysdeps/s390/bits/byteswap.h: Likewise.
6219 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6220
15db4de1
LD
62212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6222
6223 [BZ #13540]
bbe315ea
LD
6224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6225 destination buffer.
15db4de1
LD
6226 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6227
2b2596b1
MP
62282011-12-23 Marek Polacek <polacek@redhat.com>
6229
6230 * elf/dl-addr.c (determine_info): Add inline keyword.
6231 * elf/tst-auditmod4b.c (check_avx): Likewise.
6232 * elf/tst-auditmod6b.c (check_avx): Likewise.
6233 * elf/tst-auditmod6c.c (check_avx): Likewise.
6234 * elf/tst-auditmod7b.c (check_avx): Likewise.
6235
70c6c246
UD
62362011-12-23 Ulrich Drepper <drepper@gmail.com>
6237
6238 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6239 !__SSE_MATH__.
6240
c044cf14
LD
62412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6242
15db4de1 6243 [BZ #13540]
c044cf14
LD
6244 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6245 processing for last bytes.
6246
6b13d9d9
BH
62472011-08-06 Bruno Haible <bruno@clisp.org>
6248
d455f537
BH
6249 [BZ #13061]
6250 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6251 U+0385, not to U+1FEE.
6252
6b13d9d9
BH
6253 [BZ #13062]
6254 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6255 entry for U+00A5 U+0301.
6256
db910efd
UD
62572011-12-22 Ulrich Drepper <drepper@gmail.com>
6258
27deeafc
UD
6259 [BZ #13166]
6260 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6261 buffer for the output is too small.
6262
aed9d171
UD
6263 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6264 optimization.
6265
db910efd
UD
6266 [BZ #13185]
6267 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6268 SSE flags if possible.
6269
2bd779ae
LD
62702011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6271
e7f9dac3 6272 [BZ #13540]
2bd779ae
LD
6273 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6274 processing for last bytes.
6275
154bfc16
JM
62762011-12-22 Joseph Myers <joseph@codesourcery.com>
6277
6278 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6279 (syscall-list-default-options, syscall-list-default-condition)
6280 (syscall-list-includes): Define.
6281 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6282 list of ABIs and options and #if conditions for each ABI. Do not
6283 handle common syscalls between ABIs specially.
6284 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6285 Remove.
6286 (syscall-list-variants, syscall-list-32bit-options)
6287 (syscall-list-32bit-condition, syscall-list-64bit-options)
6288 (syscall-list-64bit-condition): Define.
6289 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6290 (syscall-list-variants, syscall-list-32bit-options)
6291 (syscall-list-32bit-condition, syscall-list-64bit-options)
6292 (syscall-list-64bit-condition): Define.
6293 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6294 Remove.
6295 (syscall-list-variants, syscall-list-32bit-options)
6296 (syscall-list-32bit-condition, syscall-list-64bit-options)
6297 (syscall-list-64bit-condition): Define.
6298 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6299 Remove.
6300 (syscall-list-variants, syscall-list-32bit-options)
6301 (syscall-list-32bit-condition, syscall-list-64bit-options)
6302 (syscall-list-64bit-condition): Define.
6303
21eaf3a5
UD
63042011-12-22 Ulrich Drepper <drepper@gmail.com>
6305
16c6f992
UD
6306 * locale/iso-639.def: Add brx entry.
6307
41043168
UD
6308 [BZ #13328]
6309 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6310 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6311
21eaf3a5
UD
6312 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6313 __feraiseexcept_renamed.
6314
e3a851a2
UD
63152011-12-21 Ulrich Drepper <drepper@gmail.com>
6316
4920765e
UD
6317 [BZ #13538]
6318 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6319 EPOLLET with unsigned values.
6320 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6321 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6322
e3a851a2
UD
6323 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6324 to large cancellation.
6325 * math/s_cacoshf.c: Likewise.
6326 * math/s_cacoshl.c: Likewise.
6327
b27e24b8
RK
63282011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6329
6330 [BZ #13305]
aebefeee 6331 [BZ #12786]
b27e24b8
RK
6332 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6333 * math/s_cacoshf.c: Likewise.
6334 * math/s_cacoshl.c: Likewise.
6335
ee190f67
UD
63362011-12-21 Ulrich Drepper <drepper@gmail.com>
6337
6338 [BZ #13439]
6339 * iconv/gconv.h: Define __GCONV_SWAP.
6340 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6341 * iconvdata/utf-16.c: Likewise.
6342 * iconvdata/utf-32.c: Likewise.
6343
707f25df
AS
63442011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6345
6346 [BZ #13524]
6347 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6348 numerator after shifting it by one limb.
6349
d2daaa1e
RÁE
63502011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6351
6352 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6353 under [__USE_EXTERN_INLINES].
6354
a4647e72
UD
63552011-12-17 Ulrich Drepper <drepper@gmail.com>
6356
6357 [BZ #13446]
6358 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6359
f0b264f1
AZ
63602011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6361
6362 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6363 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6364 optimized code.
6365 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6366 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6367 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6368 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6369 for strncasecmp/strncasecmp_l compilation.
6370 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6371 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6372
8ef4f244
MP
63732011-12-08 Marek Polacek <mpolacek@redhat.com>
6374
6375 [BZ #13484]
6376 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6377 of __asm__.
6378
97ac2654
UD
63792011-12-17 Ulrich Drepper <drepper@gmail.com>
6380
6381 [BZ #13506]
6382 * time/tzfile.c (__tzfile_read): Check values from file header.
6383
91d2a845
WS
63842011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6385
6386 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6387 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6388 * powerpc/powerpc32/dl-start.S: Likewise.
6389 * powerpc/powerpc32/elf/start.S: Likewise.
6390 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6391 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6392 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6393 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6394 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6395 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6396 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6397 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6398 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6399 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6400 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6401 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6402 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6403 * powerpc/powerpc32/memset.S: Likewise.
6404 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6405 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6406 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6407 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6408 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6409 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6410 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6411 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6412 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6413 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6414 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6415 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6416 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6417
a1267ba1
AZ
64182011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6419
6420 * math/libm-test.inc: Added more nearbyint tests.
6421 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6422 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6423 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6424 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6425
ad8ac1bd
RL
64262011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6427
6428 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6429 FD_CLOEXEC.
6430
1d3e4b61
UD
64312011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6432
6433 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6434 Add wcscpy-ssse3 wcscpy-c.
6435 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6436 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6437 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6438 * sysdeps/x86_64/wcschr.S: New file.
6439 * sysdeps/x86_64/wcsrchr.S: New file.
6440 * string/test-strcmp.c: Remove checking of wcscmp function for
6441 wrong alignments.
6442 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6443 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6444 wcsrchr-sse2 wcsrchr-c.
6445 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6446 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6447 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6448 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6449 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6450 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6451 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6452 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6453 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6454 * wcsmbc/wcschr.c (WCSCHR): New macro.
6455
5b330a2d
UD
64562011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6457
6458 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6459 * wcsmbs/test-wcsrchr.c: New file.
6460 * string/test-strrchr.c: Add wcsrchr support.
6461 (WIDE): New macro.
6462 * wcsmbs/test-wcscpy.c: New file.
6463 * string/test-strcpy.c: Add wcscpy support.
6464 (WIDE): New macro.
26428b7c 6465
f039c043
UD
64662011-12-10 Ulrich Drepper <drepper@gmail.com>
6467
6468 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6469 the inner loop.
6470
850fb039
AS
64712011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6472
6473 [BZ #13472]
6474 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6475
4efbd5cb
UD
64762011-12-04 Ulrich Drepper <drepper@gmail.com>
6477
52ff5dd0 6478 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6479 Minor optimizations.
52ff5dd0 6480
4efbd5cb
UD
6481 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6482 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6483 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6484
8a426e12
UD
64852011-12-03 Ulrich Drepper <drepper@gmail.com>
6486
aff2453d
UD
6487 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6488 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6489 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6490 for gcc to avoid warnings.
6491 * inet/Makefile (tests): Add tst-checks.
6492 * inet/tst-checks.c: New file.
6493
6494 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6495 warning.
6496
6497 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6498 __wmemcmp_sse2.
6499
6500 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6501 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6502
8a426e12
UD
6503 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6504
9bea3473
UD
65052011-12-02 Ulrich Drepper <drepper@gmail.com>
6506
3a965496
UD
6507 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6508 problem.
6509
9bea3473
UD
6510 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6511
f101631b
UD
65122011-11-29 Joseph Myers <joseph@codesourcery.com>
6513
6514 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6515 conditional on GCC version.
6516 (__arch_compare_and_exchange_val_8_acq)
6517 (__arch_compare_and_exchange_val_16_acq)
6518 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6519 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6520 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6521
a98275aa
UD
65222011-12-02 Joseph Myers <joseph@codesourcery.com>
6523
6524 * sysdeps/sh/backtrace.c: New file.
6525
d4cc29a2
AS
65262011-12-02 Andreas Schwab <schwab@redhat.com>
6527
6528 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6529 parenthesis.
6530
6257af2d
AS
65312011-12-01 Andreas Schwab <schwab@redhat.com>
6532
6533 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6534 falling back to utime.
6535
b5f44c1a
AS
65362011-11-30 Andreas Schwab <schwab@redhat.com>
6537
6538 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6539 expectations for float.
6540
f3a6cc0a
AS
65412011-11-29 Andreas Schwab <schwab@redhat.com>
6542
6543 * locale/weight.h (findidx): Add parameter len.
6544 * locale/weightwc.h (findidx): Likewise.
6545 * posix/fnmatch_loop.c (FCT): Adjust caller.
6546 * posix/regcomp.c (build_equiv_class): Likewise.
6547 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6548 * posix/regexec.c (check_node_accept_bytes): Likewise.
6549 * string/strcoll_l.c (STRCOLL): Likewise.
6550 * string/strxfrm_l.c (STRXFRM): Likewise.
6551
9d65ea3a
UD
65522011-11-17 Ulrich Drepper <drepper@gmail.com>
6553
6554 * Makefile.in: Remove CVSOPT handling.
6555 * configure.in: Remove use of AC_REVISION.
6556 * iconvdata/Makefile (distribute): No need to filter out CVS.
6557 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6558 handling.
6559
5583a086
AS
65602011-11-16 Andreas Schwab <schwab@redhat.com>
6561
6562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6563 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6564 [USE_AS_STRNCASECMP_L]: Likewise.
6565 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6566 NO_TLS_DIRECT_SEG_REFS.
6567 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6568 Fix argument offsets for non-PIC.
6569 [USE_AS_STRNCASECMP_L]: Likewise.
6570 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6571 NO_TLS_DIRECT_SEG_REFS.
6572
d62a8200
UD
65732011-11-15 Ulrich Drepper <drepper@gmail.com>
6574
9d65ea3a 6575 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6576 O_CLOEXEC.
6577 * locale/loadlocale.c (_nl_load_locale): Likewise.
6578
09f93bd3
AS
65792011-11-15 Andreas Schwab <schwab@redhat.com>
6580
446514f9
AS
6581 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6582 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6584 (SYSCALL_GETTIME): Set errno on error.
6585
09f93bd3
AS
6586 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6587 count references to noai6ai_cached.
6588
312be3f9
UD
65892011-11-15 Ulrich Drepper <drepper@gmail.com>
6590
6591 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6592
6593 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6594 FD_CLOEXEC for /proc/self/maps.
6595
6596 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6597 FD_CLOEXEC for /proc/meminfo.
6598
6599 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6600 gai.conf.
6601
6602 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6603 FD_CLOEXEC for given file.
6604
6605 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6606
6607 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6608 FD_CLOEXEC for /etc/hosts.
6609 (_gethtent): Likewise.
6610
6611 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6612
6613 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6614 cancellation and set FD_CLOEXEC for /etc/netgroup.
6615
6616 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6617 reading /etc/publickey.
6618
6619 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6620 allow cancellation when reading /etc/group.
6621
6622 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6623 cancellation.
6624 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6625
6626 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6627 when using data file.
6628
6629 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6630
6631 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6632 (write_nis_obj): Use "c" and "e" in fopen.
6633
6634 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6635
6636 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6637
6638 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6639
6640 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6641
6642 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6643 locale.alias.
6644
6645 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6646
6647 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6648
6649 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6650
6651 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6652 file parsing and set FD_CLOEXEC.
6653
82af0fa8
UD
66542011-11-14 Ulrich Drepper <drepper@gmail.com>
6655
6656 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6657
a5fb313c
AS
66582011-11-14 Andreas Schwab <schwab@redhat.com>
6659
6660 * malloc/arena.c (arena_get2): Don't call reused_arena when
6661 _int_new_arena failed.
6662
6abf3465
UD
66632011-11-14 Ulrich Drepper <drepper@gmail.com>
6664
6665 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6666 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6667 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6668 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6669 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6670 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6671 to compile strcasecmp and strncasecmp.
6672 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6673 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6674
6675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6676
76e3966e
UD
66772011-11-13 Ulrich Drepper <drepper@gmail.com>
6678
6679 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6680 locale-defines.sym to gen-as-const-headers.
6681 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6682 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6683 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6684 to compile strcasecmp and strncasecmp.
6685 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6686 strcasecmp_l and strncasecmp_l.
6687 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6688 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6689 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6690 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6691 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6692 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6693 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6694 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6695 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6696 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6697 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6698
ab26144e
UD
66992011-11-12 Ulrich Drepper <drepper@gmail.com>
6700
7edb22ef
UD
6701 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6702 result of SYSDEP_GETTIME_CPU to retval.
6703 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6704 parameter list to macro. Remove trailing semicolon. Adjust users.
6705
9694fc44
UD
6706 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6707 variable.
6708
8ad89ef8
UD
6709 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6710 mantissa words.
6711 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6712
0c822ef9
UD
6713 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6714 from unused variable.
6715
874e0564
UD
6716 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6717 DWARF definitions.
6718 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6719 for assembling.
6720
3a2edc79
UD
6721 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6722 over namespaces.
6723
f3c2577f
UD
6724 * sunrpc/rpc_prot.c (rejected): Fix case value.
6725
294ce126
UD
6726 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6727 unsigned long long int to avoid warnings in shift.
6728
5e2b63c6
UD
6729 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6730 of use of trans.
6731 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6732 variable tmp.
6733
e7f4b08e
UD
6734 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6735 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6736 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6737
ab26144e
UD
6738 * nis/nis_table.c (nis_list): Use variable of correct type for
6739 result of __follow_path call.
6740
8a6d5255
AZ
67412011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6742
6743 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6744 of math functions ceil, trunc, floor, round, and sqrt, when
6745 avaliable on the platform.
6746 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6747 name clash.
6748 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6749 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6750 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6751
aaddc98c
MP
67522011-10-30 Marek Polacek <mpolacek@redhat.com>
6753
6754 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6755 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6756
95b7042b
RM
67572011-11-11 Roland McGrath <roland@hack.frob.com>
6758
6759 * include/unistd.h: Fix __readlink return type.
6760 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6761
57769839
UD
67622011-11-11 Ulrich Drepper <drepper@gmail.com>
6763
6764 * stdlib/ucontext.h: Undo last change for makecontext.
6765
edc5984d
AS
67662011-11-11 Andreas Schwab <schwab@redhat.com>
6767
98591e58
AS
6768 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6769
edc5984d
AS
6770 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6771 * setjmp/setjmp.h: Mark functions as non-leaf.
6772 * setjmp/bits/setjmp2.h: Likewise.
6773 * stdlib/ucontext.h: Likewise.
6774
77cdc054
AS
67752011-11-10 Andreas Schwab <schwab@redhat.com>
6776
6777 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6778 (reused_arena): Don't check arena limit.
6779 (arena_get2): Atomically check arena limit.
6780
fe72eebd
UD
67812011-11-08 Ulrich Drepper <drepper@gmail.com>
6782
5f078c32
UD
6783 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6784 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6785
fe72eebd
UD
6786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6787 instructions.
6788
ae1bc2fa
AS
67892011-11-07 Andreas Schwab <schwab@redhat.com>
6790
7583a88d
AS
6791 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6792 handler when locking.
6793
ae1bc2fa
AS
6794 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6795 Fix size of allocated buffer.
6796
10fb0bfa
AS
67972011-11-04 Andreas Schwab <schwab@redhat.com>
6798
998832a4
AS
6799 [BZ #10103]
6800 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6801 declarations for long double functions.
6802 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6803
10fb0bfa
AS
6804 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6805
3d7ba52b
AS
68062011-11-03 Andreas Schwab <schwab@redhat.com>
6807
a9ae54a1
AS
6808 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6809 installed.
6810
3d7ba52b
AS
6811 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6812 is disabled.
6813
bc8db248
ST
68142011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6815
6816 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6817
45b96dd6
AS
68182011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6819
647776f6
AS
6820 * include/alloca.h (stackinfo_alloca_round): Define.
6821 (extend_alloca): Use it.
6822 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6823 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6824 here.
6825
d91a8b93
AS
6826 * scripts/check-local-headers.sh: Ignore libaudit.h.
6827
45b96dd6
AS
6828 * nscd/Makefile (extra-objs): Make recursively expanded.
6829
432d41ce
UD
68302011-11-01 Ulrich Drepper <drepper@gmail.com>
6831
34372fc6
UD
6832 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6833 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6834
fadb59f8
UD
6835 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6836 * posix/tst-rfc3484-2.c: Likewise.
6837 * posix/tst-rfc3484-3.c: Likewise.
6838
78239589
UD
6839 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6840 process_vm_writev.
6841 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6842 process_vm_writev.
6843 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6844 process_vm_writev from libc using GLIBC_2.15 version.
6845
432d41ce
UD
6846 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6847
02f9c6cf
PP
68482011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6849
6850 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6851 stack usage.
6852
3a2c0242
UD
68532011-10-31 Ulrich Drepper <drepper@gmail.com>
6854
f4ec4833
UD
6855 [BZ #13367]
6856 * nss/getent.c (initgroups_keys): Show error message in case no group
6857 names are given.
6858
3a2c0242
UD
6859 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6860 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6861 __bump_nl_timestamp.
6862 * nscd/connections (nscd_init): When host database is served open
6863 netlink socket and request notification about configuration changes.
6864 (main_loop_poll): Track netlink file descriptor and bump timestamp
6865 in case data becomes available.
6866 (main_loop_epoll): Likewise.
6867 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6868 (database_pers_head): Add extra_data fileds.
6869 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6870 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6871 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6872 Adjust caller.
6873 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6874 in6ai data, call __free_in6ai.
6875 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6876 Add -DHAVE_NETLINK.
6877 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6878 interface information. Reuse previous data if netlink timestamp
6879 is not changed.
6880 (__bump_nl_timestamp): New function.
6881 (__free_in6ai): New function.
6882
636064eb
UD
68832011-10-30 Ulrich Drepper <drepper@gmail.com>
6884
6885 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6886 close_not_cancel_no_status here.
6887 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6888
9beb2334
UD
68892011-10-29 Ulrich Drepper <drepper@gmail.com>
6890
6ef76f3b
UD
6891 [BZ #13276]
6892 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6893 return value.
6894
0ffc4f3e 6895 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
6896 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6897 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6898
cb95113e
UD
68992011-07-03 Andreas Jaeger <aj@suse.de>
6900
6901 [BZ #10709]
6902 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6903 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6904 * math/libm-test.inc (sin_test): Add test case.
6905
a1b560ff
UD
69062011-10-29 Ulrich Drepper <drepper@gmail.com>
6907
c9aaface
UD
6908 [BZ #13337]
6909 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6910 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6911
d272e7f1
UD
6912 * elf/chroot_canon.c (chroot_canon): Cleanups.
6913
1bc33071
UD
6914 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6915
1760874d
TJ
6916 [BZ #13335]
6917 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6918 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6919
51d91b18
UD
6920 * string/test-strchr.c: Make usable for strchrnul testing.
6921 * string/test-strchrnul.c: New file.
6922 * string/Makefile (strop-tests): Add strchrnul.
6923
a1b560ff 6924 * po/it.po: Update from translation team.
b611fb81 6925 * po/es.po: Likewise.
a1b560ff 6926
a5b81e1f
UD
69272011-10-28 Ulrich Drepper <drepper@gmail.com>
6928
fd52bc6d
UD
6929 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6930 the three constants needed as parameters. Drop the others.
6931 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6932 __m128i_strloadu_tolower.
52e4b9eb
UD
6933 Create and initialize variable zero and use it in all the places
6934 where _mm_setzero_si128 was used.
fd52bc6d 6935
a5b81e1f
UD
6936 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6937 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6938 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6939 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6940 anymore.
6941 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6942 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6943 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6944 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6945 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6946 __mpranred, __mptan.
6947 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6948 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6949 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6950 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6951 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6952 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6953 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6954 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6955 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6956
b4343346
AS
69572011-10-28 Andreas Schwab <schwab@redhat.com>
6958
0c92d8a8
AS
6959 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6960 redefine if SHARED.
6961 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6962
b4343346
AS
6963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6964 wide char related routines to wcsmbs subdir.
6965
3871f58f
AS
69662011-10-27 Andreas Schwab <schwab@redhat.com>
6967
6968 [BZ #13344]
6969 * misc/sys/cdefs.h (__THROWNL): Define.
6970 * posix/unistd.h: Use __THREADNL instead of __THREAD
6971 for memory synchronization functions.
6972
94d44d9f
RM
69732011-10-26 Roland McGrath <roland@hack.frob.com>
6974
21b64b15 6975 [BZ #13349]
94d44d9f
RM
6976 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6977 doesn't exist.
6978 * manual/stdio.texi (Obstack Streams): Node removed.
6979
f6ce9294
AS
69802011-10-26 Andreas Schwab <schwab@redhat.com>
6981
80479147
AS
6982 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6983 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6984 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6985
f6ce9294
AS
6986 * math/math_private.h (math_force_eval): Allow non-addressable
6987 arguments.
6988 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6989
618280a1
UD
69902011-10-25 Ulrich Drepper <drepper@gmail.com>
6991
e0016b11
UD
6992 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6993 file is not needed.
6994
6995 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6996 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6997 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6998 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6999 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7000 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7001 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7002 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7003 Add AVX variants.
7004 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7005 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7006 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7007 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7008 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7009 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7010 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7011 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7012 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7013 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7014 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7015 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7016 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7017 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7018 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7019 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7020 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7021 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7022 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7023
7024 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7025 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7026
618280a1
UD
7027 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7028 place. Use VEX encoding when compiling for AVX.
7029
37822576
AS
70302011-10-25 Andreas Schwab <schwab@redhat.com>
7031
1f1e1947
AS
7032 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7033 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7034
37822576
AS
7035 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7036
31ea014d
UD
70372011-10-25 Ulrich Drepper <drepper@gmail.com>
7038
d7826aa1 7039 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7040 useless if() expression.
d7826aa1
UD
7041 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7042 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7043 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7044 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7045 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7046 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7047 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7049 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7050 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7051 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7052 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7053 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7054 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7055 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7056 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7057 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7058 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7059 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7060
31ea014d
UD
7061 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7062
16437fec
AS
70632011-10-25 Andreas Schwab <schwab@redhat.com>
7064
7065 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7066 condition.
7067 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7068
31d3cc00
UD
70692011-10-25 Ulrich Drepper <drepper@gmail.com>
7070
7071 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7072 .text section. Avoid duplicate constants.
7073 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7075 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7077 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7078 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7079 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7080 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7081 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7082 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7083 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7084 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7085 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7086 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7087 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7088 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7089 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7090 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7091 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7092 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7093 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7094 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7095 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7096 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7097 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7098 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7099 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7100 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7101 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7102 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7103 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7104 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7105 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7106 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7107 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7108 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7109 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7110 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7111 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7112 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7113 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7114 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7115 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7116 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7117 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7118
58985aa9
UD
71192011-10-24 Ulrich Drepper <drepper@gmail.com>
7120
202c9deb
UD
7121 * sysdeps/x86_64/dla.h: Move to ...
7122 * sysdeps/x86_64/fpu/dla.h: ...here.
7123 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7124 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7125
af968f62
UD
7126 * config.make.in: Add have-mfma4 entry.
7127 * configure.in: Substitute libc_cv_cc_fma4.
7128 * math/Makefile (dbl-only-routines): Add sincostab.
7129 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7130 Use __sincostab not sincos.
7131 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7132 name is a macro.
7133 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7137 using __copysign.
7138 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7139 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7140 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7141 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7142 and __inv.
7143 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7144 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7145 __copysign.
7146 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7147 define aliases when function name is a macro.
7148 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7149 sysdeps/ieee754/dbl-64/sincos.tbl.
7150 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7151 fma4-enabled routines.
7152 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7153 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7154 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7155 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7156 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7157 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7158 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7159 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7160 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7161 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7162 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7163 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7164 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7165 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7166 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7167 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7168 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7169 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7170 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7171 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7172 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7173 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7174 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7175 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7176 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7177 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7178 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7179 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7180 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7181 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7182
58985aa9
UD
7183 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7184 rename.
7185 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7186 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7188 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7189 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7191 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7192 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7193
a201fbcf
AS
71942011-10-24 Andreas Schwab <schwab@redhat.com>
7195
7196 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7197
fc2ee42a
LD
71982011-10-23 Ulrich Drepper <drepper@gmail.com>
7199
bb3129bd
UD
7200 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7201
0275fff8
UD
7202 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7203 prediction.
7204 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7205
2fa2ae85
UD
7206 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7207 Remove unused variable magic_bits.
7208 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7209
fc2ee42a
LD
7210 * string/strnlen.c: Define and use STRNLEN macro.
7211 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7212 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7213 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7214 * wcsmbs/wcslen.c: Define and use WCSLEN.
7215 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7216 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7217 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7218 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7219 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7220 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7221 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7222
ce7dd29f
LD
72232011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7224
7225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7226 strnlen-sse2-no-bsf.
7227 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7228 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7229 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7230 Add strnlen support.
7231 (USE_AS_STRNLEN): New macro.
7232 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7233 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7234 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7235 * sysdeps/x86_64/wcslen.S: New file.
7236
979c70a3
MZ
72372011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7238
7239 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7240 XMM-moves are used for copying on small sizes.
7241
2d09f82f
LD
72422011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7243
7244 * wcsmbs/Makefile (strop-tests): Add wcschr.
7245 * wcsmbs/test-wcschr.c: New file.
7246 * string/test-strchr.c: Update.
7247 Add wcschr support.
7248 (WIDE): New macro.
7249
619fccca
LD
72502011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7251
2d09f82f 7252 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7253 * wcsmbs/test-wcslen.c: New file.
7254 * string/test-strlen.c: Update.
7255 Add wcslen support.
7256 (WIDE): New macro.
7257
09f699ea
UD
72582011-10-23 Ulrich Drepper <drepper@gmail.com>
7259
7260 * po/it.po: Update from translation team.
7261
95584d3b
LD
72622011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7263
7264 * sysdeps/x86_64/wcscmp.S: Update.
7265 Fix wrong comparison semantics.
7266 wcscmp shall use signed comparison not unsigned.
7267 Don't use substraction to avoid overflow bug.
7268 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7269 * wcsmbc/wcscmp.c: Likewise.
7270 * string/test-strcmp.c: Likewise.
7271 Add new tests to check cases with negative values.
7272
c8b3296b
UD
72732011-10-23 Ulrich Drepper <drepper@gmail.com>
7274
7275 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7276 * sysdeps/x86_64/dla.h: ...here. New file.
7277 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7282 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7286
246ad57a
AS
72872011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7288
7289 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7290 __ynl_finite aliases.
7291
a1a87169
UD
72922011-10-22 Ulrich Drepper <drepper@gmail.com>
7293
0d355eb7
UD
7294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7295
a1a87169
UD
7296 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7297 define DLA_FMA.
7298 [DLA_FMA] (EMULV): Use DLA_FMA.
7299 [DLA_FMA] (MUL12): Use EMULV.
7300 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7301 that are not needed.
7302 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7303 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7307 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7308 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7309
ee2aafe0
AS
73102011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7311
7312 * math/s_nan.c: Undef __nan.
7313 * math/s_nanf.c: Undef __nanf.
7314 * math/s_nanl.c: Undef __nanl.
7315 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7316 "math_private.h".
7317
bc62c2fb
UD
73182011-10-22 Ulrich Drepper <drepper@gmail.com>
7319
77425c63
UD
7320 * math/s_catan.c: Add branch predictions.
7321 * math/s_catanf.c: Likewise.
7322 * math/s_catanh.c: Likewise.
7323 * math/s_catanhf.c: Likewise.
7324 * math/s_catanhl.c: Likewise.
7325 * math/s_catanl.c: Likewise.
7326 * math/s_cexp.c: Likewise.
7327 * math/s_cexpf.c: Likewise.
7328 * math/s_cexpl.c: Likewise.
7329 * math/s_clog.c: Likewise.
7330 * math/s_clog10.c: Likewise.
7331 * math/s_clog10f.c: Likewise.
7332 * math/s_clog10l.c: Likewise.
7333 * math/s_clogf.c: Likewise.
7334 * math/s_clogl.c: Likewise.
7335 * math/s_csqrt.c: Likewise.
7336 * math/s_csqrtf.c: Likewise.
7337 * math/s_csqrtl.c: Likewise.
7338 * math/s_ctanf.c: Likewise.
7339 * math/s_ctanh.c: Likewise.
7340 * math/s_ctanhf.c: Likewise.
7341 * math/s_ctanhl.c: Likewise.
7342 * math/s_ctanl.c: Likewise.
7343
bc62c2fb
UD
7344 * math/math_private.h: Define __nan, __nanf, __nanl.
7345 * math/s_cacosh.c: Include <math_private.h>.
7346 * math/s_cacoshl.c: Likewise.
7347 * math/s_casinh.c: Likewise.
7348 * math/s_casinhf.c: Likewise.
7349 * math/s_casinhl.c: Likewise.
7350 * math/s_ccos.c: Rely entire on ccosh.
7351 * math/s_ccosf.c: Rely entire on ccoshf.
7352 * math/s_ccosl.c: Rely entirely on ccoshl.
7353 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7354 Remove tests for FE_INVALID.
7355 * math/s_ccoshf.c: Likewise.
7356 * math/s_ccoshl.c: Likewise.
7357 * math/s_csin.c: Likewise.
7358 * math/s_csinf.c: Likewise.
7359 * math/s_csinh.c Likewise.
7360 * math/s_csinhf.c: Likewise.
7361 * math/s_csinhl.c: Likewise.
7362 * math/s_csinl.c: Likewise.
7363 * math/s_ctan.c: Likewise.
7364 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7365 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7366 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7367
8ec250a4
UD
73682011-10-21 Ulrich Drepper <drepper@gmail.com>
7369
c196fed8
UD
7370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7371 compilation problems.
7372
8ec250a4
UD
7373 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7374 __builtin_expect.
7375
8d4f46c6
UD
73762011-10-20 Ulrich Drepper <drepper@gmail.com>
7377
ed72b654
UD
7378 * sysdeps/i386/configure.in: Test for -mfma4 option.
7379 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7380 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7381 COMMON_CPUID_INDEX_80000001.
7382 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7383 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7384 use it if FMA3 is not supported.
7385 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7386
8d4f46c6
UD
7387 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7388 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7389
d45c60c2
AS
73902011-10-20 Andreas Schwab <schwab@redhat.com>
7391
7392 [BZ #12892]
7393 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7394 it would create a cycle with a link time dependency.
7395
d9a4d2ab
UD
73962011-10-19 Ulrich Drepper <drepper@gmail.com>
7397
855d1560
UD
7398 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7399 instruction.
7400 * string/Makefile (strop-tests): Add rawmemchr.
7401 * string/test-rawmemchr.c: New file.
7402
d9a4d2ab
UD
7403 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7404 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7405 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7406 when compiling str{,n}casecmp and when AVX is available. Hook up
7407 new optimized code in initializers.
7408
8f3b1ffe
AS
74092011-10-19 Andreas Schwab <schwab@redhat.com>
7410
7411 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7412 __feraiseexcept instead of feraiseexcept.
7413
d38f1dba
UD
74142011-10-18 Ulrich Drepper <drepper@gmail.com>
7415
d9a8d0ab
UD
7416 * math/math_private.h: Define defaults for libc_fetestexcept and
7417 libc_feupdateenv.
7418 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7419 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7420 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7421 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7422 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7423 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7424 libc_fetestexcept and libc_feupdateenv.
7425
4855e3dd
UD
7426 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7427 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7428 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7429 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7430 libc_feholdexcept_setround.
7431
581d30e3
UD
7432 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7433 Add s_nearbyint-c and s_nearbyintf-c.
7434 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7435 nearbyintf inlines.
7436 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7437 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7438 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7439 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7440
d38f1dba
UD
7441 * math/math_private.h: Define defaults for libc_fegetround,
7442 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7443 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7444 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7445 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7446 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7447 standard functions.
7448 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7449 Remove comments and hacks for old compiler versions.
7450 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7451 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7452 libc_feholdexceptl.
7453
caa6c9d8
AS
74542011-10-18 Andreas Schwab <schwab@redhat.com>
7455
7456 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7457 (__feraiseexcept_renamed): Add __NTH.
7458 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7459 namespace violations.
7460
97c066e6
UD
74612011-10-17 Ulrich Drepper <drepper@gmail.com>
7462
99ce7b04
UD
7463 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7464
1004d182
UD
7465 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7466
228a984d
UD
7467 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7468 recently added interfaces.
7469 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7470
c8553a6a
UD
7471 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7472 about macro parameter expansion.
7473
ed22dcf6
UD
7474 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7475 __NO_MATH_INLINES is defined. Cleanups.
7476
7477 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7478 and __floorf is target has SSE4.1.
7479 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7480 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7481 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7482 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7483
b171c137
UD
7484 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7485 name.
7486 (floorf): Likewise.
7487
97c066e6
UD
7488 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7489
629f62ef
AS
74902011-10-17 Andreas Schwab <schwab@redhat.com>
7491
49a43d80
AS
7492 * misc/sys/cdefs.h: Fix last change.
7493
629f62ef
AS
7494 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7495 database lookup.
7496
e453f6cd
UD
74972011-10-16 Ulrich Drepper <drepper@gmail.com>
7498
aa78043a
UD
7499 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7500
ad0f5cad
UD
7501 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7502 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7504 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7505 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7506 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7507 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7508 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7509 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7510 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7511 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7512 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7513 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7514 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7515 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7516 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7517 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7518 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7519 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7520 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7521 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7522 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7523
7524 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7525 ceil, ceilf, floor, floorf.
7526
7527 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7528 Perform IRELATIVE relocations last.
7529
e453f6cd
UD
7530 * elf/do-rel.h: Add another parameter nrelative, replacing the
7531 local variable with the same name. Change name of the function
7532 to end in Rel or Rela (uppercase).
7533 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7534 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7535 elf_dynamic_do_##reloc function.
7536
fd5bdc09
UD
75372011-10-15 Ulrich Drepper <drepper@gmail.com>
7538
79b195b5
UD
7539 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7540 is sufficient, at least on modern CPUs.
7541
d4a28569
UD
7542 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7543
b61099b5
UD
7544 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7545 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7546
bcf01e6d
UD
7547 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7548 __expl_finite.
7549 * math/bits/math-finite.h: Add entries for exp.
7550 * math/e_expl.c: Add __*_finite alias.
7551 * sysdeps/i386/fpu/e_exp.S: Likewise.
7552 * sysdeps/i386/fpu/e_expf.S: Likewise.
7553 * sysdeps/i386/fpu/e_expl.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7555 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7556 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7559 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7560 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7561
ba1a0d59
UD
7562 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7563 is sufficient, at least on modern CPUs.
7564
fd5bdc09
UD
7565 * ctype/ctype-info.c (__ctype_init): Define.
7566 * include/ctype.h (__ctype_init): Declare.
7567 (__ctype_b_loc): The variable is always initialized.
7568 (__ctype_toupper_loc): Likewise.
7569 (__ctype_tolower_loc): Likewise.
7570 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7571 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7572
7872cfb0
AS
75732011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7574
b468825a
AS
7575 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7576
7872cfb0
AS
7577 * configure.in: Also look in $cxxmachine/include for C++ system
7578 headers.
7579
be13f7bf
LD
75802011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7581
7582 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7583 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7584 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7585 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7586 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7587 (USE_AS_WMEMCMP): New macro.
7588 Fixing indents.
7589 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7590 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7591 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7592 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7594 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7595 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7596 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7597 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7598 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7599 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7600 (USE_AS_WMEMCMP): New macro.
7601 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7602 * sysdeps/string/test-memcmp.c: Update.
7603 Fix simple_wmemcmp.
7604 Add new tests.
7605 * wcsmbs/wmemcmp.c: Update.
7606 (WMEMCMP): New macro.
7607 Fix overflow bug.
7608
556a2007
AJ
76092011-10-12 Andreas Jaeger <aj@suse.de>
7610
7611 [BZ #13268]
7612 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7613
538faaa7
UD
76142011-10-15 Ulrich Drepper <drepper@gmail.com>
7615
ab6737ff
UD
7616 * libio/iofwide.c (do_length): Avoid warning.
7617
538faaa7
UD
7618 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7619
396a21b1
UD
76202011-10-14 Ulrich Drepper <drepper@gmail.com>
7621
cdf2901f
UD
7622 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7623
38ad40ce
UD
7624 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7625 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7626 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7627 * sysdeps/i386/i686/fpu/e_log.S: New file.
7628 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7629 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7630
396a21b1
UD
7631 * ctype/ctype.h: Add support for inlined isXXX functions when
7632 compiling C++ code.
7633
6b1f68c9
AS
76342011-10-14 Andreas Schwab <schwab@redhat.com>
7635
349290c0
AS
7636 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7637
6b1f68c9
AS
7638 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7639
f2282d42
RM
76402011-10-13 Roland McGrath <roland@hack.frob.com>
7641
7642 [BZ #13291]
7643 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7644
5298ffa8
AS
76452011-10-13 Andreas Schwab <schwab@redhat.com>
7646
714fad23
AS
7647 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7648 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7649 feraiseexcept.
7650
81dcc7fb
AS
7651 * sysdeps/x86_64/memrchr.S: Check for zero size.
7652
5298ffa8
AS
7653 * string/stratcliff.c: Add memrchr tests.
7654
951fbcec
LD
76552011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7656
7657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7658 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7659 rawmemchr-sse2 rawmemchr-sse2-bsf.
7660 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7661 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7662 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7663 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7664 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7665 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7666 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7667 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7668 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7669 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7670 * string/memrchr.c (MEMRCHR): New macro.
7671
0ac5ae23
UD
76722011-10-12 Ulrich Drepper <drepper@gmail.com>
7673
7674 Add integration with gcc's -ffinite-math-only and optimize wrapper
7675 functions in libm.
7676 * Versions.def: Define GLIBC_2.15 version for libm.
7677 * math/Makefile (headers): Add bits/math-finite.h.
7678 * math/bits/math-finite.h: New file.
7679 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7680 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7681 * math/e_acoshl.c: Add __*_finite alias.
7682 * math/e_acosl.c: Likewise.
7683 * math/e_asinl.c: Likewise.
7684 * math/e_atan2l.c: Likewise.
7685 * math/e_atanhl.c: Likewise.
7686 * math/e_coshl.c: Likewise.
7687 * math/e_exp10.c: Likewise.
7688 * math/e_exp10f.c: Likewise.
7689 * math/e_exp10l.c: Likewise.
7690 * math/e_exp2l.c: Likewise.
7691 * math/e_fmodl.c: Likewise.
7692 * math/e_gammal_r.c: Likewise.
7693 * math/e_hypotl.c: Likewise.
7694 * math/e_j0l.c: Likewise.
7695 * math/e_j1l.c: Likewise.
7696 * math/e_jnl.c: Likewise.
7697 * math/e_lgammal_r.c: Likewise.
7698 * math/e_log10l.c: Likewise.
7699 * math/e_log2l.c: Likewise.
7700 * math/e_logl.c: Likewise.
7701 * math/e_powl.c: Likewise.
7702 * math/e_sinhl.c: Likewise.
7703 * math/e_sqrtl.c: Likewise.
7704 * math/e_scalb.c: Completely rewritten and optimized.
7705 * math/e_scalbf.c: Likewise.
7706 * math/e_scalbl.c: Likewise.
7707 * math/w_acos.c: Likewise.
7708 * math/w_acosf.c: Likewise.
7709 * math/w_acosl.c: Likewise.
7710 * math/w_acosh.c: Likewise.
7711 * math/w_acoshf.c: Likewise.
7712 * math/w_acoshl.c: Likewise.
7713 * math/w_asin.c: Likewise.
7714 * math/w_asinf.c: Likewise.
7715 * math/w_asinl.c: Likewise.
7716 * math/w_atan2.c: Likewise.
7717 * math/w_atan2f.c: Likewise.
7718 * math/w_atan2l.c: Likewise.
7719 * math/w_atanh.c: Likewise.
7720 * math/w_atanhf.c: Likewise.
7721 * math/w_atanhl.c: Likewise.
7722 * math/w_exp10.c: Likewise.
7723 * math/w_exp10f.c: Likewise.
7724 * math/w_exp10l.c: Likewise.
7725 * math/w_fmod.c: Likewise.
7726 * math/w_fmodf.c: Likewise.
7727 * math/w_fmodl.c: Likewise.
7728 * math/w_j0.c: Likewise.
7729 * math/w_j0f.c: Likewise.
7730 * math/w_j0l.c: Likewise.
7731 * math/w_j1.c: Likewise.
7732 * math/w_j1f.c: Likewise.
7733 * math/w_j1l.c: Likewise.
7734 * math/w_jn.c: Likewise.
7735 * math/w_jnf.c: Likewise.
7736 * math/w_log.c: Likewise.
7737 * math/w_logf.c: Likewise.
7738 * math/w_logl.c: Likewise.
7739 * math/w_log10.c: Likewise.
7740 * math/w_log10f.c: Likewise.
7741 * math/w_log10l.c: Likewise.
7742 * math/w_log2.c: Likewise.
7743 * math/w_log2f.c: Likewise.
7744 * math/w_log2l.c: Likewise.
7745 * math/w_pow.c: Likewise.
7746 * math/w_powf.c: Likewise.
7747 * math/w_powl.c: Likewise.
7748 * math/w_remainder.c: Likewise.
7749 * math/w_remainderf.c: Likewise.
7750 * math/w_remainderl.c: Likewise.
7751 * math/w_scalb.c: Likewise.
7752 * math/w_scalbf.c: Likewise.
7753 * math/w_scalbl.c: Likewise.
7754 * math/w_sqrt.c: Likewise.
7755 * math/w_sqrtf.c: Likewise.
7756 * math/w_sqrtl.c: Likewise.
7757 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7758 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7759 used.
7760 * math/math_private.h: Declare __kernel_standard_f.
7761 * math/w_cosh.c: Remove cruft and optimize a bit.
7762 * math/w_coshf.c: Likewise.
7763 * math/w_coshl.c: Likewise.
7764 * math/w_exp2.c: Likewise.
7765 * math/w_exp2f.c: Likewise.
7766 * math/w_exp2l.c: Likewise.
7767 * math/w_hypot.c: Likewise.
7768 * math/w_hypotf.c: Likewise.
7769 * math/w_hypotl.c: Likewise.
7770 * math/w_lgamma.c: Likewise.
7771 * math/w_lgamma_r.c: Likewise.
7772 * math/w_lgammaf.c: Likewise.
7773 * math/w_lgammaf_r.c: Likewise.
7774 * math/w_lgammal.c: Likewise.
7775 * math/w_lgammal_r.c: Likewise.
7776 * math/w_sinh.c: Likewise.
7777 * math/w_sinhf.c: Likewise.
7778 * math/w_sinhl.c: Likewise.
7779 * math/w_tgamma.c: Likewise.
7780 * math/w_tgammaf.c: Likewise.
7781 * math/w_tgammal.c: Likewise.
7782 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7783 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7784 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7785 Minor optimizations. Pretty printing. Remove cruft.
7786 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7787 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7788 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7789 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7790 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7791 * sysdeps/i386/fpu/e_asin.S: Likewise.
7792 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7793 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7794 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7795 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7796 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7797 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7798 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7799 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7800 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7801 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7802 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7803 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7804 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7805 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7806 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7807 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7808 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7809 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7810 * sysdeps/i386/fpu/e_log.S: Likewise.
7811 * sysdeps/i386/fpu/e_log10.S: Likewise.
7812 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7813 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7814 * sysdeps/i386/fpu/e_log2.S: Likewise.
7815 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7816 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7817 * sysdeps/i386/fpu/e_logf.S: Likewise.
7818 * sysdeps/i386/fpu/e_logl.S: Likewise.
7819 * sysdeps/i386/fpu/e_pow.S: Likewise.
7820 * sysdeps/i386/fpu/e_powf.S: Likewise.
7821 * sysdeps/i386/fpu/e_powl.S: Likewise.
7822 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7823 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7824 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7825 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7826 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7827 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7828 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7829 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7830 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7831 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7832 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7834 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7835 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7836 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7837 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7838 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7839 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7840 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7841 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7842 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7843 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7844 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7845 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7847 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7848 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7851 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7852 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7853 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7854 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7855 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7856 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7857 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7858 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7859 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7860 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7861 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7862 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7863 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7864 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7865 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7866 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7867 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7868 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7869 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7870 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7871 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7872 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7873 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7880 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7881 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7882 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7883 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7884 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7885 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7887 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7888 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7890 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7892 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7895 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7896 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7897 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7898 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7900 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7902 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7903 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7904 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7905 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7911 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7913 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7914 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7916 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7917 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7918 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7919 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7920 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7921 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7922 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7923 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7924 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7925 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7926 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7927 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7928 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7929 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7930 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7931 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7932 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7933 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7934 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7935 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7936 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7937 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7938 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7939 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7940 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7941 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7942 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7943 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7944 (__isnanf): Likewise.
7945 (__isinf_ns): Likewise.
7946 (__isinf_nsf): Likewise.
7947 (__finite): Likewise.
7948 (__finitef): Likewise.
7949 (__ieee754_sqrt): Define as macro.
7950 (__ieee754_sqrtf): Define as macro.
7951 (__ieee754_sqrtl): Define as macro.
7952 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7953 inlined copy.
7954 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7955 __FINITE_MATH_ONLY__ consistent.
7956 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7957
12cc2fcd
AS
79582011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7959
a843a204
AS
7960 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7961 of rawmemchr.
7962
12cc2fcd
AS
7963 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7964
c853acd5
UD
79652011-10-09 Ulrich Drepper <drepper@gmail.com>
7966
7967 * po/ja.po: Update from translation team.
7968
c658d255
RM
79692011-10-08 Roland McGrath <roland@hack.frob.com>
7970
110946e4
RM
7971 * locale/programs/locarchive.c (prepare_address_space): New function.
7972 (create_archive, enlarge_archive, open_archive): Use it.
7973
50604220
RM
7974 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7975 inside [SHARED], where it is used.
7976
c658d255
RM
7977 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7978
7979 * nss/getent.c (netgroup_keys): Remove unused variable.
7980 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7981
6a621eb7
UD
79822011-10-08 Ulrich Drepper <drepper@gmail.com>
7983
7edb55ce
UD
7984 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7985 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7986 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7987 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7988 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7989 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7990 * math/Makefile (libm-calls): Add s_isinf_ns.
7991 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7992 * math/multc3.c: Likewise.
7993 * math/s_casin.c: Likewise.
7994 * math/s_casinf.c: Likewise.
7995 * math/s_casinl.c: Likewise.
7996 * math/s_ccos.c: Likewise.
7997 * math/s_ccosf.c: Likewise.
7998 * math/s_ccosl.c: Likewise.
7999 * math/s_ctan.c: Likewise.
8000 * math/s_ctanf.c: Likewise.
8001 * math/s_ctanh.c: Likewise.
8002 * math/s_ctanhf.c: Likewise.
8003 * math/s_ctanhl.c: Likewise.
8004 * math/s_ctanl.c: Likewise.
8005 * math/w_fmod.c: Likewise.
8006 * math/w_fmodf.c: Likewise.
8007 * math/w_fmodl.c: Likewise.
8008 * math/w_remainder.c: Likewise.
8009 * math/w_remainderf.c: Likewise.
8010 * math/w_remainderl.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8012 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8013 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8014 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8015 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8016 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8017 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8018 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8019
187da0ae
UD
8020 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8021 of the number.
8022 * stdio-common/printf_fphex.c: Likewise.
8023 * stdio-common/printf_size.c: Likewise.
8024
9277c064
UD
8025 * math/e_exp10.c: Include math_private.h using <...> not "...".
8026 * math/e_exp10f.c: Likewise.
8027 * math/e_exp10l.c: Likewise.
8028 * math/e_exp2l.c: Likewise.
8029 * math/e_j0l.c: Likewise.
8030 * math/e_j1l.c: Likewise.
8031 * math/e_jnl.c: Likewise.
8032 * math/e_lgammal_r.c: Likewise.
8033 * math/e_rem_pio2l.c: Likewise.
8034 * math/e_scalb.c: Likewise.
8035 * math/e_scalbf.c: Likewise.
8036 * math/e_scalbl.c: Likewise.
8037 * math/k_cosl.c: Likewise.
8038 * math/k_sinl.c: Likewise.
8039 * math/k_tanl.c: Likewise.
8040 * math/s_cacoshf.c: Likewise.
8041 * math/s_catan.c: Likewise.
8042 * math/s_catanf.c: Likewise.
8043 * math/s_catanh.c: Likewise.
8044 * math/s_catanhf.c: Likewise.
8045 * math/s_catanhl.c: Likewise.
8046 * math/s_catanl.c: Likewise.
8047 * math/s_ccosh.c: Likewise.
8048 * math/s_ccoshf.c: Likewise.
8049 * math/s_ccoshl.c: Likewise.
8050 * math/s_cexp.c: Likewise.
8051 * math/s_cexpf.c: Likewise.
8052 * math/s_cexpl.c: Likewise.
8053 * math/s_clog.c: Likewise.
8054 * math/s_clog10.c: Likewise.
8055 * math/s_clog10f.c: Likewise.
8056 * math/s_clog10l.c: Likewise.
8057 * math/s_clogf.c: Likewise.
8058 * math/s_clogl.c: Likewise.
8059 * math/s_csin.c: Likewise.
8060 * math/s_csinf.c: Likewise.
8061 * math/s_csinh.c: Likewise.
8062 * math/s_csinhf.c: Likewise.
8063 * math/s_csinhl.c: Likewise.
8064 * math/s_csinl.c: Likewise.
8065 * math/s_csqrt.c: Likewise.
8066 * math/s_csqrtf.c: Likewise.
8067 * math/s_csqrtl.c: Likewise.
8068 * math/s_ctan.c: Likewise.
8069 * math/s_ctanf.c: Likewise.
8070 * math/s_ctanh.c: Likewise.
8071 * math/s_ctanhf.c: Likewise.
8072 * math/s_ctanhl.c: Likewise.
8073 * math/s_ctanl.c: Likewise.
8074 * math/s_ldexp.c: Likewise.
8075 * math/s_ldexpf.c: Likewise.
8076 * math/s_ldexpl.c: Likewise.
8077 * math/s_significand.c: Likewise.
8078 * math/s_significandf.c: Likewise.
8079 * math/s_significandl.c: Likewise.
8080 * math/w_acos.c: Likewise.
8081 * math/w_acosf.c: Likewise.
8082 * math/w_acosh.c: Likewise.
8083 * math/w_acoshf.c: Likewise.
8084 * math/w_acoshl.c: Likewise.
8085 * math/w_acosl.c: Likewise.
8086 * math/w_asin.c: Likewise.
8087 * math/w_asinf.c: Likewise.
8088 * math/w_asinl.c: Likewise.
8089 * math/w_atan2.c: Likewise.
8090 * math/w_atan2f.c: Likewise.
8091 * math/w_atan2l.c: Likewise.
8092 * math/w_atanh.c: Likewise.
8093 * math/w_atanhf.c: Likewise.
8094 * math/w_atanhl.c: Likewise.
8095 * math/w_cosh.c: Likewise.
8096 * math/w_coshf.c: Likewise.
8097 * math/w_coshl.c: Likewise.
8098 * math/w_dremf.c: Likewise.
8099 * math/w_exp10.c: Likewise.
8100 * math/w_exp10f.c: Likewise.
8101 * math/w_exp10l.c: Likewise.
8102 * math/w_exp2.c: Likewise.
8103 * math/w_exp2f.c: Likewise.
8104 * math/w_fmod.c: Likewise.
8105 * math/w_fmodf.c: Likewise.
8106 * math/w_fmodl.c: Likewise.
8107 * math/w_hypot.c: Likewise.
8108 * math/w_hypotf.c: Likewise.
8109 * math/w_hypotl.c: Likewise.
8110 * math/w_j0.c: Likewise.
8111 * math/w_j0f.c: Likewise.
8112 * math/w_j0l.c: Likewise.
8113 * math/w_j1.c: Likewise.
8114 * math/w_j1f.c: Likewise.
8115 * math/w_j1l.c: Likewise.
8116 * math/w_jn.c: Likewise.
8117 * math/w_jnf.c: Likewise.
8118 * math/w_jnl.c: Likewise.
8119 * math/w_lgamma.c: Likewise.
8120 * math/w_lgamma_r.c: Likewise.
8121 * math/w_lgammaf.c: Likewise.
8122 * math/w_lgammaf_r.c: Likewise.
8123 * math/w_lgammal.c: Likewise.
8124 * math/w_lgammal_r.c: Likewise.
8125 * math/w_log.c: Likewise.
8126 * math/w_log10.c: Likewise.
8127 * math/w_log10f.c: Likewise.
8128 * math/w_log10l.c: Likewise.
8129 * math/w_log2.c: Likewise.
8130 * math/w_log2f.c: Likewise.
8131 * math/w_log2l.c: Likewise.
8132 * math/w_logf.c: Likewise.
8133 * math/w_logl.c: Likewise.
8134 * math/w_pow.c: Likewise.
8135 * math/w_powf.c: Likewise.
8136 * math/w_powl.c: Likewise.
8137 * math/w_remainder.c: Likewise.
8138 * math/w_remainderf.c: Likewise.
8139 * math/w_remainderl.c: Likewise.
8140 * math/w_scalb.c: Likewise.
8141 * math/w_scalbf.c: Likewise.
8142 * math/w_scalbl.c: Likewise.
8143 * math/w_sinh.c: Likewise.
8144 * math/w_sinhf.c: Likewise.
8145 * math/w_sinhl.c: Likewise.
8146 * math/w_sqrt.c: Likewise.
8147 * math/w_sqrtf.c: Likewise.
8148 * math/w_sqrtl.c: Likewise.
8149 * math/w_tgamma.c: Likewise.
8150 * math/w_tgammaf.c: Likewise.
8151 * math/w_tgammal.c: Likewise.
8152
6a621eb7
UD
8153 * po/ja.po: Update from translation team.
8154
bf582445
AJ
81552011-09-29 Andreas Jaeger <aj@suse.de>
8156
f9efbf3a
AJ
8157 [BZ #13179]
8158 * sunrpc/netname.c (netname2host): Fix logic.
8159
bf582445
AJ
8160 [BZ #6779]
8161 [BZ #6783]
8162 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8163 correctly.
8164 * math/w_remainder.c (__remainder): Likewise.
8165 * math/w_remainderf.c (__remainderf): Likewise.
8166 * math/libm-test.inc (remainder_test): Add test cases.
8167
48693bea
AK
81682011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8169
8170 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8171 sdiv_qrnnd.
8172
42622229
LD
81732011-10-07 Ulrich Drepper <drepper@gmail.com>
8174
8175 * string/test-memcmp.c: Avoid unncessary #defines.
8176 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8177
093ecf92
LD
81782011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8179
8180 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8181 Use new sse2 version for core i3 - i7 as it's faster
8182 than sse42 version.
8183 (bit_Prefer_PMINUB_for_stringop): New.
8184 * sysdeps/x86_64/rawmemchr.S: Update.
8185 Replace with faster SSE2 version.
8186 * sysdeps/x86_64/memrchr.S: New file.
8187 * sysdeps/x86_64/memchr.S: Update.
8188 Replace with faster SSE2 version.
8189
fde56e5c
MP
81902011-09-12 Marek Polacek <mpolacek@redhat.com>
8191
8192 * elf/dl-load.c (lose): Add cast to avoid warning.
8193
21fd49a9
UD
81942011-10-07 Ulrich Drepper <drepper@gmail.com>
8195
5a06e643
UD
8196 * po/ca.po: Update from translation team.
8197
684ae515
UD
8198 * inet/getnetgrent_r.c: Hook up nscd.
8199 * nscd/Makefile (routines): Add nscd_netgroup.
8200 (nscd-modules): Add netgroupcache.
8201 (CFLAGS-netgroupcache.c): Define.
8202 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8203 (cache_search): Add const to second parameter.
8204 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8205 INNETGR.
8206 (dbs): Add netgrdb entry.
8207 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8208 (verify_persistent_db): Handle netgrdb.
8209 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8210 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8211 GETFDNETGR.
8212 (netgroup_response_header): Define.
8213 (innetgroup_response_header): Define.
8214 (datahead): Add netgroup_response_header and innetgroup_response_header
8215 elements.
8216 * nscd/nscd.conf: Add entries for netgroup cache.
8217 * nscd/nscd.h (dbtype): Add netgrdb.
8218 (_PATH_NSCD_NETGROUP_DB): Define.
8219 (netgroup_iov_disabled): Declare.
8220 (xmalloc, xcalloc, xrealloc): Move declarations here.
8221 (cache_search): Adjust prototype.
8222 Add netgroup-related prototypes.
8223 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8224 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8225 (__nscd_innetgr): Declare.
8226 * nscd/selinux.c (perms): Use access_vector_t as element type and
8227 add netgroup-related initializers.
8228 * nscd/netgroupcache.c: New file.
8229 * nscd/nscd_netgroup.c: New file.
8230 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8231 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8232 For four parameters use innetgr.
8233 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8234 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8235 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8236 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8237
21fd49a9
UD
8238 * nscd/connections.c (register_traced_file): Don't register file
8239 for disabled databases.
8240
054c0457
UD
82412011-10-06 Ulrich Drepper <drepper@gmail.com>
8242
32b63198
UD
8243 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8244
054c0457
UD
8245 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8246 from tree and freeing node.
8247
64031225
JO
82482011-09-25 Jiri Olsa <jolsa@redhat.com>
8249
8250 * nss/nsswitch.c (__nss_database_lookup): Handle
8251 nss_parse_service_list out of memory case.
8252
0490345c
JO
82532011-09-15 Jiri Olsa <jolsa@redhat.com>
8254
8255 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8256 out of memory case.
8257
3a62d00d
AS
82582011-10-04 Andreas Schwab <schwab@redhat.com>
8259
8260 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8261 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8262 pass it down.
8263 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8264 elf_machine_rela, elf_machine_lazy_rel.
8265 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8266 (ELF_DYNAMIC_DO_REL): Likewise.
8267 (ELF_DYNAMIC_DO_RELA): Likewise.
8268 (ELF_DYNAMIC_RELOCATE): Likewise.
8269 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8270 to ELF_DYNAMIC_DO_REL.
8271 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8272 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8273 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8274 elf_machine_rela.
8275 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8276 skip_ifunc, don't call ifunc function if non-zero.
8277 (elf_machine_rela): Likewise.
8278 (elf_machine_lazy_rel): Likewise.
8279 (elf_machine_lazy_rela): Likewise.
8280 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8281 (elf_machine_lazy_rel): Likewise.
8282 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8283 Likewise.
8284 (elf_machine_lazy_rel): Likewise.
8285 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8286 Likewise.
8287 (elf_machine_lazy_rel): Likewise.
8288 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8289 (elf_machine_lazy_rel): Likewise.
8290 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8291 (elf_machine_lazy_rel): Likewise.
8292 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8293 (elf_machine_lazy_rel): Likewise.
8294 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8295 (elf_machine_lazy_rel): Likewise.
8296 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8297 (elf_machine_lazy_rel): Likewise.
8298 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8299 (elf_machine_lazy_rel): Likewise.
8300
68577918
UD
83012011-09-28 Ulrich Drepper <drepper@gmail.com>
8302
8303 * nss/nss_files/files-init.c (_nss_files_init): Use static
8304 initialization for all the *_traced_file variables.
8305
68822d74
AS
83062011-09-28 Andreas Schwab <schwab@redhat.com>
8307
8308 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8309
2056100b
RM
83102011-09-27 Roland McGrath <roland@hack.frob.com>
8311
8312 [BZ #13226]
8313 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8314
32c76b63
AS
83152011-09-27 Andreas Schwab <schwab@redhat.com>
8316
8317 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8318 Reread the line before reparsing it.
8319
bf972c9d
AS
83202011-09-26 Andreas Schwab <schwab@redhat.com>
8321
8322 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8323
e057a1b5
JM
83242011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8325 Maxim Kuvyrkov <maxim@codesourcery.com>
8326 Joseph Myers <joseph@codesourcery.com>
8327
8328 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8329 if needed for __stack_chk_guard.
8330
bc7e1c36
RM
83312011-09-19 Roland McGrath <roland@hack.frob.com>
8332
ecb1482f
RM
8333 * sysdeps/posix/spawni.c (script_execute): Always define it.
8334 It will be optimized away if unused.
8335 (maybe_script_execute): New function.
8336 (__spawni): Call it.
8337
bc7e1c36
RM
8338 * Makerules: Don't include tls.make.
8339 (config-tls): Always set to thread.
8340 * tls.make.c: File removed.
8341
1c3b002b
MF
83422011-09-19 Mike Frysinger <vapier@gentoo.org>
8343
8344 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8345 * config.make.in (CPPFLAGS-config): New substituted variable.
8346
2840865d
UD
83472011-09-15 Ulrich Drepper <drepper@gmail.com>
8348
88738eb6
UD
8349 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8350
cbf645a6 8351 [BZ #13192]
2840865d
UD
8352 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8353 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8354
b402e91a
RM
83552011-09-15 Roland McGrath <roland@hack.frob.com>
8356
8357 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8358 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8360 (CALL_FAIL): Likewise.
8361 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8362 (CALL_FAIL): Macro removed.
8363 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8364
4c1a1f71
UD
83652011-09-15 Ulrich Drepper <drepper@gmail.com>
8366
8367 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8368 for __FINITE_MATH_ONLY__ == 1.
8369
edc121be
AS
83702011-09-15 Andreas Schwab <schwab@redhat.com>
8371
8372 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8373 __ieee754_sqrt instead of sqrt.
8374 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8375 __ieee754_sqrtf instead of sqrtf.
8376 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8377 __floorf instead of floorf.
8378 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8379 __floorf, __truncf instead of floorf, truncf.
8380
cd205654
UD
83812011-09-14 Ulrich Drepper <drepper@gmail.com>
8382
ee4d0315
UD
8383 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8384
cd205654
UD
8385 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8386 __extern_always_inline.
8387 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8388 32-bit.
8389
48b67d71
AS
83902011-09-14 Andreas Schwab <schwab@redhat.com>
8391
8392 * elf/rtld.c (dl_main): Also relocate in dependency order when
8393 doing symbol dependency testing.
8394
1ae12c75
AS
83952011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8396
8397 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8398 Always define `refsym'.
8399
995a80df
AS
84002011-09-13 Andreas Schwab <schwab@redhat.com>
8401
e529793b
AS
8402 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8403 (__FD_ELT): Renamed from __FDELT.
8404 * misc/bits/select2.h (__FD_ELT): Likewise.
8405 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8406 __FD_MASK instead of __FDELT, __FDMASK.
8407 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8408 Likewise.
8409 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8410 Likewise.
8411
52d4fef8
AS
8412 * elf/Makefile (gen-ldd): Fix pattern.
8413
995a80df
AS
8414 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8415 (init_tls): Likewise.
8416
8682f8b0
UD
84172011-09-12 Ulrich Drepper <drepper@gmail.com>
8418
8419 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8420
de82006d
AS
84212011-09-12 Andreas Schwab <schwab@redhat.com>
8422
a7c8e6a1
AS
8423 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8424 `struct cmsghdr *' instead of `void *'.
8425 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8426 Likewise.
8427
0f31fe77
AS
84282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8429
8430 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8431 if non-absolute.
8432 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8433 ldd_rewrite_script.
0f31fe77 8434
32b4c839
UD
84352011-09-11 Ulrich Drepper <drepper@gmail.com>
8436
83cd1420
UD
8437 * configure.in: Remove --with-tls option.
8438 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8439 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8440 out in case it is missing.
8441 * sysdeps/ia64/elf/configure.in: Likewise.
8442 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8443 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8444 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8445 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8446 * sysdeps/sh/elf/configure.in: Likewise.
8447 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8448 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8449 * sysdeps/x86_64/elf/configure.in: Likewise.
8450 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8451 * sysdeps/mach/hurd/tls.h: Likewise.
8452
633f745d
UD
8453 [BZ #13067]
8454 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8455
f318beb8
UD
8456 [BZ #13090]
8457 * configure.in: Fix use of AC_INIT.
8458
32b4c839
UD
8459 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8460
3ce1f295
UD
84612011-09-10 Ulrich Drepper <drepper@gmail.com>
8462
bb016596
UD
8463 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8464 __set_errno.
8e58439c
UD
8465 * malloc/hooks.c: Likewise.
8466
aebae053 8467 [BZ #11929]
02d46fc4
UD
8468 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8469 variables statically.
8470 (narenas): Initialize.
8471 (list_lock): Initialize.
bb016596
UD
8472 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8473 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8474 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8475 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8476 Add initializers to main_arena and mp_.
8477 (malloc_state): Remove pagesize member. Change all users to use
8478 GLRO(dl_pagesize).
8479
8480 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8481 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8482 is always initialized.
8483
22a89187
UD
8484 * malloc/malloc.c: Removed unused configurations and dead code.
8485 * malloc/arena.c: Likewise.
8486 * malloc/hooks.c: Likewise.
02d46fc4 8487 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8488
d063d164
UD
8489 * include/tls.h: Removed. USE___THREAD must always be defined.
8490 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8491 * elf/dl-libc.c: Likewise.
8492 * elf/dl-tsd.c: Likewise.
8493 * include/errno.h: Likewise.
8494 * include/netdb.h: Likewise.
8495 * include/resolv.h: Likewise.
8496 * inet/herrno-loc.c: Likewise.
8497 * inet/herrno.c: Likewise.
8498 * malloc/arena.c: Likewise.
8499 * malloc/hooks.c: Likewise.
8500 * malloc/malloc.c: Likewise.
8501 * resolv/res-state.c: Likewise.
8502 * resolv/res_libc.c: Likewise.
8503 * sysdeps/i386/dl-machine.h: Likewise.
8504 * sysdeps/ia64/dl-machine.h: Likewise.
8505 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8506 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8507 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8508 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8509 * sysdeps/sh/dl-machine.h: Likewise.
8510 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8511 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8512 * sysdeps/unix/i386/sysdep.S: Likewise.
8513 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8514 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8516 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8517 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8519 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8520 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8522 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8523 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8524 * sysdeps/x86_64/dl-machine.h: Likewise.
8525 * tls.make.c: Likewise.
8526
3ce1f295
UD
8527 * configure.in: Remove --with-__thread option. Make tests for
8528 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8529 tls_model attribute fail if no support is available. Remove
8530 USE_IN_LIBIO.
8531 * Makeconfig: Adjust for dropped configure option. All features are
8532 now mandatory.
8533 * Makerules: Likewise.
8534 * Versions.def: Likewise.
8535 * argp/argp-fmtstream.c: Likewise.
8536 * argp/argp-fmtstream.h: Likewise.
8537 * argp/argp-help.c: Likewise.
8538 * assert/assert.c: Likewise.
8539 * config.h.in: Likewise.
8540 * config.make.in: Likewise.
8541 * configure: Likewise.
8542 * configure.in: Likewise.
8543 * csu/Versions: Likewise.
8544 * csu/init.c: Likewise.
8545 * elf/tst-audit2.c: Likewise.
8546 * elf/tst-tls10.c: Likewise.
8547 * elf/tst-tls10.h: Likewise.
8548 * elf/tst-tls11.c: Likewise.
8549 * elf/tst-tls12.c: Likewise.
8550 * elf/tst-tls14.c: Likewise.
8551 * elf/tst-tlsmod11.c: Likewise.
8552 * elf/tst-tlsmod12.c: Likewise.
8553 * elf/tst-tlsmod13.c: Likewise.
8554 * elf/tst-tlsmod13a.c: Likewise.
8555 * elf/tst-tlsmod14a.c: Likewise.
8556 * elf/tst-tlsmod15b.c: Likewise.
8557 * elf/tst-tlsmod16a.c: Likewise.
8558 * elf/tst-tlsmod16b.c: Likewise.
8559 * elf/tst-tlsmod7.c: Likewise.
8560 * elf/tst-tlsmod8.c: Likewise.
8561 * elf/tst-tlsmod9.c: Likewise.
8562 * gmon/gmon.c: Likewise.
8563 * grp/fgetgrent_r.c: Likewise.
8564 * grp/putgrent.c: Likewise.
8565 * hurd/fopenport.c: Likewise.
8566 * include/libc-symbols.h: Likewise.
8567 * include/tls.h: Likewise.
8568 * intl/gettextP.h: Likewise.
8569 * intl/loadinfo.h: Likewise.
8570 * locale/global-locale.c: Likewise.
8571 * locale/localeinfo.h: Likewise.
8572 * mach/devstream.c: Likewise.
8573 * malloc/arena.c: Likewise.
8574 * malloc/set-freeres.c: Likewise.
8575 * misc/err.c: Likewise.
8576 * misc/getttyent.c: Likewise.
8577 * misc/mntent_r.c: Likewise.
8578 * posix/getopt.c: Likewise.
8579 * posix/wordexp.c: Likewise.
8580 * pwd/fgetpwent_r.c: Likewise.
8581 * resolv/Versions: Likewise.
8582 * resolv/res_hconf.c: Likewise.
8583 * shadow/fgetspent_r.c: Likewise.
8584 * shadow/putspent.c: Likewise.
8585 * stdio-common/printf_fphex.c: Likewise.
8586 * stdio-common/tmpfile.c: Likewise.
8587 * stdlib/abort.c: Likewise.
8588 * stdlib/fmtmsg.c: Likewise.
8589 * sunrpc/auth_unix.c: Likewise.
8590 * sunrpc/clnt_perr.c: Likewise.
8591 * sunrpc/clnt_tcp.c: Likewise.
8592 * sunrpc/clnt_udp.c: Likewise.
8593 * sunrpc/clnt_unix.c: Likewise.
8594 * sunrpc/openchild.c: Likewise.
8595 * sunrpc/svc_simple.c: Likewise.
8596 * sunrpc/svc_tcp.c: Likewise.
8597 * sunrpc/svc_udp.c: Likewise.
8598 * sunrpc/svc_unix.c: Likewise.
8599 * sunrpc/xdr.c: Likewise.
8600 * sunrpc/xdr_array.c: Likewise.
8601 * sunrpc/xdr_rec.c: Likewise.
8602 * sunrpc/xdr_ref.c: Likewise.
8603 * sunrpc/xdr_stdio.c: Likewise.
8604
1248c1c4
PB
86052011-09-09 Ulrich Drepper <drepper@gmail.com>
8606
8607 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8608
86092011-07-03 Andreas Jaeger <aj@suse.de>
8610
8611 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8612 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8613 regenerate with gen-libm-tests.pl.
8614
86152010-05-12 Petr Baudis <pasky@suse.cz>
8616
8617 [BZ #11589]
8618 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8619 around j0() zero points by switching to j1().
8620 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8621 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8624
f22e1074
UD
86252011-09-09 Ulrich Drepper <drepper@gmail.com>
8626
f19009c1
UD
8627 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8628 instead of 0.
8629 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8630 instead of 0. .
8631 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8632 Patch in part by Pavel Roskin <proski@gnu.org>.
8633
3f8cc204
UD
8634 [BZ #13138]
8635 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8636 realloc.
8637 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8638 Free memory block if necessary.
8639
f22e1074
UD
8640 [BZ #12847]
8641 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8642 be NULL. Don't lock in this case.
8643
0a2349f9
RM
86442011-09-09 Roland McGrath <roland@hack.frob.com>
8645
8646 * elf/elf.h (ELFOSABI_GNU): New macro.
8647 (ELFOSABI_LINUX): Define to that.
8648
f3cdd467
DZ
86492011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8650
8651 * string/strncat.c (strncat): Undef the symbol in case it has been
8652 defined in bits/string.h.
8653
74718d13
UD
86542011-09-09 Ulrich Drepper <drepper@gmail.com>
8655
633e9e0f
UD
8656 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8657
0a2349f9 8658 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8659 link map.
8660
f9924780
AJ
86612011-08-17 Andreas Jaeger <aj@suse.de>
8662
8663 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8664
7f5517aa
PP
86652011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8666 Ian Lance Taylor <iant@google.com>
8667
8668 * math/libm-test.inc (lround_test): New testcase.
8669 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8670
762011fe
UD
86712011-09-08 Ulrich Drepper <drepper@gmail.com>
8672
92963737
UD
8673 * Makefile: Remove support for automatic cvs check-ins.
8674 * Makerules: Likewise.
8675 * config.make.in: Likewise.
8676 * configure.in: Likewise.
8677 * intl/Makefile: Likewise.
8678 * locale/Makefile: Likewise.
8679 * po/Makefile: Likewise.
8680 * posix/Makefile: Likewise.
8681 * sysdeps/gnu/Makefile: Likewise.
8682 * sysdeps/mach/hurd/Makefile: Likewise.
8683 * sysdeps/sparc/sparc32/Makefile: Likewise.
8684
b0727fd8
JS
8685 [BZ #13118]
8686 * posix/Makefile (bug-regex32-ENV): Define.
8687 Patch by John Stanley <jpsinthemix@verizon.net>.
8688
a0f33f99
UD
8689 * misc/Makefile (headers): Add bits/select2.h.
8690 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8691 * misc/bits/select2.h: New file.
8692 * include/bits/select2.h: New file.
8693 * debug/Makefile (routines): Add fdelt_chk.
8694 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8695 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8696 FD_ISSET.
8697 * debug/fdelt_chk.c: New file.
8698
762011fe
UD
8699 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8700 * wcsmbs/test-wmemcmp.c: Likewise.
8701 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8702 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8703
87042011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8705
8706 * string/Makefile (strop-tests): Add memcmp.
8707 * string/test-wmemcmp.c: New file.
8708 * string/test-memcmp.c: Add wmemcmp support.
8709
7f513ec8
RM
87102011-09-08 Roland McGrath <roland@hack.frob.com>
8711
0442afb4
RM
8712 [BZ #13153]
8713 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8714 2011-07-19 change.
8715
7f513ec8
RM
8716 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8717 garbage value in a __mach_port_mod_refs call in the cases of the
8718 task-self and thread-self ports.
8719
a12b2239
ST
87202011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8721
8722 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8723
610f9ab4
AS
87242011-09-08 Andreas Schwab <schwab@redhat.com>
8725
7f513ec8 8726 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8727
48882a1a
LD
87282011-09-07 Ulrich Drepper <drepper@gmail.com>
8729
b49865be
UD
8730 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8731
fdc86bc9
UD
8732 * elf/dl-libc.c (dlerror_run): Pass back error code from
8733 dl_catch_error.
8734
c966526a
UD
8735 [BZ #13123]
8736 * elf/dl-load.c (lose): Free l_origin if it is valid.
8737
48882a1a
LD
8738 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8739 names.
8740 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8741 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8742 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8743 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8744 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8745 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8746
77a2a8b4
AZ
87472011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8748
8749 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8750 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8751 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8752 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8753 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8754 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8755 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8756 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8757 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8758 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8759
24f579d8
AM
87602011-08-15 Alan Modra <amodra@gmail.com>
8761
8762 [BZ #13092]
8763 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8764 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8765 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8766 ppc_mcount to static-only-routines.
8767 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8768 __mcount_internal.
8769 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8770 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8771
3d4837df
UD
87722011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8773
8774 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8775 for finite and infinity parameters.
8776
22700377
WS
87772011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8778
8779 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8780 and add nop instructions for throughput optimization.
8781 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8782
5025581e
WS
87832011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8784
8785 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8786 aligned copy for power7 with vector-scalar instructions.
8787 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8788
08a300c9
L
87892011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8790
8791 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8792 AVX check.
8793
59178ef9
AS
87942011-09-07 Andreas Schwab <schwab@redhat.com>
8795
8796 [BZ #13144]
8797 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8798 last change.
8799
e38ba7ab
UD
88002011-09-07 Ulrich Drepper <drepper@gmail.com>
8801
8802 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8803 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8804 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8805 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8806 clock_gettime.
8807
d53a73ac
UD
88082011-09-06 Ulrich Drepper <drepper@gmail.com>
8809
fc8bffcc
UD
8810 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8811 Forgot to demangle the pointer.
8812
ceaa0c5d
UD
8813 * sysdeps/i386/sysdep.h: Define atom_text_section.
8814 * sysdeps/x86_64/sysdep.h: Likewise.
8815 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8816 section with atom_text_section.
8817 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8818 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8819 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8820 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8821 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8822
a77d3c17
UD
8823 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8824 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8825 already be defined. Change to take two parameters and don't assign
8826 result to variable. Adjust all users.
8827 Define INTERNAL_GETTIME if not already defined.
8828 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8829 call.
8830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8831 HAVE_CLOCK_GETTIME_VSYSCALL.
8832 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8833
d53a73ac
UD
8834 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8835 gettimeofday vsyscall, just use time.
8836
a8f84144
AS
88372011-09-06 Andreas Schwab <schwab@redhat.com>
8838
8839 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8840 <errno.h>.
8841
ef606249
UD
88422011-09-06 Ulrich Drepper <drepper@gmail.com>
8843
8844 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8845 syscall on x86-64.
8846 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8847 syscall.
8848 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8849 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8850 syscall if possible.
8851
6585cb60
UD
88522011-09-05 Ulrich Drepper <drepper@gmail.com>
8853
8854 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8855 e_ident. Don't pass to find_mapsXX.
8856 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8857
a5f524e4
LD
88582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8859
8860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8861 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8862 * sysdeps/x86_64/multiarch/strchr.S: Update.
8863 Check bit_slow_BSF bit.
8864 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8865 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8866 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8867
554881ef
UD
88682011-09-05 Ulrich Drepper <drepper@gmail.com>
8869
d96de963
UD
8870 [BZ #13134]
8871 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8872 before glibc 2.15.
8873 (tryshell): Define.
8874 (__spawni): Change last parameter to be flag. Test
8875 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8876 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8877 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8878 * posix/spawni.c: Likewise.
8879 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8880 * posix/spawnp.c: Likewise. Change normal version to use
8881 SPAWN_XFLAGS_USE_PATH.
8882 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8883 SPAWN_XFLAGS_TRY_SHELL.
8884
d48e5868
UD
8885 [BZ #13150]
8886 * posix/glob.h: Remove gcc 1.x support.
8887
554881ef
UD
8888 [BZ #13068]
8889 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8890
693fb948
LD
88912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8892
8893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8894 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8895 strrchr-sse2-bsf
8896 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8897 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8898 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8899 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8900 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8901 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8902
1b48c537
UD
89032011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8904
49d42c37
UD
8905 * sysdeps/x86_64/wcscmp.S: New file.
8906
1b48c537
UD
8907 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8908 wcscmp-c wcscmp-sse2
8909 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8910 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8911 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8912 * wcsmbs/wcscmp.c: Allow renaming.
8913
15c95c5d
DM
89142011-09-05 David S. Miller <davem@davemloft.net>
8915
8916 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8917 stack slot, rather than the struct return pointer slot.
8918 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8919 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8921 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8922
2f0ad8f3
UD
89232011-09-05 Ulrich Drepper <drepper@gmail.com>
8924
d88ae418
UD
8925 * po/ja.po: Update from translation team.
8926
2f0ad8f3
UD
8927 [BZ #13144]
8928 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8929 kernel in 64-bit binaries.
8930
5f4318d1
DM
89312011-09-01 David S. Miller <davem@davemloft.net>
8932
8933 * elf/elf.h (HWCAP_SPARC_*): Move to..
8934 * sysdeps/sparc/sysdep.h: this new file and add new values.
8935 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8936 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8937 _DL_HWCAP_COUNT to 24.
8938 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8939 entries.
8940 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8941 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8942 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8943 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8944 instead of magic constants.
8945 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8946
3ba57516
DM
89472011-08-31 David S. Miller <davem@davemloft.net>
8948
8949 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8951 Reimplement to do errno handling inline.
8952 (SYSCALL_ERROR_HANDLER): New macro.
8953 (__SYSCALL_STRING): Do not do errno handling in asm.
8954 (__CLONE_SYSCALL_STRING): Delete.
8955 (__INTERNAL_SYSCALL_STRING): Delete.
8956 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8957 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8958 (PSEUDO): Reimplement to do errno handling inline.
8959 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8960 (SYSCALL_ERROR_HANDLER): New macro.
8961 (__SYSCALL_STRING): Do not do errno handling in asm.
8962 (__CLONE_SYSCALL_STRING): Delete.
8963 (__INTERNAL_SYSCALL_STRING): Delete.
8964 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8965 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8966 i386.
8967 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8968 (inline_syscall*): Add 'err' argument.
8969 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8970 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8971 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8972 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8973
8974 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8975 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8976
2bc17433
AS
89772011-08-30 Andreas Schwab <schwab@redhat.com>
8978
8979 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8980
fbeb5f4d
JO
89812011-08-29 Jiri Olsa <jolsa@redhat.com>
8982
8983 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8984 directive.
8985
ad69cc26
DM
89862011-08-24 David S. Miller <davem@davemloft.net>
8987
8988 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8989
39dd69df
AS
89902011-08-24 Andreas Schwab <schwab@redhat.com>
8991
8992 * elf/Makefile: Add rules to build and run unload8 test.
8993 * elf/unload8.c: New file.
8994 * elf/unload8mod1.c: New file.
8995 * elf/unload8mod1x.c: New file.
8996 * elf/unload8mod2.c: New file.
8997 * elf/unload8mod3.c: New file.
8998
8999 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9000 it wasn't used.
9001
2c0b250a
DM
90022011-08-23 David S. Miller <davem@davemloft.net>
9003
9004 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9005 subtract stack bias.
9006 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9007 %sp not %fp in calculations.
9008 (_JMPBUF_UNWINDS_ADJ): Likewise.
9009
22044b48
DM
9010 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9011 (aio_suspend): Call it to force an exception region around the
9012 AIO_MISC_WAIT() invocation.
9013
2cae4995
AS
90142011-08-23 Andreas Schwab <schwab@redhat.com>
9015
9016 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9017 backslash.
9018
873a772e
AJ
90192011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9020
9021 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9022 protection macro.
9023 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9024 and <dl-machine.h>.
9025 (Elf64_FuncDesc): Remove.
9026
25ad0df1
DM
90272011-08-22 David S. Miller <davem@davemloft.net>
9028
9029 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9030 sigaltstack check, add missing cfi directives.
9031 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9032 missing cfi directives, and sigaltstack handling.
9033
e888bcbe
AS
90342011-08-16 Andreas Schwab <schwab@redhat.com>
9035
9036 [BZ #11724]
9037 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9038 object is seen twice.
9039 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9040
9041 * elf/Makefile (distribute): Add tst-initorder2.c.
9042 (tests): Add tst-initorder2.
9043 (modules-names): Add tst-initorder2a tst-initorder2b
9044 tst-initorder2c tst-initorder2d. Add rules to build them.
9045 ($(objpfx)tst-initorder2.out): New rule.
9046 * elf/tst-initorder2.c: New file.
9047 * elf/tst-initorder2.exp: New file.
9048
87162f46
AS
90492011-08-22 Andreas Schwab <schwab@redhat.com>
9050
70538b7f
AS
9051 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9052
f55ffe58
AS
9053 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9054 dependencies back to end of function.
9055
87162f46
AS
9056 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9057 $(elfobjdir)/ld.so.
9058
91b392a4
UD
90592011-08-21 Ulrich Drepper <drepper@gmail.com>
9060
9061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9062 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9063 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9064 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9065 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9066 of __vdso_gettimeofday.
9067 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9068 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9069 attribute_hidden.
9070 (_libc_vdso_platform_setup): Remove initialization of
9071 __vdso_gettimeofday and __vdso_time.
9072
5c43483f
UD
90732011-08-20 Ulrich Drepper <drepper@gmail.com>
9074
775a77e7
UD
9075 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9076 and fgetc_unlocked.
9077 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9078 getc_unlocked.
89f447ed 9079
49c74ba9
UD
9080 * elf/dl-open.c (add_to_global): Report additions to the global scope
9081 for LD_DEBUG=scopes.
9082 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9083 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9084
5c43483f
UD
9085 [BZ #13114]
9086 * stdio-common/Makefile (tests): Add bug24.
9087 * stdio-common/bug24.c: New file.
9088
a101b025
AJ
90892011-08-19 Andreas Jaeger <aj@suse.de>
9090
9091 [BZ #13114]
9092 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9093 non-existant file when using close-on-exec mode.
9094
c88f1766
UD
90952011-08-20 Ulrich Drepper <drepper@gmail.com>
9096
0276a718
UD
9097 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9098 the very first instruction.
9099
c88f1766
UD
9100 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9101 the CFI state in the end.
9102 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9103 inclusion of dl-trampoline.h.
9104 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9105
51ccffa0
AS
91062011-08-19 Andreas Schwab <schwab@redhat.com>
9107
94d7165f
AS
9108 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9109 expectations for long double.
9110
51ccffa0
AS
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9112 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9113
fd708658 91142011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9115
9116 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9117 artificual limit depends upon the system page size.
9118
44f0a71e
UD
91192011-08-17 Ulrich Drepper <drepper@gmail.com>
9120
9121 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9122 * resolv/Makefile: Define CFLAGS-libresolv.
9123
8de79a24
AS
91242011-08-17 Andreas Schwab <schwab@redhat.com>
9125
9126 * nss/makedb.c (compute_tables): Make variables used in nested
9127 function static.
9128
27724598
UD
91292011-08-17 Ulrich Drepper <drepper@gmail.com>
9130
c5305d88
UD
9131 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9132 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9133 if buffer was too small.
9134
27724598
UD
9135 * elf/pldd.c (main): Attach to all threads in the process.
9136 Rewrite /proc handling to use *at functions.
9137
076fe015
UD
91382011-08-16 Ulrich Drepper <drepper@gmail.com>
9139
174baab3
UD
9140 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9141 specifies first scope to show.
9142 (dl_open_worker): Update callers. Move printing scope of new
9143 object to before the relocation.
44f0a71e 9144 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9145 * sysdeps/generic/ldsodefs.h: Update declaration.
9146
076fe015
UD
9147 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9148 string for the scope number.
9149
a60df2c3
UD
91502011-08-14 Ulrich Drepper <drepper@gmail.com>
9151
9152 * nscd/servicescache.c (cache_addserv): Make sure written is always
9153 initialized.
9154
5e4287d1
RM
91552011-08-14 Roland McGrath <roland@hack.frob.com>
9156
85ae0589
RM
9157 * sysdeps/i386/i486/bits/atomic.h
9158 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9159 statement expression, so as to suppress "set but not used" warning.
9160 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9161
69f63097
RM
9162 * string/strncat.c (STRNCAT): Use prototype definition.
9163
675456ef
RM
9164 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9165 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9166 -Iprograms here.
9167 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9168 (localedef-modules): Add localedef.
9169 (locale-modules): Add locale.
9170
5e4287d1
RM
9171 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9172 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9173 to avoid a warning.
9174
9c96ff23
DM
91752011-08-14 David S. Miller <davem@davemloft.net>
9176
9177 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9178 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9179
f9ddf089
UD
91802011-08-13 Ulrich Drepper <drepper@gmail.com>
9181
44f0a71e 9182 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9183 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9184 * elf/rtld.c (dl_main): Set l_name of vDSO.
9185 Call _dl_show_scope when DL_DEBUG_SCOPES.
9186 (process_dl_debug): Recognize scopes flag and also set it for all.
9187 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9188 Declare _dl_show_scope.
9189
1dc27704
UD
9190 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9191 (do_dlopen): Pass caller_dlopen to dl_open.
9192 (__libc_dlopen_mode): Initialize caller_dlopen.
9193
f9ddf089
UD
9194 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9195 of libc. Make tolower call locale-independent. Optimize a bit by
9196 using isdigit instead of isalnum.
9197 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9198
9ac533d3
UD
91992011-08-12 Ulrich Drepper <drepper@gmail.com>
9200
9201 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9202 was a dependency or dynamically loaded.
9203
89edf2e9
UD
92042011-08-11 Ulrich Drepper <drepper@gmail.com>
9205
8e999d29
UD
9206 * intl/l10nflist.c: Allow architecture-specific pop function.
9207 * sysdeps/x86_64/l10nflist.c: New file.
9208
89edf2e9
UD
9209 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9210 classification.
9211
14d96785
AS
92122011-08-10 Andreas Schwab <schwab@redhat.com>
9213
9214 * include/dirent.h: Add libc_hidden_proto for scandirat and
9215 scandirat64. Don't declare __scandirat64.
9216 * dirent/scandirat.c: Add libc_hidden_def.
9217 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9218 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9219
6761ac04
DM
92202011-08-10 David S. Miller <davem@davemloft.net>
9221
9222 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9223 enum.
9224 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9225 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9226 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9227
c55fbd1e
UD
92282011-08-09 Ulrich Drepper <drepper@gmail.com>
9229
9230 * Versions.def [libc]: Add GLIBC_2.15.
9231 * dirent/Makefile (routines): Add scandirat and scandirat64.
9232 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9233 GLIBC_2.15.
9234 * dirent/dirent.h: Declare scandirat and scandirat64.
9235 * dirent/scandirat.c: New file.
9236 * dirent/scandirat64.c: New file.
9237 * sysdeps/wordsize-64/scandirat.c: New file.
9238 * sysdeps/wordsize-64/scandirat64.c: New file.
9239 * dirent/opendir.c: Define opendirat.
9240 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9241 using scandirat.
9242 * dirent/scandir64.c: Adjust for scandir.c change.
9243 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9244 __scandirat64, and __scandir_cancel_handler.
9245 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9246 additional parameter and use openat instead of open (outside of ld.so).
9247 Add new __opendir as wrapper around __opendirat.
9248 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9249 here without requiring old scandirat implementation.
9250
879165f2
UD
92512011-08-08 Ulrich Drepper <drepper@gmail.com>
9252
9253 * dirent/scandir.c (cancel_handler): Renamed to
9254 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9255 defined. Adjust users.
9256 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9257 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9258
cb7e923b
UD
92592011-08-04 Ulrich Drepper <drepper@gmail.com>
9260
16292edd
UD
9261 * string/test-string.h (IMPL): Use __STRING to expand name and then
9262 stringify it.
9263
cb7e923b
UD
9264 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9265 of cleanups.
9266
cff82933
LD
92672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9268
9269 * string/Makefile: Update.
9270 (strop-tests): Append strncat.
9271 * string/test-wcscmp.c: New file.
9272 New comprehensive test for wcscmp.
9273 * string/test-strcmp.c: Update.
9274 (WIDE): New define.
9275
9be9bfcc
AS
92762011-07-22 Andreas Schwab <schwab@redhat.com>
9277
9278 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9279 line.
9280
2e96f1c7
AS
92812011-07-26 Andreas Schwab <schwab@redhat.com>
9282
9283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9284 encoding to ACE if AI_IDN.
9285
85188888
JJ
92862011-08-01 Jakub Jelinek <jakub@redhat.com>
9287
9288 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9289 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9290
5fa16e9b
LD
92912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9292
9293 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9294 Fix overflow bug in strncat.
9295 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9296
9297 * string/test-strncat.c: Update.
9298 Add new tests for checking overflow bugs.
9299
93002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9301
9302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9303 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9304 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9305 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9306 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9307 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9308 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9309 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9310 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9311
9312 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9313 (USE_AS_STRCAT): Define.
9314 Add strcat and strncat support.
9315 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9316
8c1a459f
AS
93172011-07-25 Andreas Schwab <schwab@redhat.com>
9318
9319 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9320 __n bigger than INT_MAX+1.
9321 (__strncmp_g): Likewise.
9322
bba33c28
UD
93232011-07-23 Ulrich Drepper <drepper@gmail.com>
9324
798be72d
UD
9325 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9326 * libio/stido.h: Likewise.
9327
8accd4dc
UD
9328 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9329 (AF_NFC): Define.
9330 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9331 (AF_NFC): Define.
9332
cbff0d96
UD
9333 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9334 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9335 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9336 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9337 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9338
9191c04a
UD
9339 [BZ #13021]
9340 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9341 installed.
9342
bba33c28
UD
9343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9344 typo.
9345 (_dl_x86_64_save_sse): Likewise.
9346
90f139dd
UD
93472011-07-22 Ulrich Drepper <drepper@gmail.com>
9348
1aae088a
UD
9349 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9350 OSXSAVE.
9351 (_dl_x86_64_save_sse): Likewise.
9352
8e2045f5
UD
9353 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9354
90f139dd
UD
9355 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9356
1d002f25
AS
93572011-07-21 Andreas Schwab <schwab@redhat.com>
9358
9359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9360 change.
9361 (_dl_x86_64_save_sse): Use correct AVX check.
9362
21137f89
UD
93632011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9364
9365 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9366 bug in strncpy/strncat.
9367 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9368
a65c0b7a
UD
93692011-07-21 Ulrich Drepper <drepper@gmail.com>
9370
9371 * string/tester.c (test_strcat): Add tests for different alignments
9372 of source and destination.
9373 (test_strncat): Likewise.
9374
6986b98a
UD
93752011-07-20 Ulrich Drepper <drepper@gmail.com>
9376
90bb2039
UD
9377 [BZ #12852]
9378 * posix/glob.c (glob): Check passed in values before using them in
9379 expressions to avoid some overflows.
9380 (glob_in_dir): Likewise.
9381
5644ef54
UD
9382 [BZ #13007]
9383 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9384 check for AVX enablement so that we don't crash with old kernels and
9385 new hardware.
9386 * elf/tst-audit4.c: Add same checks here.
9387 * elf/tst-audit6.c: Likewise.
9388
9389 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9390
bfc9dc9b
AS
93912011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9392
9393 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9394
702e64bb
UD
93952011-07-20 Ulrich Drepper <drepper@gmail.com>
9396
9397 * po/cs.po: Update from translation team.
9398 * po/bg.po: Likewise.
9399
295e904f
MP
94002011-07-12 Marek Polacek <mpolacek@redhat.com>
9401
9402 * misc/sys/cdefs.h: Add support for const attribute.
9403 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9404 to gnu_dev_{major,minor,makedev} functions.
9405
3ff94596
MP
94062011-07-20 Marek Polacek <mpolacek@redhat.com>
9407
9408 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9409
28b59fca
AS
94102011-07-20 Andreas Schwab <schwab@redhat.com>
9411
9412 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9413 strlen results.
9414
19df733e
AK
94152011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9416
9417 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9418 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9419 register in order to avoid conflicts with the soft frame pointer
9420 being held in r11 when necessary.
9421 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9422 (INTERNAL_VSYSCALL_NCS): Likewise.
9423
c8835729
MP
94242011-07-14 Marek Polacek <mpolacek@redhat.com>
9425
9426 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9427 * elf/dl-fini.c (_dl_fini): Adjust caller.
9428 * elf/dl-close.c (_dl_close_worker): Likewise.
9429 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9430
b902330c
MP
94312011-07-15 Marek Polacek <mpolacek@redhat.com>
9432
8991e135
MP
9433 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9434 "aux_cache->nlibs < 0".
9435
b902330c
MP
9436 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9437 in the reload-count case.
9438
99710781
LD
94392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9440
9441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9442 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9443 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9444 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9445 * sysdeps/x86_64/multiarch/strcat.S: New file.
9446 * sysdeps/x86_64/multiarch/strncat.S: New file.
9447 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9448 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9449 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9450 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9451 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9452 (USE_AS_STRCAT): Define.
9453 Add strcat and strncat support.
9454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9455 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9456 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9457 * string/strncat.c: Update.
9458 (USE_AS_STRNCAT): Define.
9459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9460 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9461 and i7.
9462 * sysdeps/x86_64/multiarch/init-arch.h
9463 (bit_Prefer_PMINUB_for_stringop): New.
9464 (index_Prefer_PMINUB_for_stringop): Likewise.
9465 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9466 bit_Prefer_PMINUB_for_stringop.
9467
7dc6bd90
UD
94682011-07-19 Ulrich Drepper <drepper@gmail.com>
9469
9470 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9471 buffer64.
9472 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9473 of casting of buffer.
9474 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9475 buffer32 and buffer64.
9476 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9477 writes instead of casting of buffer.
9478 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9479 buffer32.
9480 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9481 casting of buffer.
9482
e0e72284
AS
94832011-07-19 Andreas Schwab <schwab@redhat.com>
9484
9485 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9486
feb1eb0b
UD
94872011-07-19 Ulrich Drepper <drepper@gmail.com>
9488
9489 * nscd/nscd.c (termination_handler): Don't do anything for a database
9490 if it has not yet been initialized.
9491
298711ff
UD
94922011-07-18 Ulrich Drepper <drepper@gmail.com>
9493
9494 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9495
94962011-07-15 Marek Polacek <mpolacek@redhat.com>
9497
9498 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9499
f9d68389
UD
95002011-07-18 Ulrich Drepper <drepper@gmail.com>
9501
9502 * po/nl.po: Update from translation team.
9503 * po/sv.po: Likewise.
9504
db290cf5
RM
95052011-07-16 Roland McGrath <roland@hack.frob.com>
9506
9507 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9508 now disallowed by GCC.
5c550700 9509
fd5e21c7
RM
9510 * configure.in (use-default-link): Default to yes if a test -shared
9511 link meets our qualifications.
9512 * configure: Regenerated.
9513
5c550700
RM
9514 * config.make.in (output-format): New variable.
9515 * configure.in: Check for ld --print-output-format support.
9516 * configure: Regenerated.
9517 * Makerules ($(common-objpfx)format.lds)
9518 [$(output-format) != unknown]: Just use $(output-format),
9519 instead of the linker-script munging.
9520
9fa2c032
RM
95212011-07-14 Roland McGrath <roland@hack.frob.com>
9522
a6928d51
RM
9523 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9524 of $(common-objpfx)shlib.lds.
9525 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9526
661607b3
RM
9527 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9528 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9529
9fa2c032
RM
9530 * configure.in (-z relro check): Adjust test code to add a large
9531 writable data section after it.
9532 * configure: Regenerated.
9533
defe9061
RM
95342011-07-11 Roland McGrath <roland@hack.frob.com>
9535
9536 * configure.in (-z relro check): Fix test code to make the variable
9537 truly const.
9538 * configure: Regenerated.
9539
319b9ad4
UD
95402011-07-11 Ulrich Drepper <drepper@gmail.com>
9541
9542 * nscd/nscd.h (struct traced_file): Define.
9543 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9544 elements. Add traced_files.
9545 (inotify_fd): Declare.
9546 (register_traced_file): Declare.
9547 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9548 (inotify_fd): Export.
9549 (resolv_conf_descr): Remove.
9550 (nscd_init): Move inotify descriptor creation to main.
9551 Don't register files for notification here.
9552 (register_traced_file): New function.
9553 (invalidate_cache): Don't use reset_res to determine whether to call
9554 res_init, go through the list of registered files.
9555 (main_loop_poll): The inotify descriptors are now stored in the
9556 structures for the traced files.
9557 (main_loop_epoll): Likewise
9558 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9559 to __nss_disable_nscd.
9560 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9561 for a database anymore. Check the records for all the registered
9562 files instead.
9563 * nss/Makefile (libnss_files-routines): Add files-init.
9564 (libnss_db-routines): Add db-init.
9565 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9566 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9567 * nss/nss_db/db-init.c: New file.
9568 * nss/nss_files/files-init.c: New file.
9569 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9570 __nss_lookup_function.
9571 (__nss_lookup_function): Call nss_load_library.
9572 (nss_load_all_libraries): New function.
9573 (__nss_disable_nscd): Take parameter with callback function for files
9574 to register. Set is_nscd. Load all the DSOs for the NSS modules
9575 used for the cached services.
9576 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9577 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9578 options for features to all the files in nscd.
9579
9580 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9581
23bee3e8
RM
95822011-07-10 Roland McGrath <roland@hack.frob.com>
9583
9584 * csu/elf-init.c (__libc_csu_init): Comment typo.
9585
46a5b7f0
UD
95862011-07-09 Ulrich Drepper <drepper@gmail.com>
9587
9588 * po/pl.po: Update from translation team.
9589 * po/ja.po: Likewise.
9590 * po/ru.po: Likewise.
9591 * po/ko.po: Likewise.
9592 * po/fr.po: Likewise.
9593
d30cf5bb
RM
95942011-07-09 Roland McGrath <roland@hack.frob.com>
9595
113ddea4
RM
9596 * configure.in (.ctors/.dtors header and trailer check):
9597 Use an empirical test on a built program.
9598 * configure: Regenerated.
9599
574920b4
RM
9600 * configure.in (-z relro check): Use an empirical test on a built DSO.
9601 Detect, but do not require, on ia64.
9602 * configure: Regenerated.
9603
d30cf5bb
RM
9604 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9605 Update tests that use readelf to use $READELF instead.
9606 * configure: Regenerated.
9607
8538fdb3
UD
96082011-07-08 Ulrich Drepper <drepper@gmail.com>
9609
9610 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9611 if the result is not used.
9612
04d08991
AJ
96132011-07-05 Andreas Jaeger <aj@suse.de>
9614
9615 [BZ#9696]
9616 * stdlib/tst-strtod.c: Add testcase.
9617
de283087
AD
96182011-07-07 Ulrich Drepper <drepper@gmail.com>
9619
4e5f31c8 9620 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9621 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9622 The latter has a higher limit. Take additional parameter to pass to
9623 the new function.
9624 (__pathconf): Pass file to __statfs_link_max.
9625 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9626 __statfs_link_max.
9627 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9628 __statfs_link_max.
9629
de283087
AD
9630 [BZ #12868]
9631 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9632 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9633 Handle Lustre.
9634 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9635 (__statfs_filesize_max): Likewise.
9636 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9637
c75fa153
AJ
96382011-07-05 Andreas Jaeger <aj@suse.de>
9639
9640 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9641
1a544854
UD
96422011-07-06 Marek Polacek <mpolacek@redhat.com>
9643
9644 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9645 `status' variable.
9646 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9647 Likewise.
9648
6f0eec67
UD
96492011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9650
9651 * Makefile (strop-tests): Add strncat.
9652 * string/test-strncat.c: New file.
9653
aae30307
UD
96542011-06-30 Marek Polacek <mpolacek@redhat.com>
9655
9656 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9657
c0cfb5eb
UD
96582011-06-21 Andreas Jaeger <aj@suse.de>
9659
9660 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9661 Copy rule from iconvdata/Makefile.
9662
01636b21
UD
96632011-07-06 Ulrich Drepper <drepper@gmail.com>
9664
9665 [BZ #12922]
9666 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9667 but no long options are defined, just return 'W'.
9668
9895c8bc
UD
96692011-06-22 Marek Polacek <mpolacek@redhat.com>
9670
9671 [BZ #9696]
9672 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9673
5d4cf042
UD
96742011-07-06 Ulrich Drepper <drepper@gmail.com>
9675
9676 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9677 netgroups to read.
960e5535 9678 (innetgr): Likewise.
5d4cf042 9679
751eb97e
RM
96802011-07-05 Roland McGrath <roland@hack.frob.com>
9681
9682 * config.make.in (install_root): Default to $(DESTDIR).
9683
f15f1e45
UD
96842011-07-05 Ulrich Drepper <drepper@gmail.com>
9685
9686 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9687
4e34ac6a
RM
96882011-07-02 Roland McGrath <roland@hack.frob.com>
9689
5e9b6af4
RM
9690 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9691
84f9ea0f
RM
9692 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9693 containing directory rather than embedding absolute directory names.
9694
ea5ee9f7
RM
9695 * scripts/check-local-headers.sh: Rewritten using awk.
9696 Match by word, not by line. Print error messages for matches.
9697 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9698
1b74661a
RM
9699 * Makerules [shlib-lds-flags empty]:
9700 ($(common-objpfx)libc_pic.opts): New target.
9701 ($(common-objpfx)libc_pic.os.clean): New target.
9702 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9703
9704 * config.make.in (OBJCOPY): New variable.
9705 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9706 * configure: Regenerated.
9707
f781ef40
RM
9708 * config.make.in (use-default-link): New variable.
9709 * configure.in (use_default_link): Grok --with-default-link to set it.
9710 * configure: Regenerated.
9711 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9712 (shlib-lds, shlib-lds-flags): Define to empty.
9713
2d4fa81e
RM
9714 * Makerules (shlib-lds): New variable.
9715 (shlib-lds-flags): New variable.
9716 (build-shlib, build-moduile, build-module-asneeded): Use it.
9717 ($(common-objpfx)libc.so): Use $(shlib-lds).
9718 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9719 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9720
31fffa6b
RM
9721 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9722 DT_FLAGS/DT_FLAGS_1 with zero flags.
9723
4e34ac6a
RM
9724 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9725 linker script munging.
9726
fcfc776b
UD
97272011-07-02 Ulrich Drepper <drepper@gmail.com>
9728
9729 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9730 as 128-bit value.
9731 * crypt/sha512.c (sha512_process_block): Perform total addition using
9732 128-bit if possible.
9733 (__sha512_finish_ctx): Likewise.
9734 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9735 as 64-bit value.
9736 * crypt/sha256.c (SWAP64): Define.
9737 (sha256_process_block): Perform total addition using 64-bit if
9738 possible.
9739 (__sha256_finish_ctx): Likewise.
9740
99231d9a
UD
97412011-07-01 Ulrich Drepper <drepper@gmail.com>
9742
9743 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9744 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9745 * nscd/hstcache.c (cache_addhst): Likewise.
9746 * nscd/grpcache.c (cache_addgr): Likewise.
9747 * nscd/aicache.c (addhstaiX): Likewise
9748 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9749
445b4a53
TK
97502011-07-01 Thorsten Kukuk <kukuk@suse.de>
9751
9752 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9753 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9754 * nscd/hstcache.c (cache_addhst): Likewise.
9755 * nscd/grpcache.c (cache_addgr): Likewise.
9756 * nscd/aicache.c (addhstaiX): Likewise
9757
6d4d8e8e
AS
97582011-07-01 Andreas Schwab <schwab@redhat.com>
9759
9760 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9761 domain only when needed.
9762
89f654c5
AS
97632011-06-30 Andreas Schwab <schwab@redhat.com>
9764
9765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9766 is always restored.
9767
cf3b23ff
UD
97682011-06-29 Ulrich Drepper <drepper@gmail.com>
9769
9770 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9771 are re-adding the entry.
9772 * nscd/servicescache.c (cache_addserv): Likewise.
9773
751626f9
AJ
97742011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9775
9776 * sysdeps/generic/dl-irel.h: fix protection against multiple
9777 inclusions.
9778 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9779
9113ea1f
UD
97802011-06-28 Ulrich Drepper <drepper@gmail.com>
9781
5c0b8d90
UD
9782 [BZ #12935]
9783 * malloc/memusage.sh: Fix quoting in message.
9784 * debug/xtrace.sh: Likewise.
9785
9113ea1f
UD
9786 * configure.in: Remove support for --experimental-malloc option, make
9787 it the default.
9788 * config.make.in: Likewise.
9789 * malloc/Makefile: Likewise.
9790
a4172181
AS
97912011-06-27 Andreas Schwab <schwab@redhat.com>
9792
9793 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9794 two-byte characters.
9795
78a7eee7
RM
97962011-06-27 Roland McGrath <roland@hack.frob.com>
9797
62bede13
RM
9798 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9799 AC_CACHE_CHECK invocation.
9800 * configure: Regenerated.
9801
78a7eee7
RM
9802 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9803
5ce33a62
UD
98042011-06-27 Ulrich Drepper <drepper@gmail.com>
9805
034807a9
UD
9806 [BZ #12350]
9807 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9808 bit from old_res_options.
9809
4902da17
UD
9810 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9811
5ce33a62
UD
9812 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9813 value type for setfct.
9814
c2344f56
L
98152011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9816
9817 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9818 __gettimeofday instead of gettimeofday.
9819
68468076
UD
98202011-06-26 Ulrich Drepper <drepper@gmail.com>
9821
9822 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9823
acb0d739
L
98242011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9825
9826 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9827
9828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9829 info.
9830
8912479f
L
98312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9832
9833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9834 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9835 strcpy-sse2-unaligned strncpy-sse2-unaligned
9836 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9837 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9838 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9839 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9840 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9841 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9842 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9843 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9844 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9845 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9846 (STRCPY): Support SSE2 and SSSE3 versions.
9847
d5495a11
UD
98482011-06-24 Ulrich Drepper <drepper@gmail.com>
9849
9850 [BZ #12874]
9851 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9852 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9853 kernels which artificially limit size of requests.
9854
0b1cbaae
L
98552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9856
9857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9858 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9859 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9860 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9861 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9862 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9863 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9864 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9865 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9866 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9867 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9868 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9869 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9870 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9871 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9873 Enable unaligned load optimization for Intel Core i3, i5 and i7
9874 processors.
9875 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9876 Define.
9877 (index_Fast_Unaligned_Load): Define.
9878 (HAS_FAST_UNALIGNED_LOAD): Define.
9879
07f494a0
MP
98802011-06-23 Marek Polacek <mpolacek@redhat.com>
9881
9882 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9883
fa3fc0fe
UD
98842011-06-22 Ulrich Drepper <drepper@gmail.com>
9885
9886 [BZ #12907]
9887 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9888 until it is clear that the information is realy needed.
9889 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9890
e12df166
AS
98912011-06-22 Andreas Schwab <schwab@redhat.com>
9892
9893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9894
852eb34d
UD
98952011-06-22 Ulrich Drepper <drepper@gmail.com>
9896
84e2a551
UD
9897 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9898 /sys/devices/system/cpu/online if it is usable.
9899
852eb34d
UD
9900 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9901 reading the information from the /proc filesystem to once a second.
9902
6e502e19
UD
99032011-06-21 Andreas Jaeger <aj@suse.de>
9904
9905 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9906 NULL after inclusion of kernel headers.
9907
75d39ff2
UD
99082011-06-21 Ulrich Drepper <drepper@gmail.com>
9909
51f9aa6a
UD
9910 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9911 calls to internal_setent.
9912
c0244a9d
UD
9913 [BZ #12885]
9914 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9915 addresses using gethostbyname4_r ignore IPv4 addresses.
9916
c5e3c2ae
UD
9917 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9918 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9919
75d39ff2
UD
9920 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9921
42675c6f
DM
99222011-06-20 David S. Miller <davem@davemloft.net>
9923
9924 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9925 inclusions.
9926 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9927
9928 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9929 (elf_irel): Use it.
9930 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9931 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9932 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9933 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9934 * sysdeps/x86_64/dl-irel.h: Likewise.
9935
9936 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9937 * elf/dl-sym.c: Likewise.
9938
57912a71
UD
99392011-06-15 Ulrich Drepper <drepper@gmail.com>
9940
9941 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9942 need to dereference resplen2.
9943
ee22793d
AS
99442011-06-14 Andreas Schwab <schwab@redhat.com>
9945
9946 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9947
a9e836b0
UD
99482011-06-15 Ulrich Drepper <drepper@gmail.com>
9949
77fb9117
UD
9950 * Makeconfig: Define vardbdir and inst_vardbdir.
9951 * nss/Makefile: Add rules to install db-Makefile.
9952
40c1b22c
UD
9953 * nss/nss_db/db-XXX.c: Cleanup.
9954
9f2da732
UD
9955 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9956 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9957 GLIBC_PRIVATE.
9958 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9959 * nss/makedb.c: Implement -g option to specify that value strings
9960 are generated and should not be added to table iterated over for
9961 get*ent calls.
9962 * nss/nss_db/db-initgroups.c: New file.
9963
82e9a1f7
UD
9964 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9965 interface.
9966
c41af17e
UD
9967 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9968 (internal_getgrouplist): Adjust to name change.
9969 Update use_initgroups_entry if this is not the first call.
9970 * nss/databases.def: Add initgroups entry.
9971
a9e836b0
UD
9972 * nss/makedb.c (compute_tables): Check result of multiple hash table
9973 sizes to minimize maximum chain length.
9974
2666d441
UD
99752011-06-14 Ulrich Drepper <drepper@gmail.com>
9976
9977 * Versions.def: Add entry for libnss_db.
9978 * shlib-versions: Likewise.
9979 * nss/Makefile: Add rules to build libnss_db.
9980 * nss/Versions: Add libnss_db information. Organize libnss_files
9981 entries better.
9982 * nss/db-Makefile: Add gshadow support. Change rules for the new
9983 makedb progra. Some minor improvements to generate smaller files.
9984 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9985 here from...
9986 * nss/makedb.c: ...here.
9987 Improve database format to be smaller and require less memory at
9988 runtime.
9989 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9990 db anymore.
9991 * nss/nss_db/db-netgrp.c: Likewise.
9992 * nss/nss_db/db-open.c: Likewise.
9993 * nss/nss_files/flies-XXX.x: Adjust comments.
9994 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9995 * nss/nss_files/files-grp.c: Likewise.
9996 * nss/nss_files/files-hosts.c: Likewise.
9997 * nss/nss_files/files-network.c: Likewise.
9998 * nss/nss_files/files-proto.c: Likewise.
9999 * nss/nss_files/files-pwd.c: Likewise.
10000 * nss/nss_files/files-rpc.c: Likewise.
10001 * nss/nss_files/files-service.c: Likewise.
10002 * nss/nss_files/files-sgrp.c: Likewise.
10003 * nss/nss_files/files-spwd.c: Likewise.
10004 * nss/nss_db/db-alias.c: Removed.
10005 * nss/nss_db/dummy-db.h: Removed.
10006
9ee76b5a
UD
100072011-06-02 Ulrich Drepper <drepper@gmail.com>
10008
10009 * nss/makedb.c: Rewritten to not use database library.
10010 * nss/Makefile: Update to build new makedb program.
10011
c71ca1f8
AJ
100122011-06-14 Andreas Jaeger <aj@suse.de>
10013
10014 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10015 memset declaration.
10016
3154bfb8
UD
100172011-06-10 Andreas Schwab <schwab@redhat.com>
10018
10019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10020 tmpbuf.
10021
b350afab
RM
100222011-06-10 Roland McGrath <roland@hack.frob.com>
10023
decd4e50
RM
10024 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10025 * elf/Makefile ($(objpfx)ld.so): Likewise.
10026
5615eaf2
RM
10027 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10028 Don't list ld.so twice in dependencies.
10029
10030 * posix/bug-regex31.c: Include <stdlib.h>.
10031
10032 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10033
10034 * nis/nss_compat/compat-spwd.c
10035 (getspent_next_nss_netgr): Remove unused variable.
10036 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10037
10038 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10039 nonmembers" output to use the right array.
10040
10041 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10042
10043 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10044
10045 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10046 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10047 * catgets/gencat.c (read_input_file): Likewise.
10048 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10049
10050 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10051 variable definition inside #if's controlling its use.
10052
10053 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10054
10055 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10056
10057 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10058
10059 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10060 unreachable code.
10061
10062 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10063
b68e08db
RM
10064 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10065 * configure: Regenerated.
10066
b350afab
RM
10067 * Makerules: Revert last change.
10068 * elf/Makefile: Likewise.
10069
28368601
RM
100702011-06-09 Roland McGrath <roland@hack.frob.com>
10071
10072 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10073 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10074 (reloc-link): Likewise.
10075
11988f8f
UD
100762011-06-09 Ulrich Drepper <drepper@gmail.com>
10077
10078 * elf/Makefile: Add rules to build pldd.
10079 * elf/pldd.c: New file.
10080 * elf/pldd-xx.c: New file.
10081
e80fab37
UD
100822011-06-07 Ulrich Drepper <drepper@gmail.com>
10083
10084 * version.h: Update for 2.15 development version.
10085
9b849836
DM
100862011-06-07 David S. Miller <davem@davemloft.net>
10087
10088 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10089 ifuncs.
10090 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10091 elf_machine_lazy_rel): Likewise.
10092 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10093 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10094 elf_machine_lazy_rel): Likewise.
10095 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10096 dl_hwcap via passed in argument.
10097 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10098 Likewise.
10099
5a31b283
AK
101002011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10101
10102 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10103
069e52f8
RM
101042011-06-06 Roland McGrath <roland@hack.frob.com>
10105
10106 [BZ #12849]
10107 * manual/fdl-1.1.texi: New file, verbatim from:
10108 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10109 * manual/lgpl-2.1.texi: New file, verbatim from:
10110 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10111 * manual/Makefile (licenses): New variable, list those new file names.
10112 (texis): Use it.
10113 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10114
10115 * manual/fdl.texi: File removed.
10116 * manual/lesser.texi: File removed.
10117 * manual/libc.texinfo (Copying, Documentation License):
10118 Use new @include file names, put @appendix directive before @include.
10119
f16846a5
JJ
101202011-06-04 Jakub Jelinek <jakub@redhat.com>
10121
10122 [BZ #12841]
10123 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10124 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10125 (mq_open): Add __NTH.
10126
3d29045b
L
101272011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10128
10129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10130 Assume Intel Core i3/i5/i7 processor if AVX is available.
10131
8c297311
UD
101322011-05-31 Ulrich Drepper <drepper@gmail.com>
10133
10134 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10135 typo.
10136
c8fc0c91
UD
101372011-05-31 Andreas Schwab <schwab@redhat.com>
10138
10139 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10140 memory. Use alloca_account. Fix memory leak when retrying.
10141
5b27a807
UD
101422011-05-31 Ulrich Drepper <drepper@gmail.com>
10143
356f8bc6
UD
10144 * version.h (RELEASE): Bump for 2.14 release.
10145 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10146
5b27a807
UD
10147 * config.make.in (RANLIB): Remove entry.
10148
01f16ab0
UD
101492011-05-30 Ulrich Drepper <drepper@gmail.com>
10150
41fce8bd
UD
10151 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10152 (libc.pot): Work around missing support for .ksh extension in xgettext.
10153
4769ae77
UD
10154 [BZ #12684]
10155 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10156 if both request failed.
10157 (send_dg): In case of server errors clear resplen or *resplen2.
10158
6b1e7d19
UD
10159 [BZ #12454]
10160 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10161 when there are multiple maps.
10162 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10163 (_dl_fini): Remove test here.
10164
01f16ab0
UD
10165 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10166
b1ebd700
UD
101672011-05-29 Ulrich Drepper <drepper@gmail.com>
10168
7ae22829
UD
10169 [BZ #12350]
10170 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10171 bit from old_res_options.
10172 (gaih_inet): Likewise.
10173
553149f6 10174 [BZ #11099]
18a84741 10175 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10176 as signed.
10177
652ffab1
UD
10178 * resolv/res_init.c (res_setoptions): Make the code more compact.
10179
16985fd0
UD
10180 [BZ #11558]
10181 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10182 set RES_USEVC.
10183
0464f746
UD
10184 [BZ #11634]
10185 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10186
7d17596c
UD
10187 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10188
cf6bbbd7
UD
10189 [BZ #11781]
10190 * malloc/malloc.h: Declare malloc hook variables as volatile.
10191
13f1ab36
UD
10192 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10193 in last patch.
10194
b1ebd700
UD
10195 [BZ #11799]
10196 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10197 raise in the comment.
80e2212d
UD
10198 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10199 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10200 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10201
ce67228d
UD
102022011-05-28 Ulrich Drepper <drepper@gmail.com>
10203
8887a920
UD
10204 [BZ #12811]
10205 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10206 grow the buffers more if it already has to be sufficient.
10207 (build_wcs_upper_buffer): Likewise.
10208 * posix/regexec.c (check_matching): Likewise.
10209 (clean_state_log_if_needed): Likewise.
10210 (extend_buffers): Don't enlarge buffers beyond size of the input
10211 buffer.
10212 Patches mostly by Emil Wojak <emil@wojak.eu>.
10213 * posix/bug-regex32.c: New file.
10214 * posix/Makefile (tests): Add bug-regex32.
10215
4f031072
UD
10216 * locale/findlocale.c (_nl_find_locale): Return right away if
10217 _nl_explode_name failed.
10218 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10219
d0478f0c
UD
10220 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10221
de81b246
UD
10222 * debug/xtrace.sh: Unify messages.
10223 * malloc/memusage.sh: Likewise.
10224
c738465a
UD
10225 [BZ #12813]
10226 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10227 time symbol from vDSO. Substitute with vsyscall if not available.
10228 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10229 __vdso_time.
10230
f1f929d7
UD
10231 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10232 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10233 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10234 Add sendmmsg and internal_sendmmsg.
10235 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10236 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10237 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10238
ce67228d
UD
10239 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10240 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10241 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10242
e57420c6
UD
102432011-05-27 Ulrich Drepper <drepper@gmail.com>
10244
a8509ca5
UD
10245 [BZ #12813]
10246 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10247 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10248 available.
10249 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10250 __vdso_getcpu.
10251
e57420c6
UD
10252 [BZ #12814]
10253 * iconvdata/Makefile (tests): Add bug-iconv9.
10254 * iconvdata/bug-iconv9.c: New file.
10255
4d07db15
AS
102562011-05-27 Andreas Schwab <schwab@redhat.com>
10257
10258 [BZ #12814]
10259 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10260
ea486f69
JJ
102612011-05-25 Jakub Jelinek <jakub@redhat.com>
10262
10263 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10264 (struct user_regs_struct): Change intcs field back to cs.
10265
6f038433
UD
102662011-05-25 Ulrich Drepper <drepper@gmail.com>
10267
10268 * po/ja.po: Update from translation team.
10269
67f86a25
UD
102702011-05-23 Ulrich Drepper <drepper@gmail.com>
10271
10272 [BZ #12795]
10273 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10274 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10275
def7fbd6
AS
102762011-05-20 Andreas Schwab <schwab@redhat.com>
10277
10278 * stdlib/longlong.h: Update from GCC.
10279
f50ef8f1
AS
102802011-05-23 Andreas Schwab <schwab@redhat.com>
10281
10282 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10283 parameter name.
10284 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10285 Add parameter name.
10286 (__sysconf): Pass it down.
10287
de7ce8f1
UD
102882011-05-22 Ulrich Drepper <drepper@gmail.com>
10289
f2962a71
UD
10290 [BZ #12671]
10291 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10292 some situations.
10293 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10294 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10295 add in in __libc_use_alloca calls. Adjust callers.
10296 (glob): Use malloc in some situations.
10297
de7ce8f1
UD
10298 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10299 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10300 pltexit.
10301
aec84f53
UD
103022011-05-21 Ulrich Drepper <drepper@gmail.com>
10303
05bb4a68
UD
10304 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10305 and CLOCK_BOOTTIME_ALARM.
10306
7ea72f99
UD
10307 [BZ #12782]
10308 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10309 is returned.
10310
7e4afad5
UD
10311 * string/_strerror.c (__strerror_r): Print negative errors as signed
10312 numbers.
10313
8e211fec
UD
10314 [BZ #12777]
10315 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10316 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10317 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10318
f7d82dc9
UD
10319 * configure.in: Fix typo in redirection and correct removal of test
10320 files in two cases.
10321
cc9e536d
UD
10322 [BZ #12788]
10323 * locale/setlocale.c (new_composite_name): Fix test to check for
10324 identical name of all categories.
10325
aec84f53
UD
10326 [BZ #12792]
10327 * libio/filedoalloc.c (local_isatty): New function.
10328 (_IO_file_doallocate): Use local_isatty.
10329 * stdio-common/perror.c (perror): In case a new stream is used
10330 forward the stream error.
10331 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10332 error flag.
10333
78e64fdc
RT
103342011-05-20 Ulrich Drepper <drepper@gmail.com>
10335
34a9094f
UD
10336 [BZ #11869]
10337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10338 alloca.
10339 * include/alloca.h (extend_alloca_account): Define.
10340
78e64fdc
RT
10341 [BZ #11857]
10342 * posix/regex.h: Fix comments with documentation of user-accessible
10343 fields after compilation and describe correct free'ing of pattern
10344 after re_compile_pattern.
10345 Patch by Reuben Thomas <rrt@sc3d.org>.
10346
457bddfc
RA
103472011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10348
10349 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10350 and -mno-altivec to prevent the compiler from using Altivec and/or
10351 VSX instructions when the corresponding registers are not available.
10352
a4527b51
AS
103532011-05-19 Andreas Schwab <schwab@redhat.com>
10354
10355 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10356
ed690b2f
UD
103572011-05-19 Ulrich Drepper <drepper@gmail.com>
10358
10359 * libio/freopen.c (freopen): Use __dup2, not dup2.
10360 * libio/freopen64.c (freopen64): Likewise.
10361
8db73634
L
103622011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10363
10364 [BZ #12775]
10365 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10366 * math/Makefile (tests): Add test-powl.
10367 (CFLAGS-test-powl.c): Define.
10368 * math/test-powl.c: New file.
10369
0a197a9d
L
103702011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10371
10372 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10373
ee30c380
UD
103742011-05-17 Ulrich Drepper <drepper@gmail.com>
10375
10376 [BZ #11837]
10377 * iconvdata/gb18030.c: Update to GB18020-2005.
10378
6ce75379
UD
103792011-05-16 Ulrich Drepper <drepper@gmail.com>
10380
a4b89fd8
AR
10381 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10382 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10383 Patch by Aharon Robbins <arnold@skeeve.com>.
10384
ea389b12
UD
10385 [BZ #11892]
10386 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10387 on the stack.
10388
68a3f91f
UD
10389 [BZ #11895]
10390 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10391 through underflows.
10392
15cc7dd1
UD
10393 [BZ #12766]
10394 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10395 point to strings before performing equality test for error_one_per_line
10396 mode.
10397
f3799213
UD
10398 [BZ #11697]
10399 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10400
d79a9c94
UD
10401 [BZ #11820]
10402 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10403 (struct user_fpregs_struct): Avoid __uint*_t types.
10404
56e5eb46
UD
10405 [BZ #6420]
10406 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10407 symbol info. Use it instead of calling _dl_addr locally.
10408 (lock_and_info): New function.
10409 (tr_freehook): Call lock_and_info and pass symbol info as additional
10410 parameter to tr_where.
10411 (tr_mallochook): Likewise.
10412 (tr_reallochook): Likewise.
10413 (tr_memalignhook): Likewise.
10414
6ce75379
UD
10415 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10416 used and couldn't be at all thread-safe.
10417
f8a3b5bf
UD
104182011-05-15 Ulrich Drepper <drepper@gmail.com>
10419
94b7cc37
UD
10420 * libio/freopen.c (freopen): Don't close old file descriptor
10421 before the new one is opened. Instead dup the new file descriptor
10422 to the old one after the new stream is created.
10423 * libio/freopen64.c (freopen64): Likewise.
10424 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10425 * libio/fileops.c (_IO_new_file_close_it): Handle new
10426 _IO_FLAGS2_NOCLOSE flag.
10427 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10428 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10429 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10430 _IO_FLAGS2_NOCLOSE flag.
10431 * include/unistd.h: Add hidden_proto for dup3.
10432 Define __have_dup3.
10433 * io/dup3.c: Define hidden symbol.
10434 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10435
bd25564e
UD
10436 [BZ #7101]
10437 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10438 when an incomplete long option is used.
10439 * posix/tst-getopt_long1.c: New file.
10440 * posix/Makefile (tests): Add tst-getopt_long1.
10441
c84cfef4
UD
10442 [BZ #10138]
10443 * scripts/config.guess: Update from autoconf-2.68.
10444 * scripts/config.sub: Likewise.
10445
3b85df27
UD
10446 [BZ #10157]
10447 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10448 tests into ...
10449 (has_cpuclock): ...this. New function.
10450 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10451 macro here based on has_cpuclock code.
10452
15a856b1
UD
10453 [BZ #10149]
10454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10455 First byte (not low byte) is now always NUL.
10456 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10457
05f399e6
UD
10458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10459 Use non-cancelable interfaces.
10460
10a52685 10461 [BZ #9809]
94ecc67d
UD
10462 * locale/iso-639.def: Add entry for Sorani.
10463
f8a3b5bf
UD
10464 [BZ #11901]
10465 * include/stdlib.h: Move include protection to the right place.
10466 Define abort_msg_s. Declare __abort_msg with it.
10467 * stdlib/abort.c (__abort_msg): Adjust type.
10468 * assert/assert.c (__assert_fail_base): New function. Majority
10469 of code from __assert_fail. Allocate memory for __abort_msg with
10470 mmap.
10471 (__assert_fail): Now call __assert_fail_base.
10472 * assert/assert-perr.c: Remove bulk of implementation. Use
10473 __assert_fail_base.
10474 * include/assert.hL Declare __assert_fail_base.
10475 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10476 mmap.
10477 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10478
1af4e298
UD
104792011-05-14 Ulrich Drepper <drepper@gmail.com>
10480
f8a3b5bf 10481 [BZ #11952]
d26dfc60
MG
10482 [BZ #12453]
10483 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10484 until all modules are registered in the DTV.
10485 * elf/Makefile: Add rules to build and run tst-tls19.
10486 * elf/tst-tls19.c: New file.
10487 * elf/tst-tls19mod1.c: New file.
10488 * elf/tst-tls19mod2.c: New file.
10489 * elf/tst-tls19mod3.c: New file.
10490 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10491
2fc54d6f
UD
10492 [BZ #12083]
10493 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10494 correctly.
10495
98d76b46
UD
10496 [BZ #12601]
10497 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10498 two-byte sequence errors.
10499 * iconvdata/Makefile (tests): Add bug-iconv8.
10500 * iconvdata/bug-iconv8.c: New file.
10501
da3c19ef
UD
10502 [BZ #12626]
10503 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10504 buf2 definition.
10505
ca408c15
UD
10506 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10507
d6f67f7d
UD
10508 [BZ #12432]
10509 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10510 (dummy_getcfa): New function.
10511 (init): Get _Unwind_GetCFA address, use dummy if not found.
10512 (backtrace_helper): In recursion check, also check whether CFA changes.
10513 (__backtrace): Completely initialize arg.
10514
1af4e298 10515 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10516 storing incomplete byte sequence in state object. Avoid testing for
10517 guaranteed too small input if we know there is enough data available.
1af4e298 10518
da62f81b
AS
105192011-05-11 Andreas Schwab <schwab@redhat.com>
10520
10521 * Makeconfig (+link-pie): Indent.
10522 * Rules (binaries-pie): Define if $(have-fpie) and
10523 $(build-shared).
10524 (binaries-shared): Also filter out $(binaries-pie).
10525 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10526 * nscd/Makefile (others-pie): Add nscd.
10527 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10528 ($(objpfx)nscd): Remove command override.
10529 * login/Makefile (others-pie): Add pt_chown.
10530 ($(objpfx)pt_chown): Remove command override.
10531 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10532 remove command overrides.
10533
fcabc0f8
UD
105342011-05-13 Ulrich Drepper <drepper@gmail.com>
10535
20030ae6
UD
10536 * libio/tst_putwc.c: Fix error messages.
10537
fcabc0f8
UD
10538 [BZ #12724]
10539 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10540 currently writing and seek to current position when not.
10541 * libio/Makefile (tests): Add bug-fclose1.
10542 * libio/bug-fclose1.c: New file.
10543
320a5dc0
PB
105442011-05-12 Ulrich Drepper <drepper@gmail.com>
10545
10546 [BZ #12511]
10547 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10548 don't set DF_1_NODELETE here.
10549 (do_lookup_x): When entering new entry test for copy relocation
10550 and if necessary set DF_1_NODELETE flag.
10551 * elf/tst-unique4.cc: New file.
10552 * elf/tst-unique4.h: New file.
10553 * elf/tst-unique4lib.cc: New file.
10554 * elf/Makefile: Add rules to build and run tst-unique4.
10555 Patch by Piotr Bury <pbury@goahead.com>.
10556
22836f52
UD
105572011-05-11 Ulrich Drepper <drepper@gmail.com>
10558
f574184a
UD
10559 [BZ #12052]
10560 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10561
e1fb097f
UD
10562 [BZ #12625]
10563 * misc/mntent_r.c (addmntent): Flush the stream after the output
10564
22836f52
UD
10565 [BZ #12393]
10566 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10567 (is_trusted_path_normalize): Skip initial colon. Append slash
10568 to empty buffer. Duplicate is_trusted_path code but allow
10569 constructed patch to be prefix.
10570 (is_dst): Allow $ORIGIN followed by /.
10571 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10572 Correct testing of result of is_trusted_path_normalize
10573 (decompose_rpath): Fix warning.
10574
7b3b0b2a
UD
105752011-05-10 Ulrich Drepper <drepper@gmail.com>
10576
10577 [BZ #11257]
10578 * grp/initgroups.c (internal_getgrouplist): When we found the service
10579 list through the initgroups entry in nsswitch.conf do not always
10580 continue on a successful lookup. Don't always use the
eac80ce2 10581 __nss_group_database value if it is set.
7b3b0b2a
UD
10582 * nss/nsswitch.conf (initgroups): Change action for successful db
10583 lookup to continue for compatibility.
10584
2a81eaa5
UD
105852011-05-09 Ulrich Drepper <drepper@gmail.com>
10586
be97a69e
UD
10587 [BZ #11532]
10588 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10589 and CP774 modules.
10590 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10591 and CP774 modules.
10592 * iconvdata/tst-tables.sh: Likewise.
10593 * iconvdata/cp770.c: New file.
10594 * iconvdata/cp771.c: New file.
10595 * iconvdata/cp772.c: New file.
10596 * iconvdata/cp773.c: New file.
10597 * iconvdata/cp774.c: New file.
10598 * iconvdata/testdata/CP770: New file.
10599 * iconvdata/testdata/CP770..UTF8: New file.
10600 * iconvdata/testdata/CP771: New file.
10601 * iconvdata/testdata/CP771..UTF8: New file.
10602 * iconvdata/testdata/CP772: New file.
10603 * iconvdata/testdata/CP772..UTF8: New file.
10604 * iconvdata/testdata/CP773: New file.
10605 * iconvdata/testdata/CP773..UTF8: New file.
10606 * iconvdata/testdata/CP774: New file.
10607 * iconvdata/testdata/CP774..UTF8: New file.
10608
10609 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10610 END CHARMAP line.
10611 * iconvdata/gen-8bit-gap.sh: Likewise.
10612 * iconvdata/gen-8bit.sh: Likewise.
10613
c1e9e399
UD
10614 * locale/iso-639.def: Add ary entry.
10615
24c55fb3 10616 [BZ #11258]
96b4b1b0
UD
10617 * locale/C-translit.h.in: Add U20A1 transliteration.
10618
bdc2f971
KB
10619 [BZ #12178]
10620 * locale/iso-639.def: Add wae entry.
10621 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10622
2952b117
UD
10623 [BZ #12545]
10624 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10625 for n.
10626
2a81eaa5
UD
10627 [BZ #12711]
10628 * locale/C-translit.h.in: Add entry for U20B9.
10629 Patch by pravin.d.s@gmail.com.
10630
28377d1b
UD
106312011-05-08 Ulrich Drepper <drepper@gmail.com>
10632
7fb90fb8
UD
10633 [BZ #12713]
10634 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10635 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10636 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10637 in rtld. Use *stat64.
7fb90fb8 10638 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10639 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10640 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10641 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10642 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10643 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10644 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10645 __fstatat64 macros.
7fb90fb8
UD
10646 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10647 * dirent/rewinddir.c: Add libc_hidden_def.
10648 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10649 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10650
28377d1b
UD
10651 * include/dirent.h (__alloc_dir): Add flags parameter.
10652 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10653 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10654 __alloc_dir.
10655 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10656 from fdopendir if O_CLOEXEC is already set.
10657
66bdbaa4
AM
106582011-03-15 Alan Modra <amodra@gmail.com>
10659
10660 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10661 l_tls_firstbyte_offset non-zero. Save padding offset in
10662 l_tls_firstbyte_offset for later use.
10663 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10664 freeing static tls block.
10665
95721191
JN
106662011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10667
10668 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10669 where #ifdef was intended. The intent is to prevent ARG_MAX from
10670 being defined by the kernel headers.
10671
f87dfb1f
UD
106722011-05-07 Ulrich Drepper <drepper@gmail.com>
10673
10674 [BZ #12734]
10675 * resolv/resolv.h: Define RES_NOTLDQUERY.
10676 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10677 no-tld-query and set RES_NOTLDQUERY.
10678 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10679 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10680 modern BIND to search name as TLD unless forbidden.
10681
47c3cd7a
UD
106822011-05-07 Petr Baudis <pasky@suse.cz>
10683 Ulrich Drepper <drepper@gmail.com>
10684
10685 [BZ #12393]
10686 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10687 (is_trusted_path): ...to here.
c1e9ea35 10688 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10689 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10690 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10691
8a35c912
PP
106922011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10693
10694 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10695 __BEGIN/__END_DECLS.
10696
acd41f47
UD
106972011-05-06 Ulrich Drepper <drepper@gmail.com>
10698
10699 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10700 NSS_STATUS_NOTFOUND if no record was found.
10701
597df647
AS
107022011-05-05 Andreas Schwab <schwab@redhat.com>
10703
10704 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10705 (headers-not-in-tirpc): Remove rpc/netdb.h
10706 * resolv/netdb.h: Revert last change.
10707
b9af1301
PP
107082011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10709
10710 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10711 circular dependency between libgcc.a and libc.a.
10712
4e34d5f5
AS
107132011-05-05 Andreas Schwab <schwab@redhat.com>
10714
10715 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10716 * nis/Makefile: Don't install rpcsvc/*.
10717 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10718 instead of <rpc/types.h>.
10719 (MAXHOSTNAMELEN): Define.
10720
00ee369c
AS
107212011-05-03 Andreas Schwab <schwab@redhat.com>
10722
10723 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10724
0b592a30
MB
107252011-04-28 Maciej Babinski <mbabinski@google.com>
10726
10727 [BZ #12714]
10728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10729 gethostbyname4_r when IPv6 results are possible.
10730
6e04cbbe
UD
107312011-05-02 Ulrich Drepper <drepper@gmail.com>
10732
10733 [BZ #12723]
10734 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10735 _PC_PIPE_BUF handling.
10736
e4ecafe0
BH
107372011-04-30 Bruno Haible <bruno@clisp.org>
10738
10739 [BZ #12717]
10740 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10741 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10742 to 'int'.
10743 * inet/getnameinfo.c (getnameinfo): Likewise.
10744
125ee683
UD
107452011-04-29 Ulrich Drepper <drepper@gmail.com>
10746
10747 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10748 to groups setting in database lookup.
10749 * nss/nsswitch.conf: Add initgroups entry.
10750
b722481a
EB
107512011-04-22 Ulrich Drepper <drepper@gmail.com>
10752
10753 [BZ #12685]
10754 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10755 mode string.
10756 Patch by Eric Blake <eblake@redhat.com>.
10757
4df46dbd
L
107582011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10759
10760 * sunrpc/Makefile (need-export-routines): Add svc_run.
10761 (routines): Remove svc_run.
10762 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10763 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10764 * sunrpc/svc_run.c (svc_run): Likewise.
10765 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10766
e84142d2
UD
107672011-04-21 Ulrich Drepper <drepper@gmail.com>
10768
10769 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10770 problem in reallocation in last patch.
10771
877175d8
UD
107722011-04-20 Ulrich Drepper <drepper@gmail.com>
10773
10774 * sunrpc/Makefile: Move inclusion of Rules.
10775
ab8eed78
UD
107762011-04-19 Ulrich Drepper <drepper@gmail.com>
10777
10778 * nss/nss_files/files-initgroups.c: New file.
10779 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10780 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10781 _nss_files_initgroups_dyn.
10782
e3d8f584
RS
107832011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10784
10785 * elf/elf.h (R_ARM_IRELATIVE): Define.
10786
af190f45
UD
107872011-04-19 Ulrich Drepper <drepper@gmail.com>
10788
10789 * po/ru.po: Update from translation team.
10790
53cf59ef
UD
107912011-04-17 Ulrich Drepper <drepper@gmail.com>
10792
10793 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10794 dependencies.
10795
4c559bcd
MF
107962011-02-06 Mike Frysinger <vapier@gentoo.org>
10797
10798 [BZ #12653]
10799 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10800 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10801 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10802 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10803 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10804
4420675c
AS
108052011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10806
10807 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10808 differing bytes.
10809 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10810 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10812
75ea32ab
UD
108132011-04-17 Ulrich Drepper <drepper@gmail.com>
10814
10815 [BZ #12420]
10816 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10817 storing it.
10818 * stdlib/bug-getcontext.c: New file.
10819 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10820
27390476
AK
108212011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10822
10823 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10824 instructions into .machine "z9-109".
10825 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10826 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10827
10442705
AK
108282011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10829
10830 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10831 between environment variables and auxiliary vector.
10832
7b57bfe5
UD
108332011-04-16 Ulrich Drepper <drepper@gmail.com>
10834
10835 * Makefile: Add rules to build linkobj/libc.so.
10836 * include/libc-symbols.h: Define libc_hidden_nolink.
10837 * include/rpc/auth.h: Mark functions which are to be hidden.
10838 * include/rpc/auth_des.h: Likewise.
10839 * include/rpc/auth_unix.h: Likewise.
10840 * include/rpc/clnt.h: Likewise.
10841 * include/rpc/des_crypt.h: Likewise.
10842 * include/rpc/key_prot.h: Likewise.
10843 * include/rpc/pmap_clnt.h: Likewise.
10844 * include/rpc/pmap_prot.h: Likewise.
10845 * include/rpc/pmap_rmt.h: Likewise.
10846 * include/rpc/rpc_msg.h: Likewise.
10847 * include/rpc/svc.h: Likewise.
10848 * include/rpc/svc_auth.h: Likewise.
10849 * include/rpc/xdr.h: Likewise.
10850 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10851 * nss/Makefile: Likewise.
10852 * sunrpc/Makefile: Don't install headers. Build library with normal
10853 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10854 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10855 for the compat linking library. Remove use of INTDEF/INTUSE.
10856 * sunrpc/auth_none.c: Likewise.
10857 * sunrpc/auth_unix.c: Likewise.
10858 * sunrpc/authdes_prot.c: Likewise.
10859 * sunrpc/authuxprot.c: Likewise.
10860 * sunrpc/clnt_gen.c: Likewise.
10861 * sunrpc/clnt_perr.c: Likewise.
10862 * sunrpc/clnt_raw.c: Likewise.
10863 * sunrpc/clnt_simp.c: Likewise.
10864 * sunrpc/clnt_tcp.c: Likewise.
10865 * sunrpc/clnt_udp.c: Likewise.
10866 * sunrpc/clnt_unix.c: Likewise.
10867 * sunrpc/des_crypt.c: Likewise.
10868 * sunrpc/des_soft.c: Likewise.
10869 * sunrpc/get_myaddr.c: Likewise.
10870 * sunrpc/key_call.c: Likewise.
10871 * sunrpc/key_prot.c: Likewise.
10872 * sunrpc/netname.c: Likewise.
10873 * sunrpc/pm_getmaps.c: Likewise.
10874 * sunrpc/pm_getport.c: Likewise.
10875 * sunrpc/pmap_clnt.c: Likewise.
10876 * sunrpc/pmap_prot.c: Likewise.
10877 * sunrpc/pmap_prot2.c: Likewise.
10878 * sunrpc/pmap_rmt.c: Likewise.
10879 * sunrpc/publickey.c: Likewise.
10880 * sunrpc/rpc_cmsg.c: Likewise.
10881 * sunrpc/rpc_common.c: Likewise.
10882 * sunrpc/rpc_dtable.c: Likewise.
10883 * sunrpc/rpc_prot.c: Likewise.
10884 * sunrpc/rpc_thread.c: Likewise.
10885 * sunrpc/rtime.c: Likewise.
10886 * sunrpc/svc.c: Likewise.
10887 * sunrpc/svc_auth.c: Likewise.
10888 * sunrpc/svc_authux.c: Likewise.
10889 * sunrpc/svc_raw.c: Likewise.
10890 * sunrpc/svc_run.c: Likewise.
10891 * sunrpc/svc_simple.c: Likewise.
10892 * sunrpc/svc_tcp.c: Likewise.
10893 * sunrpc/svc_udp.c: Likewise.
10894 * sunrpc/svc_unix.c: Likewise.
10895 * sunrpc/svcauth_des.c: Likewise.
10896 * sunrpc/xcrypt.c: Likewise.
10897 * sunrpc/xdr.c: Likewise.
10898 * sunrpc/xdr_array.c: Likewise.
10899 * sunrpc/xdr_float.c: Likewise.
10900 * sunrpc/xdr_intXX_t.c: Likewise.
10901 * sunrpc/xdr_mem.c: Likewise.
10902 * sunrpc/xdr_rec.c: Likewise.
10903 * sunrpc/xdr_ref.c: Likewise.
10904 * sunrpc/xdr_sizeof.c: Likewise.
10905 * sunrpc/xdr_stdio.c: Likewise.
10906
e6c61494
UD
109072011-04-10 Ulrich Drepper <drepper@gmail.com>
10908
10909 [BZ #12650]
10910 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10911 * sysdeps/ia64/dl-tls.h: Likewise.
10912 * sysdeps/powerpc/dl-tls.h: Likewise.
10913 * sysdeps/s390/dl-tls.h: Likewise.
10914 * sysdeps/sh/dl-tls.h: Likewise.
10915 * sysdeps/sparc/dl-tls.h: Likewise.
10916 * sysdeps/x86_64/dl-tls.h: Likewise.
10917 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10918
34fe483e
AS
109192011-03-14 Andreas Schwab <schwab@redhat.com>
10920
10921 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10922 rpath element also skip the following colon.
10923 (expand_dynamic_string_token): Add is_path parameter and pass
10924 down to DL_DST_REQUIRED and _dl_dst_substitute.
10925 (decompose_rpath): Call expand_dynamic_string_token with
10926 non-zero is_path. Ignore empty rpaths.
10927 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10928 with zero is_path.
10929
f12a32e6
AS
109302011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10931
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10933 Make cancelable.
10934
38a7d692
UD
109352011-04-09 Ulrich Drepper <drepper@gmail.com>
10936
10937 [BZ #12655]
10938 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10939 Patch by Filipe David Manana <fdmanana@apache.org>.
10940
e451d22b
AS
109412011-04-07 Andreas Schwab <schwab@redhat.com>
10942
10943 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10944 Maintain aligned stack.
10945 (CHECK_RSP): Remove unused macro.
10946
dedc7c7b
UD
109472011-04-03 Ulrich Drepper <drepper@gmail.com>
10948
10949 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10950 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10951
94521213
UD
109522011-04-02 Ulrich Drepper <drepper@gmail.com>
10953
10954 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10955
8cb700c0 10956 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 10957
0354e355
L
109582011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10959
10960 [BZ #12518]
10961 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10962 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10963 * sysdeps/x86_64/memmove.c: New file.
10964 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10965 (memcpy): Renamed to ...
10966 (__new_memcpy): This.
10967 (memcpy): Provide GLIBC_2_14 memcpy.
10968 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10969 (memcpy): Provide GLIBC_2_2_5 memcpy.
10970
8593482f
UD
109712011-04-01 Ulrich Drepper <drepper@gmail.com>
10972
10973 [BZ #12631]
10974 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10975
81a5726b
AS
109762011-03-30 Andreas Schwab <schwab@redhat.com>
10977
10978 * misc/syncfs.c: New file.
10979 * misc/Makefile (routines): Add syncfs.
10980 * posix/unistd.h: Declare syncfs.
10981 * sysdeps/unix/syscalls.list: Add syncfs.
10982
00e5419f
AS
109832011-04-01 Andreas Schwab <schwab@redhat.com>
10984
10985 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10986 open_by_handle_at.
10987 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10988 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10990 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10992 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10993 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10994
748876bf
UD
109952011-04-01 Ulrich Drepper <drepper@gmail.com>
10996
658e451d
UD
10997 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10998 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10999 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11000 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11001 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11002 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11003 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11004
748876bf
UD
11005 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11006 sync_file_range.c with -fexceptions.
11007 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11008 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11009 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11010 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11011 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11012 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11013 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11014 sync_file_range as cancellation point
11015 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11016 now a wrapper around __call_sync_file_range with cancellation handling.
11017 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11018 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11019 function name to __call_sync_file_range.
11020 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11021 Add call_sync_file_range.
748876bf 11022
6e63d5e1
AS
110232011-04-01 Andreas Schwab <schwab@redhat.com>
11024
11025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11026 bits/timex.h.
6e63d5e1 11027
46998f74
UD
110282011-04-01 Ulrich Drepper <drepper@gmail.com>
11029
4c1423ed
UD
11030 * iconv/iconv.h: Fix typo in comment.
11031 * io/fcntl.h: Likewise.
11032 * libio/stdio.h: Likewise.
11033 * posix/spawn.h: Likewise.
11034 * posix/unistd.h: Likewise.
11035 * stdlib/stdlib.h: Likewise.
11036 * time/time.h: Likewise.
11037 * wcsmbs/wchar.h: Likewise.
11038
158648c0
UD
11039 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11040 open_by_handle): Add.
11041 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11042 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11043 Augment a few comments.
11044 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11046 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11048 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11049 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11050 open_by_handle.
11051
46998f74
UD
11052 * io/fcntl.h (AT_EMPTY_PATH): Define.
11053
83fe108b
UD
110542011-03-30 Ulrich Drepper <drepper@gmail.com>
11055
11056 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11057 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11058 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11059 to...
11060 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11061 * Versions.def: Add GLIBC_2.14.
11062 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11063 Export.
83fe108b 11064
bb242059
UD
110652011-03-22 Ulrich Drepper <drepper@gmail.com>
11066
11067 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11068 round counter.
11069 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11070
c97a1282
L
110712011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11072
11073 [BZ #12597]
11074 * string/test-strncmp.c (do_page_test): New function.
11075 (check2): Likewise.
11076 (test_main): Call check2.
11077 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11078
2a115601
UD
110792011-03-20 Ulrich Drepper <drepper@gmail.com>
11080
11081 [BZ #12587]
11082 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11083 Handle cache information in CPU leaf 4.
11084 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11085
8126d904
UD
110862011-03-18 Ulrich Drepper <drepper@gmail.com>
11087
042c49c6 11088 [BZ #12583]
8126d904
UD
11089 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11090 character representation.
11091 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11092
ccfe366e
RA
110932011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11094
11095 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11096 END(__isnan) to END(__isnanf) to match function entry point/label
11097 EALIGN(__isnanf,...).
11098
c6e13027
JJ
110992011-03-10 Jakub Jelinek <jakub@redhat.com>
11100
11101 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11102
33f85a3f
UD
111032011-03-10 Ulrich Drepper <drepper@gmail.com>
11104
028478fa
UD
11105 [BZ #12510]
11106 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11107 copy from the symbol referenced in the relocation to initialize the
11108 used variable.
11109 Patch by Piotr Bury <pbury@goahead.com>.
11110 * elf/Makefile: Add rules to build and tst-unique3.
11111 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11112 * elf/tst-unique3.cc: New file.
11113 * elf/tst-unique3.h: New file.
11114 * elf/tst-unique3lib.cc: New file.
11115 * elf/tst-unique3lib2.cc: New file.
11116
33f85a3f
UD
11117 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11118
03592fc7
MF
111192011-03-10 Mike Frysinger <vapier@gentoo.org>
11120
11121 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11122 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11123 to _start.
03592fc7 11124
6a5ee102
UD
111252011-03-06 Ulrich Drepper <drepper@gmail.com>
11126
11127 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11128 to-be-loaded object along a path to loader is ld.so.
11129
7e4ba49c
HJ
111302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11131 Ulrich Drepper <drepper@gmail.com>
11132
11133 * sysdeps/x86_64/memset.S: After aligning destination, code
11134 branches to different locations depending on the value of
11135 misalignment, when multiarch is enabled. Fix this.
11136
111372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11138
11139 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11140 Set _x86_64_preferred_memory_instruction for AMD processsors.
11141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11142 Set bit_Prefer_SSE_for_memop for AMD processors.
11143
13a804de
UD
111442011-03-04 Ulrich Drepper <drepper@gmail.com>
11145
11146 * libio/fmemopen.c (fmemopen): Optimize a bit.
11147
9d25c392
AS
111482011-03-03 Andreas Schwab <schwab@redhat.com>
11149
11150 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11151
a5543c6a
RM
111522011-03-03 Roland McGrath <roland@redhat.com>
11153
11154 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11155
012d35f7
DM
111562011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11157
7e4ba49c 11158 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11159 __bzero_ultra1 instead of __memset_ultra1.
11160
4bff6e01
AS
111612011-02-23 Andreas Schwab <schwab@redhat.com>
11162 Ulrich Drepper <drepper@gmail.com>
11163
11164 [BZ #12509]
11165 * include/link.h (struct link_map): Add l_orig_initfini.
11166 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11167 returning unsuccessfully.
11168 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11169 close of a file loaded at startup, restore the original l_initfini
11170 list.
11171 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11172 list, store the pointer.
11173 * elf/Makefile ($(objpfx)noload-mem): New rule.
11174 (noload-ENV): Define.
11175 (tests): Add $(objpfx)noload-mem.
11176 * elf/noload.c: Include <memcheck.h>.
11177 (main): Call mtrace. Close all opened handles.
11178
f2092faf
AS
111792011-02-17 Andreas Schwab <schwab@redhat.com>
11180
11181 [BZ #12454]
11182 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11183 dependencies are missing.
11184
6c8a2e88
ST
111852011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11186
f2092faf 11187 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11188 Hurd needs munmap.
11189 * sysdeps/mach/hurd/ifreq.h: New file.
11190
84a42118
PB
111912011-01-27 Petr Baudis <pasky@suse.cz>
11192 Ulrich Drepper <drepper@gmail.com>
11193
071f805e 11194 [BZ 12445]#
84a42118
PB
11195 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11196 to extend_alloca().
11197 * stdio-common/bug23.c: New file.
11198 * stdio-common/Makefile (tests): Add bug23.
11199
e23fe25b
AS
112002010-09-28 Andreas Schwab <schwab@redhat.com>
11201 Ulrich Drepper <drepper@gmail.com>
11202
11203 [BZ #12489]
11204 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11205 before performing relro protection. At old place add assertion
11206 to make sure nothing changed.
11207
d3f02e10
NS
112082011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11209 Glauber de Oliveira Costa <glommer@gmail.com>
11210
11211 * elf/elf.h: Add new ARM TLS relocs.
11212
d55fd7a5
RA
112132011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11214
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11216 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11217 cast from r3.
11218 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11219 'tests' variable.
11220 * sysdeps/wordsize-64/tst-writev.c: New file.
11221
2206397e
RA
112222011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11223
11224 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11225 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11226 insns in _dl_start to prevent a TOC reference before relocs are
11227 resolved.
11228
e9433893
UD
112292011-02-15 Ulrich Drepper <drepper@gmail.com>
11230
11231 [BZ #12469]
11232 * Makeconfig: Remove RANLIB definition.
11233 * Makerules: Don't use RANLIB.
11234 * aclocal.m4: Remove ranlib test.
11235 * configure.in: No need to check for ranlib.
11236 * elf/rtld-Rules: Don't use RANLIB.
11237
f75286c6
ST
112382011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11239
8e31c82d
ST
11240 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11241 protection macro.
11242 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11243 inclusion protection macro.
11244
f75286c6
ST
11245 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11246 SIGRTMIN and SIGRTMAX and print information in that case only when
11247 SIGRTMIN is defined.
11248
c1d0e639
JJ
112492011-02-11 Jakub Jelinek <jakub@redhat.com>
11250
11251 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11252 arginfo fn returning -1.
11253
11254 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11255 and thousands string is zero terminated.
11256
edf9294e
AS
112572011-02-03 Andreas Schwab <schwab@redhat.com>
11258
11259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11260 sysdeps/unix/sysv/linux/bits/socket.h.
11261
2b7e92df
ST
112622011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11263
edf9294e
AS
11264 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11265 (__CPU_COUNT): Remove old macros.
11266 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11267 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11268 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11269 (__sched_cpualloc, __sched_cpufree): Add declarations.
11270
a4c7ea7b
UD
112712011-02-05 Ulrich Drepper <drepper@gmail.com>
11272
11273 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11274 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11275 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11276 (readdhstai): Return value of addhstaiX call.
11277 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11278 (addgrbyX): Return value returned by cache_addgr.
11279 (readdgrbyname): Return value returned by addgrbyX.
11280 (readdgrbygid): Likewise.
11281 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11282 (addpwbyX): Return value returned by cache_addpw.
11283 (readdpwbyname): Return value returned by addhstbyX.
11284 (readdpwbyuid): Likewise.
11285 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11286 (addservbyX): Return value returned by cache_addserv.
11287 (readdservbyname): Return value returned by addservbyX:
11288 (readdservbyport): Likewise.
11289 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11290 (addhstbyX): Return value returned by cache_addhst.
11291 (readdhstbyname): Return value returned by addhstbyX.
11292 (readdhstbyaddr): Likewise.
11293 (readdhstbynamev6): Likewise.
11294 (readdhstbyaddrv6): Likewise.
11295 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11296 (readdinitgroups): Return value returned by addinitgroupsX.
11297 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11298 (prune_cache): Keep track of timeout value of re-added entries.
11299 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11300 * nscd/nscd.h: Adjust prototypes of readd* functions.
11301
a0bf67cc
RM
113022011-02-04 Roland McGrath <roland@redhat.com>
11303
11304 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11305 (nis_stats): Likewise.
11306 * nis/nis_modify.c (nis_modify): Likewise.
11307 * nis/nis_remove.c (nis_remove): Likewise.
11308 * nis/nis_add.c (nis_add): Likewise.
11309
11310 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11311
11312 * posix/fnmatch_loop.c: Add some consts.
11313
11314 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11315
435b95eb
L
113162011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11317
11318 [BZ #12460]
11319 * config.make.in (config-cflags-novzeroupper): Define.
11320 * configure.in: Substitute libc_cv_cc_novzeroupper.
11321 * elf/Makefile (AVX-CFLAGS): Define.
11322 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11323 (CFLAGS-tst-auditmod4a.c): Likewise.
11324 (CFLAGS-tst-auditmod4b.c): Likewise.
11325 (CFLAGS-tst-auditmod6b.c): Likewise.
11326 (CFLAGS-tst-auditmod6c.c): Likewise.
11327 (CFLAGS-tst-auditmod7b.c): Likewise.
11328 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11329
8517b15e
UD
113302011-02-02 Ulrich Drepper <drepper@gmail.com>
11331
11332 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11333 function to the callback.
11334 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11335
10a656fe
AS
113362011-02-02 Andreas Schwab <schwab@redhat.com>
11337
11338 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11339 of errno.
11340
968dad0a
UD
113412011-01-19 Ulrich Drepper <drepper@gmail.com>
11342
9f94d2ea 11343 [BZ #11724]
968dad0a
UD
11344 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11345 of constructors.
11346 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11347 of destructors.
11348 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11349
11350 [BZ #11724]
11351 * elf/Makefile: Add rules to build and run new test.
11352 * elf/tst-initorder.c: New file.
11353 * elf/tst-initorder.exp: New file.
11354 * elf/tst-initordera1.c: New file.
11355 * elf/tst-initordera2.c: New file.
11356 * elf/tst-initordera3.c: New file.
11357 * elf/tst-initordera4.c: New file.
11358 * elf/tst-initorderb1.c: New file.
11359 * elf/tst-initorderb2.c: New file.
11360 * elf/tst-order-a1.c: New file.
11361 * elf/tst-order-a2.c: New file.
11362 * elf/tst-order-a3.c: New file.
11363 * elf/tst-order-a4.c: New file.
11364 * elf/tst-order-b1.c: New file.
11365 * elf/tst-order-b2.c: New file.
11366 * elf/tst-order-main.c: New file.
11367 New test case by George Gensure <werkt0@gmail.com>.
11368
86e92359
UD
113692010-10-01 Andreas Schwab <schwab@redhat.com>
11370
11371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11372 decoding ACE if AI_CANONIDN.
11373
5d5732b0
UD
113742011-01-18 Ulrich Drepper <drepper@gmail.com>
11375
11376 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11377
a77e8cbc
UD
113782011-01-17 Ulrich Drepper <drepper@gmail.com>
11379
6392473f
UD
11380 * version.h (RELEASE): Bump for 2.13 release.
11381 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11382
620a0529
UD
11383 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11384
18ba70a5
UD
11385 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11386 MADV_NOHUGEPAGE.
32465c3e
UD
11387 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11388 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11389 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11390 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11391 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11392 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11393
c0dafcf1
UD
11394 * posix/getconf.c: Update copyright year.
11395 * catgets/gencat.c: Likewise.
11396 * csu/version.c: Likewise.
11397 * debug/catchsegv.sh: Likewise.
11398 * debug/xtrace.sh: Likewise.
11399 * elf/ldconfig.c: Likewise.
11400 * elf/ldd.bash.in: Likewise.
11401 * elf/sprof.c (print_version): Likewise.
11402 * iconv/iconv_prog.c: Likewise.
11403 * iconv/iconvconfig.c: Likewise.
11404 * locale/programs/locale.c: Likewise.
11405 * locale/programs/localedef.c: Likewise.
11406 * malloc/memusage.sh: Likewise.
11407 * malloc/mtrace.pl: Likewise.
11408 * nscd/nscd.c (print_version): Likewise.
11409 * nss/getent.c: Likewise.
11410
a77e8cbc
UD
11411 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11412 PF_CAIF, and PF_ALG.
11413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11414
77e8bddf
AS
114152011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11416
1f20b93a
AS
11417 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11418 (modules-names): Use them.
11419 (ifunc-test-modules, ifunc-pie-tests): Define.
11420 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11421 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11422 (test-extras): Likewise.
11423 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11424 $(compile-command.c).
11425 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11426 (all-built-dso): Define.
11427 (check-textrel.out, check-execstack.out): Depend on it.
11428
77e8bddf
AS
11429 * configure.in: Don't override --enable-multi-arch.
11430
bc425b33
UD
114312011-01-15 Ulrich Drepper <drepper@gmail.com>
11432
11433 [BZ #6812]
11434 * nscd/hstcache.c (tryagain): Define.
11435 (cache_addhst): Return tryagain not notfound for temporary errors.
11436 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11437 failed.
11438
794c3ad3
UD
114392011-01-14 Ulrich Drepper <drepper@gmail.com>
11440
70181fdd
UD
11441 [BZ #10563]
11442 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11443 to make the syscall.
11444 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11445
794c3ad3
UD
11446 [BZ #12378]
11447 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11448 and fall back to matching as normal character if the string ends before
11449 the matching ']' is found. This is what POSIX requires.
11450 * posix/testfnm.c: Adjust test result.
11451 * posix/globtest.sh: Adjust test result. Add new test.
11452 * posix/tst-fnmatch.input: Likewise.
11453 * posix/tst-fnmatch2.c: Add new test.
11454
68dc9497
AS
114552010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11456
11457 * elf/Makefile (check-execstack): Revert last change. Depend on
11458 check-execstack.h.
11459 (check-execstack.h): New target.
11460 (generated): Add check-execstack.h.
11461 * elf/check-execstack.c: Include "check-execstack.h".
11462 (main): Revert last change.
11463 (handle_file): Return zero if GNU_STACK is absent and
11464 DEFAULT_STACK_PERMS doesn't include PF_X.
11465
451f001b
UD
114662011-01-13 Ulrich Drepper <drepper@gmail.com>
11467
cfa28e56
UD
11468 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11469 in child fails because the descriptor is already closed.
8cf8ce17
UD
11470 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11471 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11472 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11473
1086d70d
UD
11474 [BZ #12397]
11475 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11476 syscall.
11477
451f001b
UD
11478 [BZ #10484]
11479 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11480 temporary buffer used to handle multi lookups locally.
a85b5cb4 11481 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11482
08769175
UD
114832011-01-12 Ulrich Drepper <drepper@gmail.com>
11484
11485 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11486 loader is ld.so.
11487
5e49c52e
UD
114882011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11489
11490 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11491 alignment for SSE2.
11492
60522a5f
UD
114932011-01-12 Ulrich Drepper <drepper@gmail.com>
11494
11495 [BZ #12394]
11496 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11497 characters. When rounding increased number of integer digits recompute
11498 number of groups.
11499 * stdio-common/tst-grouping.c: New file.
11500 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11501
f257bbd7
UD
115022011-01-09 Ulrich Drepper <drepper@gmail.com>
11503
11504 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11505 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11506
11507 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11508 void.
11509 * bits/select.h: Likewise.
11510
fa9c15cb
UD
115112011-01-08 Ulrich Drepper <drepper@gmail.com>
11512
11513 * po/ja.po: Update from translation team.
11514
16c2895f
DM
115152011-01-04 David S. Miller <davem@sunset.davemloft.net>
11516
11517 [BZ #11155]
11518 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11519 implementation just like for lxstat, fxstatat, et al.
11520
2543fef2
JM
115212010-12-27 Jim Meyering <meyering@redhat.com>
11522
11523 [BZ #12348]
11524 * posix/regexec.c (build_trtable): Return failure indication upon
11525 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11526
98727dbe
UD
115272010-12-25 Ulrich Drepper <drepper@gmail.com>
11528
5bd6dc5c
UD
11529 [BZ #12201]
11530 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11531 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11532 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11533 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11534
97983464
UD
11535 [BZ #12207]
11536 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11537
98727dbe
UD
11538 [BZ #12204]
11539 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11540 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11541
4a531bb0
L
115422010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11543
11544 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11545 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11546 script has SORT_BY_INIT_PRIORITY.
11547 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11548 NO_CTORS_DTORS_SECTIONS is defined.
11549 * elf/soinit.c: Likewise.
11550 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11551 NO_CTORS_DTORS_SECTIONS is defined.
11552 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11553 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11554 * sysdeps/sh/init-first.c: Likewise.
11555 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11556
07eb4b71
UD
115572010-12-24 Ulrich Drepper <drepper@gmail.com>
11558
11559 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11560 always use the slow path.
11561
30950a5f
RA
115622010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11563
11564 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11565 similar rule which adds the sysdep directories to the header search in
11566 order to pick up the correct platform stackinfo.h.
11567 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11568 perform test if it is, otherwise return successfully without testing.
11569 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11570 DEFAULT_STACK_PERMS define in stackinfo.h.
11571 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11572 defined in stackinfo.h.
11573 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11574 DEFAULT_STACK_PERMS defined in stackinfo.h.
11575 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11576 * sysdeps/ia64/stackinfo.h: Likewise.
11577 * sysdeps/s390/stackinfo.h: Likewise.
11578 * sysdeps/sh/stackinfo.h: Likewise.
11579 * sysdeps/sparc/stackinfo.h: Likewise.
11580 * sysdeps/x86_64/stackinfo.h: Likewise.
11581 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11582 PF_X for powerpc64. Retain PF_X for powerpc32.
11583
db753e2c
UD
115842010-12-19 Ulrich Drepper <drepper@gmail.com>
11585
14b697f7
UD
11586 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11587 accurately.
db753e2c
UD
11588 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11589 GETDENTS_64BIT_ALIGNED.
11590
28300719
UD
115912010-12-14 Ulrich Drepper <dreper@gmail.com>
11592
14b697f7 11593 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11594
4f197237
AS
115952010-12-10 Andreas Schwab <schwab@redhat.com>
11596
dbb0472f
AS
11597 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11598 _GNU_SOURCE.
11599
4f197237
AS
11600 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11601 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11602 Remove __restrict.
11603 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11604 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11605
fb88ac72
UD
116062010-12-09 Ulrich Drepper <drepper@gmail.com>
11607
11608 [BZ #11655]
11609 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11610 are initialized.
11611
42acbb92
JJ
116122010-12-09 Jakub Jelinek <jakub@redhat.com>
11613
11614 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11615
c038d98d
UD
116162010-12-03 Ulrich Drepper <drepper@gmail.com>
11617
11618 * po/it.po: Update from translation team.
11619
3a4a2499
L
116202010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11621
11622 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11623 unused codes.
11624
1e24cf6e
UD
116252010-11-30 Ulrich Drepper <drepper@gmail.com>
11626
11627 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11628
a7690819
AS
116292010-11-24 Andreas Schwab <schwab@redhat.com>
11630
11631 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11632 specially.
11633 (gaih_getanswer_slice): Likewise.
11634
3bf8d1b1
JJ
116352010-10-20 Jakub Jelinek <jakub@redhat.com>
11636
11637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11638
6db52fbb
PB
116392010-05-31 Petr Baudis <pasky@suse.cz>
11640
11641 [BZ #11149]
11642 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11643 silently even in the chroot mode.
11644
eaca7569
UD
116452010-11-22 Ulrich Drepper <drepper@gmail.com>
11646
11647 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11648 last patch a bit. Pretty printing
11649
3056dcdb
UD
116502010-05-31 Petr Baudis <pasky@suse.cz>
11651
11652 [BZ #10085]
11653 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11654 initialization of skip_initgroups_dyn.
11655
cf7c9078
UD
116562010-11-19 Ulrich Drepper <drepper@gmail.com>
11657
11658 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11659 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11660
a1fb5e3e
UD
116612010-11-16 Ulrich Drepper <drepper@gmail.com>
11662
11663 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11664
3540d66b
AS
116652010-11-11 Andreas Schwab <schwab@redhat.com>
11666
11667 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11668 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11669 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11670 ($(objpfx)tst-fnmatch-mem): New rule.
11671 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11672 * posix/tst-fnmatch.c (main): Call mtrace.
11673
13b69574
L
116742010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11675
11676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11677 Support Intel processor model 6 and model 0x2c.
11678
da93d214
LM
116792010-11-10 Luis Machado <luisgpm@br.ibm.com>
11680
11681 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11682 signed comparison.
11683
8ca52c6e
L
116842010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11685
11686 [BZ #12205]
11687 * string/test-strncasecmp.c (check_result): New function.
11688 (do_one_test): Use it.
11689 (check1): New function.
11690 (test_main): Use it.
11691 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11692 Support strcasecmp and strncasecmp.
11693
69da074d
UD
116942010-11-08 Ulrich Drepper <drepper@gmail.com>
11695
11696 [BZ #12194]
11697 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11698 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11699
ff02d528
L
117002010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11701
11702 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11703 IFUNC support.
11704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11705 memset-x86-64.
11706 * sysdeps/x86_64/multiarch/bzero.S: New file.
11707 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11708 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11709 * sysdeps/x86_64/multiarch/memset.S: New file.
11710 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11712 Set bit_Prefer_SSE_for_memop for Intel processors.
11713 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11714 Define.
11715 (index_Prefer_SSE_for_memop): Define.
11716 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11717
344d0b54
LM
117182010-11-04 Luis Machado <luisgpm@br.ibm.com>
11719
11720 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11721 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11722
c0dde15b
UD
117232010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11724
11725 [BZ #12191]
11726 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11727 (__x86_64_raw_data_cache_size_half): Likewise.
11728 (__x86_64_raw_shared_cache_size): Likewise.
11729 (__x86_64_raw_shared_cache_size_half): Likewise.
11730
11731 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11732 (__x86_64_raw_data_cache_size_half): Likewise.
11733 (__x86_64_raw_shared_cache_size): Likewise.
11734 (__x86_64_raw_shared_cache_size_half): Likewise.
11735 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11736 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11737 and __x86_64_raw_shared_cache_size_half. Round
11738 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11739 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11740 to multiple of 256 bytes.
11741
0e516e0e
MS
117422010-11-03 Ulrich Drepper <drepper@gmail.com>
11743
11744 [BZ #12167]
11745 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11746 of inacessible symlinks. Verify result of symlink before returning it.
11747 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11748 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11749
0e012e87
ER
117502010-10-28 Erich Ritz <erichritz@gmail.com>
11751
11752 * math/math.h (isinf): Fix typo in comment.
11753
de0ff7bc
UD
117542010-11-01 Ulrich Drepper <drepper@gmail.com>
11755
11756 * po/da.po: Update from translation team.
11757
fa41c84d
UD
117582010-10-26 Ulrich Drepper <drepper@gmail.com>
11759
11760 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11761 is added to the list.
11762
f0967738
AK
117632010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11764 Ulrich Drepper <drepper@gmail.com>
11765
11766 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11767 the global list here. Move code to...
11768 (_dl_add_to_namespace_list): ...here. New function.
11769 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11770 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11771 * elf/dl-load.c (lose): Don't remove the element from the list.
11772 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11773 (_dl_map_object): Likewise.
11774
117752010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
11776
11777 [BZ #12159]
11778 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11779 into all bytes of SSE register.
11780 Patch by Richard Li <richardpku@gmail.com>.
11781
f0967738 117822010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
11783
11784 [BZ #12140]
11785 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11786 perturbing.
11787
d0b9e94f
MB
117882010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11789
11790 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11791 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11792 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11793 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11795 submachine.
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11797
8e9f92e9
AS
117982010-10-22 Andreas Schwab <schwab@redhat.com>
11799
11800 * include/dlfcn.h (__RTLD_SECURE): Define.
11801 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11802 mode & __RTLD_SECURE instead.
11803 (open_path): Rename preloaded parameter to secure.
11804 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11805 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11806 * elf/dl-deps.c (openaux): Likewise.
11807 * elf/rtld.c (struct map_args): Remove is_preloaded.
11808 (map_doit): Don't use it.
11809 (dl_main): Likewise.
11810 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11811 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11812
bc96fbda
AS
118132010-09-09 Andreas Schwab <schwab@redhat.com>
11814
11815 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11816 (sysd-rules-targets): Remove duplicates.
11817 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11818 rtld-%.$o dependency.
11819
22cd1c9b
AS
118202010-10-18 Andreas Schwab <schwab@redhat.com>
11821
11822 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11823 _dl_map_object do it.
11824
18edac48
UD
118252010-10-19 Ulrich Drepper <drepper@gmail.com>
11826
11827 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11828 fast fma builtins, define the macros in the C99 standard.
11829 (FP_FAST_FMAF): Likewise.
11830 (FP_FAST_FMAL): Likewise.
11831 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11832
11833 * bits/mathdef.h: Update copyright year.
11834 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11835
d2050124
MM
118362010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11837
11838 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11839 builtins, define the macros in the C99 standard.
11840 (FP_FAST_FMAF): Likewise.
11841 (FP_FAST_FMAL): Likewise.
11842 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11843 multiply/add.
11844 (FP_FAST_FMAF): Likewise.
11845
475facd1
JJ
118462010-10-15 Jakub Jelinek <jakub@redhat.com>
11847
11848 [BZ #3268]
11849 * math/libm-test.inc (fma_test): Some new testcases.
11850 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11851 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11852 y and infinite z. Do multiplication by C already in long double.
11853 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11855 y and infinite z. Do bitwise or of inexact bit into u.d.
11856 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11857 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11858 * sysdeps/i386/fpu/s_fma.S: Removed.
11859 * sysdeps/i386/fpu/s_fmal.S: Removed.
11860
7c08a05c
JJ
118612010-10-16 Jakub Jelinek <jakub@redhat.com>
11862
11863 [BZ #3268]
11864 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11866 computation is not scheduled after fetestexcept. Fix value
11867 of minimum denormal long double.
11868
f3f7372d
JJ
118692010-10-14 Jakub Jelinek <jakub@redhat.com>
11870
11871 [BZ #3268]
11872 * math/libm-test.inc (fma_test): Add some more tests.
11873 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11874 correctly.
11875
14d43591
AS
118762010-10-15 Andreas Schwab <schwab@redhat.com>
11877
11878 * scripts/data/localplt-s390-linux-gnu.data: New file.
11879 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11880
5e908464
JJ
118812010-10-13 Jakub Jelinek <jakub@redhat.com>
11882
11883 [BZ #3268]
11884 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11885 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11886 instead of dbl-64.
11887 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11888 inlines.
11889 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11891 if one of x and y is very large and the other is subnormal.
11892 * sysdeps/s390/fpu/s_fmaf.c: New file.
11893 * sysdeps/s390/fpu/s_fma.c: New file.
11894 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11895 * sysdeps/powerpc/fpu/s_fma.S: New file.
11896 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11897 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11898 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11899
119002010-10-12 Jakub Jelinek <jakub@redhat.com>
11901
11902 [BZ #3268]
11903 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11904 fma tests.
11905 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11906 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11907 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11908 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11909 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11910 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11911 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11912
b833d51f
UD
119132010-10-12 Ulrich Drepper <drepper@redhat.com>
11914
11915 [BZ #12078]
11916 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11917 * posix/bug-regex31.input: Add test case.
11918
1751705d
UD
119192010-10-11 Ulrich Drepper <drepper@gmail.com>
11920
e9b9cbf5
UD
11921 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11922 * posix/bug-regex31.input: New file.
11923
11924 [BZ #12078]
11925 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11926 (parse_sub_exp): Fix last change, use postorder.
11927
ef06edbe
UD
11928 * posix/bug-regex31.c: New file.
11929 * posix/Makefile: Add rules to build and run bug-regex31.
11930
a129c80d
UD
11931 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11932
11933 [BZ #12078]
11934 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11935
b76b818e
UD
11936 [BZ #12108]
11937 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11938 to have entries in sys_siglist.
11939
1751705d
UD
11940 [BZ #12093]
11941 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11942 be NULL.
11943
9ff8d36f
JJ
119442010-10-07 Jakub Jelinek <jakub@redhat.com>
11945
11946 [BZ #3268]
11947 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11948 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11949 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11950 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11951 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11952 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11953 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11954 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11955 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11956 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11957 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11958 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11959 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11960 * math/ftestexcept.c (fetestexcept): Likewise.
11961 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11962 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11963 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11964 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11965 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11966 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11967 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11968
af325969
UD
119692010-10-11 Ulrich Drepper <drepper@gmail.com>
11970
c579b202 11971 [BZ #12107]
af325969
UD
11972 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11973 newline.
11974
67a67b95
UD
119752010-10-06 Ulrich Drepper <drepper@gmail.com>
11976
11977 * string/bug-strstr1.c: New file.
11978 * string/Makefile: Add rules to build and run bug-strstr1.
11979
5fb308bc
EB
119802010-10-05 Eric Blake <eblake@redhat.com>
11981
11982 [BZ #12092]
11983 * string/str-two-way.h (two_way_long_needle): Always clear memory
11984 when skipping input due to the shift table.
11985
45db99c7
UD
119862010-10-03 Ulrich Drepper <drepper@gmail.com>
11987
3b111893
UD
11988 [BZ #12005]
11989 * malloc/mcheck.c: Handle large requests.
11990
45db99c7
UD
11991 [BZ #12077]
11992 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11993 for strncmp and strncasecmp.
11994 * string/stratcliff.c: Add tests for strcmp and strncmp.
11995 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11996
cf7a1eb8
NI
119972010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11998
11999 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12000 __set_fpscr.
12001
6484ba5e
AJ
120022010-09-30 Andreas Jaeger <aj@suse.de>
12003
12004 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12005 (CGROUP_SUPER_MAGIC): Define.
12006 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12007 Handle btrfs and cgroup file systems.
12008 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12009 Likewise.
12010
91c42559
LM
120112010-09-27 Luis Machado <luisgpm@br.ibm.com>
12012
12013 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12014 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12015
87a97932
AK
120162010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12017
12018 [BZ #12067]
12019 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12020 trying to locate the ELF header.
12021
c21cc9bc
AS
120222010-09-27 Andreas Schwab <schwab@redhat.com>
12023
12024 [BZ #11611]
12025 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12026 Mask out sign-bit copies when constructing f_fsid.
12027
315970f6
PB
120282010-09-24 Petr Baudis <pasky@suse.cz>
12029
12030 * debug/stack_chk_fail_local.c: Add missing licence exception.
12031 * debug/warning-nop.c: Likewise.
12032
1ac7a2c7
JM
120332010-09-15 Joseph Myers <joseph@codesourcery.com>
12034
12035 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12036 implementing getdents64 using getdents syscall, set d_type if
12037 __ASSUME_GETDENTS32_D_TYPE.
12038
56801c50
AS
120392010-09-16 Andreas Schwab <schwab@redhat.com>
12040
12041 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12042 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12043
dda51327
UD
120442010-09-21 Ulrich Drepper <drepper@redhat.com>
12045
12046 [BZ #12037]
12047 * posix/unistd.h: Undo change of feature selection for ftruncate from
12048 2010-01-11.
12049
8ffcee4a
UD
120502010-09-20 Ulrich Drepper <drepper@redhat.com>
12051
a545ecd9 12052 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12053 detection.
12054
e24f0a8b
AS
120552010-09-20 Andreas Schwab <schwab@redhat.com>
12056
12057 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12058 fanotify_mark.
12059 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12060
7291c56f
AS
120612010-09-14 Andreas Schwab <schwab@redhat.com>
12062
12063 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12064 variables after CHECK_SP call.
12065 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12066
bc5fb037
AS
120672010-09-13 Andreas Schwab <schwab@redhat.com>
12068 Ulrich Drepper <drepper@redhat.com>
12069
12070 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12071 re-relocationg ld.so.
12072 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12073 _dl_init_paths call.
12074 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12075 here anymore.
12076
e66e7419
UD
120772010-09-14 Ulrich Drepper <drepper@redhat.com>
12078
12079 * resolv/res_init.c (__res_vinit): Count the default server we added.
12080
c044aa75
CLT
120812010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12082 Ulrich Drepper <drepper@redhat.com>
12083
12084 [BZ #11968]
12085 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12086 (____longjmp_chk): Use %ebx for saving value across system call.
12087 Add unwind info.
12088
32cf4069
AS
120892010-09-06 Andreas Schwab <schwab@redhat.com>
12090
12091 * manual/Makefile: Don't mix pattern rules with normal rules.
12092
817328ee
AS
120932010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12094
12095 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12096 operation.
12097 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12098 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12099 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12100 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12101 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12102 Likewise.
12103
29fddf61
UD
121042010-09-04 Ulrich Drepper <drepper@redhat.com>
12105
12106 [BZ #11979]
12107 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12108 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12109
0959ffc9
UD
121102010-09-02 Ulrich Drepper <drepper@redhat.com>
12111
12112 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12113 * sysdeps/x86_64/addmul_1.S: Likewise.
12114 * sysdeps/x86_64/lshift.S: Likewise.
12115 * sysdeps/x86_64/mul_1.S: Likewise.
12116 * sysdeps/x86_64/rshift.S: Likewise.
12117 * sysdeps/x86_64/sub_n.S: Likewise.
12118 * sysdeps/x86_64/submul_1.S: Likewise.
12119
ece29840
ST
121202010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12121
0959ffc9
UD
12122 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12123 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12124 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12125 * bits/sched.h [__need_schedparam]
ece29840 12126 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12127 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12128 (__defined_schedparam): Define to 1.
ece29840
ST
12129 (__sched_param): New structure, identical to sched_param.
12130 (__need_schedparam): Undefine.
12131
e53a31fe
MF
121322010-08-31 Mike Frysinger <vapier@gentoo.org>
12133
fdc0c10d
MF
12134 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12135 (epoll_create1): Declare.
12136
e53a31fe
MF
12137 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12138
a726d796
AS
121392010-08-31 Andreas Schwab <schwab@redhat.com>
12140
12141 [BZ #7066]
12142 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12143 shifting retval into place.
12144
2f3e3dc7
UD
121452010-09-01 Ulrich Drepper <drepper@redhat.com>
12146
f2933da9
UD
12147 * nis/rpcsvc/nis.h: Update copyright notice.
12148 * nis/rpcsvc/nis.x: Likewise.
12149 * nis/rpcsvc/nis_callback.h: Likewise.
12150 * nis/rpcsvc/nis_callback.x: Likewise.
12151 * nis/rpcsvc/nis_object.x: Likewise.
12152 * nis/rpcsvc/nis_tags.h: Likewise.
12153 * nis/rpcsvc/yp.h: Likewise.
12154 * nis/rpcsvc/yp.x: Likewise.
12155 * nis/rpcsvc/ypupd.h: Likewise.
12156 * nis/yp_xdr.c: Likewise.
12157 * nis/ypupdate_xdr.c: Likewise.
12158
2f3e3dc7
UD
12159 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12160 mainly the body of pmap_getport. Add parameters to specify timeouts.
12161 (pmap_getport): Use __libc_rpc_getport.
12162 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12163 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12164 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12165
f3dcc2f9
AS
121662010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12167
12168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12169 fanotify_mark.
12170
6d34eb5b
RM
121712010-08-27 Roland McGrath <roland@redhat.com>
12172
12173 * sysdeps/i386/i686/multiarch/Makefile
12174 (CFLAGS-varshift.c): New variable.
12175
9ea3de11
UD
121762010-08-27 Ulrich Drepper <drepper@redhat.com>
12177
c96d23fc
UD
12178 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12179 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12180
9ea3de11
UD
12181 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12182
12183 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12184
623aac7f
L
121852010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12186
12187 * sysdeps/x86_64/strlen.S: Unroll the loop.
12188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12189 strlen-sse2 strlen-sse2-bsf.
12190 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12191 __strlen_no_bsf if bit_Slow_BSF is set.
12192 (__strlen_sse42): Removed.
12193 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12194 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12195
8b2b7715
RM
121962010-08-25 Roland McGrath <roland@redhat.com>
12197
12198 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12199 * sysdeps/x86_64/multiarch/varshift.c: New file.
12200 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12201 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12202 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12203 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12204
e73015f2
L
122052010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12206
12207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12208 strlen-sse2 strlen-sse2-bsf.
12209 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12210 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12211 (__strlen_sse2): Removed.
12212 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12213 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12215 bit_Slow_BSF for Atom.
12216 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12217 (index_Slow_BSF): Define.
12218 (HAS_SLOW_BSF): Define.
12219
df24a73e
UD
122202010-08-25 Ulrich Drepper <drepper@redhat.com>
12221
12222 [BZ #10851]
12223 * resolv/res_init.c (__res_vinit): When no server address at all
12224 is given default to loopback.
12225
f2ac4868
RM
122262010-08-24 Roland McGrath <roland@redhat.com>
12227
09055553
RM
12228 * configure.in: Remove config-name.h generation.
12229 * configure: Regenerated.
12230 * config-name.in: File removed.
12231 * scripts/config-uname.sh: New file.
12232 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12233 ($(objdir)config-name.h): New target.
12234
f2ac4868
RM
12235 * sunrpc/rpc_parse.h: Avoid nested comment.
12236
73f27d5e
RH
122372010-08-24 Richard Henderson <rth@redhat.com>
12238 Ulrich Drepper <drepper@redhat.com>
12239 H.J. Lu <hongjiu.lu@intel.com>
12240
12241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12243 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12244 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12245 _mm_alignr_epi8 with _mm_loadu_si128.
12246 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12247 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12248 (__m128i_shift_right): Removed.
12249 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12250 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12251 * sysdeps/x86_64/multiarch/varshift.h: New file.
12252 * sysdeps/x86_64/multiarch/varshift.S: New file.
12253
84b9230c
MF
122542010-08-21 Mike Frysinger <vapier@gentoo.org>
12255
12256 * configure.in: Move assembler checks to before sysdep dir checking.
12257
9bbd0ddc
PB
122582010-08-20 Petr Baudis <pasky@suse.cz>
12259
12260 * LICENSES: Sync the sunrpc license.
12261
9da4bb31
UD
122622010-08-19 Ulrich Drepper <drepper@redhat.com>
12263
a7ab6ec8
UD
12264 * sunrpc/auth_des.c: Update copyright notice once again.
12265 * sunrpc/auth_none.c: Likewise.
12266 * sunrpc/auth_unix.c: Likewise.
12267 * sunrpc/authdes_prot.c: Likewise.
12268 * sunrpc/authuxprot.c: Likewise.
12269 * sunrpc/bindrsvprt.c: Likewise.
12270 * sunrpc/clnt_gen.c: Likewise.
12271 * sunrpc/clnt_perr.c: Likewise.
12272 * sunrpc/clnt_raw.c: Likewise.
12273 * sunrpc/clnt_simp.c: Likewise.
12274 * sunrpc/clnt_tcp.c: Likewise.
12275 * sunrpc/clnt_udp.c: Likewise.
12276 * sunrpc/clnt_unix.c: Likewise.
12277 * sunrpc/des_crypt.c: Likewise.
12278 * sunrpc/des_soft.c: Likewise.
12279 * sunrpc/get_myaddr.c: Likewise.
12280 * sunrpc/getrpcport.c: Likewise.
12281 * sunrpc/key_call.c: Likewise.
12282 * sunrpc/key_prot.c: Likewise.
12283 * sunrpc/openchild.c: Likewise.
12284 * sunrpc/pm_getmaps.c: Likewise.
12285 * sunrpc/pm_getport.c: Likewise.
12286 * sunrpc/pmap_clnt.c: Likewise.
12287 * sunrpc/pmap_prot.c: Likewise.
12288 * sunrpc/pmap_prot2.c: Likewise.
12289 * sunrpc/pmap_rmt.c: Likewise.
12290 * sunrpc/rpc/auth.h: Likewise.
12291 * sunrpc/rpc/auth_unix.h: Likewise.
12292 * sunrpc/rpc/clnt.h: Likewise.
12293 * sunrpc/rpc/des_crypt.h: Likewise.
12294 * sunrpc/rpc/key_prot.h: Likewise.
12295 * sunrpc/rpc/netdb.h: Likewise.
12296 * sunrpc/rpc/pmap_clnt.h: Likewise.
12297 * sunrpc/rpc/pmap_prot.h: Likewise.
12298 * sunrpc/rpc/pmap_rmt.h: Likewise.
12299 * sunrpc/rpc/rpc.h: Likewise.
12300 * sunrpc/rpc/rpc_des.h: Likewise.
12301 * sunrpc/rpc/rpc_msg.h: Likewise.
12302 * sunrpc/rpc/svc.h: Likewise.
12303 * sunrpc/rpc/svc_auth.h: Likewise.
12304 * sunrpc/rpc/types.h: Likewise.
12305 * sunrpc/rpc/xdr.h: Likewise.
12306 * sunrpc/rpc_clntout.c: Likewise.
12307 * sunrpc/rpc_cmsg.c: Likewise.
12308 * sunrpc/rpc_common.c: Likewise.
12309 * sunrpc/rpc_cout.c: Likewise.
12310 * sunrpc/rpc_dtable.c: Likewise.
12311 * sunrpc/rpc_hout.c: Likewise.
12312 * sunrpc/rpc_main.c: Likewise.
12313 * sunrpc/rpc_parse.c: Likewise.
12314 * sunrpc/rpc_parse.h: Likewise.
12315 * sunrpc/rpc_prot.c: Likewise.
12316 * sunrpc/rpc_sample.c: Likewise.
12317 * sunrpc/rpc_scan.c: Likewise.
12318 * sunrpc/rpc_scan.h: Likewise.
12319 * sunrpc/rpc_svcout.c: Likewise.
12320 * sunrpc/rpc_tblout.c: Likewise.
12321 * sunrpc/rpc_util.c: Likewise.
12322 * sunrpc/rpc_util.h: Likewise.
12323 * sunrpc/rpcinfo.c: Likewise.
12324 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12325 * sunrpc/rpcsvc/key_prot.x: Likewise.
12326 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12327 * sunrpc/rpcsvc/mount.x: Likewise.
12328 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12329 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12330 * sunrpc/rpcsvc/rex.x: Likewise.
12331 * sunrpc/rpcsvc/rstat.x: Likewise.
12332 * sunrpc/rpcsvc/rusers.x: Likewise.
12333 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12334 * sunrpc/rpcsvc/spray.x: Likewise.
12335 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12336 * sunrpc/rtime.c: Likewise.
12337 * sunrpc/svc.c: Likewise.
12338 * sunrpc/svc_auth.c: Likewise.
12339 * sunrpc/svc_authux.c: Likewise.
12340 * sunrpc/svc_raw.c: Likewise.
12341 * sunrpc/svc_run.c: Likewise.
12342 * sunrpc/svc_simple.c: Likewise.
12343 * sunrpc/svc_tcp.c: Likewise.
12344 * sunrpc/svc_udp.c: Likewise.
12345 * sunrpc/svc_unix.c: Likewise.
12346 * sunrpc/svcauth_des.c: Likewise.
12347 * sunrpc/xcrypt.c: Likewise.
12348 * sunrpc/xdr.c: Likewise.
12349 * sunrpc/xdr_array.c: Likewise.
12350 * sunrpc/xdr_float.c: Likewise.
12351 * sunrpc/xdr_mem.c: Likewise.
12352 * sunrpc/xdr_rec.c: Likewise.
12353 * sunrpc/xdr_ref.c: Likewise.
12354 * sunrpc/xdr_sizeof.c: Likewise.
12355 * sunrpc/xdr_stdio.c: Likewise.
12356
9da4bb31
UD
12357 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12358 handling.
12359
bdaa77bc
AS
123602010-08-19 Andreas Schwab <schwab@redhat.com>
12361
12362 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12363
fe2f79db
LM
123642010-08-19 Luis Machado <luisgpm@br.ibm.com>
12365
12366 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12367 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12368 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12369 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12370 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12371 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12372 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12373 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12374 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12375 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12376 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12377 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12378 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12379 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12380
b9b42ee0
AB
123812010-07-26 Anton Blanchard <anton@samba.org>
12382
12383 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12384 * malloc/arena.c (heap_trim): Likewise.
12385
1c06ba31
UD
123862010-08-16 Ulrich Drepper <drepper@redhat.com>
12387
12388 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12389 here. Not...
12390 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12391 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12392
f8392f40
L
123932010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12394
12395 * sysdeps/i386/elf/Makefile: New file.
12396
3162f12e
AS
123972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12398
12399 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12400 from fanotify_init.
12401 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12402 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12403
28c90b2c
UD
124042010-08-15 Ulrich Drepper <drepper@redhat.com>
12405
12406 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12407 of strncasecmp_l.
1feccb6c 12408 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12409
ca6bb004
UD
124102010-08-14 Ulrich Drepper <drepper@redhat.com>
12411
e9f82e0d
UD
12412 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12413 strncase_l-nonascii.
12414 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12415 Add strncase_l-ssse3.
12416 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12417 * sysdeps/x86_64/strcmp.S: Likewise.
12418 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12419 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12420 * sysdeps/x86_64/strncase.S: New file.
12421 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12422 * sysdeps/x86_64/strncase_l.S: New file.
12423 * string/Makefile (strop-tests): Add strncasecmp.
12424 * string/test-strncasecmp.c: New file.
12425
12426 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12427 warning.
12428
ca6bb004
UD
12429 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12430 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12431
052fa7b3
AS
124322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12433
12434 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12435
962dba78
UD
124362010-08-12 Ulrich Drepper <drepper@redhat.com>
12437
12438 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12439 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12440 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12441
bebff237
AM
124422010-05-01 Alan Modra <amodra@gmail.com>
12443
12444 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12445 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12446 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12447 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12448 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12449 tidying. Don't tail-call __sigjmp_save for static lib.
12450 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12451 save location.
12452 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12453 (CALL_MCOUNT): Add eh info, and nop after bl.
12454 (TAIL_CALL_SYSCALL_ERROR): New macro.
12455 (PSEUDO_RET): Use it.
12456 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12457 Correct save location of integer regs and cr.
12458 (_dl_profile_resolve): Correct cr save location. Delete nops
12459 after bl when SHARED. Reduce cfi size a little by better
12460 placement of cfi directives.
12461 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12462 make a stack frame. Instead use parm save area as a temp.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12464 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12466 Don't make a stack frame for parent, use parm save area.
12467 Increase child stack frame to 112 bytes. Don't save unused reg,
12468 and adjust reg usage. Set up cfi on error recovery and
12469 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12471 (__makecontext): Add dummy nop after jump to exit.
12472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12473 Use correct parm save area and cr save, reduce stack frame.
12474 Correct cfi for possible PSEUDO_RET frame setup.
12475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12476 Branch to local label emitted by PSEUDO_RET rather than
12477 __syscall_error.
12478
02637374
AS
124792010-08-12 Andreas Schwab <schwab@redhat.com>
12480
12481 [BZ #11904]
12482 * locale/programs/locale.c (print_assignment): New function.
12483 (show_locale_vars): Use it.
12484
c3e2f19b
UD
124852010-08-11 Ulrich Drepper <drepper@redhat.com>
12486
3cdaa6ad
UD
12487 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12488 field.
12489 (struct statfs64): Likewise.
12490 (_STATFS_F_FLAGS): Define.
12491 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12492 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12493 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12494 (ST_VALID): Define locally.
12495 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12496 __statvfs_getflags, use the provided value.
12497 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12498 __ASSUME_STATFS_F_FLAGS.
12499
754f7da3
UD
12500 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12501
10b3bedc
UD
12502 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12503 Add sys/fanotify.h.
12504 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12505 fanotify_mask for GLIBC_2.13.
12506 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12507 fanotify_init and fanotify_mark.
12508 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12509 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12510
c08fb0d7
UD
12511 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12512 Add prlimit.
12513 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12514 prlimit64 for GLIBC_2.13.
12515 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12516 prlimit64.
12517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12518 syscall.
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12520 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12521 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12522 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12523 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12524 add prlimit alias.
12525 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12526
15bac72b
UD
12527 [BZ #11903]
12528 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12529 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12530
c3e2f19b
UD
12531 * nss/Makefile: Add rules to build and run tst-nss-test1.
12532 * shlib-versions: Add entry for libnss_test1.
12533 * nss/nss_test1.c: New file.
12534 * nss/tst-nss-test1.c: New file.
12535
12536 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12537 (__nss_configure_lookup): Set appropriate entry in
12538 __nss_configure_lookup to true.
12539 * nss/nsswitch.h: Define enum with indeces of databases in
12540 databases and __nss_database_custom arrays. Declare
12541 __nss_database_custom.
12542 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12543 to avoid using nscd when custom rules are installed.
12544 * nss/getXXbyYY_r.c: Likewise.
12545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12546
12547 * nss/nss_files/files-parse.c: Whitespace fixes.
12548
f15ce4d8
UD
125492010-08-09 Ulrich Drepper <drepper@redhat.com>
12550
12551 [BZ #11883]
12552 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12553 * posix/fnmatch_loop.c: Likewise.
12554
d22e4cc9
AK
125552010-07-17 Andi Kleen <ak@linux.intel.com>
12556
12557 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12558 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12559 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12560 * Versions.def [GLIBC_2.13]: Add.
12561
805bc17d
UD
125622010-08-06 Ulrich Drepper <drepper@redhat.com>
12563
12564 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12565 Also fail if tpwd after pwuid call is NULL.
12566
5a42321d
ST
125672010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12568
12569 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12570 when converting to ms.
12571
fd3ebeda
ST
125722010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12573
12574 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12575 EOPNOTSUPP errors with ENOTTY.
12576 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12577 EOPNOTSUPP errors with ENOTTY.
12578
73507d3a
UD
125792010-07-31 Ulrich Drepper <drepper@redhat.com>
12580
12581 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12582 Add strcasecmp_l-ssse3.
12583 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12584 strcasecmp.
12585 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12586 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12587 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12588
fe36dd02
UD
125892010-07-30 Ulrich Drepper <drepper@redhat.com>
12590
66f6765a
UD
12591 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12592
42e08a54
UD
12593 * string/Makefile (strop-tests): Add strcasecmp.
12594 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12595 strcasecmp_l-nonascii.
12596 (gen-as-const-headers): Add locale-defines.sym.
12597 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12598 * sysdeps/x86_64/strcasecmp.S: New file.
12599 * sysdeps/x86_64/strcasecmp_l.S: New file.
12600 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12601 * sysdeps/x86_64/locale-defines.sym: New file.
12602 * string/test-strcasecmp.c: New file.
12603
fe36dd02
UD
12604 * string/test-strcasestr.c: Test both ends of the range of characters.
12605 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12606
48cbc0d6
RM
126072010-07-29 Roland McGrath <roland@redhat.com>
12608
76e6d6bc 12609 [BZ #11856]
48cbc0d6
RM
12610 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12611
880113d9
UD
126122010-07-27 Ulrich Drepper <drepper@redhat.com>
12613
12614 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12615 for ld.so.
12616
deb9cabb
AS
126172010-07-27 Andreas Schwab <schwab@redhat.com>
12618
12619 * manual/memory.texi (Malloc Tunable Parameters): Document
12620 M_PERTURB.
12621
1c7570ff
RM
126222010-07-26 Roland McGrath <roland@redhat.com>
12623
12624 [BZ #11840]
12625 * configure.in (-fgnu89-inline check): Set and substitute
12626 gnu89_inline, not libc_cv_gnu89_inline.
12627 * configure: Regenerated.
12628 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12629
24fb0f88
UD
126302010-07-26 Ulrich Drepper <drepper@redhat.com>
12631
12632 * string/test-strnlen.c: New file.
12633 * string/Makefile (strop-tests): Add strnlen.
12634 * string/tester.c (test_strnlen): Add a few more test cases.
12635 * string/tst-strlen.c: Better error reporting.
12636
12637 * sysdeps/x86_64/strnlen.S: New file.
12638
8e96b93a
UD
126392010-07-24 Ulrich Drepper <drepper@redhat.com>
12640
12641 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12642 lower-latency instructions.
12643
dbc676d4
UD
126442010-07-23 Ulrich Drepper <drepper@redhat.com>
12645
12646 * string/test-strcasestr.c: New file.
12647 * string/test-strstr.c: New file.
12648 * string/Makefile (strop-tests): Add strstr and strcasestr.
12649 * string/str-two-way.h: Don't undefine MAX.
12650 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12651
f6a31e0e
AS
126522010-07-21 Andreas Schwab <schwab@redhat.com>
12653
12654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12655 strcasestr-nonascii.
12656 (CFLAGS-strcasestr-nonascii.c): Define.
12657 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12658 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12659 Remove unused attribute.
12660
5dbc3b6c
RM
126612010-07-20 Roland McGrath <roland@redhat.com>
12662
12663 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12664 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12665 ld.so.cache was broken. With it, there is no way to disable dsocaps
12666 like LD_HWCAP_MASK can disable hwcaps.
12667
23d101d8
EPM
126682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12669
12670 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12671
cc9f2e47
UD
126722010-07-16 Ulrich Drepper <drepper@redhat.com>
12673
12674 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12675 call in strcasestr.
12676 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12677 __strcasestr_sse42_nonascii.
12678 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12679 strcasestr-nonascii.c.
12680 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12681
77c1b069
LM
126822010-06-15 Luis Machado <luisgpm@br.ibm.com>
12683
12684 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12685 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12686 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12687 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12688
440566c3
UD
126892010-07-09 Ulrich Drepper <drepper@redhat.com>
12690
12691 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12692 fcntl.
12693
5be9d05d
AS
126942010-07-06 Andreas Schwab <schwab@redhat.com>
12695
c30b7ee2 12696 [BZ #11577]
5be9d05d
AS
12697 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12698 dl_signal_cerror.
12699
8a492a67
UD
127002010-07-06 Ulrich Drepper <drepper@redhat.com>
12701
12702 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12703 _PC_PIPE_BUF using F_GETPIPE_SZ.
12704
713df3d5
RM
127052010-07-05 Roland McGrath <roland@redhat.com>
12706
12707 * manual/arith.texi (Rounding Functions): Fix rint description
12708 implicit in round description.
12709
702e8f14
UD
127102010-07-02 Ulrich Drepper <drepper@redhat.com>
12711
12712 * elf/Makefile: Fix linking for a few tests to make recent linker
12713 happy.
12714
52ed8be9
AS
127152010-06-30 Andreas Schwab <schwab@redhat.com>
12716
12717 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12718 $(common-objpfx)libc_nonshared.a.
12719
f47c9a11
LM
127202010-06-21 Luis Machado <luisgpm@br.ibm.com>
12721
12722 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12723 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12724 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12725 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12726 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12727 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12728 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12729 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12744 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12745 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12746 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12747 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12748 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12749 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12750 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12751 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12752 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12753 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12754 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12755 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12770
6fb8cbcb
L
127712010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12772
12773 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12774 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12775 * string/memmove.c (memmove): Renamed to ...
12776 (MEMMOVE): ...this. Default to memmove.
12777 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12778 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12779 (END_CHK): Define.
12780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12781 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12782 mempcpy-ssse3-back memmove-ssse3-back.
12783 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12784 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12785 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12786 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12787 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12788 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12789 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12790 * sysdeps/x86_64/multiarch/memmove.c: New file.
12791 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12792 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12793 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12794 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12795 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12797 Define.
12798 (index_Fast_Copy_Backward): Define.
12799 (HAS_ARCH_FEATURE): Define.
12800 (HAS_FAST_REP_STRING): Define.
12801 (HAS_FAST_COPY_BACKWARD): Define.
12802
4e733bac 128032010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
12804
12805 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12806 Restore proper fallback handling.
12807
63c4ed22
UD
128082010-06-19 Ulrich Drepper <drepper@redhat.com>
12809
ac2b484c
UD
12810 [BZ #11701]
12811 * posix/group_member.c (__group_member): Correct checking loop.
12812
63c4ed22
UD
12813 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12814 OOM in getpwuid_r correctly. Return error number when the caller
12815 should return, otherwise -1.
12816 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12817 call returning > 0 value.
12818 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12819
765ade4b
AS
128202010-06-07 Andreas Schwab <schwab@redhat.com>
12821
12822 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12823 libc_nonshared.a from targets in modules-names.
12824
80da2e09
KS
128252010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12826
12827 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12828 requires it.
12829
158db122
LM
128302010-06-10 Luis Machado <luisgpm@br.ibm.com>
12831
12832 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12833 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12834 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12835 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12836
caa78cf8
AS
128372010-06-02 Andreas Schwab <schwab@redhat.com>
12838
12839 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12840
b2ef2c01
UD
128412010-06-14 Ulrich Drepper <drepper@redhat.com>
12842
12843 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12844 and F_GETPIPE_SZ.
12845 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12846 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12849 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12850 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12851
fbd643b6
RM
128522010-06-14 Roland McGrath <roland@redhat.com>
12853
12854 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12855
f32f2869
JJ
128562010-06-07 Jakub Jelinek <jakub@redhat.com>
12857
12858 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12859 __REDIRECT followed by __THROW.
12860 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12861 * posix/getopt.h (getopt): Likewise.
12862
2a50c078
EPM
128632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12864
12865 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12866 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12867 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12868 in AT_FLAGS.
12869 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12870 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12871
eb5ad2eb
LM
128722010-05-28 Luis Machado <luisgpm@br.ibm.com>
12873
12874 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12875
3c88fe1e
L
128762010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12877
12878 [BZ #11640]
12879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12880 Properly check family and model.
12881
d2f73151
TY
128822010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12883
12884 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12885
ebd2e13d
LM
128862010-05-24 Luis Machado <luisgpm@br.ibm.com>
12887
12888 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12889
b32b8b45
UD
128902010-05-21 Ulrich Drepper <drepper@redhat.com>
12891
12892 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12893 symbol reference.
12894
9acbe24d
AS
128952010-05-19 Andreas Schwab <schwab@redhat.com>
12896
12897 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12898 symbol reference.
12899
f0ccf6ea
AS
129002010-05-21 Andreas Schwab <schwab@redhat.com>
12901
3d04ff3a
AS
12902 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12903 and internal_recvmmsg.
12904 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12905 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12906 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12907 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12908
f0ccf6ea
AS
12909 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12910 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12911 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12912
5b08ac57
AS
129132010-05-20 Andreas Schwab <schwab@redhat.com>
12914
12915 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12916
4828935d
LM
129172010-05-17 Luis Machado <luisgpm@br.ibm.com>
12918
12919 POWER7 optimizations.
12920 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12921 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12922
373d545e
UD
129232010-05-19 Ulrich Drepper <drepper@redhat.com>
12924
12925 * version.h: Update for 2.13 development version.
12926
21a2b1ae
AS
129272010-05-12 Andrew Stubbs <ams@codesourcery.com>
12928
12929 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12930 exceptions. Return 0.
12931
3f7dcb2b
RM
129322010-05-07 Roland McGrath <roland@redhat.com>
12933
12934 * elf/ldconfig.c (main): Add a const.
12935
5f24d53a 129362010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 12937
a160f8d8
UD
12938 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12939 (args_options): Add no-idn option.
12940 (ahosts_keys_int): Add idn_flags to ai_flags.
12941 (parse_option): Handle 'i' option to clear idn_flags.
12942
5f24d53a
UD
12943 * malloc/malloc.c (_int_free): Possible race in the most recently
12944 added check. Only act on the data if no current modification
12945 happened.
265bb1ce
UD
12946
12947See ChangeLog.17 for earlier changes.