]> sourceware.org Git - glibc.git/blame - ChangeLog
conformtest: Use correct keyword set for underlying C standard.
[glibc.git] / ChangeLog
CommitLineData
62fde54f 12012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2
9af0bf29
JM
3 * conform/conformtest.pl (@keywords): Only include C99 keywords
4 for standards based on C99 or C11.
5
343222a2
JM
6 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7 Disable tests.
8 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9 UNIX98]: Likewise.
10
661f8cf0
JM
11 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12 usability of symbols in #if.
13
ee74b9cb
JM
14 * conform/conformtest.pl: If macro or constant types start
15 "promoted:", expect the symbol to be of the following type
16 promoted by the integer promotions.
62fde54f 17
aafc49b3
JM
18 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19 in one place. Also handle "macro-constant".
20
fefdf574
JM
21 * conform/conformtest.pl: Only accept expected macro values with
22 "==". Parse all "macro" lines in one place.
23 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24
f2d922fe
JM
25 * conform/conformtest.pl: Handle braced types on "constant" lines
26 instead of handling "typed-constant".
27 * conform/data/signal.h-data: Use "constant" instead of
28 "typed-constant".
29
d22956c9
JM
30 * conform/conformtest.pl: Handle "optional-" at start of lines in
31 one place rather than duplicating several cases. Handle each
32 format of "macro" line with initial "optional-".
33
028e2e38
JM
34 * conform/conformtest.pl: Only accept expected constant or
35 optional-constant values with "==". Parse all "constant" lines in
36 one place. Parse all "optional-constant" lines in one place.
37 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38 * conform/data/fmtmsg.h-data: Likewise.
39 * conform/data/netinet/in.h-data: Likewise.
40 * conform/data/tar.h-data: Likewise.
41 * conform/data/limits.h-data: Use "==" form on "constant" and
42 "optional-constant" lines.
43
1b8f2850
JM
44 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45 Use -std=c99 for XOPEN2K.
46 (@knownproblems): Remove.
47 (newtoken): Don't check %isknown.
48
a05a144b
JM
49 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50 Do not expect macro.
51 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
54 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
55 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
56 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
57 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
58 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
59 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
61 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
62 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
69 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
71 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
72 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
74 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
75 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
76 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
77 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
78 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
79 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
80 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
81 [XPG3] (acosh): Likewise.
82 [XPG3] (asinh): Likewise.
83 [XPG3] (atanh): Likewise.
84 [XPG3] (cbrt): Likewise.
85 [XPG3] (expm1): Likewise.
86 [XPG3] (ilogb): Likewise.
87 [XPG3] (log1p): Likewise.
88 [XPG3] (logb): Likewise.
89 [XPG3] (nextafter): Likewise.
90 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
91 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
92 [XPG3] (remainder): Likewise.
93 [XPG3] (rint): Likewise.
94 [XPG3 || XPG4 || UNIX98] (round): Likewise.
95 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
96 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
97 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
98 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
99 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
100 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
101 [UNIX98 || XOPEN2K] (scalb): Expect.
102 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
103 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
104 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
105 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
106 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
107 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
108 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
109 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
110 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
111 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
112 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
113 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
114 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
115 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
116 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
117 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
118 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
119 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
120 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
121 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
122 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
123 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
124 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
125 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
126 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
127 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
128 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
129 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
130 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
131 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
132 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
133 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
134 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
135 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
136 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
137 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
138 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
139 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
140 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
141 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
142 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
143 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
144 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
145 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
146 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
147 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
148 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
149 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
150 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
151 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
152 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
153 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
154 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
155 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
156 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
157 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
158 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
159 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
160 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
161 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
162 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
163 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
164 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
165 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
166 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
167 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
168 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
169 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
170 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
171 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
172 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
173 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
174 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
175 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
176 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
177 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
178 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
179 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
180 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
181 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
182 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
183 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
184 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
185 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
186 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
187 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
188 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
189 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
190 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
191 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
192 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
193 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
194 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
195 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
196 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
197 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
198 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
199 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
200 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
201 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
202 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
203 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
204 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
205 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
206 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
207 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
208 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
209 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
210 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
211 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
212 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
213 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
214 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
215 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
216 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
217 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
218 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
219 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
220 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
221 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
222 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
223 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
224 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
225 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
226 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
227 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
228 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
229 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
230 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
231 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
232 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
233 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
234 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
235 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
236 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
237 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
238 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
239
73c5ebe3
JM
240 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
241 _XOPEN_SOURCE_EXTENDED for XPG4.
242
39c33b6c
JM
243 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
244
62fde54f
JM
245 * Makeconfig (localtime): Remove variable.
246 (inst_localtime-file): Likewise.
247
0741d64c
AS
2482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
249
250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
251 Update.
252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
253 Update.
254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
255 Update.
256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
257 Update.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
259 Update.
260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
261 Update.
262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
263 Update.
264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
265 Update.
266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
267 Update.
268
7cb029ee
JM
2692012-05-01 Joseph Myers <joseph@codesourcery.com>
270
271 [BZ #2550]
272 [BZ #2570]
273 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
274 comparisons to determine direction to adjust input.
275 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
276 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
277 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
278 Likewise.
279 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
280 Likewise.
281 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
282 Likewise.
283 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
284 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
285 Likewise.
286 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
287 Likewise.
288 * math/libm-test.inc (nexttoward_test): Add more tests.
289
412bd966
AS
2902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
291
292 [BZ #14040]
293 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
294 in version GLIBC_2.1, not GLIBC_2.0.
295 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
296 Likewise.
297
9568c0c2
JM
2982012-04-30 Joseph Myers <joseph@codesourcery.com>
299
adfbc8ac
JM
300 [BZ #13942]
301 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
302 (1 - x) * (1 + x).
303 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
304 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
305 * math/libm-test.inc (acos_test): Add more tests.
306 (asin_test): Likewise.
307 * sysdeps/i386/fpu/libm-test-ulps: Update.
308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
309
5ba3cc69
JM
310 [BZ #14034]
311 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
312 of square root.
313 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
314 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
315 * math/libm-test.inc (acos_test_tonearest): New function.
316 (acos_test_towardzero): Likewise.
317 (acos_test_downward): Likewise.
318 (acos_test_upward): Likewise.
319 (asin_test_tonearest): Likewise.
320 (asin_test_towardzero): Likewise.
321 (asin_test_downward): Likewise.
322 (asin_test_upward): Likewise.
323 (main): Call the new functions.
324 * sysdeps/i386/fpu/libm-test-ulps: Update.
325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
326
9568c0c2
JM
327 [BZ #13884]
328 [BZ #13924]
329 * math/e_exp10.c: Include <float.h>.
330 (__ieee754_exp10): Handle underflow here rather than multiplying
331 large negative argument by M_LN10.
332 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
333 of __ieee754_expf.
334 * math/e_exp10l.c: Include <float.h>.
335 (__ieee754_exp10l): Handle underflow here rather than multiplying
336 large negative argument by M_LN10l.
337 * math/libm-test.inc (exp10_test): Add another test. Do not allow
338 spurious overflow exception on underflow.
339
5ac3ea17
MP
3402012-04-29 Marek Polacek <polacek@redhat.com>
341
342 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
343 (__fortify_function): New macro.
344 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
345 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
346 __extern_always_inline.
347 * libio/bits/stdio2.h: Likewise.
348 * libio/bits/stdio.h: Likewise.
349 * string/string.h: Likewise.
350 * string/bits/string3.h: Likewise.
351 * include/stdio.h: Likewise.
352 * stdlib/bits/stdlib.h: Likewise.
353 * stdlib/stdlib.h: Likewise.
354 * rt/bits/mqueue2.h: Likewise.
355 * rt/mqueue.h: Likewise.
356 * posix/bits/unistd.h: Likewise.
357 * posix/unistd.h: Likewise.
358 * io/bits/poll2.h: Likewise.
359 * io/bits/fcntl2.h: Likewise.
360 * io/fcntl.h: Likewise.
361 * io/sys/poll.h: Likewise.
362 * misc/bits/syslog.h: Likewise.
363 * misc/bits/syslog-ldbl.h: Likewise.
364 * misc/sys/syslog.h: Likewise.
365 * socket/bits/socket2.h: Likewise.
366 * socket/sys/socket.h: Likewise.
367 * debug/tst-chk1.c: Likewise.
368 * wcsmbs/bits/wchar2.h: Likewise.
369 * wcsmbs/bits/wchar-ldbl.h: Likewise.
370 * wcsmbs/wchar.h: Likewise.
371
ecf0ebfb
AJ
3722012-04-29 Andreas Jaeger <aj@suse.de>
373
374 * Makerules (tests): Remove enable-check-abi protection.
375 (check-abi-warn): Remove.
376 (check-abi-%): Remove check-abi-warn usage.
377
378 * configure.in: Remove check-abi configure option.
379 * configure: Regenerated.
380 * config.make.in (enable-check-abi): Remove.
381
6d5c57fa
AS
3822012-04-28 Andreas Schwab <schwab@linux-m68k.org>
383
24c5d07e 384 [BZ #14033]
ded5180a
AS
385 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
386 double functions to double *_finite functions.
387
7e0d315d
AS
388 [BZ #13941]
389 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
390 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
391 LDBL_MIN_EXP.
392 * stdio-common/Makefile (tests): Add tst-sprintf3.
393 * stdio-common/tst-sprintf3.c: New file.
394
6d5c57fa
AS
395 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
396 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
397
0749ff8b
JM
3982012-04-28 Joseph Myers <joseph@codesourcery.com>
399
400 * conform/conformtest.pl: Remove duplicate typed-constant
401 handling.
402
8dbd5d7b
DM
4032012-04-28 David S. Miller <davem@davemloft.net>
404
405 * Makerules (%.abilist): Add vpath on sysdep_dirs.
406 (check-abi-%): Remove AWK script prerequisite and explicit
407 abilist directory.
408 (check-abi): Rewrite to just diff the symlist with the abilist.
409 (config-tls, config-abi-config): Delete, no longer used.
410 (update-abi-%): Remove AWK script and explicit abilist directory.
411 (update-abi): Rewrite to simply compare and conditionally copy the
412 symlist and the sysdep abilist file. Remove update-abi-config
413 checks.
414 * abilist/ld.abilist: Remove.
415 * abilist/libBrokenLocale.abilist: Remove.
416 * abilist/libanl.abilist: Remove.
417 * abilist/libcrypt.abilist: Remove.
418 * abilist/libdl.abilist: Remove.
419 * abilist/librt.abilist: Remove.
420 * abilist/libthread_db.abilist: Remove.
421 * abilist/libutil.abilist: Remove.
422 * scripts/extract-abilist.awk: Remove.
423 * scripts/merge-abilist.awk: Remove.
424 * sysdeps/generic/libcidn.abilist: New file.
425 * sysdeps/generic/libnss_compat.abilist: New file.
426 * sysdeps/generic/libnss_db.abilist: New file.
427 * sysdeps/generic/libnss_dns.abilist: New file.
428 * sysdeps/generic/libnss_files.abilist: New file.
429 * sysdeps/generic/libnss_hesiod.abilist: New file.
430 * sysdeps/generic/libnss_nis.abilist: New file.
431 * sysdeps/generic/libnss_nisplus.abilist: New file.
432 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
433 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
434 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
435 file.
436 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
437 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
438 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
439 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
440 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
441 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
442 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
443 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
444 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
445 file.
446 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
447 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
448 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
449 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
450 file.
451 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
452 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
453 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
454 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
455 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
456 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
457 file.
458 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
459 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
460 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
461 file.
462 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
464 New file.
465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
466 New file.
467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
468 New file.
469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
470 New file.
471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
472 New file.
473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
474 New file.
475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
476 New file.
477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
478 New file.
479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
480 New file.
481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
482 New file.
483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
484 New file.
485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
486 New file.
487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
488 New file.
489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
490 file.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
492 New file.
493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
494 New file.
495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
496 file.
497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
498 New file.
499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
500 New file.
501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
502 file.
503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
504 New file.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
506 New file.
507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
508 New file.
509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
510 New file.
511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
512 New file.
513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
514 New file.
515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
517 file.
518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
519 New file.
520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
521 file.
522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
523 file.
524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
525 file.
526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
527 file.
528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
529 file.
530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
531 New file.
532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
533 file.
534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
535 file.
536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
537 New file.
538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
539 file.
540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
542 file.
543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
544 New file.
545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
546 file.
547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
548 file.
549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
550 file.
551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
552 file.
553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
554 file.
555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
556 New file.
557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
558 file.
559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
560 file.
561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
562 New file.
563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
564 file.
565 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
566 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
567 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
568 file.
569 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
570 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
571 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
572 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
573 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
574 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
575 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
576 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
577 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
578 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
581 file.
582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
583 New file.
584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
585 file.
586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
587 file.
588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
589 file.
590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
591 file.
592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
593 file.
594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
595 New file.
596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
597 New file.
598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
599 file.
600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
601 New file.
602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
603 file.
604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
606 file.
607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
608 New file.
609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
610 file.
611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
612 file.
613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
614 file.
615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
616 file.
617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
618 file.
619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
620 New file.
621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
622 New file.
623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
624 file.
625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
626 New file.
627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
628 file.
629
41d73a1b
JM
6302012-04-28 Joseph Myers <joseph@codesourcery.com>
631
632 * conform/conformtest.pl: Fix typo in handling typed-constant from
633 allow-header.
634
28aeeda4
JM
6352012-04-27 Joseph Myers <joseph@codesourcery.com>
636
adae8f5e
JM
637 * README: Cut down references to pre-2.6 Linux kernels and
638 Linuxthreads. Update lists of configurations in libc and ports
639 and sort alphabetically. Say "or newer" with Linux kernel version
640 requirements.
641
28aeeda4
JM
642 * config.h.in [IS_IN_build]: Allow compiling without optimization.
643
a462cb63
RA
6442012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
645
646 [BZ #887]
647 * math/libm-test.inc (logb_test_downward): New test to expose
648 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
649 rounding mode.
650
6ad3493e
JM
6512012-04-27 Joseph Myers <joseph@codesourcery.com>
652
653 [BZ #14027]
654 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
655 to be done.
656 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
657 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
658
2ce4f015
JM
6592012-04-26 Joseph Myers <joseph@codesourcery.com>
660
5aeb141a
JM
661 * sysdeps/unix/i386/brk.S: Remove file.
662 * sysdeps/unix/i386/dl-brk.S: Likewise.
663 * sysdeps/unix/i386/pipe.S: Likewise.
664 * sysdeps/unix/i386/sigreturn.S: Likewise.
665 * sysdeps/unix/i386/syscall.S: Likewise.
666 * sysdeps/unix/i386/vfork.S: Likewise.
667 * sysdeps/unix/i386/wait.S: Likewise.
668
7143acae
JM
669 * sysdeps/unix/common/tcsendbrk.c: Move to ...
670 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
671
2ce4f015
JM
672 * configure.in (arm*-none*): Do not allow without
673 --enable-hacker-mode.
674 (netbsd*): Remove case setting base_os.
675 (386bsd*): Likewise.
676 (freebsd*): Likewise.
677 (bsdi*): Likewise.
678 (osf*): Likewise.
679 (sunos*): Likewise.
680 (ultrix*): Likewise.
681 (newsos*): Likewise.
682 (dynix*): Likewise.
683 (*bsd*): Likewise.
684 (sysv*): Likewise.
685 (isc*): Likewise.
686 (esix*): Likewise.
687 (sco*): Likewise.
688 (minix*): Likewise.
689 (irix4*): Likewise.
690 (irix6*): Likewise.
691 (solaris[2-9]*): Likewise.
692 (none): Likewise.
693 * configure: Regenerated.
694
0ac229c8
AZ
6952012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
696
697 [BZ #11521]
698 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
699 overflow or cancellation in calculating denominator.
700 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
701 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
702 down expression to avoid unexpected rounding in newer GCCs.
703 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
704
33f244f4
DM
7052012-04-26 David S. Miller <davem@davemloft.net>
706
707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
708 long-double compat symbols.
709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
722
cfa1f3e8
DM
7232012-04-25 David S. Miller <davem@davemloft.net>
724
725 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
726 HWCAP_* values only after the memory barriers have been defined.
727 (atomic_full_barrier): Define.
728 (atomic_read_barrier): Define.
729 (atomic_write_barrier): Define.
730
6e236b92
SP
7312012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
732
733 * shlib-versions: Add libgcc_s version information.
734 * sysdeps/generic/libgcc_s.h: Remove.
735 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
736 libgcc_s.h.
737 * sysdeps/gnu/unwind-resume.c: Likewise.
738 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
739
aab39a09
DM
7402012-04-25 David S. Miller <davem@davemloft.net>
741
742 * sysdeps/unix/sparc/brk.S: Delete.
743 * sysdeps/unix/sparc/dl-brk.S: Delete.
744 * sysdeps/unix/sparc/pipe.S: Delete.
745 * sysdeps/unix/sparc/sysdep.S: Delete.
746 * sysdeps/unix/sparc/sysdep.h: Delete.
747 * sysdeps/unix/sparc/vfork.S: Delete.
748 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
749 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
750 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
751 ret_ERRVAL, r0, r1, MOVE): Define.
752 (JUMPTARGET): Remove.
753 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
754 sysdeps/unix/sparc/sysdep.h
755 (ENTRY, END): Remove.
756 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
757
a3cc4f48
JM
7582012-04-25 Joseph Myers <joseph@codesourcery.com>
759
2ed8cda2
JM
760 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
761 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
762 -DIS_IN_build.
763
35d76d59
JM
764 * timezone/README: Update upstream location and email address for
765 tzcode and tzdata.
766 * timezone/zdump.c: Update from tzcode 2012b.
767 * timezone/zic.c: Likewise.
768
a3cc4f48
JM
769 * configure.in (libc_cv_as_needed): Remove test.
770 * configure: Regenerated.
771 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
772 conditional definition.
773 [$(have-as-needed) != yes] (no-as-needed): Likewise.
774 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
775 * config.make.in (have-as-needed): Remove variable.
776
ceab42c3
SP
7772012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
778 Paul Pluzhnikov <ppluzhnikov@google.com>
779
780 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
781 strings correctly.
782
3ce2865f
CLT
7832012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
784
785 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
786 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
787 * sysdeps/sh/strlen.S: Likewise.
788
f37e0d68
JM
7892012-04-24 Joseph Myers <joseph@codesourcery.com>
790
ae186e9a
JM
791 * sysdeps/unix/fork.S: Remove file.
792 * sysdeps/unix/i386/fork.S: Likewise.
793 * sysdeps/unix/sparc/fork.S: Likewise.
794
b96914af
JM
795 * sysdeps/unix/system.c: Remove file.
796 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
797
f37e0d68
JM
798 * sysdeps/unix/getegid.S: Remove file.
799 * sysdeps/unix/geteuid.S: Likewise.
800
87ef29ca
RM
8012012-04-24 Roland McGrath <roland@hack.frob.com>
802
83bcd236
RM
803 * scripts/check-localplt.awk: New file.
804 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
805 of diff.
806 * scripts/data/localplt-generic.data: Add a comment.
807
87ef29ca
RM
808 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
809 NODE when __dir_mkfile failed.
810 * sysdeps/mach/hurd/symlinkat.c: Likewise.
811 Reported by Ludovic Courtès <ludo@gnu.org>.
812
e5a6e567
AJ
8132012-04-24 Andreas Jaeger <aj@suse.de>
814
815 * Makerules (common-clean): Also remove gen-as-const-headers
816 files.
817
c1820385
JM
8182012-04-24 Joseph Myers <joseph@codesourcery.com>
819
820 * Makerules (native-compile): Do not change working directory for
821 build. Use $(OUTPUT_OPTION) in command.
822 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
823
94e02fc4
AZ
8242012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
825
826 [BZ #13886]
827 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
828 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
829 * math/libm-test.inc (floor_test): Add more tests.
830 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
831
3a533ca3
JM
8322012-04-24 Joseph Myers <joseph@codesourcery.com>
833
940ab4b3
JM
834 * sysdeps/unix/getdents.c: Remove file.
835 * sysdeps/unix/sysv/getdents.c: Likewise.
836 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
837
90e037bd
JM
838 * sysdeps/unix/syscalls.list (madvise): Add syscall from
839 sysdeps/unix/mman/syscalls.list.
840 (mmap): Likewise.
841 (mprotect): Likewise.
842 (msync): Likewise.
843 (munmap): Likewise.
844 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
845 * sysdeps/unix/mman/syscalls.list: Remove.
846 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
847
3a533ca3
JM
848 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
849 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
850 * configure: Regenerated.
851 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
852 $(libgcc_s_suffix).
853 * config.make.in (libgcc_s_suffix): Remove variable.
854
1ad743de
JM
8552012-04-23 Joseph Myers <joseph@codesourcery.com>
856
4ad451e2
JM
857 * sysdeps/unix/sysv/gethostname.c: Move to ...
858 * sysdeps/posix/gethostname.c: ... here.
859
5e37ce39
JM
860 * sysdeps/unix/execve.S: Remove file.
861
1ad743de
JM
862 * sysdeps/unix/_exit.S: Remove file.
863
4e681b5b
AJ
8642012-04-23 Andreas Jaeger <aj@suse.de>
865
866 [BZ #13739]
867 * manual/Makefile: Remove make dist support, there's no
868 need for a stand-alone documentation tar ball.
869 (TEXI2DVI): Define always, it's not in Makeconfig.
870 (dist): Removed.
871 (tar-it): Removed.
872 (edition): Removed.
873 (glibc-doc-$(edition).tar): Removed
874 (%.Z): Removed.
875 (%.gz): Removed.
876 (%.uu): Removed.
877 (ETAGS): Remove, it's in Makeconfig.
878 (move-if-change): Remove, it's in Makeconfig.
879
c0baea34
PE
8802013-04-23 Paul Eggert <eggert@cs.ucla.edu>
881
882 [BZ #13970]
883 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
884 (strtod, strtof, strtold, strtol, strtoul, strtoq)
885 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
886 (strtod_l, strtof_l, strtold_l): Remove __wur.
887 It is not necessarily an error to ignore strtol's return value.
888 One can reliably look at the stored endptr to decide whether
889 the number had valid syntax.
890
7c0616fa
AJ
8912012-04-21 Andreas Jaeger <aj@suse.de>
892
803cb6b7 893 [BZ #13739]
7c0616fa
AJ
894 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
895
b0fe253f
JM
8962012-04-21 Joseph Myers <joseph@codesourcery.com>
897
898 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
899 * sysdeps/unix/sysv/Versions: Remove file.
900
8280f22d
MT
9012012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
902
903 [BZ #13927]
904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
905
75ce411f 9062012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
907
908 [BZ #7064]
909 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
910 version from __vm86.
911
097d59fa
JM
9122012-04-20 Joseph Myers <joseph@codesourcery.com>
913
a90f3bcb
JM
914 * sysdeps/unix/common/lxstat.c: Remove file.
915 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
916
edc7ea78
JM
917 * sysdeps/unix/sysv/Makefile: Remove file.
918
cb78c221
JM
919 * sysdeps/unix/sysv/direct.h: Remove file.
920
efa6a45f
JM
921 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
922 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
923 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
924 * sysdeps/unix/sysv/bits/signum.h: Likewise.
925 * sysdeps/unix/sysv/bits/stat.h: Likewise.
926 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
927 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
928
9c9f2d0c
JM
929 * sysdeps/unix/sysv/setrlimit.c: Remove file.
930
4541c83b
JM
931 * sysdeps/unix/xmknod.c: Remove file.
932 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
933
f5d153a0
JM
934 * sysdeps/unix/sysv/settimeofday.c: Remove file.
935
aa746595
JM
936 * sysdeps/unix/sysv/i386/time.S: Remove file.
937
cce5905e
JM
938 * sysdeps/unix/fxstat.c: Remove file.
939 * sysdeps/unix/xstat.c: Likewise.
940 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
941
37fa3841
JM
942 * sysdeps/unix/sysv/sigaction.c: Remove file.
943
ff1962a3
JM
944 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
945 (sysdep_headers): Remove variable.
946 [termio.h not in sysdep_headers] (generated): Likewise.
947 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
948 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
949 * sysdeps/unix/sysv/tcdrain.c: Likewise.
950 * sysdeps/unix/sysv/tcflow.c: Likewise.
951 * sysdeps/unix/sysv/tcflush.c: Likewise.
952 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
953 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
954 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
955 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
956 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
957
e7740d31
JM
958 * sysdeps/unix/siglist.c: Remove file.
959
ee06f18b
JM
960 * sysdeps/unix/getppid.S: Remove file.
961
097d59fa
JM
962 * sysdeps/unix/mkdir.c: Remove file.
963 * sysdeps/unix/rmdir.c: Likewise.
964
ff3d51ec
AS
9652012-04-19 Andreas Schwab <schwab@linux-m68k.org>
966
967 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
968 ERR_MAX value.
969 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
970 errlist-compat value.
971
50f81fd7
DM
9722012-04-18 David S. Miller <davem@davemloft.net>
973
974 * sysdeps/generic/memcopy.h (reg_char): Delete.
975 * debug/strcat_chk.c: Use char, not reg_char.
976 * debug/strcpy_chk.c: Likewise.
977 * debug/strncat_chk.c: Likewise.
978 * debug/strncpy_chk.c: Likewise.
979 * string/memchr.c: Likewise.
980 * string/memrchr.c: Likewise.
981 * string/rawmemchr.c: Likewise.
982 * string/strcat.c: Likewise.
983 * string/strchr.c: Likewise.
984 * string/strchrnul.c: Likewise.
985 * string/strcmp.c: Likewise.
986 * string/strcpy.c: Likewise.
987 * string/strncat.c: Likewise.
988 * string/strncmp.c: Likewise.
989 * string/strncpy.c: Likewise.
990
8ff41c46
WS
9912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
992
993 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
994 __builtin_memcopy is called when src and dest ranges are known to not
995 overlap.
996
6b652f46
WS
9972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
998
999 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1000 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1001 fwd_align_merge macro call.
1002 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1003 bwd_align_merge macro call.
1004 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1005
b282631e
WS
10062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1007
1008 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1009 bwd_align_merge macros.
1010 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1011 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1012 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1013
95aa737c
DM
10142012-04-18 David S. Miller <davem@davemloft.net>
1015
1016 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1017
7a99a614
AJ
10182012-04-18 Andreas Jaeger <aj@suse.de>
1019
1020 [BZ# 6794]
1021 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1022 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1023 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1024
1025 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1026 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1027 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1028
1029 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1030 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1031 Adjust for changed ldbl-128 files.
1032
1033 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1034 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1035 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1036
e5270c23
DM
10372012-04-17 David S. Miller <davem@davemloft.net>
1038
1039 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1040
fb5e92c9
AS
10412012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1042
1043 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1044 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1045 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1046 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1047 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1048 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1049
76da7265
AZ
10502012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1051
1052 [BZ #6794]
1053 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1054 * math/libm-test.inc: Add ilogb errno and exception tests.
1055 * math/w_ilogb.c: New file: ilogb wrapper.
1056 * math/w_ilogbf.c: New file: ilogbf wrapper.
1057 * math/w_ilogbl.c: New file: ilogbl wrapper.
1058 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1059 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1060 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1061 exception being thrown with 0.0 as argument.
1062 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1063 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1064 exception being thrown with 0.0 as argument.
1065 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1066 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1067 exception being thrown with 0.0 as argument.
1068 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1069 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1070 exception being thrown with 0.0 as argument.
1071 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1072 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1073 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1074 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1075 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1076 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1077 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1078 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1079 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1080
0396e69d
PB
10812012-04-17 Petr Baudis <pasky@ucw.cz>
1082
1083 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1084 with altivec.
1085
750b5926
MP
10862012-04-16 Marek Polacek <polacek@redhat.com>
1087
1088 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1089
751728a1
MP
10902012-04-16 Marek Polacek <polacek@redhat.com>
1091
1092 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1093 operands of fdivp instruction.
1094
34a27407
L
10952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1096
1097 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1098 * elf/tst-auditmod3b.c: Likewise.
1099 * elf/tst-auditmod4b.c: Likewise.
1100 * elf/tst-auditmod5b.c: Likewise.
1101 * elf/tst-auditmod6b.c: Likewise.
1102 * elf/tst-auditmod6c.c: Likewise.
1103 * elf/tst-auditmod7b.c: Likewise.
1104 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1105 * sysdeps/x86_64/preconfigure.in: Likewise.
1106 * sysdeps/x86_64/preconfigure: Regenerated.
1107
7e73e17d
L
11082012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1109
1110 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1111 __ILP32__.
1112
c7a6ab72
AB
11132012-04-13 Antoine Balestrat <merkil33@gmail.com>
1114
1115 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1116 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1117
a9e8e0e0
CL
11182012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1119
1120 [BZ #13973]
1121 * locale/iso-639.def: Fix gl language name. Spotted by
1122 Yaron Shahrabani.
1123
ec98af7d
RM
11242012-04-12 Roland McGrath <roland@hack.frob.com>
1125
1126 [BZ #2074]
1127 * libio/libio.h (__io_write_fn): Update comment.
1128
247c3ede
PB
11292012-04-12 Petr Baudis <pasky@ucw.cz>
1130
1131 [BZ #2074]
1132 * stdio.texi (Hook Functions): The user provided writer function
1133 is not allowed to return -1.
1134
55939d6d
DM
11352012-04-11 David S. Miller <davem@davemloft.net>
1136
1137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1138
90020f5a
MF
11392012-04-11 Mike Frysinger <vapier@gentoo.org>
1140
1141 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1142 Add a leading slash to rtkaio.
1143
288f9098
JM
11442012-04-11 Jim Meyering <meyering@redhat.com>
1145
90020f5a
MF
1146 [BZ #11959]
1147 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1148 It is not necessarily an error to ignore fwrite's return
1149 value. One can reliably use ferror to test for errors after
1150 the fact.
288f9098 1151
4be2b570
L
11522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1153
1154 * bits/types.h (__snseconds_t): New type.
1155 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1156
1157 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1159 (__SNSECONDS_T_TYPE): Likewise.
1160 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1161 (__SNSECONDS_T_TYPE): Likewise.
1162 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1163 (__SNSECONDS_T_TYPE): Likewise.
1164
288f9098 11652012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1166
1167 [BZ #2636]
1168 * manual/time.texi (Processor Time): Return type of times is
1169 elapsed real time since an arbitrary point in the past.
1170 (CPU Time): Move CLK_TCK from here...
1171 (Processor Time): ...to here. Correct description.
1172 * manual/conf.texi (Constants for Sysconf): Correct description of
1173 _SC_CLK_TCK.
1174
d7dd4413
DM
11752012-04-10 David S. Miller <davem@davemloft.net>
1176
1177 [BZ #13967]
1178 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1179 where the is a gap between DT_REL(A) and DT_JMPREL.
1180
b46068fc
L
11812012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1182
1183 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1184 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1185 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1186
73d65cc3
SP
11872012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1188
1189 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1190 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1191 (dl_main): Handle --inhibit-cache.
1192 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1193 _dl_inhibit_cache.
1194 * elf/dl-load.c (_dl_map_object): Use it.
1195 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1196
bcc8d661
JM
11972012-04-09 Joseph Myers <joseph@codesourcery.com>
1198
8f9a2fae
JM
1199 [BZ #13872]
1200 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1201 (__ieee754_powl): Saturate large exponents rather than testing for
1202 overflow of y*log2(x).
1203 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1204 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1205 exceptions.
1206
bcc8d661
JM
1207 [BZ #11521]
1208 * math/s_ctan.c: Include <float.h>.
1209 (__ctan): Avoid internal overflow or cancellation in calculating
1210 denominator.
1211 * math/s_ctanf.c: Likewise.
1212 * math/s_ctanl.c: Likewise.
1213 * math/s_ctanh.c: Likewise.
1214 * math/s_ctanhf.c: Likewise.
1215 * math/s_ctanhl.c: Likewise.
1216 * math/libm-test.inc (ctan_test): Add more tests.
1217 (ctanh_test): Likewise.
1218 * sysdeps/i386/fpu/libm-test-ulps: Update.
1219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1220
823fbbb4
AJ
12212012-04-09 Andreas Jaeger <aj@suse.de>
1222
03879793
AJ
1223 [BZ #6894]
1224 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1225 is an optional BSD extension.
1226
823fbbb4
AJ
1227 [BZ #10254]
1228 * manual/stdio.texi (Opening Streams): Document additional fopen
1229 parameters.
1230
8de131cb
RM
12312012-04-09 Roland McGrath <roland@hack.frob.com>
1232
1233 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1234 %eax without telling the compiler.
1235
c0ed9d7d
CD
12362012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1237
1238 [BZ # 13963]
1239 * manual/install.texi: Use sourceware.org.
1240
c483f6b4
JM
12412012-04-09 Joseph Myers <joseph@codesourcery.com>
1242
d7dd9453
JM
1243 [BZ #13873]
1244 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1245 (__ieee754_pow): Generate overflow and underflow using huge*huge
1246 and tiny*tiny rather than just returning constant infinity or zero
1247 for large exponents.
1248 * math/libm-test.inc (pow_test): Require overflow exceptions for
1249 applicable cases of large exponents.
1250
c483f6b4
JM
1251 [BZ #706]
1252 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1253 (__ieee754_pow): Use iterative multiplication algorithm only for
1254 integer exponents with absolute value below 1024. Check for odd
1255 integer exponents when using algorithm for real exponents.
1256 * math/libm-test.inc (pow_test): Add more tests.
1257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1258
d2de7579
JM
12592012-04-08 Joseph Myers <joseph@codesourcery.com>
1260
1261 [BZ #13705]
1262 * math/libm-test.inc (exp_test): Do not allow overflow exception
1263 on underflow test.
1264
f77f1232
AJ
12652012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1266
1267 [BZ #13705]
1268 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1269 instead of __kernel_standard_f.
1270
3884932b
MF
12712012-04-08 Mike Frysinger <vapier@gentoo.org>
1272
1273 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1274 * sysdeps/x86_64/memset_chk.S: Likewise.
1275
54472e9c
AJ
12762012-04-08 Andreas Jaeger <aj@suse.de>
1277
6ab0fbfc
AJ
1278 [BZ #10153]
1279 * manual/startup.texi (Environment Access): Describe return value
1280 for putenv and setenv.
1281
61efba8c
AJ
1282 [BZ #6895]
1283 * manual/filesys.texi (Directory Entries): Add description for
1284 DT_LNK.
1285
95c3f29a
AJ
1286 [BZ #6890]
1287 * manual/filesys.texi (Directory Entries): Clarify that it's file
1288 system not operating system in the description of DT_UNKNOWN.
1289
54472e9c
AJ
1290 [BZ #6578]
1291 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1292
624254b1
SC
12932012-04-08 Stephen Compall <s11@member.fsf.org>
1294
1295 [BZ #6649]
1296 * manual/llio.texi (Opening and Closing Files): Add cross
1297 reference to explain mode argument.
1298
1e4920e0
MF
12992012-04-07 Mike Frysinger <vapier@gentoo.org>
1300
1301 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1302 * sysdeps/x86_64/memset_chk.S: Likewise.
1303
5ed848f3
DM
13042012-04-07 David S. Miller <davem@davemloft.net>
1305
1306 * elf/elf.h (R_SPARC_WDISP10): Define.
1307 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1308 R_SPARC_SIZE32.
1309 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1310 R_SPARC_SIZE64 and R_SPARC_H34.
1311
96154cd8
CD
13122012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1313
1314 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1315 conditions and remove no longer applicable assertion.
1316
9904dc47
L
13172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1318
1319 * bits/byteswap.h: Include <features.h>.
1320 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1321 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1322
f8887d0a
L
13232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1324
1325 * bits/byteswap.h (__bswap_16): Removed.
1326 Include <bits/byteswap-16.h> to get __bswap_16.
1327 * sysdeps/i386/bits/byteswap.h: Likewise.
1328 * sysdeps/s390/bits/byteswap.h: Likewise.
1329 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1330 * bits/byteswap-16.h: New file.
1331 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1332 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1333 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1334 * string/Makefile (headers): Add bits/byteswap-16.h.
1335
62470f60
PP
13362012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1337
1338 [BZ #13895]
1339 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1340 extra indirection.
1341 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1342 * nss/tst-nss-static.c: New.
1343
4dad7bab
RM
13442012-04-06 Robert Millan <rmh@gnu.org>
1345
1346 [BZ #6486]
1347 * manual/llio.texi (File Position Primitive): lseek
1348 refers to WHENCE when it really means OFFSET.
1349
e9142a17
AJ
13502012-04-06 Andreas Jaeger <aj@suse.de>
1351
2c040eff
AJ
1352 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1353 strncmp declarations.
1354
e9142a17
AJ
1355 * abilist/libc.abilist: Add __poll and __ppoll.
1356
ff9f1c5f
DM
13572012-04-05 David S. Miller <davem@davemloft.net>
1358
dcd2ae90
DM
1359 * scripts/check-local-headers.sh: Accept a host triplet in the
1360 path matched by the exclude regexp.
1361
993eb054
DM
1362 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1363 definition.
1364 * sysdeps/powerpc/powerpc32/dl-machine.h
1365 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1366 * sysdeps/s390/s390-32/dl-machine.h
1367 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1368 * sysdeps/sparc/sparc32/dl-machine.h
1369 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1370 * sysdeps/sparc/sparc64/dl-machine.h
1371 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1372
ff9f1c5f
DM
1373 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1374 lazy binding.
48e2e132 1375 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1376 undefined symbol errors.
1377
48e2e132 1378 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1379 DT_NEEDED entries.
1380
e80d6f94
MM
13812012-04-05 Michael Matz <matz@suse.de>
1382
1383 [BZ #13592]
1384 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1385
349fa79f
AJ
13862012-04-05 Andreas Jaeger <aj@suse.de>
1387
1388 [BZ #13908]
1389 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1390 comment.
1391
f402708f
KK
13922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1393
1394 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1395 which ROUND is no valid rounding mode.
1396
2ecccfc9
KK
13972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1398
1399 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1400 read again.
1401 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1402
8a53f50f
KK
14032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1404
1405 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1406 an exception using FPU order intentionally.
1407
14082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1409
1410 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1411 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1412 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1413 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1414
d653abb7
SJ
14152012-04-05 Simon Josefsson <simon@josefsson.org>
1416
1417 [BZ #12340]
1418 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1419 EINVAL when BUFLEN is too smal.
1420
c3b1bf7d
TS
14212012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1422
1423 [BZ #13553]
1424 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1425 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1426
b1aa60f3
AJ
14272012-04-03 Andreas Jaeger <aj@suse.de>
1428
c3b1bf7d 1429 [BZ #13938]
67f60a26
AJ
1430 * manual/setjmp.texi (System V contexts): Fix sentence.
1431
b1aa60f3
AJ
1432 [BZ #13926]
1433 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1434 New macro for this case.
1435 [!__GNUC__] (__bswap_64): New inline function for this case.
1436 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1437 * bits/byteswap.h: Likewise.
1438 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1439 ull, guard with __GLIBC_HAVE_LONG_LONG.
1440
1441 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1442 __GLIBC_HAVE_LONG_LONG.
1443
1444 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1445 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1446
39c59c35
TMQMF
14472012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1448
1449 [BZ #13691]
1450 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1451 inptr and inend, rather than using last_ch.
1452
135ffda8
DM
14532012-04-02 David S. Miller <davem@davemloft.net>
1454
1455 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1456 * stdio-common/printf-parse.h (read_int): Change return type to
1457 'int', return -1 on INT_MAX overflow.
1458 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1459 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1460 overflows INT_MAX. Check for overflow of in-format-string precision
1461 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1462 SIZE_MAX not INT_MAX for integer overflow test.
1463 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1464 skip the construct in the format string but do not record anything.
1465 * stdio-common/bug22.c: Adjust to test both width/prevision
1466 INT_MAX overflow as well as total length INT_MAX overflow. Check
1467 explicitly for proper errno values.
1468
228c019e
TS
14692012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1470
302cadd3
TS
1471 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1472 CHAR_MAX.
1473 * string/test-strcmp.c [! WIDE]: Likewise.
1474 * time/tst-mktime2.c: Likewise for INT_MAX.
1475 * string/test-string.h: #include <sys/param.h> for MIN.
1476
228c019e
TS
1477 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1478 * sysdeps/i386/init-first.c (init): Likewise.
1479 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1480 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1481 * sysdeps/sh/init-first.c (init): Likewise.
1482
cfa633f5
UD
14832012-04-01 Ulrich Drepper <drepper@gmail.com>
1484
1485 * po/ru.po: Update from translation team.
d1635ef8 1486 * po/vi.po: Likewise.
cfa633f5 1487
6cd0a5ea
SP
14882012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1489
1490 * resolv/nss_dns/dns-host.c: Merge copyright years.
1491
4b43400f
LD
14922012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1493
1494 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1495 Optimize memcpy with prefetch if
1496 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1497 src, dst pointers have unequal 16 byte alignments.
1498
48c41d04
SP
14992012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1500
1501 [BZ #13928]
1502 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1503 from a CNAME entry and return the minimum ttl for the query.
1504 (gaih_getanswer_slice): Likewise.
1505
b8dc394d
JL
15062012-03-30 Jeff Law <law@redhat.com>
1507
1508 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1509 due to long keys.
1510 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1511 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1512
2f5a5ed0
JL
1513 * resolv/nss_dns/dns-host.c: Update copyright year.
1514
1d39e359
UD
15152012-03-30 Ulrich Drepper <drepper@gmail.com>
1516
c030f70c 1517 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 1518 requests to save a system call. Fix check that all bytes are sent.
c030f70c 1519
1d39e359
UD
1520 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1521 comments for sendmmsg.
1522
15232012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
1524
1525 [BZ #13691]
1526 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1527 with only 1 character between 0x0041 and 0x01b0.
1528 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1529 * wcsmbs/tst-mbsnrtowcs.c: New file.
1530
20fde227
DM
15312012-03-29 David S. Miller <davem@davemloft.net>
1532
1533 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1534 small copies by hand.
1535
984a4237
JL
15362012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1537
1538 [BZ #13761]
1539 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1540 _nss_compat_initgroups_dyn): Fall back to malloc/free
1541 for large group memberships.
1542
18c9d62b
DM
15432012-03-28 David S. Miller <davem@davemloft.net>
1544
88d85d4f
DM
1545 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1546 that branches into memcpy.
1547 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1548 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1549 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1550 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1552 bits.
1553 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1554 implementation too.
1555 * sysdeps/sparc/mempcpy.S: New file.
1556
e5aa83e1
DM
1557 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1558 the IFUNC routine in the libc case.
1559 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1560
88570753
DM
1561 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1562 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1563 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1564 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1565 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1566 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1567 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1568 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1569
249d7567
DM
1570 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1571 loop to 256 bytes instead of 64 bytes and fix test signedness.
1572
18c9d62b
DM
1573 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1574 * sysdeps/sparc/sparc32/Makefile: rather than here...
1575 * sysdeps/sparc/sparc64/Makefile: and here.
1576
05f3d1f6
UD
15772012-03-28 Ulrich Drepper <drepper@gmail.com>
1578
1579 * malloc/mallocbug.c: Avoid warnings about unused variables.
1580
86ae07a8
JL
15812012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1582
1583 [BZ #13760]
1584 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1585 in the right place. Discard and retry query if response is
1586 larger than input buffer size.
1587
41bf21a1
JM
15882012-03-28 Joseph Myers <joseph@codesourcery.com>
1589
d6270972
JM
1590 [BZ #369]
1591 [BZ #2678]
1592 [BZ #3866]
1593 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1594 x for large integer exponent.
1595 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1596 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1597 sign of result as needed afterwards.
1598 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1599 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1600 result for underflowing pow the same as for overflow.
1601 (__kernel_standard_l): Handle powl overflow and underflow here
1602 rather than calling __kernel_standard.
1603 * math/libm-test.inc (pow_test): Add more tests.
1604
414fca03 1605 [BZ #3868]
41bf21a1
JM
1606 [BZ #13879]
1607 [BZ #13910]
1608 [BZ #13911]
1609 [BZ #13912]
1610 [BZ #13913]
1611 [BZ #13915]
1612 [BZ #13916]
1613 [BZ #13917]
1614 [BZ #13918]
1615 [BZ #13919]
1616 [BZ #13920]
1617 [BZ #13921]
1618 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1619 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1620 (__kernel_standard_l): New function.
1621 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1622 __kernel_standard.
1623 * math/w_acosl.c (__acosl): Likewise.
1624 * math/w_asinl.c (__asinl): Likewise.
1625 * math/w_atan2l.c (__atan2l): Likewise.
1626 * math/w_atanhl.c (__atanhl): Likewise.
1627 * math/w_coshl.c (__coshl): Likewise.
1628 * math/w_exp10l.c (__exp10l): Likewise.
1629 * math/w_exp2l.c (__exp2l): Likewise.
1630 * math/w_fmodl.c (__fmodl): Likewise.
1631 * math/w_hypotl.c (__hypotl): Likewise.
1632 * math/w_j0l.c (__j0l, __y0l): Likewise.
1633 * math/w_j1l.c (__j1l, __y1l): Likewise.
1634 * math/w_jnl.c (__jnl, __ynl): Likewise.
1635 * math/w_lgammal.c (__lgammal): Likewise.
1636 * math/w_log10l.c (__log10l): Likewise.
1637 * math/w_log2l.c (__log2l): Likewise.
1638 * math/w_logl.c (__logl): Likewise.
1639 * math/w_powl.c (__powl): Likewise.
1640 * math/w_remainderl.c (__remainderl): Likewise.
1641 * math/w_scalbl.c (sysv_scalbl): Likewise.
1642 * math/w_sinhl.c (__sinhl): Likewise.
1643 * math/w_sqrtl.c (__sqrtl): Likewise.
1644 * math/w_tgammal.c (__tgammal): Likewise.
1645 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1646 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1647 * math/libm-test.inc (acos_test): Add more tests.
1648 (acosh_test): Likewise.
1649 (asin_test): Likewise.
1650 (atanh_test): Likewise.
1651 (exp_test): Likewise.
1652 (exp10_test): Likewise.
1653 (exp2_test): Likewise.
1654 (expm1_test): Likewise.
1655 (lgamma_test): Likewise.
1656 (log_test): Likewise.
1657 (log10_test): Likewise.
1658 (log1p_test): Likewise.
1659 (log2_test): Likewise.
1660 (pow_test): Do not allow some spurious overflow exceptions.
1661 (sqrt_test): Add more tests.
1662 (tgamma_test): Likewise.
1663 (y0_test): Likewise.
1664 (y1_test): Likewise.
1665 (yn_test): Likewise.
1666
dd62fda6
AB
16672012-03-27 Anton Blanchard <anton@samba.org>
1668
1669 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1670 MAP_HUGETLB.
1671 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1672 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1673 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1674
1e3cdfda
AJ
16752012-03-27 David S. Miller <davem@davemloft.net>
1676
b855ab85
DM
1677 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1678
1e3cdfda
AJ
1679 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1680 have-as-vis3 check.
1681
16822012-03-27 Andreas Jaeger <aj@suse.de>
1683
1684 * sysdeps/x86_64/elf/configure.in: Moved to ...
1685 * sysdeps/x86_64/configure.in: ... here.
1686 * sysdeps/x86_64/elf/start.S: Moved to ...
1687 * sysdeps/x86_64/start.S: ... here.
1688 * sysdeps/x86_64/elf/configure: Delete.
1689
1690 * sysdeps/x86_64/configure.in: Merge contents from
1691 sysdeps/i386/configure.in (without i686 check).
1692
1693 * sysdeps/i386/elf/Versions: Merge into ...
1694 * sysdeps/i386/Versions: ... this.
1695 * sysdeps/i386/elf/Versions: Delete file.
1696 * sysdeps/i386/elf/start.S: Moved to ...
1697 * sysdeps/i386/start.S: ...here.
1698 * sysdeps/i386/elf/configure.in: Merge into...
1699 * sysdeps/i386/configure.in: ...here.
1700 * sysdeps/i386/elf/configure.in: Delete file.
1701 * sysdeps/i386/elf/configure: Delete file.
1702
1703 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1704 * debug/backtracesyms.c: ... here.
1705 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1706 * debug/backtracesymsfd.c: ... here.
1707 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1708 * sysdeps/generic/ifunc-sel.h: ... here.
1709
1710 * sysdeps/unix/i386/start.c: Delete file.
1711 * sysdeps/unix/sparc/start.c: Delete file.
1712 * sysdeps/unix/start.c: Delete file.
1713
1714 * sysdeps/sh/elf/configure.in: Moved to ...
1715 * sysdeps/sh/configure.in: ... here.
1716 * sysdeps/sh/elf/start.S: Moved to ...
1717 * sysdeps/sh/start.S: ... here.
1718 * sysdeps/sh/elf/configure: Delete file.
1719
1720 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1721 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1722 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1723 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1724 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1725 * sysdeps/powerpc/powerpc64/start.S: here.
1726 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1727 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1728 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1729 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1730 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1731
1732 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1733 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1734 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1735 * sysdeps/powerpc/powerpc32/start.S: ... here.
1736 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1737 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1738 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1739
1740 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1741 * sysdeps/powerpc/ifunc-sel.h: ... here.
1742 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1743 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1744
1745 * sysdeps/sparc/elf/configure.in: Moved to ...
1746 * sysdeps/sparc/configure.in: ... here.
1747 * sysdeps/sparc/elf/configure: Delete file.
1748 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1749 * sysdeps/sparc/sparc32/start.S: ... here.
1750 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1751 * sysdeps/sparc/sparc64/start.S: ... here.
1752 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1753 * sysdeps/sparc/sparc32/Makefile: ... this.
1754 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1755 * sysdeps/sparc/sparc64/Makefile: ... this.
1756
1757 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1758 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1759 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1760 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1761 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1762 * sysdeps/s390/s390-32/setjmp.S: ... here.
1763 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1764 * sysdeps/s390/s390-32/configure.in: ... here.
1765 * sysdeps/s390/s390-32/elf/configure: Delete file.
1766 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1767 * sysdeps/s390/s390-32/start.S: ... here.
1768
1769 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1770 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1771 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1772 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1773 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1774 * sysdeps/s390/s390-64/setjmp.S: ... here.
1775 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1776 * sysdeps/s390/s390-64/configure.in: ... here
1777 * sysdeps/s390/s390-64/elf/configure: Delete file.
1778 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1779 * sysdeps/s390/s390-64/start.S: ... here.
1780 * sysdeps/s390/s390-64/elf/configure: Delete.
1781
1782 * configure.in: Remove support for elf directories in sysdeps.
1783
1784 * configure: Regenerated.
1785 * sysdeps/i386/configure: Regenerated.
1786 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1787 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1788 * sysdeps/s390/s390-32/configure: Regenerated.
1789 * sysdeps/s390/s390-64/configure: Regenerated.
1790 * sysdeps/sh/configure: Regenerated.
1791 * sysdeps/sparc/configure: Regenerated.
1792 * sysdeps/x86_64/configure: Regenerated.
1793
a3f61311
AS
17942012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1795
c876e002
AS
1796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1797
a3f61311
AS
1798 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1799 denormal result into account.
1800
ac4c54f0
RM
18012012-03-25 Roland McGrath <roland@hack.frob.com>
1802
1803 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1804 Reported by Allan McRae <allan@archlinux.org>.
1805
6a9b9c02
JL
18062012-03-23 Jeff Law <law@redhat.com>
1807
1808 * nss/getnssent.c (__nss_getent): Fix typo.
1809
4c42a0c1
DM
18102012-03-23 David S. Miller <davem@davemloft.net>
1811
1812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1813
1532c7ac
L
18142012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1815
1816 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1817 to pad to uint64_t for each field.
1818 (dl_tls_index): Replace unsigned long with uint64_t.
1819
3ff42526
PP
18202012-03-23 Daniel Jacobowitz <dmj@google.com>
1821 Paul Pluzhnikov <ppluzhnikov@google.com>
1822
1823 [BZ #6528]
1824 * grp/Makefile (otherlibs): Don't set it.
1825 * inet/Makefile (otherlibs): Likewise.
1826 * login/Makefile (otherlibs): Likewise.
1827 * nscd/Makefile (otherlibs): Likewise.
1828 * posix/Makefile (otherlibs): Likewise.
1829 * pwd/Makefile (otherlibs): Likewise.
1830 * rt/Makefile (otherlibs): Likewise.
1831 * sunrpc/Makefile (otherlibs): Likewise.
1832 * nss/Makefile (otherlibs): Likewise.
1833 Add libnss_files to routines and static-only-routines.
1834 ($(objpfx)getent): Remove rule.
1835 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1836 static-only-routines.
1837
7c69cd14
JM
18382012-03-22 Joseph Myers <joseph@codesourcery.com>
1839
1840 [BZ #13892]
1841 * math/s_cexp.c: Include <float.h>.
1842 (__cexp): Handle exp result overflowing not necessarily
1843 overflowing both real and imaginary parts of result.
1844 * math/s_cexpf.c: Likewise.
1845 * math/s_cexpl.c: Likewise.
1846 * math/libm-test.inc (cexp_test): Add more tests.
1847 * sysdeps/i386/fpu/libm-test-ulps: Update.
1848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1849
81b035fe
L
18502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1851
1852 * include/link.h (ELFW): New macro.
1853 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1854 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1855
1da7940c
L
18562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1857
1858 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1859 with uint64_t.
1860
b749dbb9
L
18612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1862
1863 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1864 declaration.
1865 (struct La_x32_retval): Likewise.
1866
2ff87f3f
L
18672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1868
1869 * sysdeps/x86_64/preconfigure.in: New file.
1870 * sysdeps/x86_64/preconfigure: New generated file.
1871
c0df8e69
JM
18722012-03-22 Joseph Myers <joseph@codesourcery.com>
1873
48e44791
JM
1874 [BZ #13824]
1875 * math/e_exp2l.c: Include <float.h>.
1876 (__ieee754_exp2l): Handle overflow and underflow cases
1877 separately. Only pass fractional part of argument to
1878 __ieee754_expl.
1879 * math/libm-test.inc (exp2_test): Add more tests.
1880
c0df8e69
JM
1881 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1882 negating x to take absolute value.
1883 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1884 Likewise.
1885 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1886 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1887 Likewise.
1888 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1889 computing low part if x was negated.
1890 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1891
c8e43ba7
L
18922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1893
1894 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1895 la_x32_gnu_pltexit.
1896 (pltexit): Cast int_retval to ptrdiff_t.
1897 * elf/tst-auditmod3b.c: Likewise.
1898 * elf/tst-auditmod4b.c: Likewise.
1899 * elf/tst-auditmod5b.c: Likewise.
1900 * elf/tst-auditmod6b.c: Likewise.
1901 * elf/tst-auditmod6c.c: Likewise.
1902 * elf/tst-auditmod7b.c: Likewise.
1903
1904 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1905 and x32_gnu_pltexit.
1906
1907 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1908 __ELF_NATIVE_CLASS.
1909 (La_x32_regs): New macro.
1910 (La_x32_retval): Likewise.
1911 (la_x32_gnu_pltenter): New function prototype.
1912 (la_x32_gnu_pltexit): Likewise.
1913
7998fa78
AS
19142012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1915
dcb33988
AS
1916 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1917 exponent.
1918
233fc563
AS
1919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1920
7998fa78
AS
1921 * configure.in (libc_cv_cc_nofma): Check for option to disable
1922 generation of FMA instructions.
1923 * configure: Regenerate.
1924 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1925 * sysdeps/ieee754/dbl-64/Makefile: New file.
1926 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1927 Remove brandred-fma4.
1928 (CFLAGS-brandred-fma4.c): Remove.
1929 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1930 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1931 define.
1932 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1933 define.
1934
8e95c99a
L
19352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1936
1937 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1938 LLONG_MAX != LONG_MAX.
1939 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1940 (_fitoa_word): Likewise.
1941 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1942 LLONG_MAX != LONG_MAX.
1943 * stdio-common/_itowa.h: Include <_itoa.h>.
1944 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1945 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1946 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1947 only if not defined.
1948 (_ITOA_WORD_TYPE): Likewise.
1949 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1950 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1951
6f4db457
DM
19522012-03-21 David S. Miller <davem@davemloft.net>
1953
1954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1955
7785fe5a
L
19562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1957
1958 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1959 of x86_64 when setting libc_cv_slibdir, libdir and
1960 libc_cv_localedir.
1961 * sysdeps/unix/sysv/linux/configure: Regenerated.
1962
4535cd55
JM
19632012-03-21 Joseph Myers <joseph@codesourcery.com>
1964
1965 * manual/lang.texi (Old Varargs): Remove section.
1966 (How Variadic): Update menu.
1967 (va_start): Do not mention varargs.h.
1968
17228132
TS
19692012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1970 Joseph Myers <joseph@codesourcery.com>
1971
1972 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1973 link test.
1974 * configure: Regenerated.
1975
8149f976
TS
19762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1977
05f3d1f6
UD
1978 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1979 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1980 conformtest.pl
8149f976 1981
1a4ac776
JM
19822012-03-21 Joseph Myers <joseph@codesourcery.com>
1983
be22ce65
JM
1984 * NOTES: Remove.
1985 * Makefile (files-for-dist): Remove NOTES.
1986 (NOTES): Remove rule.
1987 * README: Don't refer to NOTES.
1988 * manual/creature.texi: Don't include macros.texi.
1989 * manual/intro.texi (creature.texi): Remove comment referring to
1990 NOTES.
1991
40b601fb
JM
1992 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1993 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1994 * configure: Regenerated.
1995 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1996 LIBC_TRY_CC_OPTION.
1997 (libc_cv_as_i686): Likewise.
1998 (libc_cv_cc_avx): Likewise.
1999 (libc_cv_cc_sse2avx): Likewise.
2000 (libc_cv_cc_fma4): Likewise.
2001 (libc_cv_cc_novzeroupper): Likewise.
2002 * sysdeps/i386/configure: Regenerated.
2003
1a4ac776
JM
2004 [BZ #13883]
2005 * sysdeps/i386/fpu/s_cexp.S: Remove.
2006 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2007 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2008 * math/libm-test.inc (cexp_test): Add more tests.
2009 * sysdeps/i386/fpu/libm-test-ulps: Update.
2010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2011
a458e7fe
AM
20122012-03-21 Allan McRae <allan@archlinux.org>
2013
2014 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2015
0cb7efc5
JM
20162012-03-21 Joseph Myers <joseph@codesourcery.com>
2017
2018 [BZ #13871]
2019 * math/w_exp2.c: Do not include <float.h>.
2020 (o_threshold, u_threshold): Remove.
2021 (__exp2): Calculate result before checking finiteness and calling
2022 __kernel_standard.
2023 * math/w_exp2f.c: Likewise.
2024 * math/w_exp2l.c: Likewise.
2025 * math/libm-test.inc (exp2_test): Require overflow exception for
2026 1e6 input.
2460d3aa
JM
2027
2028 [BZ #3866]
2029 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2030 range of signed 64-bit integers before using fistpll. Remove
2031 checks for whether integers fit in mantissa bits.
2032 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2033 the range of signed 32-bit integers before using fistpl. Remove
2034 checks for whether integers fit in mantissa bits.
2035 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2036 (__ieee754_powl): Test for y outside the range of signed 64-bit
2037 integers before using fistpll. Reduce 64-bit values to 63-bit
2038 ones as needed.
2039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2040 divide-by-zero is raised for zero to large negative powers.
2041 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2042 (__ieee754_powl): Test for y outside the range of signed 64-bit
2043 integers before using fistpll. Reduce 64-bit values to 63-bit
2044 ones as needed.
2045 * math/libm-test.inc (pow_test): Add more tests.
2046
eb96ffb0
L
20472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2048
2049 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2050 <stdio-common/_itoa.h>.
2051 * debug/segfault.c: Likewise.
2052 * elf/dl-cache.c: Likewise.
2053 * elf/dl-minimal.c: Likewise.
2054 * elf/dl-misc.c: Likewise.
2055 * elf/dl-sysdep.c: Likewise.
2056 * elf/dl-version.c: Likewise.
2057 * elf/rtld.c: Likewise.
2058 * hurd/hurdsock.c: Likewise.
2059 * hurd/lookup-retry.c: Likewise.
2060 * malloc/malloc.c: Likewise.
2061 * malloc/mtrace.c: Likewise.
2062 * nscd/nscd_getgr_r.c: Likewise.
2063 * nscd/nscd_getpw_r.c: Likewise.
2064 * nscd/nscd_getserv_r.c: Likewise.
2065 * posix/getopt_init.c: Likewise.
2066 * posix/wordexp.c: Likewise.
2067 * stdio-common/_itoa.c: Likewise.
2068 * stdio-common/printf_fphex.c: Likewise.
2069 * stdio-common/vfprintf.c: Likewise.
2070 * string/_strerror.c: Likewise.
2071 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2072 * sysdeps/i386/i686/hp-timing.h: Likewise.
2073 * sysdeps/mach/_strerror.c: Likewise.
2074 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2075 * sysdeps/mach/hurd/sethostid.c: Likewise.
2076 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2077 * sysdeps/mach/xpg-strerror.c: Likewise.
2078 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2079 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2080 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2081 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2082 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2083 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2084 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2085 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2086 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2087 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2088 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2089 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2090 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2091 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2092 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2093 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2094 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2095 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2096 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2097 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2098 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2099
2100 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2101
2102 * stdio-common/_itoa.h: Moved to ...
2103 * sysdeps/generic/_itoa.h: Here.
2104
2105 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2106
2107 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2108 instead of "_itoa.h" and "_itowa.h".
2109 * stdio-common/vfprintf.: Likewise.
2110
d1af992d
L
21112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2112
2113 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2114 <bits/wordsize.h>.
2115 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2116 (__signbit): Likwise.
2117 (llrintf): Likwise.
2118 (llrint): Likwise.
2119
114883e0
L
21202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2121
2122 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2123 __WORDSIZE != 64.
2124
c135cc1b
JM
21252012-03-20 Joseph Myers <joseph@codesourcery.com>
2126
2127 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2128 OVERFLOW_EXCEPTION_OK.
2129 * math/libm-test.inc ("Philosophy"): Update comment about
2130 exception testing.
2131 (OVERFLOW_EXCEPTION): Define.
2132 (OVERFLOW_EXCEPTION_OK): Likewise.
2133 (INVALID_EXCEPTION_OK): Renumber.
2134 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2135 (IGNORE_ZERO_INF_SIGN): Likewise.
2136 (test_exceptions): Handle FE_OVERFLOW.
2137 (exp10_test): Expect overflow exceptions.
2138 (exp2_test): Likewise.
2139 (expm1_test): Likewise.
2140 (nextafter_test): Likewise.
2141 (pow_test): Likewise.
2142 (scalbn_test): Likewise.
2143 (scalbln_test): Likewise.
2144
95443d88
L
21452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2146
2147 * sysdeps/x86_64/bits/atomic.h
2148 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2149 64bit integer.
2150 (atomic_exchange_acq): Likewise.
2151 (__arch_exchange_and_add_body): Likewise.
2152 (__arch_add_body): Likewise.
2153 (atomic_add_negative): Likewise.
2154 (atomic_add_zero): Likewise.
2155
490df6c4
L
21562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2157
c2722551 2158 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2159 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2160
5e52b189
L
21612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2162
2163 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2164 Check __x86_64__ instead of __WORDSIZE.
2165
a9879d4c
L
21662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2167
2168 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2169
5df98260
DM
21702012-03-19 David S. Miller <davem@davemloft.net>
2171
e1497744
DM
2172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2173
5df98260
DM
2174 * sysdeps/sparc/fpu/fenv_private.h: New file.
2175 * sysdeps/sparc/fpu/math_private.h: Use it.
2176 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2177 Remove.
2178 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2179 (libc_feholdexcept_setroundl): Remove.
2180 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2181 Remove.
2182 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2183 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2184
b4c35121
L
21852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2186
2187 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2188 int64_t instead of long int.
2189 (INSERT_WORDS64): Likwise.
2190
56965fd7
L
21912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2192
2193 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2194 _Unwind_GetCFA return to _Unwind_Ptr first.
2195
83d1aec8
JM
21962012-03-19 Joseph Myers <joseph@codesourcery.com>
2197
1897ad44
JM
2198 [BZ #13629]
2199 * math/s_clog.c: Include <float.h>.
2200 (__clog): Scale large or subnormal inputs.
2201 * math/s_clogf.c: Likewise.
2202 * math/s_clogl.c: Likewise.
2203 * math/s_clog10.c: Include <float.h>.
2204 (M_LOG10_2): Define.
2205 (__clog10): Scale large or subnormal inputs.
2206 * math/s_clog10f.c: Likewise.
2207 * math/s_clog10l.c: Likewise.
2208 * math/libm-test.inc (clog_test): Add more tests.
2209 (clog10_test): Likewise.
2210 * sysdeps/i386/fpu/libm-test-ulps: Update.
2211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2212
7726d6a9
JM
2213 [BZ #11451]
2214 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2215 x and y.
2216 * math/libm-test.inc (atan2_test): Add another test.
2217
83d1aec8
JM
2218 * Makerules (common-objdir-compile): Remove.
2219 * sysdeps/unix/Makefile (config-generated): Do not add
2220 $(unix-generated) to variable.
2221 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2222 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2223 Remove rule.
2224 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2225 Likewise.
2226 [generic bits/local_lim.h] (before-compile): Do not append to
2227 variable.
2228 [generic bits/local_lim.h] (common-generated): Likewise.
2229 [generic sys/param.h] (before-compile): Do not append to variable.
2230 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2231 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2232 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2233 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2234 include.
2235 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2236 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2237 [generic sys/param.h] ($(addprefix
2238 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2239 [generic sys/param.h] (common-generated): Do not append to
2240 variable.
2241 [generic sys/param.h] (sysdep_headers): Likewise.
2242 [generic bits/errno.h] (before-compile): Do not append to
2243 variable.
2244 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2245 rule.
2246 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2247 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2248 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2249 [generic bits/errno.h] (common-generated): Do not append to
2250 variable.
2251 [generic bits/ioctls.h] (before-compile): Do not append to
2252 variable.
2253 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2254 rule.
2255 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2256 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2257 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2258 rule.
2259 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2260 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2261 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2262 [generic bits/ioctls.h] (common-generated): Do not append to
2263 variable.
2264 [generic sys/syscall.h] (syscall.h): Remove variable.
2265 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2266 rule.
2267 [generic sys/syscall.h] (before-compile): Do not append to
2268 variable.
2269 [generic sys/syscall.h] (common-generated): Likewise.
2270 * sysdeps/unix/errnos-tmpl.c: Remove file.
2271 * sysdeps/unix/errnos.awk: Likewise.
2272 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2273 * sysdeps/unix/ioctls.awk: Likewise.
2274 * sysdeps/unix/mk-local_lim.c: Likewise.
2275 * sysdeps/unix/snarf-ioctls: Likewise.
2276
4851a949
RH
22772012-03-19 Richard Henderson <rth@twiddle.net>
2278
bd37f2ee
RH
2279 * sysdeps/i386/fpu/fenv_private.h: New file.
2280 * sysdeps/i386/fpu/math_private.h: Use it.
2281 (math_opt_barrier, math_force_eval): Remove.
2282 (libc_feholdexcept_setround_53bit): Remove.
2283 (libc_feupdateenv_53bit): Remove.
2284 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2285 (math_opt_barrier, math_force_eval): Remove.
2286 (libc_feholdexcept): Remove.
2287 (libc_feholdexcept_setround): Remove.
2288 (libc_fetestexcept, libc_fesetenv): Remove.
2289 (libc_feupdateenv_test): Remove.
2290 (libc_feupdateenv, libc_feholdsetround): Remove.
2291 (libc_feresetround): Remove.
2292
d0adc922
RH
2293 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2294 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2295
0fe0f1f8
RH
2296 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2297 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2298 (libc_feupdateenv_testl): New.
2299 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2300 (libc_feupdateenv_testf): New.
2301 (libc_feupdateenv): Use libc_feupdateenv_test.
2302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2303 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2304
eb92c487
RH
2305 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2306 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2307 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2308 (libc_feresetround_noex): New.
2309 (libc_feresetround_noexf): New.
2310 (libc_feresetround_noexl): New.
2311 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2312 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2313 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2314 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2315 SET_RESTORE_ROUND.
2316 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2317 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2318 (__cos): Likewise.
2319 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2320 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2321 SET_RESTORE_ROUND_NOEX.
2322 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2323 SET_RESTORE_ROUND_NOEXF.
2324 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2325 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2326 (libc_feholdsetroundf): New.
2327 (libc_feresetround, libc_feresetroundf): New.
2328
7d2e8012
RH
2329 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2330 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2331 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2332
b4dabbb4
RH
2333 * sysdeps/generic/math_private.h: Include <fenv.h>.
2334 (default_libc_feholdexcept): New.
2335 (default_libc_feholdexcept_setround): New.
2336 (default_libc_fesetenv, default_libc_feupdateenv): New.
2337 (libc_feholdexcept): Only define if undefined.
2338 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2339 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2340 (libc_feholdexcept_setroundl): Likewise.
2341 (libc_feholdexcept_setround_53bit): Likewise.
2342 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2343 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2344 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2345 (libc_feupdateenv_53bit): Likewise.
2346 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2347 (libc_feholdexcept): Convert from macro to inline function.
2348 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2349 (libc_fesetenv, libc_feupdateenv): Likewise.
2350
4851a949
RH
2351 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2352 not previously defined.
2353 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2354 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2355 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2356 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2357 * sysdeps/ieee754/flt-32/math_private.h: New file.
2358 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2359 math_private.h below SET_FLOAT_WORD.
2360 (__isnan, __isinf_ns, __finite): Remove.
2361 (__isnanf, __isinf_nsf, __finitef): Remove.
2362
e79d442e
AS
23632012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2364
2365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2366
90b80344
DM
23672012-03-17 David S. Miller <davem@davemloft.net>
2368
2369 [BZ #6471]
2370 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2371 for 2.16.
2372
edc21804
DM
23732012-03-16 David S. Miller <davem@davemloft.net>
2374
77e927af
DM
2375 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2376 warnings.
2377
374976dd
DM
2378 [BZ #6471]
2379 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2380 properly.
2381 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2382 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2383 sysdep_routines when subdir is sysvipc.
2384 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2385 __getshmlba helper.
2386
edc21804
DM
2387 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2388
473c3ef3
L
23892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2390
2391 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2392 [__LP64__].
2393
eb0f39b6
L
23942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2395
2396 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2397 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2398 (__lround): Renamed to ...
2399 (__llround): This. Replace long int with long long int.
2400 Define lround functions as aliases of llround functions.
2401 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2402
6b6cd74b
L
24032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2404
2405 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2406 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2407 adresses to uintptr_t. Replace "long int" and "unsigned long
2408 int" with "greg_t" on va_arg.
2409
f1a77b01
L
24102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2411
2412 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2413 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2414
2415 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2416 Move e_machine check before EI_CLASS check. Handle x32
2417 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2418 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2419 SKIP_EM_IA_64 and include
2420 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2421
2422 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2423 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2424 (add_system_dir): New macro.
2425
2426 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2427 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2428
11b90b9f
JM
24292012-03-16 Joseph Myers <joseph@codesourcery.com>
2430
c36e1d23
JM
2431 [BZ #2551]
2432 [BZ #2552]
2433 [BZ #2553]
2434 [BZ #2554]
2435 [BZ #2562]
2436 [BZ #2563]
2437 [BZ #2565]
2438 [BZ #2566]
2439 [BZ #2576]
2440 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2441 (y0): Likewise.
2442 * math/w_j0f.c (j0f): Likewise.
2443 (y0f): Likewise.
2444 * math/w_j0l.c (__j0l): Likewise.
2445 (__y0l): Likewise.
2446 * math/w_j1.c (j1): Likewise.
2447 (y1): Likewise.
2448 * math/w_j1f.c (j1f): Likewise.
2449 (y1f): Likewise.
2450 * math/w_j1l.c (__j1l): Likewise.
2451 (__y1l): Likewise.
2452 * math/w_jn.c (jn): Likewise.
2453 (yn): Likewise.
2454 * math/w_jnf.c (jnf): Likewise.
2455 (ynf): Likewise.
2456 * math/w_jnl.c (__jnl): Likewise.
2457 (__ynl): Likewise.
2458 * math/libm-test.inc (j0_test): Add more tests.
2459 (j1_test): Likewise.
2460 (jn_test): Likewise. Add trailing semicolon to existing test.
2461 (y0_test): Likewise.
2462 (y1_test): Likewise.
2463 * sysdeps/i386/fpu/libm-test-ulps: Update.
2464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2465
11b90b9f
JM
2466 [BZ #13851]
2467 [BZ #13854]
2468 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2469 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2470 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2471 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2472 (__tanl): Set errno for infinite argument.
2473 * sysdeps/i386/fpu/mptan.c: Remove.
2474 * sysdeps/i386/fpu/s_tan.S: Likewise.
2475 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2476 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2477 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2478 * math/libm-test.inc (tan_test): Add more tests and enable more
2479 tests for double and long double.
2480 * sysdeps/i386/fpu/libm-test-ulps: Update.
2481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2482
6a1bd2a1
JK
24832012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2484
2485 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2486 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2487
10a803e0
RM
24882012-03-16 Roland McGrath <roland@hack.frob.com>
2489
2490 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2491 * configure.in: Use it for both main tree and add-ons.
2492 * configure: Regenerated.
2493
f196c7f7
L
24942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2495
2496 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2497
8848d99d
JM
24982012-03-16 Joseph Myers <joseph@codesourcery.com>
2499
96cbe7f4
JM
2500 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2501 in comment.
2502
8848d99d
JM
2503 [BZ #13851]
2504 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2505 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2506 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2507 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2508 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2509 infinite argument.
2510 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2511 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2512 != 0 for prec == 2.
2513 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2514 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2515 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2516 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2517 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2518 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2519 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2520 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2521 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2522 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2523 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2524 * math/libm-test.inc (cos_test): Add more tests and enable more
2525 tests for long double.
2526 (sin_test): Likewise.
2527 (sincos_test): Likewise.
2528 * sysdeps/i386/fpu/libm-test-ulps: Update.
2529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2530
dd7f4703
DM
25312012-03-16 David S. Miller <davem@davemloft.net>
2532
2533 * sysdeps/sparc/fpu/math_private.h: New file.
2534
006f1daa
DM
25352012-03-15 David S. Miller <davem@davemloft.net>
2536
c0c83bc8
DM
2537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2538 file.
e6a62e18 2539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
2540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2541 file.
e6a62e18
DM
2542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2547 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2548 sysdep routines.
2549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2550
88cb87d9
DM
2551 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2552 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2553
006f1daa 2554 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
2555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2556 sparc-ifunc.h
006f1daa 2557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
2558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2559 Likewise.
2560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2561 Likewise.
006f1daa
DM
2562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
2565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2566 Likewise.
006f1daa
DM
2567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
2571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2572 Likewise.
2573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2574 Likewise.
006f1daa
DM
2575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2593 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2594 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2595 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2596 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2597 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2598 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2599
11e0098e
AS
26002012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2601
2602 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2603 scaling.
2604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2605
e85b09d0
AJ
26062012-03-15 Andreas Jaeger <aj@suse.de>
2607
2608 [BZ #13852]
2609 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2610 ieee754/flt-32 implementation for sin, cos and sincos.
2611 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2612 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2613 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2614 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2615 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2616 ieee754/flt-32 implementation for tan.
2617
2618 * math/libm-test.inc (cos_test): Enable some large input tests for
2619 float as well
2620 (sin_test): Likewise.
2621 (sincos_test): Likewise.
2622 (tan_test): Add tests for large input.
2623
2624 * sysdeps/i386/fpu/libm-test-ulps: Update.
2625
81c64153
AJ
26262012-03-15 Andreas Jaeger <aj@suse.de>
2627
2628 [BZ #13658]
2629 * math/libm-test.inc (cos_test): Add more test cases.
2630 (sin_test): Likewise.
2631 (sincos_test): Likewise.
2632
7bbfa5c6
AJ
26332012-03-15 Andreas Jaeger <aj@suse.de>
2634
2635 [BZ #13837]
2636 * math/libm-test.inc (cos_test): Add a test case for large input
2637 value.
2638 (sin_test): Likewise.
2639 (sincos_test): Likewise.
2640
26412012-03-15 Andreas Jaeger <aj@suse.de>,
2642 Joseph Myers <joseph@codesourcery.com>
2643
2644 [BZ #13658]
0671f479 2645 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
2646 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2647 * sysdeps/i386/fpu/branred.c: Likewise.
2648 * sysdeps/i386/fpu/dosincos.c: Likewise.
2649 * sysdeps/i386/fpu/mpa.c: Likewise.
2650 * sysdeps/i386/fpu/s_cos.S: Likewise.
2651 * sysdeps/i386/fpu/s_sin.S: Likewise.
2652 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2653 * sysdeps/i386/fpu/sincos32.c: Likewise.
2654
2655 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2656 Define.
2657 (libc_feupdateenv_53bit): Define.
2658 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2659 Define.
2660 (libc_feupdateenv_53bit): Define.
2661
2662 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2663 53 bit (without extend i386 double precision).
2664
2665 * math/libm-test.inc (sincos_test): Add tests for large input.
2666 (sin): Likewise.
2667 (cos): Likewise.
2668
2669 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2670
9cad04ea
AS
26712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2672
2673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2674
f7062b9a
DM
26752012-03-15 David S. Miller <davem@davemloft.net>
2676
2677 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2678 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2679 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2680 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
2692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2693 file.
f7062b9a 2694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
2695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2696 file.
f7062b9a 2697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
2698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2699 file.
f7062b9a 2700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
2701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2702 file.
f7062b9a
DM
2703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2704 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2705 fmin/fmax sysdep routines.
2706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2707
7bd951ff
DM
27082012-03-14 David S. Miller <davem@davemloft.net>
2709
559398ab
DM
2710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2716 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2730 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2734 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2735 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2738 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2739 routines.
2740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2741 file.
559398ab 2742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
2743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2744 file.
559398ab 2745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
2746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2747 file.
559398ab 2748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
2749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2750 file.
559398ab 2751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
2752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2753 file.
559398ab 2754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
2755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2756 file.
2757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2758 file.
2759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2760 file.
2761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2762 file.
2763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2764 New file.
2765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2766 file.
2767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2768 file.
559398ab 2769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
2770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2771 file.
559398ab 2772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2774 file.
559398ab 2775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
2776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2777 file.
559398ab 2778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
2779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2780 VIS3 routines.
559398ab
DM
2781
2782 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2783 New file.
2784
5a1c1e32
DM
2785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2786
eae47a36
DM
2787 * sysdeps/sparc/configure.in: New file.
2788 * sysdeps/sparc/configure: Generate.
2789 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2790 * configure: Regenerate.
2791 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2792 * config.make.in (have-as-vis3): New.
2793 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2794 available use -Av9d instead of -Av9a.
2795 * sysdeps/sparc/sparc64/Makefile: Likewise.
2796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
2797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2798 New file.
2799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2800 file.
2801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2802 New file.
2803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2804 file.
eae47a36
DM
2805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2806 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2807 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2808 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2810
c0c83bc8
DM
2811 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2812 fzeros/fnegs to load 0x80000000 into a float register instead of
2813 using the stack.
7bd951ff
DM
2814 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2815
bd951ccb
JM
28162012-03-14 Joseph Myers <joseph@codesourcery.com>
2817
2818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2819 bits/syscall.h.
2820 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2821 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2822 ($(inst_includedir)/bits/syscall.h): Remove rule.
2823 ($(objpfx)bits/syscall.d): Include instead of
2824 $(objpfx)syscall-list.d.
2825 (generated): Change syscall-list.h and syscall-list.d to
2826 bits/syscall.h and bits/syscall.d.
2827
bb4e6db2
RM
28282012-03-14 Roland McGrath <roland@hack.frob.com>
2829
2830 [BZ #13846]
2831 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2832
aa4a2ae1
JM
28332012-03-14 Joseph Myers <joseph@codesourcery.com>
2834
e456826d
JM
2835 [BZ #13841]
2836 * math/s_csqrt.c: Include <float.h>.
2837 (__csqrt): Scale large or subnormal inputs.
2838 * math/s_csqrtf.c: Likewise.
2839 * math/s_csqrtl.c: Likewise.
2840 * math/libm-test.inc (csqrt_test): Add more tests.
2841 * sysdeps/i386/fpu/libm-test-ulps: Update.
2842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2843
aa4a2ae1
JM
2844 [BZ #13840]
2845 * math/libm-test.inc (hypot_test): Add more tests.
2846
7c10fd35
DM
28472012-03-13 David S. Miller <davem@davemloft.net>
2848
2849 [BZ #13840]
2850 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2851 double-precision for the calculation instead of scaling.
2852
f453b98b
JM
28532012-03-13 Joseph Myers <joseph@codesourcery.com>
2854
2855 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2856 manipulate bits before adding and subtracting TWO52[sx].
2857 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2858 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2859 Likewise.
2860 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2861
09a3453f
DM
28622012-03-13 David S. Miller <davem@davemloft.net>
2863
8e59da90
DM
2864 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2865 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2867 rtld-global-offsets.h
2868 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2869
2a8ab7f2
DM
2870 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2871 large parameters.
2872
10f62770
DM
2873 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2874
5f0bdb18
DM
2875 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2876 'err' in the ifdef scope in which it is actually used.
2877
09a3453f
DM
2878 * nss/nss_db/db-init.c: Include string.h
2879
b4b2eb5e
DM
28802012-03-12 David S. Miller <davem@davemloft.net>
2881
98bb2f1c
DM
2882 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2883 masking out of the most significant byte of random value used.
2884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2885 Fix coding style in previous change.
2886
b4b2eb5e
DM
2887 * sysdeps/unix/sysv/linux/kernel-features.h
2888 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2889 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2890 expression.
2891 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2892 later.
2893
6e226b09
DM
28942012-03-11 David S. Miller <davem@davemloft.net>
2895
a1bcbd40
DM
2896 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2897 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2898 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2899 for 'resultvar' otherwise things get truncated on 64-bit.
2900
cb9d6174
DM
2901 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2902 Fix masking out of the most significant byte of random value used.
2903
6e226b09
DM
2904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2905
058c132d
AS
29062012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2907
2908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2909
2d2cd515
DM
29102012-03-09 David S. Miller <davem@davemloft.net>
2911
2912 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2913 variables with appropriate CPP guards.
2914 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2915 frame pointer, not the stack pointer. Correct layout comments. Fix test
2916 on resulting framesize and the management of the outregs buffer for pltexit.
2917 Preserve floating point return values across _dl_call_pltexit call.
2918 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2919 framesize and the management of the outregs buffer for pltexit.
2920 Preserve floating point return values across _dl_call_pltexit
2921 call.
2922 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2923 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2924 (print_exit): Fix format string for return register value.
2925
9a07f9d0
JM
29262012-03-10 Joseph Myers <joseph@codesourcery.com>
2927
2928 * sunrpc/Makefile (others): Add rpcgen.
2929 ($(objpfx)rpcgen): Remove special build rule and dependency on
2930 libc.
2931 * sunrpc/rpcgen.c: New file.
2932
547b5e30
PE
29332012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2934
c524201a
PE
2935 [BZ #13673]
2936 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2937 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2938 * sysdeps/i386/crti.S: Likewise.
2939 * sysdeps/i386/crtn.S: Likewise.
2940 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2941 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2942 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2943 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2944 * sysdeps/sh/crti.S: Likewise.
2945 * sysdeps/sh/crtn.S: Likewise.
2946 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2947
7b6235f2
PE
2948 [BZ #13673]
2949 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2950 with URL.
2951 * locale/programs/locfile-kw.gperf: Likewise.
2952 * locale/programs/charmap-kw.h: Regenerated.
2953 * locale/programs/locfile-kw.h: Likewise.
2954
547b5e30
PE
2955 [BZ #13673]
2956 * intl/plural.y: Replace FSF snail mail address with URL.
2957 * intl/plural.c: Regenerated.
2958
5f0a5dae
RH
29592012-03-09 Richard Henderson <rth@twiddle.net>
2960
2961 * include/math_private.h: Remove file.
2962 * math/math_private.h: Move file ...
2963 * sysdeps/generic/math_private.h: ... here.
2964
b8c03620
RH
2965 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2966 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2967 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2968
4e234f5d 2969 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2970 and <math_private.h>.
2971 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2972 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2973 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2974 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2975 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2978 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2979 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2983 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2984 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2985 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2986 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2987 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2988 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2989 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2990 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2992 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2993 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2994 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2995 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2996 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3002 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3003 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3013 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3014 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3015 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3017 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3018 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3019 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3020 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3021 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3022 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3023 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3024 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3025 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3026 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3027 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3028 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3029 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3030 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3031 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3032 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3033 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3034 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3035 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3036 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3037 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3038 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3039 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3040 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3041 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3042 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3043 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3044 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3045 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3046 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3048 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3049 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3050 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3051 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3052 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3053 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3054 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3055 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3056 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3057 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3058 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3059 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3060 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3061 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3062 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3063 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3064 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3065 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3066 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3067 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3068 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3069 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3070 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3071 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3072 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3073 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3074 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3075 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3076 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3077 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3078 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3079 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3080 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3081 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3082 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3083 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3084 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3085 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3086 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3087 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3088 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3089 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3090 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3091 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3092 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3093 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3094 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3095 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3096 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3097 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3098 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3099 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3100 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3101 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3102 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3103 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3104 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3105 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3106 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3107 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3108 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3109 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3110 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3111 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3112 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3113 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3114 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3115 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3116 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3117 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3118 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3119 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3120 * sysdeps/ieee754/k_standard.c: Likewise.
3121 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3122 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3123 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3124 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3125 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3126 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3127 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3129 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3130 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3131 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3132 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3133 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3134 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3135 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3136 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3137 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3138 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3139 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3140 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3141 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3142 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3143 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3144 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3145 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3146 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3147 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3148 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3149 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3150 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3151 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3152 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3153 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3154 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3155 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3156 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3157 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3158 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3159 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3160 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3161 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3162 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3163 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3164 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3165 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3166 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3167 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3168 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3169 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3171 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3172 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3173 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3177 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3179 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3181 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3182 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3183 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3186 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3187 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3188 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3189 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3190 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3191 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3193 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3194 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3195 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3196 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3197 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3198 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3201 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3202 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3203 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3204 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3205 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3206 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3207 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3208 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3209 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3210 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3211 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3212 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3213 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3214 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3215 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3216 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3217 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3218 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3219 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3220 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3221 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3222 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3223 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3224 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3225 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3226 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3230 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3231 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3232 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3233 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3234 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3235 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3236 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3237 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3238 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3239 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3240 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3241 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3242 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3243 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3244 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3245 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3246 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3247 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3248 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3249 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3250 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3251 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3252 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3253 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3254 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3255 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3256 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3257 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3258 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3259 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3260 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3261 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3262 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3263 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3264 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3265 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3266 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3268 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3269 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3270 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3271 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3272 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3273 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3274 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3275 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3276 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3277 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3278 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3279 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3280 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3281 * sysdeps/ieee754/s_lib_version.c: Likewise.
3282 * sysdeps/ieee754/s_matherr.c: Likewise.
3283 * sysdeps/ieee754/s_signgam.c: Likewise.
3284 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3285 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3286 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3287 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3288 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3289 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3290 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3291 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3292 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3293 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3294 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3295 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3296 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3297 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3298 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3299 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3300 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3301 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3302 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3303 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3304 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3305
1991fa03
JM
33062012-03-09 Joseph Myers <joseph@codesourcery.com>
3307
3308 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3309 * sunrpc/rpc_main.c: Likewise.
3310 * sunrpc/rpc_svcout.c: Likewise.
3311
60d6f5a6
DM
33122012-03-09 David S. Miller <davem@davemloft.net>
3313
3314 * include/math_private.h: New file.
3315
4962050e
JM
33162012-03-09 Joseph Myers <joseph@codesourcery.com>
3317
02a6f887
JM
3318 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3319 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3320 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3321 from <bits/socket_type.h>.
3322 (enum __socket_type): Don't define here.
3323 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3325 bits/socket_type.h.
3326
c6e013c1
JM
3327 [BZ #13566]
3328 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3329 checking __USE_GNU.
3330
4962050e
JM
3331 * Makerules ($(inst_includedir)/%.h): New rule.
3332 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3333 (install-others): Remove variable setting.
3334 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3335
38842f45
RH
33362012-03-08 Richard Henderson <rth@twiddle.net>
3337
67bb6da6
RH
3338 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3339 from macro to inline function; merge with the
3340 !__LIBC_INTERNAL_MATH_INLINES version.
3341 (__ieee754_sqrtf): Likewise.
3342
15194b4b
RH
3343 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3344 to inline function.
3345 (__rintf, __floor, __floorf): Likewise.
3346
64e21ede
RH
3347 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3348 macro to inline function.
3349 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3350
38842f45
RH
3351 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3352 not <math/math_private.h>.
3353
c64bf5fe
DM
33542012-03-08 David S. Miller <davem@davemloft.net>
3355
3356 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3357 copyright year.
3358 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3359
82d86f28
TS
33602012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3361
3362 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3363 normalization.
3364 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3365 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3366
aea5d727
UD
33672012-03-08 Ulrich Drepper <drepper@gmail.com>
3368
3369 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3370 be defined individually, they must be defined as a block. Define
3371 S for printing a string instead of hidint the different by using a
3372 macro for adding the 'l'.
3373 * stdio-common/tst-fphex-wide.c: Adjust.
3374
70bca0a3
MP
33752012-03-07 Marek Polacek <polacek@redhat.com>
3376
3377 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3378
65b81130
MP
33792012-03-08 Marek Polacek <polacek@redhat.com>
3380
3381 [BZ #13806]
3382 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3383 * stdio-common/tst-fphex.c: Define a few macros to make the
3384 test reusable. Use them.
3385 * stdio-common/tst-fphex-wide.c: New file.
3386
07037eeb
JM
33872012-03-08 Joseph Myers <joseph@codesourcery.com>
3388
a7a93d50
JM
3389 [BZ #6911]
3390 * manual/macros.texi (gnusystems): New macro.
3391 (nongnusystems): Likewise.
3392 (gnulinuxhurdsystems): Likewise.
3393 (gnuhurdsystems): Likewise..
3394 (gnulinuxsystems): Likewise.
3395 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3396 variants of the GNU system, not "GNU system".
3397 * manual/conf.texi: Likewise.
3398 * manual/errno.texi: Likewise. Update example of errno macro
3399 expansion.
3400 * manual/filesys.texi: Likewise.
3401 (getumask): Document as specific to GNU/Hurd.
3402 * manual/install.texi: Likewise. Reword some references to
3403 GNU/Linux.
3404 * manual/intro.texi: Likewise.
3405 * manual/io.texi: Likewise.
3406 (File Name Portability): Detail which constraints are inapplicable
3407 to all GNU systems and which are only inapplicable to GNU/Hurd.
3408 * manual/job.texi: Likewise.
3409 * manual/llio.texi: Likewise.
3410 (O_NOCTTY): Document as present on GNU/Linux.
3411 * manual/maint.texi: Likewise.
3412 * manual/memory.texi: Likewise.
3413 * manual/pattern.texi: Likewise.
3414 * manual/pipe.texi: Likewise.
3415 * manual/process.texi: Likewise.
3416 * manual/resource.texi: Likewise.
3417 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3418 child on GNU/Hurd.
3419 * manual/setjmp.texi: Likewise.
3420 * manual/signal.texi: Likewise.
3421 * manual/startup.texi: Likewise.
3422 * manual/stdio.texi: Likewise.
3423 * manual/terminal.texi: Likewise.
3424 (ONLCR): Document as POSIX.
3425 (OXTABS): Document availability on GNU/Linux as XTABS.
3426 (ONOEOT): Document availability separately from other bits.
3427 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3428 * manual/time.texi: Likewise.
3429 * manual/users.texi: Likewise.
3430 * INSTALL: Regenerated.
3431 * sysdeps/gnu/errlist.c: Regenerated.
3432
07037eeb
JM
3433 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3434 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3435 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3436 puts.
3437 * configure: Regenerated.
3438
d1d3431a
JM
34392012-03-07 Joseph Myers <joseph@codesourcery.com>
3440
af6a1e37
JM
3441 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3442 default includes instead of AC_HEADER_CHECK.
3443 * sysdeps/i386/configure: Regenerated.
3444
d1d3431a
JM
3445 [BZ #10716]
3446 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3447 * math/s_cacoshf.c (__cacoshf): Likewise.
3448 * math/s_cacoshl.c (__cacoshl): Likewise.
3449 * math/s_casinh.c (__casinh): Set signs of result from argument.
3450 * math/s_casinhf.c (__casinhf): Likewise.
3451 * math/s_casinhl.c (__casinhl): Likewise.
3452 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3453 (casinh_test): Add more tests.
3454 * sysdeps/i386/fpu/libm-test-ulps: Update.
3455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3456
482ff4da
UD
34572012-03-07 Ulrich Drepper <drepper@gmail.com>
3458
872fda05
UD
3459 * po/zh_TW.po: Update from translation team.
3460
a4300c7a
UD
3461 * login/Makefile (distribute): Remove variable.
3462 * catgets/Makefile: Likewise.
3463 * mach/Makefile: Likewise.
3464 * malloc/Makefile: Likewise.
3465 * misc/Makefile: Likewise.
3466 * iconv/Makefile: Likewise.
3467 * nscd/Makefile: Likewise.
3468 * hurd/Makefile: Likewise.
3469 * manual/Makefile: Likewise.
3470 * locale/Makefile: Likewise.
3471 * intl/Makefile: Likewise.
3472 * conform/Makefile: Likewise.
3473 * nss/Makefile: Likewise.
3474 * time/Makefile: Likewise.
3475 * soft-fp/Makefile: Likewise.
3476 * dirent/Makefile: Likewise.
3477 * gmon/Makefile: Likewise.
3478 * po/Makefile: Likewise.
3479 * rt/Makefile: Likewise.
3480 * socket/Makefile: Likewise.
3481 * math/Makefile: Likewise.
3482 * signal/Makefile: Likewise.
3483 * debug/Makefile: Likewise.
3484 * elf/Makefile: Likewise.
3485 * timezone/Makefile: Likewise.
3486 * stdlib/Makefile: Likewise.
3487 * iconvdata/Makefile: Likewise.
3488 * sunrpc/Makefile: Likewise.
3489 * io/Makefile: Likewise.
3490 * argp/Makefile: Likewise.
3491 * inet/Makefile: Likewise.
3492 * hesiod/Makefile: Likewise.
3493 * grp/Makefile: Likewise.
3494 * csu/Makefile: Likewise.
3495 * wctype/Makefile: Likewise.
3496 * crypt/Makefile: Likewise.
3497 * libio/Makefile: Likewise.
3498 * string/Makefile: Likewise.
3499 * nis/Makefile: Likewise.
3500 * resolv/Makefile: Likewise.
3501 * stdio-common/Makefile: Likewise.
3502 * wcsmbs/Makefile: Likewise.
3503 * dlfcn/Makefile: Likewise.
3504 * posix/Makefile: Likewise.
3505
3b7c4e74 3506 [BZ #6959]
482ff4da
UD
3507 * timezone/Makefile: Don't install timezone files, just the programs
3508 and scripts.
3509
f72ed77d
UD
35102012-03-06 Ulrich Drepper <drepper@gmail.com>
3511
a000466f
UD
3512 * nss/databases.def: Add missing gshadow entry.
3513
f72ed77d
UD
3514 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3515
a53b7a4e
MP
35162012-03-06 Marek Polacek <polacek@redhat.com>
3517
3518 [BZ #13726]
3519 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3520 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3521 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3522 * stdio-common/tst-long-dbl-fphex.c: New file.
3523
e9258400
DM
35242012-03-06 David S. Miller <davem@davemloft.net>
3525
3526 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3527 (set_obp_int): New function.
3528 (get_obp_int): New function.
3529 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
3530 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3531 Avoid unused variable warnings on 'val' and use builtin_expect.
3532 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3533 __builtin_expect.
e9258400
DM
3534 (INLINE_CLONE_SYSCALL): Likewise.
3535
3bd2c723
DM
35362012-03-05 David S. Miller <davem@davemloft.net>
3537
3538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3539
bbb78d03
AS
35402012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3541
884c5db4
AS
3542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3543
bbb78d03
AS
3544 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3545 only for |x| >= 40.
3546 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3547
1c9f702a 35482012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
3549
3550 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3551 Replace gettimeofday with __vdso_gettimeofday.
3552
7be16f82
RM
3553 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3554 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3555 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
3556
3557 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3558 time with __vdso_time.
3559
ed58a00f
JM
35602012-03-05 Joseph Myers <joseph@codesourcery.com>
3561
3562 * manual/lang.texi (size_t): Note types to which size_t may be
3563 equivalent with the GNU C Library, but do not describe when
3564 differences between them are significant.
3565
30ee4ced
AJ
35662012-03-05 Andreas Jaeger <aj@suse.de>
3567
3568 * sysdeps/i386/fpu/libm-test-ulps: Update.
3569
b7cd39e8
JM
35702012-03-05 Joseph Myers <joseph@codesourcery.com>
3571
3572 [BZ #3976]
3573 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3574 (__ieee754_pow): Save and restore rounding mode and use
3575 round-to-nearest for main computations.
3576 * math/libm-test.inc (pow_test_tonearest): New function.
3577 (pow_test_towardzero): Likewise.
3578 (pow_test_downward): Likewise.
3579 (pow_test_upward): Likewise.
3580 (main): Call the new functions.
3581 * sysdeps/i386/fpu/libm-test-ulps: Update.
3582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
3583
3584 [BZ #3976]
3585 * math/libm-test.inc (cosh_test_tonearest): New function.
3586 (cosh_test_towardzero): Likewise.
3587 (cosh_test_downward): Likewise.
3588 (cosh_test_upward): Likewise.
3589 (sinh_test_tonearest): Likewise.
3590 (sinh_test_towardzero): Likewise.
3591 (sinh_test_downward): Likewise.
3592 (sinh_test_upward): Likewise.
3593 (main): Call the new functions.
3594 * sysdeps/i386/fpu/libm-test-ulps: Update.
3595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3596
6c6a98c9
TV
35972012-03-05 Tom de Vries <tom@codesourcery.com>
3598
3599 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3600 default stack guard is set in last bytes.
3601 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3602
21bb2d2e 36032012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 3604
21bb2d2e 3605 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 3606
21bb2d2e
AJ
3607 [BZ #13656]
3608 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3609 possibly allocate from heap instead of stack.
3610 * stdio-common/bug-vfprintf-nargs.c: New file.
3611 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 3612
c6922934
AS
36132012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3614
3615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3616
bc957d53
MP
36172012-03-03 Marek Polacek <polacek@redhat.com>
3618
3619 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3620 * math/math_private.h: Likewise.
3621 * stdlib/tst-strtod.c: Likewise.
3622 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3623 * sysdeps/x86_64/bits/atomic.h: Likewise.
3624
6358490d
DM
36252012-03-02 David S. Miller <davem@davemloft.net>
3626
3627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3631 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3632 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3633 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3634 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3635
01ae168d
RM
36362012-03-02 Roland McGrath <roland@hack.frob.com>
3637
d9a17c07
RM
3638 [BZ #13792]
3639 * manual/examples/README: New file, says the example source files
3640 can be used under GPL>=2.
3641 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3642 line containing just "*/".
3643 * manual/examples/add.c: Add copyright header (GPL>=2).
3644 * manual/examples/argp-ex1.c: Likewise.
3645 * manual/examples/argp-ex2.c: Likewise.
3646 * manual/examples/argp-ex3.c: Likewise.
3647 * manual/examples/argp-ex4.c: Likewise.
3648 * manual/examples/atexit.c: Likewise.
3649 * manual/examples/db.c: Likewise.
3650 * manual/examples/dir.c: Likewise.
3651 * manual/examples/dir2.c: Likewise.
3652 * manual/examples/execinfo.c: Likewise.
3653 * manual/examples/filecli.c: Likewise.
3654 * manual/examples/filesrv.c: Likewise.
3655 * manual/examples/fmtmsgexpl.c: Likewise.
3656 * manual/examples/genpass.c: Likewise.
3657 * manual/examples/inetcli.c: Likewise.
3658 * manual/examples/inetsrv.c: Likewise.
3659 * manual/examples/isockad.c: Likewise.
3660 * manual/examples/longopt.c: Likewise.
3661 * manual/examples/memopen.c: Likewise.
3662 * manual/examples/memstrm.c: Likewise.
3663 * manual/examples/mkfsock.c: Likewise.
3664 * manual/examples/mkisock.c: Likewise.
3665 * manual/examples/mygetpass.c: Likewise.
3666 * manual/examples/pipe.c: Likewise.
3667 * manual/examples/popen.c: Likewise.
3668 * manual/examples/rprintf.c: Likewise.
3669 * manual/examples/search.c: Likewise.
3670 * manual/examples/select.c: Likewise.
3671 * manual/examples/setjmp.c: Likewise.
3672 * manual/examples/sigh1.c: Likewise.
3673 * manual/examples/sigusr.c: Likewise.
3674 * manual/examples/stpcpy.c: Likewise.
3675 * manual/examples/strdupa.c: Likewise.
3676 * manual/examples/strftim.c: Likewise.
3677 * manual/examples/strncat.c: Likewise.
3678 * manual/examples/subopt.c: Likewise.
3679 * manual/examples/swapcontext.c: Likewise.
3680 * manual/examples/termios.c: Likewise.
3681 * manual/examples/testopt.c: Likewise.
3682 * manual/examples/testpass.c: Likewise.
3683 * manual/examples/timeval_subtract.c: Likewise.
3684
01ae168d
RM
3685 [BZ #13792]
3686 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3687 function to ...
3688 * manual/timeval_subtract.c.texi: ... here, new file.
3689
49efa33d
DM
36902012-03-02 David S. Miller <davem@davemloft.net>
3691
3692 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3693
28afd92d
JM
36942012-03-02 Joseph Myers <joseph@codesourcery.com>
3695
804360ed
JM
3696 [BZ #3976]
3697 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3698 (__sin): Save and restore rounding mode and use round-to-nearest
3699 for all computations.
3700 (__cos): Save and restore rounding mode and use round-to-nearest
3701 for all computations.
3702 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3703 <fenv.h>.
3704 (tan): Save and restore rounding mode and use round-to-nearest for
3705 all computations.
3706 * math/libm-test.inc (cos_test_tonearest): New function.
3707 (cos_test_towardzero): Likewise.
3708 (cos_test_downward): Likewise.
3709 (cos_test_upward): Likewise.
3710 (sin_test_tonearest): Likewise.
3711 (sin_test_towardzero): Likewise.
3712 (sin_test_downward): Likewise.
3713 (sin_test_upward): Likewise.
3714 (tan_test_tonearest): Likewise.
3715 (tan_test_towardzero): Likewise.
3716 (tan_test_downward): Likewise.
3717 (tan_test_upward): Likewise.
3718 (main): Call the new functions.
3719 * sysdeps/i386/fpu/libm-test-ulps: Update.
3720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3721
a6d06d7b
JM
3722 [BZ #10135]
3723 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3724 small n, then large n, before computing and testing k+n.
3725 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3727 Likewise.
3728 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3729 Likewise.
3730 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3731 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3732 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3733 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3734 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3735 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3736 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3737 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3738 * math/libm-test.inc (scalbn_test): Add more tests.
3739 (scalbln_test): Likewise.
3740
07e12bb3
JM
3741 * manual/filesys.texi (mode_t): Describe constraints on size and
3742 signedness, not exact equivalence to a particular type.
3743 (ino_t): Likewise.
3744 (ino64_t): Likewise.
3745 (dev_t): Likewise.
3746 (nlink_t): Likewise.
3747 (blkcnt_t): Likewise.
3748 (blkcnt64_t): Likewise.
3749 * manual/llio.texi (off_t): Likewise.
3750
28afd92d
JM
3751 [BZ #3976]
3752 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3753 (__ieee754_exp): Save and restore rounding mode and use
3754 round-to-nearest for all computations.
3755 * math/libm-test.inc (exp_test_tonearest): New function.
3756 (exp_test_towardzero): Likewise.
3757 (exp_test_downward): Likewise.
3758 (exp_test_upward): Likewise.
3759 (main): Call the new functions.
3760 * sysdeps/i386/fpu/libm-test-ulps: Update.
3761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3762
b1eeb65d
CD
37632012-03-01 Chris Demetriou <cgd@google.com>
3764
3765 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3766 have predictable order.
3767
53362a4b
DM
37682012-03-01 David S. Miller <davem@davemloft.net>
3769
3c969083
DM
3770 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3771
759707de
DM
3772 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3773 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3774 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3775 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3776
dfdb8ff2
DM
3777 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3778 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3779 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3781 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3782 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3783 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3784 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3785 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3786
ead89f96
DM
3787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3788
7f66bd07
DM
3789 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3790 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3791 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3792
53362a4b
DM
3793 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3794 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3795 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3796 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3797 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3798 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3799 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3800 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3801 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3802 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3803 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3804 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3805 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3806 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3807 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3808 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3809 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3810 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3811 * sysdeps/sparc/elf/configure: Regenerated.
3812
7b1902cb
JM
38132012-03-01 Joseph Myers <joseph@codesourcery.com>
3814
bec039bc
JM
3815 * configure.in (AS, LD): Require binutils 2.20 or later.
3816 * configure: Regenerated.
3817 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3818 as required minimum version.
3819 * INSTALL: Regenerated.
3820
7b1902cb
JM
3821 [BZ #2541]
3822 [BZ #4108]
3823 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3824 before squaring exponent.
3825 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3826 bottom long double and 27 bits of top long double before squaring
3827 exponent.
3828 * math/libm-test.inc (erfc_test): Add more tests.
3829 * sysdeps/i386/fpu/libm-test-ulps: Update.
3830 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3832
f775c276
KT
38332012-03-01 Kai Tietz <ktietz@redhat.com>
3834
3835 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3836 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3837 containing bit-fields.
3838 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3839 * soft-fp/single.h (_FP_UNION_S): Likewise.
3840 * soft-fp/double.h (_FP_UNION_D): Likewise.
3841
5b8a4d4a
JM
38422012-02-29 Joseph Myers <joseph@codesourcery.com>
3843
0bab47b6
JM
3844 [BZ #13786]
3845 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3846 not include ../strcmp.S.
3847 [USE_AS_STRNCASECMP_L]: Likewise.
3848 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3849 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3850 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3851 (__strncasecmp_l_ia32): Define as alias to
3852 __strncasecmp_l_nonascii.
3853
0fcad3e2
JM
3854 [BZ #5794]
3855 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3856 * sysdeps/i386/fpu/libm-test-ulps: Update.
3857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3858
5b8a4d4a
JM
3859 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3861
8fdceb2e
JL
38622012-02-29 Jeff Law <law@redhat.com>
3863
3864 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3865 out of bounds read.
3866
1f393a11
MP
38672012-02-29 Marek Polacek <polacek@redhat.com>
3868
3869 [BZ #13706]
3870 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3871 * elf/Makefile: Add rules to run tst-unused-dep.out.
3872
8847f037
DM
38732012-02-28 David S. Miller <davem@davemloft.net>
3874
3875 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3876 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3877 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3878 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3879 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3880 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3881
169d7f11
JM
38822012-02-29 Joseph Myers <joseph@codesourcery.com>
3883
3884 * math/libm-test.inc (llround_test): Move one test from
3885 lround_test. Use TEST_f_L in moved test.
3886 (lround_test): Move misplaced test to llround_test. Add testcase
3887 from bug 2561.
3888
39adf059
UD
38892012-02-28 Ulrich Drepper <drepper@gmail.com>
3890
3891 * sysdeps/x86_64/fpu/e_expf.S: New file.
3892 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3893
71b5d1c5
SB
38942012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3895
3896 [BZ #13637]
3897 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3898 of remain_len that may cause incomplete multi-byte character and
3899 false match.
3900 * posix/bug-regex33.c: New file.
3901 * posix/Makefile (tests): Add bug-regex33.
3902
1f77f049
JM
39032012-02-28 Joseph Myers <joseph@codesourcery.com>
3904
3905 * manual/macros.texi: New file.
3906 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3907 * manual/libc.texinfo: Include macros.texi.
3908 * manual/creatute.texi: Likewise.
3909 * manual/install.texi: Likewise.
3910 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3911 @glibcadj{} in references to the GNU C Library.
3912 * manual/charset.texi: Likewise.
3913 * manual/conf.texi: Likewise.
3914 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3915 when not using those macros.
3916 * manual/creature.texi: Likewise.
3917 * manual/crypt.texi: Likewise.
3918 * manual/errno.texi: Likewise.
3919 * manual/filesys.texi: Likewise.
3920 * manual/header.texi: Likewise.
3921 * manual/install.texi: Likewise.
3922 * manual/intro.texi: Likewise.
3923 * manual/io.texi: Likewise.
3924 * manual/job.texi: Likewise.
3925 * manual/lang.texi: Likewise.
3926 * manual/libc.texiinfo: Likewise.
3927 * manual/llio.texi: Likewise.
3928 * manual/locale.texi: Likewise.
3929 * manual/maint.texi: Likewise.
3930 * manual/math.texi: Likewise.
3931 * manual/memory.texi: Likewise.
3932 * manual/message.texi: Likewise.
3933 * manual/nss.texi: Likewise.
3934 * manual/pattern.texi: Likewise.
3935 * manual/process.texi: Likewise.
3936 * manual/resource.texi: Likewise.
3937 * manual/search.texi: Likewise.
3938 * manual/setjmp.texi: Likewise.
3939 * manual/signal.texi: Likewise.
3940 * manual/socket.texi: Likewise.
3941 * manual/startup.texi: Likewise.
3942 * manual/stdio.texi: Likewise.
3943 * manual/string.texi: Likewise.
3944 * manual/sysinfo.texi: Likewise.
3945 * manual/syslog.texi: Likewise.
3946 * manual/terminal.texi: Likewise.
3947 * manual/time.texi: Likewise.
3948 * manual/users.texi: Likewise.
3949 * INSTALL: Regenerated.
3950 * NOTES: Regenerated.
d40c5d54 3951 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 3952
450bf206
AS
39532012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3954
3955 * include/dirent.h: Include <dirstream.h> before
3956 <dirent/dirent.h>.
3957
741a235b
DM
39582012-02-28 David S. Miller <davem@davemloft.net>
3959
3960 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3961 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3962 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3963 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3964
d6b5aa58
DM
39652012-02-27 David S. Miller <davem@davemloft.net>
3966
1aff59a3
DM
3967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3969 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3970 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3971
d6b5aa58
DM
3972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3973 frame pointer instead of stack pointer relative arg slot.
3974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3975 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3976 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3977
433f48bf
CD
39782012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3979
3980 [BZ #3992]
3981 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3982
d674b76d
DM
39832012-02-27 David S. Miller <davem@davemloft.net>
3984
3985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3989 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3990 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3991 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3992 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3993
0e7727f7
JM
39942012-02-27 Joseph Myers <joseph@codesourcery.com>
3995
3996 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3997 later. Allow versions 5-9.
43be4ca2 3998 * configure: Regenerated.
0e7727f7
JM
3999 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4000 required minimum version and 4.6 as recommended version. Do not
4001 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4002 * INSTALL: Regenerated.
0e7727f7 4003
a78bc654
DM
40042012-02-27 David S. Miller <davem@davemloft.net>
4005
428d5830
DM
4006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4010 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4011 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4012 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4013 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4014
a78bc654
DM
4015 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4016 manipulate bits before adding and subtracting TWO112[sx].
4017 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4018
4579f81c
RM
40192012-02-27 Roland McGrath <roland@hack.frob.com>
4020
36c8acb4
RM
4021 [BZ #13775]
4022 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4023 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4024 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4025 being in POSIX, because they are in 1003.1-2008.
4026
84ad622b
RM
4027 * rt/tst-aio.c: Include <fcntl.h>.
4028 * rt/tst-aio7.c: Likewise.
4029 * rt/tst-aio64.c: Likewise.
4030
4579f81c
RM
4031 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4032
abd923db
JM
40332012-02-27 Joseph Myers <joseph@codesourcery.com>
4034
4035 * manual/install.texi (--with-headers): Describe headers as
4036 interface headers, not private headers.
4037 (Specific advice for GNU/Linux systems): Describe use of headers
4038 from "make headers_install", not private headers from older
4039 kernels.
43be4ca2 4040 * INSTALL: Regenerated.
abd923db
JM
4041 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4042 Change to 2.6.19.
4043 * sysdeps/unix/sysv/linux/configure: Regenerated.
4044
6664049b
JM
4045 * manual/llio.texi (fclean): Remove documentation.
4046
bb8b6697
JM
4047 * manual/Makefile (libc-texi-generated): New variable. Include
4048 version.texi.
4049 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4050 $(libc-texi-generated), not duplicated list of files.
4051 (version.texi, stamp-version): New rules.
4052 (realclean): Remove $(libc-texi-generated), not individual files
4053 from that list. Do not remove dir-add.texinfo.
4054 * manual/libc.texinfo: Comment out uses of edition numbers and
4055 references to printed manual. Remove last-updated dates.
4056 (EDITION): Comment out.
4057 (ISBN): Likewise.
4058 (VERSION, UPDATED): Remove.
4059 (version.texi): Include.
4060
12e5c3b9
AS
40612012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4062
4063 * sysdeps/posix/spawni.c: Include <signal.h>.
4064 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4065 * sysdeps/pthread/aio_fsync.c: Likewise.
4066
4efeffc1 40672012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4068
ba63ba08
UD
4069 * conform/Makefile (tests): Run only when not cross-compiling and
4070 when fast-check is not defined.
4071
d94a4670
UD
4072 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4073 * conform/data/limits.h-data: Fixes for POSIX2008.
4074 * conform/run-conformtest.sh: Run all tests.
4075 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4076 headers.
4077 * include/bits/dlfcn.h: Likewise.
4078 * include/langinfo.h: Likewise.
4079 * include/monetary.h: Likewise.
4080 * include/sys/poll.h: Likewise.
4081
4082 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4083 for __USE_GNU.
4084 * posix/spawn.h: Define __need_sigset_t.
4085 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4086 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4087 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4088 to get sigevent_t only.
4089 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4090 only for __USE_GNU.
4091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4092 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4093 process_vm_writev only for __USE_GNU.
4094 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4095
4096 * conform/Makefile: For now ignore errors from run-conformtest.
4097 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4098 POSIX to avoid namespace pollution. Don't prepend headers.
4099 * conform/data/aio.h-data: Fixes for POSIX testing.
4100 * conform/data/fcntl.h-data: Likewise.
4101 * conform/data/glob.h-data: Likewise.
4102 * conform/data/grp.h-data: Likewise.
4103 * conform/data/pthread.h-data: Likewise.
4104 * conform/data/pwd.h-data: Likewise.
4105 * conform/data/signal.h-data: Likewise.
4106 * conform/data/spawn.h-data: Likewise.
4107 * conform/data/stdio.h-data: Likewise.
4108 * conform/data/stdlib.h-data: Likewise.
4109 * conform/data/stropts.h-data: Likewise.
4110 * conform/data/sys/mman.h-data: Likewise.
4111 * conform/data/sys/stat.h-data: Likewise.
4112 * conform/data/sys/types.h-data: Likewise.
4113 * conform/data/sys/wait.h-data: Likewise.
4114 * conform/data/time.h-data: Likewise.
4115 * conform/data/unistd.h-data: Likewise.
4116 * conform/data/utime.h-data: Likewise.
4117
4118 * io/sys/stat.h: fchmod was always in POSIX.
4119 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4120 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4121 * rt/aio.h: Define __need_timespec before including <time.h>.
4122 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4123 struct. Add forward declaration of pthread_attr_t and use it in
4124 sigevent.
4125 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4126 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4127 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4128 always remove CLK_TCK definition.
4129
c20105c3
AS
41302012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4131
4132 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4133
7a270350
UD
41342012-02-25 Ulrich Drepper <drepper@gmail.com>
4135
31341567
UD
4136 * conform/run-conformtest.sh: New file.
4137 * conform/Makefile: Run run-conformtest for tests.
4138 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4139 support.
4140
4141 * conform/data/uchar.h-data: New file.
4142 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4143 * conform/data/arpa/inet.h-data: Likewise.
4144 * conform/data/assert.h-data: Likewise.
4145 * conform/data/complex.h-data: Likewise.
4146 * conform/data/cpio.h-data: Likewise.
4147 * conform/data/ctype.h-data: Likewise.
4148 * conform/data/dirent.h-data: Likewise.
4149 * conform/data/dlfcn.h-data: Likewise.
4150 * conform/data/errno.h-data: Likewise.
4151 * conform/data/fcntl.h-data: Likewise.
4152 * conform/data/float.h-data: Likewise.
4153 * conform/data/fmtmsg.h-data: Likewise.
4154 * conform/data/fnmatch.h-data: Likewise.
4155 * conform/data/ftw.h-data: Likewise.
4156 * conform/data/glob.h-data: Likewise.
4157 * conform/data/grp.h-data: Likewise.
4158 * conform/data/iconv.h-data: Likewise.
4159 * conform/data/inttypes.h-data: Likewise.
4160 * conform/data/langinfo.h-data: Likewise.
4161 * conform/data/libgen.h-data: Likewise.
4162 * conform/data/limits.h-data: Likewise.
4163 * conform/data/locale.h-data: Likewise.
4164 * conform/data/math.h-data: Likewise.
4165 * conform/data/monetary.h-data: Likewise.
4166 * conform/data/mqueue.h-data: Likewise.
4167 * conform/data/ndbm.h-data: Likewise.
4168 * conform/data/net/if.h-data: Likewise.
4169 * conform/data/netdb.h-data: Likewise.
4170 * conform/data/netinet/in.h-data: Likewise.
4171 * conform/data/nl_types.h-data: Likewise.
4172 * conform/data/poll.h-data: Likewise.
4173 * conform/data/pthread.h-data: Likewise.
4174 * conform/data/pwd.h-data: Likewise.
4175 * conform/data/regex.h-data: Likewise.
4176 * conform/data/sched.h-data: Likewise.
4177 * conform/data/search.h-data: Likewise.
4178 * conform/data/semaphore.h-data: Likewise.
4179 * conform/data/setjmp.h-data: Likewise.
4180 * conform/data/signal.h-data: Likewise.
4181 * conform/data/spawn.h-data: Likewise.
4182 * conform/data/stdarg.h-data: Likewise.
4183 * conform/data/stdio.h-data: Likewise.
4184 * conform/data/stdlib.h-data: Likewise.
4185 * conform/data/string.h-data: Likewise.
4186 * conform/data/strings.h-data: Likewise.
4187 * conform/data/stropts.h-data: Likewise.
4188 * conform/data/sys/ipc.h-data: Likewise.
4189 * conform/data/sys/mman.h-data: Likewise.
4190 * conform/data/sys/msg.h-data: Likewise.
4191 * conform/data/sys/resource.h-data: Likewise.
4192 * conform/data/sys/select.h-data: Likewise.
4193 * conform/data/sys/sem.h-data: Likewise.
4194 * conform/data/sys/shm.h-data: Likewise.
4195 * conform/data/sys/socket.h-data: Likewise.
4196 * conform/data/sys/stat.h-data: Likewise.
4197 * conform/data/sys/statvfs.h-data: Likewise.
4198 * conform/data/sys/time.h-data: Likewise.
4199 * conform/data/sys/timeb.h-data: Likewise.
4200 * conform/data/sys/times.h-data: Likewise.
4201 * conform/data/sys/types.h-data: Likewise.
4202 * conform/data/sys/uio.h-data: Likewise.
4203 * conform/data/sys/un.h-data: Likewise.
4204 * conform/data/sys/utsname.h-data: Likewise.
4205 * conform/data/sys/wait.h-data: Likewise.
4206 * conform/data/syslog.h-data: Likewise.
4207 * conform/data/tar.h-data: Likewise.
4208 * conform/data/termios.h-data: Likewise.
4209 * conform/data/utime.h-data: Likewise.
4210 * conform/data/utmpx.h-data: Likewise.
4211 * conform/data/varargs.h-data: Likewise.
4212 * conform/data/wchar.h-data: Likewise.
4213 * conform/data/wctype.h-data: Likewise.
4214 * conform/data/wordexp.h-data: Likewise.
4215
4216 * include/stropts.h: New file.
4217 * include/uchar.h: New file.
4218 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4219 * include/assert.h: Likewise.
4220 * include/ctype.h: Likewise.
4221 * include/dirent.h: Likewise.
4222 * include/dlfcn.h: Likewise.
4223 * include/fcntl.h: Likewise.
4224 * include/fnmatch.h: Likewise.
4225 * include/glob.h: Likewise.
4226 * include/grp.h: Likewise.
4227 * include/libio.h: Likewise.
4228 * include/locale.h: Likewise.
4229 * include/math.h: Likewise.
4230 * include/net/if.h: Likewise.
4231 * include/netdb.h: Likewise.
4232 * include/netinet/in.h: Likewise.
4233 * include/pthread.h: Likewise.
4234 * include/pwd.h: Likewise.
4235 * include/regex.h: Likewise.
4236 * include/sched.h: Likewise.
4237 * include/search.h: Likewise.
4238 * include/setjmp.h: Likewise.
4239 * include/signal.h: Likewise.
4240 * include/stdio.h: Likewise.
4241 * include/stdlib.h: Likewise.
4242 * include/string.h: Likewise.
4243 * include/sys/cdefs.h: Likewise.
4244 * include/sys/mman.h: Likewise.
4245 * include/sys/msg.h: Likewise.
4246 * include/sys/resource.h: Likewise.
4247 * include/sys/select.h: Likewise.
4248 * include/sys/socket.h: Likewise.
4249 * include/sys/stat.h: Likewise.
4250 * include/sys/statvfs.h: Likewise.
4251 * include/sys/time.h: Likewise.
4252 * include/sys/times.h: Likewise.
4253 * include/sys/uio.h: Likewise.
4254 * include/sys/utsname.h: Likewise.
4255 * include/sys/wait.h: Likewise.
4256 * include/termios.h: Likewise.
4257 * include/time.h: Likewise.
4258 * include/ulimit.h: Likewise.
4259 * include/unistd.h: Likewise.
4260 * include/utime.h: Likewise.
4261 * include/wchar.h: Likewise.
4262 * include/wctype.h: Likewise.
4263 * include/wordexp.h: Likewise.
4264
4265 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4266
7a270350
UD
4267 * time/time.h: TIME_UTC must be a macro.
4268 Make timespec_get available for ISO C11 only as well.
4269
7724defc
UD
42702012-02-24 Ulrich Drepper <drepper@gmail.com>
4271
4272 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4273 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4274
6b1d1d46
JM
42752012-02-24 Joseph Myers <joseph@codesourcery.com>
4276
4277 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4278
0f8bbd69
JM
42792012-02-24 Joseph Myers <joseph@codesourcery.com>
4280
4281 * manual/texinfo.tex: Update to version 2012-01-19.16.
4282
66ab80bc
JM
42832012-02-24 Joseph Myers <joseph@codesourcery.com>
4284
4285 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4286
74981cc5
RM
42872012-02-24 Roland McGrath <roland@hack.frob.com>
4288
ee968201
RM
4289 [BZ #13738]
4290 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4291 * manual/fdl-1.3.texi: New file.
4292 * manual/fdl-1.1.texi: File removed.
4293
74981cc5
RM
4294 [BZ #13738]
4295 * manual/libc.texinfo (FDL_VERSION): New @set.
4296 Use it for mention of FDL in cover text.
4297 (Documentation License): Use it in @include file name.
4298
7bb764bc
JM
42992012-02-22 Joseph Myers <joseph@codesourcery.com>
4300 Roland McGrath <roland@hack.frob.com>
4301
4302 [BZ #5461]
4303 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4304 not LONG_LONG_MAX and LONG_LONG_MIN.
4305 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4306 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4307 name.
4308 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4309
6cbeae47
JM
43102012-02-22 Joseph Myers <joseph@codesourcery.com>
4311
4312 [BZ #2547]
4313 [BZ #11365]
4314 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4315 manipulate bits before adding and subtracting TWO23[sx].
4316 * math/libm-test.inc (nearbyint_test): Add more tests.
4317
fe45ce09
JM
43182012-02-22 Joseph Myers <joseph@codesourcery.com>
4319
4320 [BZ #2548]
4321 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4322 bits before adding and subtracting TWO23[sx].
4323 * math/libm-test.inc (rint_test): Add more tests.
4324 (rint_test_tonearest): Likewise.
4325 (rint_test_towardzero): Likewise.
4326 (rint_test_downward): Likewise.
4327 (rint_test_upward: Likewise.
4328
ff3b3d82
JM
43292012-02-22 Joseph Myers <joseph@codesourcery.com>
4330
4331 [BZ #10110]
4332 * include/stdc-predef.h: New file. Extracted from features.h.
4333 * include/features.h: Include stdc-predef.h.
4334 * Makefile (headers): Add stdc-predef.h.
4335 * CONFORMANCE (Compiler limitations): Update.
4336
ef0aab35
JM
43372012-02-22 Joseph Myers <joseph@codesourcery.com>
4338
4339 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4340
58639409
DM
43412012-02-21 David S. Miller <davem@davemloft.net>
4342
4343 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4344 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4345
c0e70b25
DM
43462012-02-20 David S. Miller <davem@davemloft.net>
4347
4348 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4349 using a normal save/restore sequence, rather than allocating a
4350 dummy stack frame just to store a frame pointer and restore.
4351 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4352
fb06851d
JM
43532012-02-21 Joseph Myers <joseph@codesourcery.com>
4354
4355 * manual/install.texi: Fix stray word in line-wrapped comment.
4356
7a8b71c3
DM
43572012-02-20 David S. Miller <davem@davemloft.net>
4358
d510c123
DM
4359 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4360 both binutils and gcc support GOTDATA.
4361
0722d7c2
DM
4362 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4363 "rd %pc" in the PIC register setup sequences.
4364
3d2b3019
DM
4365 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4366 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4367 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4368 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4369 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4371 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4372 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4374 (SYSCALL_ERROR_HANDLER): Likewise.
4375 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4376 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4377 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4378 (SYSCALL_ERROR_HANDLER): Likewise.
4379
c80098a9
DM
4380 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4381 (HAVE_GCC_GOTDATA): New.
4382 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4383 relocation support in both binutils and gcc.
4384 * sysdeps/sparc/elf/configure: Regenerate.
4385
3a2545a0
DM
4386 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4387 * sysdeps/sparc/sparc32/elf/configure: Delete.
4388 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4389 * sysdeps/sparc/sparc64/elf/configure: Delete.
4390 * sysdeps/sparc/elf/configure.in: New file.
4391 * sysdeps/sparc/elf/configure: Generate.
4392
7a8b71c3
DM
4393 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4394 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4395 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4396 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4397 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4398
f1e86fca
JM
43992012-02-21 Joseph Myers <joseph@codesourcery.com>
4400
4401 * manual/install.texi: Do not mention specific glibc version
4402 numbers.
4403 * manual/libc.texinfo (VERSION, UPDATED): Update.
4404 (@copying): Use @copyright{} and range of years.
4405
0e7dfaef
JM
44062012-02-21 Joseph Myers <joseph@codesourcery.com>
4407
4408 [BZ #13695]
4409 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4410 [crti.S not in sysdirs] (generated): Do not append.
4411 [crti.S not in sysdirs] (omit-deps): Likewise.
4412 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4413 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4414 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4415 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4416 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4417 Likewise.
4418 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4419 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4420 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4421 * csu/defs.awk: Remove file.
4422 * sysdeps/generic/initfini.c: Likewise.
4423 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4424 variable.
4425 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4426 Likewise.
4427
599af3ca
JM
44282012-02-20 Joseph Myers <joseph@codesourcery.com>
4429
4430 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4431 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4432 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4433 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4434 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4435 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4436 <bits/epoll.h>.
4437 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4438 (__EPOLL_PACKED): Define to empty if not defined by
4439 <bits/epoll.h>.
4440 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4442 bits/epoll.h.
4443
0e499750
JM
44442012-02-20 Joseph Myers <joseph@codesourcery.com>
4445
4446 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4447 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4448 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4449 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4450 <bits/timerfd.h>.
4451 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4453 bits/timerfd.h.
4454
5ad91f6e
JM
44552012-02-20 Joseph Myers <joseph@codesourcery.com>
4456
4457 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4458 in C locale.
4459 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4460 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4461 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4463
06b99b02
AJ
44642012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4465
4466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4467 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4468
7638c0fd
AS
44692012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4470
4471 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4472 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4473 defined.
4474 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4475 Likewise.
4476 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4477 entry for 2.16.
4478
92221550
AJ
44792012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4480
4481 * math/w_acos.c: Use non-signaling floating-point comparisons.
4482 * math/w_acosf.c: Likewise.
4483 * math/w_acosh.c: Likewise.
4484 * math/w_acoshf.c: Likewise.
4485 * math/w_acoshl.c: Likewise.
4486 * math/w_acosl.c: Likewise.
4487 * math/w_asin.c: Likewise.
4488 * math/w_asinf.c: Likewise.
4489 * math/w_asinl.c: Likewise.
4490 * math/w_atanh.c: Likewise.
4491 * math/w_atanhf.c: Likewise.
4492 * math/w_atanhl.c: Likewise.
4493 * math/w_exp2.c: Likewise.
4494 * math/w_exp2f.c: Likewise.
4495 * math/w_exp2l.c: Likewise.
4496 * math/w_j0.c: Likewise.
4497 * math/w_j0f.c: Likewise.
4498 * math/w_j0l.c: Likewise.
4499 * math/w_j1.c: Likewise.
4500 * math/w_j1f.c: Likewise.
4501 * math/w_j1l.c: Likewise.
4502 * math/w_jn.c: Likewise.
4503 * math/w_jnf.c: Likewise.
4504 * math/w_log.c: Likewise.
4505 * math/w_log10.c: Likewise.
4506 * math/w_log10f.c: Likewise.
4507 * math/w_log10l.c: Likewise.
4508 * math/w_log2.c: Likewise.
4509 * math/w_log2f.c: Likewise.
4510 * math/w_log2l.c: Likewise.
4511 * math/w_logf.c: Likewise.
4512 * math/w_logl.c: Likewise.
4513 * math/w_sqrt.c: Likewise.
4514 * math/w_sqrtf.c: Likewise.
4515 * math/w_sqrtl.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4517 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4518 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4519 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4520 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4521
ebaf36eb
JM
45222012-02-19 Joseph Myers <joseph@codesourcery.com>
4523
4524 [BZ #9739]
4525 * manual/string.texi (strnlen): Use correct parameter name in
4526 equivalent expression.
4527
71c254a6
JM
45282012-02-19 Joseph Myers <joseph@codesourcery.com>
4529
4530 [BZ #11174]
4531 * manual/users.texi (seteuid): Consistently use neweuid for
4532 argument name.
4533
16d2c631
JM
45342012-02-19 Joseph Myers <joseph@codesourcery.com>
4535
4536 [BZ #13704]
4537 * manual/nss.texi (Services in the NSS configuration): Correct
4538 list of services in example configuration file.
4539
cd837b09
NB
45402012-02-19 Nick Bowler <nbowler@draconx.ca>
4541
4542 [BZ #11322]
4543 * manual/arith.texi: Remove statements about negative zero
4544 behaving identically to zero.
4545
02c4bbad
JM
45462012-02-18 Joseph Myers <joseph@codesourcery.com>
4547
4548 [BZ #5993]
4549 * manual/install.texi: Do not document upgrading from libc5.
4550
366842e7
JM
45512012-02-18 Joseph Myers <joseph@codesourcery.com>
4552
4553 [BZ #4596]
4554 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4555
dd54084d
DM
45562012-02-18 David S. Miller <davem@davemloft.net>
4557
4558 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4559 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4560 %o7 across the call.
4561 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4562 instead.
4563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4564 SETUP_PIC_REG_LEAF.
4565 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4566 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4567 * sysdeps/sparc/crtn.S: Likewise.
4568
2bcc53a3
UD
45692012-02-17 Ulrich Drepper <drepper@gmail.com>
4570
4571 * aout/Makefile: Remove.
4572
09c093b5
RK
45732012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4574
4575 [BZ #13058]
4576 * manual/examples/argp-ex1.c (main): Format definition in GNU
4577 style.
4578 * manual/examples/argp-ex2.c (main): Likewise.
4579 * manual/examples/argp-ex3.c (main): Likewise.
4580 * manual/examples/argp-ex4.c (main): Likewise.
4581 * manual/examples/longopt.c (main): Use new-style prototype
4582 definition.
4583 * manual/examples/strncat.c (main): Specify return type and use
4584 (void) for arguments.
4585 * manual/examples/subopt.c (main): Use char **argv argument.
4586
2ee633a2
JM
45872012-02-17 Joseph Myers <joseph@codesourcery.com>
4588
4589 [BZ #5077]
4590 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4591 rounding modes.
4592
0520adde
FB
45932012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4594
4595 [BZ #6907]
4596 * manual/string.texi (strchr): Change when strchrnul is
4597 recommended.
4598
3f4081cd
DGM
45992012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4600
4601 [BZ #174]
4602 * manual/locale.texi (setlocale): Document LOCPATH.
4603
d1b10e78
JM
46042012-02-17 Joseph Myers <joseph@codesourcery.com>
4605
4606 [BZ #10210]
4607 * manual/process.texi (execle): Move @dots{} before last argument.
4608
79c6869c
PB
46092012-02-17 Paul Bolle <pebolle@tiscali.nl>
4610
4611 [BZ #12047]
4612 * manual/charset.texi (Generic Charset Conversion): Fix typo
4613 (LC_TYPE -> LC_CTYPE).
4614
cc6e48bc
NB
46152012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4616
4617 [BZ #5805]
4618 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4619 (scalbnf): Likewise.
4620 (scalbnl): Likewise.
4621 (scalbln): Likewise.
4622 (scalblnf): Likewise.
4623 (scalblnl): Likewise.
4624 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4625 (vwarnx): Likewise.
4626 (verr): Likewise.
4627 (verrx): Likewise.
4628 * manual/filesys.texi (telldir): Use braces around return type.
4629 * manual/llio.texi (mmap): Add space after comma.
4630 (mmap64): Likewise.
4631 * manual/math.texi (jn): Use @var{} on parameter names.
4632 (jnf): Likewise.
4633 (jnl): Likewise.
4634 (yn): Likewise.
4635 (ynf): Likewise.
4636 (ynl): Likewise.
4637 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4638 line.
4639 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4640 "...".
4641 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4642 (sched_get_priority_max): Likewise.
4643 * manual/signal.texi (sigvec): Add space after comma.
4644 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4645 names.
4646 (if_indextoname): Likewise.
4647 (if_freenameindex): Likewise.
4648 (sendto): Use ',' instead of '.' in prototype.
4649 * manual/startup.texi (syscall): Use @dots{} instead of literal
4650 "...".
4651 * manual/stdio.texi (__fpending): Separate initial words of
4652 paragraph from @deftypefun line.
4653 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4654 "...".
4655 (vsyslog): Use @var{} on parameter names.
4656 * manual/terminal.texi (stty): Use @var{} on parameter names.
4657 * manual/users.texi (getutmp): Use @var{} on parameter names.
4658 (getutmpx): Likewise.
4659
5b23062f
JM
46602012-02-17 Joseph Myers <joseph@codesourcery.com>
4661
4662 [BZ #6884]
4663 * manual/stdio.texi (fopen): Fix typos in description of
4664 ",ccs=STRING".
4665
8dee4833
AJ
46662012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4667
4668 [BZ #4026]
4669 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4670 get clock_id definition.
4671
9078ce93
TS
46722012-02-17 Thomas Schwinge <thomas@schwinge.name>
4673
4674 [BZ #4822]
4675 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4676 (madvise): Cast every argument to void on its own.
4677
3835c55f
JM
46782012-02-17 Joseph Myers <joseph@codesourcery.com>
4679
4680 [BZ #9902]
4681 * manual/startup.texi (Exit Status): Fix typo.
4682
35c47e37
JM
46832012-02-17 Joseph Myers <joseph@codesourcery.com>
4684
4685 [BZ #10140]
4686 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4687 * manual/examples/argp-ex2.c: Likewise.
4688 * manual/examples/argp-ex3.c: Likewise.
4689
e3b69ca7
RH
46902012-02-16 Richard Henderson <rth@redhat.com>
4691
4692 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4693 * sysdeps/s390/s390-32/initfini.c: Remove.
4694 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4695 * sysdeps/s390/s390-64/initfini.c: Remove.
4696
df83af67
KK
46972012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4698
4699 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4700 compiler output for sysdeps/generic/initfini.c.
4701 * sysdeps/sh/elf/initfini.c: Remove file.
4702
f63f3380
DM
47032012-02-16 David S. Miller <davem@davemloft.net>
4704
fb59b3a4
DM
4705 [BZ #11494]
4706 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4707
f63f3380
DM
4708 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4709 * sysdeps/sparc/crti.S: New file.
4710 * sysdeps/sparc/crtn.S: New file.
4711 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4712 * sysdeps/sparc/sparc64/Makefile: Likewise.
4713
df6a4a4a
MF
47142012-02-15 Mike Frysinger <vapier@gentoo.org>
4715
6dd8f3dc 4716 [BZ #3335]
df6a4a4a
MF
4717 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4718
1cac7236
RM
47192012-02-15 Roland McGrath <roland@hack.frob.com>
4720
d2c736f8
RM
4721 [BZ #4822]
4722 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4723
1cac7236
RM
4724 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4725 (write, read, close): Likewise.
4726 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4727
8e475601
JM
47282012-02-15 Joseph Myers <joseph@codesourcery.com>
4729
4730 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4731 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4732 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4733 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4734 <bits/signalfd.h>.
4735 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4737 bits/signalfd.h.
4738
ed656b40
MP
47392012-02-14 Marek Polacek <polacek@redhat.com>
4740
4741 * sysdeps/x86_64/crti.S: New file.
4742 * sysdeps/x86_64/crtn.S: New file.
4743 * sysdeps/x86_64/elf/initfini.c: Remove file.
4744
2a979d3a
JM
47452012-02-13 Joseph Myers <joseph@codesourcery.com>
4746
4747 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4748 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4749 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4750 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4751 <bits/inotify.h>.
4752 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4754 bits/inotify.h.
4755
2a418ac3
JM
47562012-02-13 Joseph Myers <joseph@codesourcery.com>
4757
4758 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4759 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4760 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4761 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4762 <bits/eventfd.h>.
4763 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4765 bits/eventfd.h.
4766
fb779be7
TS
47672012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4768
e19e83c5
RM
4769 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4770 __feraiseexcept instead of feraiseexcept.
7c35ffed 4771
fb779be7
TS
4772 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4773 nanosleep invocations.
4774 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4775 strings, and add error checking for a nanosleep invocations.
4776
59ba27a6
PE
47772012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4778
4779 Replace FSF snail mail address with URLs, as per GNU coding standards.
4780 Most of the snail mail addresses were wrong anyway, and omitting
4781 them makes the source code easier to maintain. Almost all of the
4782 changes are to license notices and to locale LC_IDENTIFICATION
4783 addresses, except for this one:
4784 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4785 not its snail mail address.
4786
57b957eb
RH
47872012-02-09 Richard Henderson <rth@twiddle.net>
4788
af850b1c
RH
4789 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4790 of kernel-features.h.
4791
57b957eb
RH
4792 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4793
6b73181a
MP
47942012-02-08 Marek Polacek <polacek@redhat.com>
4795
4796 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4797 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4798 * sysdeps/gnu/_G_config.h: Likewise.
4799 * sysdeps/generic/_G_config.h: Likewise.
4800
26ecc33a
AS
48012012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4802
6c6dbc63
AS
4803 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4804 tests.
4805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4806
e216c012
AS
4807 * sysdeps/powerpc/powerpc32/crti.S: New file.
4808 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4809 * sysdeps/powerpc/powerpc64/crti.S: New file.
4810 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4811
26ecc33a
AS
4812 * Makeconfig (have-initfini): Don't set.
4813 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4814 * configure.in (nopic_initfini): Don't substitute.
4815 * config.h.in (HAVE_INITFINI): Don't #undef.
4816 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4817 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4818
3add8e13
JM
48192012-02-08 Joseph Myers <joseph@codesourcery.com>
4820
4821 Support crti.S and crtn.S provided directly by architectures.
4822 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4823 [crti.S in sysdirs] (omit-deps): Likewise.
4824 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4825 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4826 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4827 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4828 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4829 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4830 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4831 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4832 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4833 compiler output for sysdeps/generic/initfini.c.
4834 * sysdeps/i386/elf/Makefile: Remove file.
4835 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4836
a22f12b4
MP
48372012-02-07 Marek Polacek <polacek@redhat.com>
4838
4839 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4840 * sysdeps/gnu/_G_config.h: Likewise.
4841 * sysdeps/mach/hurd/_G_config.h: Likewise.
4842
148cf100
MP
48432012-02-07 Marek Polacek <polacek@redhat.com>
4844
4845 * math/Makefile (tests): Add tst-CMPLX2.
4846 * math/tst-CMPLX2.c: New file.
4847
cfdc0dd7
AS
48482012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4849
84ba42c4
AS
4850 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4851
cfdc0dd7
AS
4852 * math/libm-test.inc (jn_test): Add missing L suffix.
4853
622c86f4
MP
48542012-02-06 Marek Polacek <polacek@redhat.com>
4855
4856 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4857 * sysdeps/i386/fpu/e_powf.S: Likewise.
4858 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4859 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4860 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4861 * sysdeps/i386/fpu/e_pow.S: Likewise.
4862 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4863 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4864 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4865 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4866 * sysdeps/i386/fpu/e_log2.S: Likewise.
4867 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4868 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4869 * sysdeps/i386/fpu/e_powl.S: Likewise.
4870 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4871 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4872 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4873 * sysdeps/i386/fpu/e_logl.S: Likewise.
4874 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4875 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4876 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4877 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4878 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4879 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4880 * sysdeps/i386/fpu/e_log.S: Likewise.
4881 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4882 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4883 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4884 * sysdeps/i386/fpu/e_logf.S: Likewise.
4885 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4886 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4887 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4888 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4889 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4890 * sysdeps/i386/fpu/e_log10.S: Likewise.
4891 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4892 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4893 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4894 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4895 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4896 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4897 * sysdeps/i386/asm-syntax.h: Likewise.
4898 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4899 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4900 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4901 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4902 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4903 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4904 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4905 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4906 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4907 * sysdeps/powerpc/sysdep.h: Likewise.
4908 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4909 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4910
d4a54ac6
JM
49112012-02-06 Joseph Myers <joseph@codesourcery.com>
4912
4913 [BZ #411]
4914 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4915
314054ea
JM
49162012-02-06 Joseph Myers <joseph@codesourcery.com>
4917
4918 * sysdeps/i386/sysdep.h: Include <features.h>.
4919 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4920 version.
4921
d8e0ca50
JM
49222012-02-05 Joseph Myers <joseph@codesourcery.com>
4923
4924 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4925 Define.
4926 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4927 LOAD_PIC_REG_STR.
4928
b1da7dd9
JM
49292012-02-03 Joseph Myers <joseph@codesourcery.com>
4930
4931 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4932 (SETUP_PIC_REG): Use GET_PC_THUNK.
4933 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4934 macro.
4935
9a1d9254
JM
49362012-02-03 Joseph Myers <joseph@codesourcery.com>
4937
4938 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4939 for non-PIC compilation.
4940 (SETUP_PIC_REG): Add .p2align directive.
4941 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4942 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4947 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4951 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4952 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4953 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4954 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4955 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4956 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4957 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4958 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4959 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4960 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4961 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4962 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4963 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4964 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4965 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4966 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4967 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4968 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4969 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4970 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4971 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4972 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4973 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4974 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4975 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4976 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4977 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4978 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4979 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4980 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4981 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4982
65dc3b75
JM
49832012-02-03 Joseph Myers <joseph@codesourcery.com>
4984
4985 * math/tst-CMPLX.c: Include <stdio.h>.
4986
d55bf177
JM
49872012-01-31 Joseph Myers <joseph@codesourcery.com>
4988
4989 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4990 float.
4991 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4992 * sysdeps/sparc/bits/mathdef.h: Likewise.
4993
69db4f8f
MP
49942012-01-31 Marek Polacek <polacek@redhat.com>
4995
4996 * libio/libio.h: Don't define _PARAMS.
4997 * locale/programs/config.h: Don't define PARAMS.
4998 * stdlib/strtol_l.c: Likewise.
4999 (__strtol_l): Remove PARAMS from the prototype.
5000
41b81892
UD
50012012-01-31 Ulrich Drepper <drepper@gmail.com>
5002
3b49edc0
UD
5003 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5004 names. Just use the correct names. Remove unnecessary wrapper
5005 functions.
5006 * malloc/arena.c: Likewise.
5007 * malloc/hooks.c: Likewise.
5008
41b81892
UD
5009 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5010 ARENA_TEST says not to. Simplify test for creation of a new arena.
5011 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5012
27a25b6e
UD
50132012-01-30 Ulrich Drepper <drepper@gmail.com>
5014
5015 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5016 into tail calls.
5017 (update_get_addr): New function.
5018 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5019 GET_ADDR_MODULE parameter.
5020
c8a89e7d
JM
50212012-01-30 Joseph Myers <joseph@codesourcery.com>
5022
5023 * crypt/cert.c: Remove __STDC__ conditionals.
5024 * crypt/crypt-entry.c: Likewise.
5025 * crypt/crypt_util.c: Likewise.
5026 * libio/filedoalloc.c: Likewise.
5027 * libio/fileops.c: Likewise.
5028 * libio/genops.c: Likewise.
5029 * libio/iofclose.c: Likewise.
5030 * libio/iofdopen.c: Likewise.
5031 * libio/iofopen.c: Likewise.
5032 * libio/iofopen64.c: Likewise.
5033 * libio/iogetdelim.c: Likewise.
5034 * libio/iopopen.c: Likewise.
5035 * libio/obprintf.c: Likewise.
5036 * libio/oldfileops.c: Likewise.
5037 * libio/oldiofclose.c: Likewise.
5038 * libio/oldiofdopen.c: Likewise.
5039 * libio/oldiofopen.c: Likewise.
5040 * libio/oldiopopen.c: Likewise.
5041 * libio/wfiledoalloc.c: Likewise.
5042 * libio/wgenops.c: Likewise.
5043 * locale/programs/xmalloc.c: Likewise.
5044 * misc/syslog.c: Likewise.
5045 * stdio-common/xbug.c: Likewise.
5046 * string/memchr.c: Likewise.
5047 * string/memcmp.c: Likewise.
5048 * string/memrchr.c: Likewise.
5049 * string/rawmemchr.c: Likewise.
5050 * sysdeps/posix/getcwd.c: Likewise.
5051 * time/strftime_l.c: Likewise.
5052
3b100462
JM
50532012-01-30 Joseph Myers <joseph@codesourcery.com>
5054
5055 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5056 * config.make.in (config-cflags-sse2avx): Define.
5057 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5058 Fix typo.
5059
607998af
CM
50602012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5061
5062 * scripts/config.guess: Update from upstream config git repository.
5063 * scripts/config.sub: Likewise.
5064
3601428f
CM
50652012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5066
3ac8b282
CM
5067 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5068 (EM_NUM): Update.
5069 (R_TILEPRO_*, R_TILEGX_*): New macros.
5070
e034841e
CM
5071 * scripts/firstversions.awk: Fix bug in version range handling.
5072
540d7568
CM
5073 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5074
3601428f
CM
5075 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5076
463de862
CM
5077 * include/sys/epoll.h: New file.
5078 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5079 libc_hidden_def.
5080
73139a76
UD
50812012-01-28 Ulrich Drepper <drepper@gmail.com>
5082
96bc5b45
UD
5083 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5084 Avoid unnecessary __WORDSIZE == 64 test.
5085 (fmaxf): Use VEX format if possible.
5086 (fmax): Likewise.
5087 (fminf): Likewise.
5088 (fmin): Likewise.
5089
56f6f6a2
UD
5090 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5091 * math/math_private.h: Remove libc_fegetround* and
5092 libc_fesetround*.
5093 * sysdeps/i386/configure.in: Check for -msse2avx.
5094 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5095 also if SSE2AVX is defined.
5096 Remove libc_fegetround* and libc_fesetround*.
5097 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5098 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5099 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5100 of HAS_YMM_USABLE.
5101 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5102 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5103 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5104 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5105 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5106
73139a76
UD
5107 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5108
d73f93a4
AZ
51092012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5110
5111 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5112 size is not set.
5113 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5114
6ee65ed6
UD
51152012-01-27 Ulrich Drepper <drepper@gmail.com>
5116
5117 [BZ #13618]
5118 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5119 relocation.
5120 * Makeconfig (libm): Define.
5121 * elf/Makefile: Add rules to build and run tst-relsort1.
5122 * elf/tst-relsort1.c: New file.
5123 * elf/tst-relsort1mod1.c: New file.
5124 * elf/tst-relsort1mod2.c: New file.
5125
8db21882
JM
51262012-01-27 Joseph Myers <joseph@codesourcery.com>
5127
5128 * math/s_ldexp.c: Remove __STDC__ conditionals.
5129 * math/s_ldexpf.c: Likewise.
5130 * math/s_ldexpl.c: Likewise.
5131 * math/s_nextafter.c: Likewise.
5132 * math/s_nexttowardf.c: Likewise.
5133 * math/s_significand.c: Likewise.
5134 * math/s_significandf.c: Likewise.
5135 * math/s_significandl.c: Likewise.
5136 * math/w_jnl.c: Likewise.
5137 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5138 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5139 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5140 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5141 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5142 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5143 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5146 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5147 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5148 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5149 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5150 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5151 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5152 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5153 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5154 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5155 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5156 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5157 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5158 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5159 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5160 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5161 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5162 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5163 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5164 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5165 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5166 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5167 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5168 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5169 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5170 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5171 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5172 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5173 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5174 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5175 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5176 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5177 * sysdeps/ieee754/k_standard.c: Likewise.
5178 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5179 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5210 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5215 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5226 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5227 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5238 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5239 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5241 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5244 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5246 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5249 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5250 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5251 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5252 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5253 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5254 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5255 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5256 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5257 * sysdeps/ieee754/s_matherr.c: Likewise.
5258 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5259 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5261 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5262
965a54a4
JM
52632012-01-26 Joseph Myers <joseph@codesourcery.com>
5264
5265 * crypt/md5.h: Remove __STDC__ conditionals.
5266 * libio/libioP.h: Likewise.
5267 * locale/programs/config.h: Likewise.
5268 * sysdeps/generic/sysdep.h: Likewise.
5269 * sysdeps/i386/asm-syntax.h: Likewise.
5270 * sysdeps/s390/asm-syntax.h: Likewise.
5271 * sysdeps/unix/sysdep.h: Likewise.
5272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5274
7071ad79
JM
52752012-01-26 Joseph Myers <joseph@codesourcery.com>
5276
5277 * libio/libio.h: Remove __STDC__ conditionals.
5278 * malloc/obstack.h: Likewise.
5279 * math/complex.h: Likewise.
5280 * math/math.h: Likewise.
5281 * sysdeps/generic/_G_config.h: Likewise.
5282 * sysdeps/gnu/_G_config.h: Likewise.
5283 * sysdeps/mach/hurd/_G_config.h: Likewise.
5284 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5285 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5286 * sysdeps/sparc/bits/mathdef.h: Likewise.
5287
afc5ed09
UD
52882012-01-26 Ulrich Drepper <drepper@gmail.com>
5289
5290 [BZ #13583]
5291 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5292 Clean up HAS_* macros.
afc5ed09 5293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5294 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5295 possible.
5296 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5297 HAS_AVX.
5298 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5299 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5300 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5301 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5302 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5303
bdb6de1d
JM
53042012-01-25 Joseph Myers <joseph@codesourcery.com>
5305
5306 * elf/tst-unique3.cc (gets): Remove declaration.
5307 * elf/tst-unique3lib.cc (gets): Likewise.
5308 * elf/tst-unique3lib2.cc (gets): Likewise.
5309 * elf/tst-unique4.cc (gets): Likewise.
5310
b15549e6
UD
53112012-01-24 Ulrich Drepper <drepper@gmail.com>
5312
5313 * include/stdio.h: Add C++ protection. Add gets declarations and
5314 definitions.
5315 * debug/tst-chk1.c: Don't declare gets here.
5316 * stdio-common/tst-gets.c: Likewise.
5317
a037381f
JM
53182012-01-24 Joseph Myers <joseph@codesourcery.com>
5319
5320 * posix/glob: Remove directory.
5321
f1d4aa75
JM
53222012-01-24 Joseph Myers <joseph@codesourcery.com>
5323
5324 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5325
81c0c964
PT
53262012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5327
5328 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5329 of the non-standard EPFNOSUPPORT.
5330
0ea698ae
ST
53312011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5332
5333 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5334 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5335 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5336
d220b117
UD
53372012-01-21 Ulrich Drepper <drepper@gmail.com>
5338
5339 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5340
3e1aa84e
UD
53412012-01-20 Ulrich Drepper <drepper@gmail.com>
5342
5343 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5344 transient errors.
5345 * nscd/grpcache.c (cache_addgr): Likewise.
5346 * nscd/hstcache.c (cache_addhst): Likewise.
5347 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5348 * nscd/pwdcache.c (cache_addpw): Likewise.
5349 * nscd/servicescache.c (cache_addserv): Likewise.
5350
400aa020
UD
53512012-01-16 Ulrich Drepper <drepper@gmail.com>
5352
d77e7869
UD
5353 * malloc/malloc.c: Various cleanups.
5354 * malloc/hooks.c: Likewise.
5355
400aa020
UD
5356 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5357 * stdlib/bug-fmtmsg1.c: New file.
5358
5359 * stdlib/fmtmsg.c (init): Add missing unlock.
5360 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5361
e0a309cf
MP
53622012-01-12 Marek Polacek <polacek@redhat.com>
5363
5364 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5365 and _GNU_SOURCE.
5366
929d11c7
WS
53672012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5368
5369 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5370 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5371 macro to ensure uniqueness of label name.
5372 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5373 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5374
41d0e869
UD
53752012-01-11 Ulrich Drepper <drepper@gmail.com>
5376
0cc5ed3b
UD
5377 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5378
41d0e869
UD
5379 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5380 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5381 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5383
a47a831a
UD
53842012-01-10 Ulrich Drepper <drepper@gmail.com>
5385
daa891c0
UD
5386 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5387
5388 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5389 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5390 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5391
e58ef0f2
UD
5392 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5393
a47a831a 5394 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5395 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5396 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5397 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5398
5399 * math/bits/math-finite.h: Add ldexp support.
5400
a0bfc9c7
MP
54012012-01-10 Marek Polacek <polacek@redhat.com>
5402
5403 * locale/programs/localedef.h (show_archive_content): Add noreturn
5404 attribute.
5405
d6e97a1d
UD
54062012-01-09 Ulrich Drepper <drepper@gmail.com>
5407
5408 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5409
d5835c26
UD
54102012-01-08 Ulrich Drepper <drepper@gmail.com>
5411
e5f484c6
UD
5412 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5413
d5835c26
UD
5414 * io/Makefile (headers): Add bits/poll2.h.
5415
d1f741e9
WS
54162011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5417
5418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5419 typo #include statement.
5420
ec09c1c4
UD
54212012-01-08 Ulrich Drepper <drepper@gmail.com>
5422
5423 * include/sys/cdefs.h: Define __attribute_alloc_size.
5424 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5425 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5426 * elf/pldd.c: Likewise.
5427 * iconv/iconv_charmap.c: Likewise.
5428 * iconv/iconvconfig.c: Likewise.
5429 * iconv/strtab.c: Likewise.
5430 * locale/programs/locale.c: Likewise.
5431 * locale/programs/localedef.h: Likewise.
5432 * locale/programs/simple-hash.c: Likewise.
5433 * nscd/nscd.h: Likewise.
5434 * nss/makedb.c: Likewise.
5435 * sysdeps/generic/ldconfig.h: Likewise.
5436 * locale/programs/localedef.c: Remove xmalloc prototype.
5437 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5438
20b38e03
PP
54392012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5440
5441 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5442 appropriate.
5443
a0da5fe1
UD
54442012-01-08 Ulrich Drepper <drepper@gmail.com>
5445
1d5a644a 5446 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5447 * math/tst-CMPLX.c: New file.
1d5a644a 5448
8784a6db
UD
5449 * math/complex.h (CMPLXL): Fix typo.
5450
d9a216c0
UD
5451 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5452 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5453 GLIBC_2.16.
5454 * debug/tst-chk1.c: Add poll and ppoll tests.
5455 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5456 * include/sys/poll.h: Add hidden proto for ppoll.
5457 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5458 * sysdeps/mach/hurd/ppoll.c: Likewise.
5459 * io/ppoll.c: Likewise.
5460 * debug/poll_chk.c: New file.
5461 * debug/ppoll_chk.c: New file.
5462 * include/bits/poll2.h: New file.
5463 * io/bits/poll2.h: New file.
5464
ac097f5c
UD
5465 [BZ #1350]
5466 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5467
2119dcfa
UD
5468 * configure.in: static is always set to yes. Remove.
5469 * config.make.in: Don't set build-static.
5470 * Makeconfig: Remove use of build-static.
5471 * dlfcn/Makefile: Likewise.
5472 * elf/Makefile: Likewise.
5473 * math/Makefile: Likewise.
5474 * misc/Makefile: Likewise.
5475 * nptl/Makefile: Likewise.
5476 * sysdeps/mach/hurd/Makefile: Likewise.
5477
121766a9
UD
5478 * configure.in: PWD_P is not used anymore.
5479 * config.make.in: Remove PWD_P entry.
5480
51a1d39c 5481 * configure.in: Remove last remnants of RANLIB.
8720d066 5482 No need to check for signed size_t anymore.
215f4bdc
UD
5483 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5484 and IA-64.
3857022a 5485 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
5486 * aclocal.m4: Likewise.
5487
d3ed7225
UD
5488 * wcsmbs/mbrtoc16.c: Implement using towc function.
5489 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5490 * wcsmbs/wcsmbsload.c: Likewise.
5491 * iconv/gconv_simple.c: Likewise.
5492 * iconv/gconv_int.h: Likewise.
5493 * iconv/gconv_builtin.h: Likewise.
5494 * iconv/iconv_prog.c: Remove CHAR16 handling.
5495
5496 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5497
5498 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5499
a0da5fe1
UD
5500 * configure.in: Remove --with-elf and --enable-bounded options.
5501 Dont set base_machine for ia64. More non-ELF conditions removed.
5502 Remove testing and setting of leading underscore information.
5503 * config.make.in (build-bounded): Set to no.
5504 * config.h.in: Remove NO_UNDERSCORES entry.
5505 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5506 them.
5507 * csu/start.c: Remove !NO_UNDERSCORE code.
5508 * locale/localeinfo.h: Likewise.
5509 * sysdeps/generic/machine-gmon.h: Likewise.
5510 * sysdeps/generic/sysdep.h: Likewise.
5511 * sysdeps/i386/sysdep.h: Likewise.
5512 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5513 * sysdeps/mach/sysdep.h: Likewise.
5514 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5515 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5516 * sysdeps/sh/sysdep.h: Likewise.
5517 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5518 * sysdeps/unix/i386/sysdep.S: Likewise.
5519 * sysdeps/unix/sparc/start.c: Likewise.
5520 * sysdeps/unix/sparc/sysdep.S: Likewise.
5521 * sysdeps/unix/sparc/sysdep.h: Likewise.
5522 * sysdeps/unix/start.c: Likewise.
5523 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5524 * sysdeps/x86_64/sysdep.h: Likewise.
5525
df78418a
UD
55262012-01-07 Ulrich Drepper <drepper@gmail.com>
5527
a784e502
UD
5528 [BZ #13553]
5529 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5530 for non-gcc.
5531 * argp/argp-fmtstream.h: Use const instead __const.
5532 * argp/argp.h: Likewise.
5533 * assert/assert.h: Likewise.
5534 * bits/fenv.h: Likewise.
5535 * bits/sched.h: Likewise.
5536 * bits/sigset.h: Likewise.
5537 * bits/sigthread.h: Likewise.
5538 * catgets/nl_types.h: Likewise.
5539 * conform/data/pthread.h-data: Likewise.
5540 * crypt/crypt-private.h: Likewise.
5541 * crypt/crypt.h: Likewise.
5542 * crypt/crypt_util.c: Likewise.
5543 * ctype/ctype.h: Likewise.
5544 * debug/execinfo.h: Likewise.
5545 * debug/mbsnrtowcs_chk.c: Likewise.
5546 * debug/mbsrtowcs_chk.c: Likewise.
5547 * debug/wcsnrtombs_chk.c: Likewise.
5548 * debug/wcsrtombs_chk.c: Likewise.
5549 * debug/wcstombs_chk.c: Likewise.
5550 * dirent/dirent.h: Likewise.
5551 * dlfcn/dlfcn.h: Likewise.
5552 * elf/neededtest4.c: Likewise.
5553 * grp/grp.h: Likewise.
5554 * gshadow/gshadow.h: Likewise.
5555 * iconv/gconv.h: Likewise.
5556 * iconv/gconv_int.h: Likewise.
5557 * iconv/gconv_simple.c: Likewise.
5558 * iconv/iconv.h: Likewise.
5559 * iconv/loop.c: Likewise.
5560 * iconv/skeleton.c: Likewise.
5561 * include/aio.h: Likewise.
5562 * include/aliases.h: Likewise.
5563 * include/argz.h: Likewise.
5564 * include/arpa/inet.h: Likewise.
5565 * include/assert.h: Likewise.
5566 * include/dirent.h: Likewise.
5567 * include/dlfcn.h: Likewise.
5568 * include/execinfo.h: Likewise.
5569 * include/fcntl.h: Likewise.
5570 * include/fenv.h: Likewise.
5571 * include/glob.h: Likewise.
5572 * include/grp.h: Likewise.
5573 * include/libintl.h: Likewise.
5574 * include/mntent.h: Likewise.
5575 * include/netdb.h: Likewise.
5576 * include/pwd.h: Likewise.
5577 * include/rpc/netdb.h: Likewise.
5578 * include/sched.h: Likewise.
5579 * include/search.h: Likewise.
5580 * include/shadow.h: Likewise.
5581 * include/signal.h: Likewise.
5582 * include/stdio.h: Likewise.
5583 * include/stdlib.h: Likewise.
5584 * include/string.h: Likewise.
5585 * include/sys/socket.h: Likewise.
5586 * include/sys/stat.h: Likewise.
5587 * include/sys/statfs.h: Likewise.
5588 * include/sys/statvfs.h: Likewise.
5589 * include/sys/syslog.h: Likewise.
5590 * include/sys/time.h: Likewise.
5591 * include/sys/uio.h: Likewise.
5592 * include/time.h: Likewise.
5593 * include/unistd.h: Likewise.
5594 * include/utmp.h: Likewise.
5595 * include/wchar.h: Likewise.
5596 * include/wctype.h: Likewise.
5597 * inet/aliases.h: Likewise.
5598 * inet/arpa/inet.h: Likewise.
5599 * inet/netinet/ether.h: Likewise.
5600 * inet/netinet/in.h: Likewise.
5601 * intl/libintl.h: Likewise.
5602 * io/bits/fcntl2.h: Likewise.
5603 * io/fcntl.h: Likewise.
5604 * io/ftw.h: Likewise.
5605 * io/sys/poll.h: Likewise.
5606 * io/sys/stat.h: Likewise.
5607 * io/sys/statfs.h: Likewise.
5608 * io/sys/statvfs.h: Likewise.
5609 * io/utime.h: Likewise.
5610 * libio/bits/stdio.h: Likewise.
5611 * libio/bits/stdio2.h: Likewise.
5612 * libio/libio.h: Likewise.
5613 * libio/libioP.h: Likewise.
5614 * libio/stdio.h: Likewise.
5615 * locale/lc-ctype.c: Likewise.
5616 * locale/locale.h: Likewise.
5617 * login/utmp.h: Likewise.
5618 * malloc/arena.c: Likewise.
5619 * malloc/malloc.c: Likewise.
5620 * malloc/malloc.h: Likewise.
5621 * malloc/mcheck.c: Likewise.
5622 * malloc/mtrace.c: Likewise.
5623 * math/bits/mathcalls.h: Likewise.
5624 * math/fenv.h: Likewise.
5625 * math/math_private.h: Likewise.
5626 * misc/bits/error.h: Likewise.
5627 * misc/bits/syslog.h: Likewise.
5628 * misc/err.h: Likewise.
5629 * misc/error.h: Likewise.
5630 * misc/fstab.h: Likewise.
5631 * misc/mntent.h: Likewise.
5632 * misc/regexp.h: Likewise.
5633 * misc/search.h: Likewise.
5634 * misc/sgtty.h: Likewise.
5635 * misc/sys/mman.h: Likewise.
5636 * misc/sys/syslog.h: Likewise.
5637 * misc/sys/uio.h: Likewise.
5638 * misc/sys/xattr.h: Likewise.
5639 * misc/ttyent.h: Likewise.
5640 * nis/rpcsvc/ypclnt.h: Likewise.
5641 * nss/nss.h: Likewise.
5642 * posix/bits/unistd.h: Likewise.
5643 * posix/fnmatch.h: Likewise.
5644 * posix/glob.h: Likewise.
5645 * posix/sched.h: Likewise.
5646 * posix/spawn.h: Likewise.
5647 * posix/sys/wait.h: Likewise.
5648 * posix/unistd.h: Likewise.
5649 * posix/wordexp.h: Likewise.
5650 * pwd/pwd.h: Likewise.
5651 * resolv/netdb.h: Likewise.
5652 * resource/sys/resource.h: Likewise.
5653 * rt/aio.h: Likewise.
5654 * rt/bits/mqueue2.h: Likewise.
5655 * rt/mqueue.h: Likewise.
5656 * shadow/shadow.h: Likewise.
5657 * signal/signal.h: Likewise.
5658 * socket/send.c: Likewise.
5659 * socket/sendto.c: Likewise.
5660 * socket/sys/socket.h: Likewise.
5661 * stdio-common/printf.h: Likewise.
5662 * stdlib/bits/stdlib.h: Likewise.
5663 * stdlib/fmtmsg.h: Likewise.
5664 * stdlib/monetary.h: Likewise.
5665 * stdlib/stdlib.h: Likewise.
5666 * stdlib/ucontext.h: Likewise.
5667 * streams/stropts.h: Likewise.
5668 * string/argz.h: Likewise.
5669 * string/bits/string2.h: Likewise.
5670 * string/string.h: Likewise.
5671 * string/strings.h: Likewise.
5672 * sunrpc/rpc/auth.h: Likewise.
5673 * sunrpc/rpc/auth_des.h: Likewise.
5674 * sunrpc/rpc/clnt.h: Likewise.
5675 * sunrpc/rpc/netdb.h: Likewise.
5676 * sunrpc/rpc/pmap_clnt.h: Likewise.
5677 * sunrpc/rpc/xdr.h: Likewise.
5678 * sysdeps/generic/inttypes.h: Likewise.
5679 * sysdeps/generic/net/if.h: Likewise.
5680 * sysdeps/generic/sys/swap.h: Likewise.
5681 * sysdeps/gnu/net/if.h: Likewise.
5682 * sysdeps/gnu/utmpx.h: Likewise.
5683 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5684 * sysdeps/i386/i486/bits/string.h: Likewise.
5685 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5686 * sysdeps/s390/bits/string.h: Likewise.
5687 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5688 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5689 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5690 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5691 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5692 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5693 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5694 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5695 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5696 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5697 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5698 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5699 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5700 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5701 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5702 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5703 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5705 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5706 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5707 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5708 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5709 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5710 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5711 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5712 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5713 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5714 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5715 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5716 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5717 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5718 * sysvipc/sys/ipc.h: Likewise.
5719 * sysvipc/sys/msg.h: Likewise.
5720 * sysvipc/sys/sem.h: Likewise.
5721 * sysvipc/sys/shm.h: Likewise.
5722 * termios/termios.h: Likewise.
5723 * time/sys/time.h: Likewise.
5724 * time/time.h: Likewise.
5725 * wcsmbs/bits/wchar2.h: Likewise.
5726 * wcsmbs/uchar.h: Likewise.
5727 * wcsmbs/wchar.h: Likewise.
5728 * wctype/wctype.h: Likewise.
5729
0269750c
UD
5730 [BZ #13551]
5731 * Makeconfig: Remove all but ELF support including AIX support.
5732 * Makerules: Likewise.
5733 * config.h.in: Likewise.
5734 * config.make.in: Likewise.
5735 * configure: Likewise.
5736 * configure.in: Likewise.
5737 * csu/Makefile: Likewise.
5738 * csu/version.c: Likewise.
5739 * debug/Makefile: Likewise.
5740 * dlfcn/Makefile: Likewise.
5741 * elf/Makefile: Likewise.
5742 * extra-lib.mk: Likewise.
5743 * iconv/Makefile: Likewise.
5744 * include/libc-symbols.h: Likewise.
5745 * include/shlib-compat.h: Likewise.
5746 * resolv/Makefile: Likewise.
5747 * resolv/res_libc.c: Likewise.
5748 * rt/Makefile: Likewise.
5749 * sysdeps/i386/asm-syntax.h: Likewise.
5750 * sysdeps/i386/sysdep.h: Likewise.
5751 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5752 * sysdeps/mach/sysdep.h: Likewise.
5753 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5754 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5755 * sysdeps/s390/asm-syntax.h: Likewise.
5756 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5757 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5758 * sysdeps/sh/sysdep.h: Likewise.
5759 * sysdeps/unix/sparc/sysdep.h: Likewise.
5760 * sysdeps/wordsize-32/divdi3.c: Likewise.
5761 * sysdeps/x86_64/sysdep.h: Likewise.
5762
00bbd29b
UD
5763 * argp/Versions: Remove _argp_unlock_xxx.
5764
5765 [BZ #13559]
5766 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5767 * abilist/libBrokenLocale.abilist: Likewise.
5768 * abilist/libanl.abilist: Likewise.
5769 * abilist/libc.abilist: Likewise.
5770 * abilist/libcrypt.abilist: Likewise.
5771 * abilist/libdl.abilist: Likewise.
5772 * abilist/libm.abilist: Likewise.
5773 * abilist/libnsl.abilist: Likewise.
5774 * abilist/libpthread.abilist: Likewise.
5775 * abilist/libresolv.abilist: Likewise.
5776 * abilist/librt.abilist: Likewise.
5777 * abilist/libthread_db.abilist: Likewise.
5778 * abilist/libutil.abilist: Likewise.
5779 * abilist/libnss_db.abilist: New file.
5780
5781 * scripts/abilist.awk: Add support for indirect functions.
5782
a2693a0e
UD
5783 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5784
3f05895f
UD
5785 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5786
ecb6fb48
UD
5787 * shlib-versions: Remove entries for ports architectures.
5788
664f8cb9
UD
5789 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5790 files in ports.
5791 * elf/stackguard-macros.h: Remove support for IA-64.
5792 * elf/tst-auditmod1.c: Likewise.
5793 * sysdeps/generic/ldsodefs.h: Likewise.
5794
7ae81d88
UD
5795 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5796 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5797 configure files.
5798
bdeba135
UD
5799 [BZ #13552]
5800 * configure.in: Remove --enable-omitfp support.
5801 * FAQ.in: Adjust.
5802 * config.make.in: Likewise.
5803 * Makeconfig: Likewise.
5804 * manual/install.texi: Likewise.
5805
d75a0a62
UD
5806 In case anyone cares, the IA-64 architecture could move to ports.
5807 * sysdeps/ia64/*: Removed.
5808 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 5809 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 5810
dcc9756b
UD
5811 [BZ #13555]
5812 * configure.in: Remove entries for unsupported architectures.
5813
d3761ebc 5814 [BZ #13533]
9954432e
UD
5815 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5816 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5817 routines.
5818 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5819 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5820 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5821 fall back to using wcrtomb.
5822 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5823 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5824 renaming.
5825 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5826 * wcsmbs/tst-c16c32-1.c: New file.
5827
5828 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5829 local variable.
5830
c3a87236
UD
5831 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5832
28926a1b
UD
5833 * elf/tst-unique3.cc: Add explicit declaration of gets.
5834 * elf/tst-unique3lib.cc: Likewise.
5835 * elf/tst-unique3lib2.cc: Likewise.
5836 * elf/tst-unique4.cc: Likewise.
5837
df78418a
UD
5838 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5839
8ecd6b2a
JM
58402012-01-06 Joseph Myers <joseph@codesourcery.com>
5841
5842 [BZ #13566]
5843 * assert/assert.h (static_assert): Don't define for C++.
5844 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5845 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5846
9f115170
UD
58472012-01-03 Ulrich Drepper <drepper@gmail.com>
5848
5e0d0300
UD
5849 * iconv/loop.c (single loop): Fix assertion in storing of
5850 remaining bytes.
5851
9f115170
UD
5852 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5853
81fb02b0
UD
58542012-01-01 Ulrich Drepper <drepper@gmail.com>
5855
5856 * posix/getconf.c: Update copyright year.
5857 * nss/getent.c: Likewise.
a316c1f6 5858 * nss/makedb.c: Likewise.
81fb02b0
UD
5859 * iconv/iconvconfig.c: Likewise.
5860 * iconv/iconv_prog.c: Likewise.
5861 * elf/ldconfig.c: Likewise.
a316c1f6
UD
5862 * elf/pldd.c: Likewise.
5863 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
5864 * catgets/gencat.c: Likewise.
5865 * csu/version.c: Likewise.
5866 * elf/ldd.bash.in: Likewise.
5867 * elf/sprof.c (print_version): Likewise.
5868 * locale/programs/locale.c: Likewise.
5869 * locale/programs/localedef.c: Likewise.
a316c1f6 5870 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
5871 * nscd/nscd.c (print_version): Likewise.
5872 * debug/xtrace.sh: Likewise.
5873 * malloc/memusage.sh: Likewise.
5874 * malloc/mtrace.pl: Likewise.
5875 * debug/catchsegv.sh: Likewise.
5876
2ba92745
JJ
58772011-12-30 Jakub Jelinek <jakub@redhat.com>
5878
5879 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5880 pure attribute.
5881
dadebdae
UD
58822011-12-24 Ulrich Drepper <drepper@gmail.com>
5883
d3761ebc 5884 [BZ #13533]
db6af3eb
UD
5885 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5886 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5887 transformations.
5888 * iconv/gconv_int.h: Likewise.
5889 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5890 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5891 from libc for GLIBC_2.16.
5892 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5893 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5894 * wcsmbs/uchar.h: Really define mbstate_t.
5895 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5896 * wcsmbs/c16rtomb.c: New file.
5897 * wcsmbs/mbrtoc16.c: New file.
5898 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5899 for C/POSIX locale.
5900 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5901 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5902
dadebdae
UD
5903 * wcsmbs/wchar.h: Add missing __restrict.
5904
67371b56
UD
59052011-12-23 Ulrich Drepper <drepper@gmail.com>
5906
74033a25
UD
5907 [BZ #13532]
5908 * time/Makefile (routines): Add timespec_get.
5909 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5910 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5911 timespec for ISO C11.
5912 * time/timespec_get.c: New file.
5913 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5914 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5915
380d7e87
UD
5916 [BZ #13531]
5917 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5918 * stdlib/stdlib.h: Declare aligned_alloc.
5919 * Versions.def: Add GLIBC_2.16 for libc.
5920 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5921
4e9e7a35
UD
5922 [BZ 13527]
5923 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5924 ISO C11.
5925
380d7e87 5926 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
5927 code.
5928
03a71829
UD
5929 [BZ #13528]
5930 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5931
839e283e
UD
5932 [BZ #13529]
5933 * assert/assert.h (static_assert): Define.
5934
ce5294e2 5935 * version.h: Update for 2.16 development version.
90fa7312 5936
8d44e150 5937 [BZ #13526]
d7809905
UD
5938 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5939 _ISOC11_SOURCE.
5940
c0da14cd
UD
5941 * version.h (RELEASE): Bump for 2.15 release.
5942 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5943
530a3249
MP
5944 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5945 Patch by Marek Polacek <mpolacek@redhat.com>.
5946
67371b56
UD
5947 * bits/byteswap.h: Protect long long constants with __extension__.
5948 * sysdeps/i386/bits/byteswap.h: Likewise.
5949 * sysdeps/ia64/bits/byteswap.h: Likewise.
5950 * sysdeps/s390/bits/byteswap.h: Likewise.
5951 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5952
15db4de1
LD
59532011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5954
5955 [BZ #13540]
bbe315ea
LD
5956 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5957 destination buffer.
15db4de1
LD
5958 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5959
2b2596b1
MP
59602011-12-23 Marek Polacek <polacek@redhat.com>
5961
5962 * elf/dl-addr.c (determine_info): Add inline keyword.
5963 * elf/tst-auditmod4b.c (check_avx): Likewise.
5964 * elf/tst-auditmod6b.c (check_avx): Likewise.
5965 * elf/tst-auditmod6c.c (check_avx): Likewise.
5966 * elf/tst-auditmod7b.c (check_avx): Likewise.
5967
70c6c246
UD
59682011-12-23 Ulrich Drepper <drepper@gmail.com>
5969
5970 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5971 !__SSE_MATH__.
5972
c044cf14
LD
59732011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5974
15db4de1 5975 [BZ #13540]
c044cf14
LD
5976 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5977 processing for last bytes.
5978
6b13d9d9
BH
59792011-08-06 Bruno Haible <bruno@clisp.org>
5980
d455f537
BH
5981 [BZ #13061]
5982 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5983 U+0385, not to U+1FEE.
5984
6b13d9d9
BH
5985 [BZ #13062]
5986 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5987 entry for U+00A5 U+0301.
5988
db910efd
UD
59892011-12-22 Ulrich Drepper <drepper@gmail.com>
5990
27deeafc
UD
5991 [BZ #13166]
5992 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5993 buffer for the output is too small.
5994
aed9d171
UD
5995 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5996 optimization.
5997
db910efd
UD
5998 [BZ #13185]
5999 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6000 SSE flags if possible.
6001
2bd779ae
LD
60022011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6003
e7f9dac3 6004 [BZ #13540]
2bd779ae
LD
6005 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6006 processing for last bytes.
6007
154bfc16
JM
60082011-12-22 Joseph Myers <joseph@codesourcery.com>
6009
6010 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6011 (syscall-list-default-options, syscall-list-default-condition)
6012 (syscall-list-includes): Define.
6013 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6014 list of ABIs and options and #if conditions for each ABI. Do not
6015 handle common syscalls between ABIs specially.
6016 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6017 Remove.
6018 (syscall-list-variants, syscall-list-32bit-options)
6019 (syscall-list-32bit-condition, syscall-list-64bit-options)
6020 (syscall-list-64bit-condition): Define.
6021 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6022 (syscall-list-variants, syscall-list-32bit-options)
6023 (syscall-list-32bit-condition, syscall-list-64bit-options)
6024 (syscall-list-64bit-condition): Define.
6025 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6026 Remove.
6027 (syscall-list-variants, syscall-list-32bit-options)
6028 (syscall-list-32bit-condition, syscall-list-64bit-options)
6029 (syscall-list-64bit-condition): Define.
6030 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6031 Remove.
6032 (syscall-list-variants, syscall-list-32bit-options)
6033 (syscall-list-32bit-condition, syscall-list-64bit-options)
6034 (syscall-list-64bit-condition): Define.
6035
21eaf3a5
UD
60362011-12-22 Ulrich Drepper <drepper@gmail.com>
6037
16c6f992
UD
6038 * locale/iso-639.def: Add brx entry.
6039
41043168
UD
6040 [BZ #13328]
6041 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6042 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6043
21eaf3a5
UD
6044 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6045 __feraiseexcept_renamed.
6046
e3a851a2
UD
60472011-12-21 Ulrich Drepper <drepper@gmail.com>
6048
4920765e
UD
6049 [BZ #13538]
6050 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6051 EPOLLET with unsigned values.
6052 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6053 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6054
e3a851a2
UD
6055 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6056 to large cancellation.
6057 * math/s_cacoshf.c: Likewise.
6058 * math/s_cacoshl.c: Likewise.
6059
b27e24b8
RK
60602011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6061
6062 [BZ #13305]
aebefeee 6063 [BZ #12786]
b27e24b8
RK
6064 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6065 * math/s_cacoshf.c: Likewise.
6066 * math/s_cacoshl.c: Likewise.
6067
ee190f67
UD
60682011-12-21 Ulrich Drepper <drepper@gmail.com>
6069
6070 [BZ #13439]
6071 * iconv/gconv.h: Define __GCONV_SWAP.
6072 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6073 * iconvdata/utf-16.c: Likewise.
6074 * iconvdata/utf-32.c: Likewise.
6075
707f25df
AS
60762011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6077
6078 [BZ #13524]
6079 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6080 numerator after shifting it by one limb.
6081
d2daaa1e
RÁE
60822011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6083
6084 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6085 under [__USE_EXTERN_INLINES].
6086
a4647e72
UD
60872011-12-17 Ulrich Drepper <drepper@gmail.com>
6088
6089 [BZ #13446]
6090 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6091
f0b264f1
AZ
60922011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6093
6094 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6095 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6096 optimized code.
6097 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6098 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6099 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6100 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6101 for strncasecmp/strncasecmp_l compilation.
6102 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6103 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6104
8ef4f244
MP
61052011-12-08 Marek Polacek <mpolacek@redhat.com>
6106
6107 [BZ #13484]
6108 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6109 of __asm__.
6110
97ac2654
UD
61112011-12-17 Ulrich Drepper <drepper@gmail.com>
6112
6113 [BZ #13506]
6114 * time/tzfile.c (__tzfile_read): Check values from file header.
6115
91d2a845
WS
61162011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6117
6118 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6119 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6120 * powerpc/powerpc32/dl-start.S: Likewise.
6121 * powerpc/powerpc32/elf/start.S: Likewise.
6122 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6123 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6124 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6125 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6126 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6127 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6128 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6129 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6130 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6131 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6132 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6133 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6134 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6135 * powerpc/powerpc32/memset.S: Likewise.
6136 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6137 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6138 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6139 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6140 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6141 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6142 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6143 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6144 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6145 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6146 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6147 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6148 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6149
a1267ba1
AZ
61502011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6151
6152 * math/libm-test.inc: Added more nearbyint tests.
6153 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6154 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6155 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6156 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6157
ad8ac1bd
RL
61582011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6159
6160 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6161 FD_CLOEXEC.
6162
1d3e4b61
UD
61632011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6164
6165 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6166 Add wcscpy-ssse3 wcscpy-c.
6167 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6168 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6169 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6170 * sysdeps/x86_64/wcschr.S: New file.
6171 * sysdeps/x86_64/wcsrchr.S: New file.
6172 * string/test-strcmp.c: Remove checking of wcscmp function for
6173 wrong alignments.
6174 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6175 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6176 wcsrchr-sse2 wcsrchr-c.
6177 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6178 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6179 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6180 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6181 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6182 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6183 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6184 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6185 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6186 * wcsmbc/wcschr.c (WCSCHR): New macro.
6187
5b330a2d
UD
61882011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6189
6190 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6191 * wcsmbs/test-wcsrchr.c: New file.
6192 * string/test-strrchr.c: Add wcsrchr support.
6193 (WIDE): New macro.
6194 * wcsmbs/test-wcscpy.c: New file.
6195 * string/test-strcpy.c: Add wcscpy support.
6196 (WIDE): New macro.
26428b7c 6197
f039c043
UD
61982011-12-10 Ulrich Drepper <drepper@gmail.com>
6199
6200 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6201 the inner loop.
6202
850fb039
AS
62032011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6204
6205 [BZ #13472]
6206 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6207
4efbd5cb
UD
62082011-12-04 Ulrich Drepper <drepper@gmail.com>
6209
52ff5dd0 6210 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6211 Minor optimizations.
52ff5dd0 6212
4efbd5cb
UD
6213 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6214 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6215 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6216
8a426e12
UD
62172011-12-03 Ulrich Drepper <drepper@gmail.com>
6218
aff2453d
UD
6219 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6220 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6221 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6222 for gcc to avoid warnings.
6223 * inet/Makefile (tests): Add tst-checks.
6224 * inet/tst-checks.c: New file.
6225
6226 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6227 warning.
6228
6229 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6230 __wmemcmp_sse2.
6231
6232 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6233 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6234
8a426e12
UD
6235 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6236
9bea3473
UD
62372011-12-02 Ulrich Drepper <drepper@gmail.com>
6238
3a965496
UD
6239 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6240 problem.
6241
9bea3473
UD
6242 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6243
f101631b
UD
62442011-11-29 Joseph Myers <joseph@codesourcery.com>
6245
6246 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6247 conditional on GCC version.
6248 (__arch_compare_and_exchange_val_8_acq)
6249 (__arch_compare_and_exchange_val_16_acq)
6250 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6251 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6252 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6253
a98275aa
UD
62542011-12-02 Joseph Myers <joseph@codesourcery.com>
6255
6256 * sysdeps/sh/backtrace.c: New file.
6257
d4cc29a2
AS
62582011-12-02 Andreas Schwab <schwab@redhat.com>
6259
6260 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6261 parenthesis.
6262
6257af2d
AS
62632011-12-01 Andreas Schwab <schwab@redhat.com>
6264
6265 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6266 falling back to utime.
6267
b5f44c1a
AS
62682011-11-30 Andreas Schwab <schwab@redhat.com>
6269
6270 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6271 expectations for float.
6272
f3a6cc0a
AS
62732011-11-29 Andreas Schwab <schwab@redhat.com>
6274
6275 * locale/weight.h (findidx): Add parameter len.
6276 * locale/weightwc.h (findidx): Likewise.
6277 * posix/fnmatch_loop.c (FCT): Adjust caller.
6278 * posix/regcomp.c (build_equiv_class): Likewise.
6279 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6280 * posix/regexec.c (check_node_accept_bytes): Likewise.
6281 * string/strcoll_l.c (STRCOLL): Likewise.
6282 * string/strxfrm_l.c (STRXFRM): Likewise.
6283
9d65ea3a
UD
62842011-11-17 Ulrich Drepper <drepper@gmail.com>
6285
6286 * Makefile.in: Remove CVSOPT handling.
6287 * configure.in: Remove use of AC_REVISION.
6288 * iconvdata/Makefile (distribute): No need to filter out CVS.
6289 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6290 handling.
6291
5583a086
AS
62922011-11-16 Andreas Schwab <schwab@redhat.com>
6293
6294 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6295 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6296 [USE_AS_STRNCASECMP_L]: Likewise.
6297 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6298 NO_TLS_DIRECT_SEG_REFS.
6299 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6300 Fix argument offsets for non-PIC.
6301 [USE_AS_STRNCASECMP_L]: Likewise.
6302 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6303 NO_TLS_DIRECT_SEG_REFS.
6304
d62a8200
UD
63052011-11-15 Ulrich Drepper <drepper@gmail.com>
6306
9d65ea3a 6307 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6308 O_CLOEXEC.
6309 * locale/loadlocale.c (_nl_load_locale): Likewise.
6310
09f93bd3
AS
63112011-11-15 Andreas Schwab <schwab@redhat.com>
6312
446514f9
AS
6313 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6314 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6315 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6316 (SYSCALL_GETTIME): Set errno on error.
6317
09f93bd3
AS
6318 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6319 count references to noai6ai_cached.
6320
312be3f9
UD
63212011-11-15 Ulrich Drepper <drepper@gmail.com>
6322
6323 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6324
6325 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6326 FD_CLOEXEC for /proc/self/maps.
6327
6328 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6329 FD_CLOEXEC for /proc/meminfo.
6330
6331 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6332 gai.conf.
6333
6334 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6335 FD_CLOEXEC for given file.
6336
6337 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6338
6339 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6340 FD_CLOEXEC for /etc/hosts.
6341 (_gethtent): Likewise.
6342
6343 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6344
6345 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6346 cancellation and set FD_CLOEXEC for /etc/netgroup.
6347
6348 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6349 reading /etc/publickey.
6350
6351 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6352 allow cancellation when reading /etc/group.
6353
6354 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6355 cancellation.
6356 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6357
6358 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6359 when using data file.
6360
6361 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6362
6363 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6364 (write_nis_obj): Use "c" and "e" in fopen.
6365
6366 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6367
6368 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6369
6370 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6371
6372 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6373
6374 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6375 locale.alias.
6376
6377 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6378
6379 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6380
6381 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6382
6383 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6384 file parsing and set FD_CLOEXEC.
6385
82af0fa8
UD
63862011-11-14 Ulrich Drepper <drepper@gmail.com>
6387
6388 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6389
a5fb313c
AS
63902011-11-14 Andreas Schwab <schwab@redhat.com>
6391
6392 * malloc/arena.c (arena_get2): Don't call reused_arena when
6393 _int_new_arena failed.
6394
6abf3465
UD
63952011-11-14 Ulrich Drepper <drepper@gmail.com>
6396
6397 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6398 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6399 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6400 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6401 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6402 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6403 to compile strcasecmp and strncasecmp.
6404 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6405 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6406
6407 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6408
76e3966e
UD
64092011-11-13 Ulrich Drepper <drepper@gmail.com>
6410
6411 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6412 locale-defines.sym to gen-as-const-headers.
6413 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6414 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6415 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6416 to compile strcasecmp and strncasecmp.
6417 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6418 strcasecmp_l and strncasecmp_l.
6419 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6420 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6421 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6422 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6423 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6424 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6425 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6426 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6427 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6428 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6429 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6430
ab26144e
UD
64312011-11-12 Ulrich Drepper <drepper@gmail.com>
6432
7edb22ef
UD
6433 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6434 result of SYSDEP_GETTIME_CPU to retval.
6435 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6436 parameter list to macro. Remove trailing semicolon. Adjust users.
6437
9694fc44
UD
6438 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6439 variable.
6440
8ad89ef8
UD
6441 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6442 mantissa words.
6443 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6444
0c822ef9
UD
6445 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6446 from unused variable.
6447
874e0564
UD
6448 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6449 DWARF definitions.
6450 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6451 for assembling.
6452
3a2edc79
UD
6453 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6454 over namespaces.
6455
f3c2577f
UD
6456 * sunrpc/rpc_prot.c (rejected): Fix case value.
6457
294ce126
UD
6458 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6459 unsigned long long int to avoid warnings in shift.
6460
5e2b63c6
UD
6461 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6462 of use of trans.
6463 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6464 variable tmp.
6465
e7f4b08e
UD
6466 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6467 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6468 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6469
ab26144e
UD
6470 * nis/nis_table.c (nis_list): Use variable of correct type for
6471 result of __follow_path call.
6472
8a6d5255
AZ
64732011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6474
6475 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6476 of math functions ceil, trunc, floor, round, and sqrt, when
6477 avaliable on the platform.
6478 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6479 name clash.
6480 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6481 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6482 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6483
aaddc98c
MP
64842011-10-30 Marek Polacek <mpolacek@redhat.com>
6485
6486 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6487 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6488
95b7042b
RM
64892011-11-11 Roland McGrath <roland@hack.frob.com>
6490
6491 * include/unistd.h: Fix __readlink return type.
6492 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6493
57769839
UD
64942011-11-11 Ulrich Drepper <drepper@gmail.com>
6495
6496 * stdlib/ucontext.h: Undo last change for makecontext.
6497
edc5984d
AS
64982011-11-11 Andreas Schwab <schwab@redhat.com>
6499
98591e58
AS
6500 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6501
edc5984d
AS
6502 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6503 * setjmp/setjmp.h: Mark functions as non-leaf.
6504 * setjmp/bits/setjmp2.h: Likewise.
6505 * stdlib/ucontext.h: Likewise.
6506
77cdc054
AS
65072011-11-10 Andreas Schwab <schwab@redhat.com>
6508
6509 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6510 (reused_arena): Don't check arena limit.
6511 (arena_get2): Atomically check arena limit.
6512
fe72eebd
UD
65132011-11-08 Ulrich Drepper <drepper@gmail.com>
6514
5f078c32
UD
6515 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6516 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6517
fe72eebd
UD
6518 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6519 instructions.
6520
ae1bc2fa
AS
65212011-11-07 Andreas Schwab <schwab@redhat.com>
6522
7583a88d
AS
6523 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6524 handler when locking.
6525
ae1bc2fa
AS
6526 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6527 Fix size of allocated buffer.
6528
10fb0bfa
AS
65292011-11-04 Andreas Schwab <schwab@redhat.com>
6530
998832a4
AS
6531 [BZ #10103]
6532 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6533 declarations for long double functions.
6534 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6535
10fb0bfa
AS
6536 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6537
3d7ba52b
AS
65382011-11-03 Andreas Schwab <schwab@redhat.com>
6539
a9ae54a1
AS
6540 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6541 installed.
6542
3d7ba52b
AS
6543 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6544 is disabled.
6545
bc8db248
ST
65462011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6547
6548 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6549
45b96dd6
AS
65502011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6551
647776f6
AS
6552 * include/alloca.h (stackinfo_alloca_round): Define.
6553 (extend_alloca): Use it.
6554 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6555 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6556 here.
6557
d91a8b93
AS
6558 * scripts/check-local-headers.sh: Ignore libaudit.h.
6559
45b96dd6
AS
6560 * nscd/Makefile (extra-objs): Make recursively expanded.
6561
432d41ce
UD
65622011-11-01 Ulrich Drepper <drepper@gmail.com>
6563
34372fc6
UD
6564 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6565 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6566
fadb59f8
UD
6567 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6568 * posix/tst-rfc3484-2.c: Likewise.
6569 * posix/tst-rfc3484-3.c: Likewise.
6570
78239589
UD
6571 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6572 process_vm_writev.
6573 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6574 process_vm_writev.
6575 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6576 process_vm_writev from libc using GLIBC_2.15 version.
6577
432d41ce
UD
6578 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6579
02f9c6cf
PP
65802011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6581
6582 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6583 stack usage.
6584
3a2c0242
UD
65852011-10-31 Ulrich Drepper <drepper@gmail.com>
6586
f4ec4833
UD
6587 [BZ #13367]
6588 * nss/getent.c (initgroups_keys): Show error message in case no group
6589 names are given.
6590
3a2c0242
UD
6591 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6592 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6593 __bump_nl_timestamp.
6594 * nscd/connections (nscd_init): When host database is served open
6595 netlink socket and request notification about configuration changes.
6596 (main_loop_poll): Track netlink file descriptor and bump timestamp
6597 in case data becomes available.
6598 (main_loop_epoll): Likewise.
6599 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6600 (database_pers_head): Add extra_data fileds.
6601 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6602 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6603 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6604 Adjust caller.
6605 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6606 in6ai data, call __free_in6ai.
6607 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6608 Add -DHAVE_NETLINK.
6609 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6610 interface information. Reuse previous data if netlink timestamp
6611 is not changed.
6612 (__bump_nl_timestamp): New function.
6613 (__free_in6ai): New function.
6614
636064eb
UD
66152011-10-30 Ulrich Drepper <drepper@gmail.com>
6616
6617 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6618 close_not_cancel_no_status here.
6619 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6620
9beb2334
UD
66212011-10-29 Ulrich Drepper <drepper@gmail.com>
6622
6ef76f3b
UD
6623 [BZ #13276]
6624 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6625 return value.
6626
0ffc4f3e 6627 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
6628 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6629 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6630
cb95113e
UD
66312011-07-03 Andreas Jaeger <aj@suse.de>
6632
6633 [BZ #10709]
6634 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6635 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6636 * math/libm-test.inc (sin_test): Add test case.
6637
a1b560ff
UD
66382011-10-29 Ulrich Drepper <drepper@gmail.com>
6639
c9aaface
UD
6640 [BZ #13337]
6641 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6642 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6643
d272e7f1
UD
6644 * elf/chroot_canon.c (chroot_canon): Cleanups.
6645
1bc33071
UD
6646 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6647
1760874d
TJ
6648 [BZ #13335]
6649 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6650 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6651
51d91b18
UD
6652 * string/test-strchr.c: Make usable for strchrnul testing.
6653 * string/test-strchrnul.c: New file.
6654 * string/Makefile (strop-tests): Add strchrnul.
6655
a1b560ff 6656 * po/it.po: Update from translation team.
b611fb81 6657 * po/es.po: Likewise.
a1b560ff 6658
a5b81e1f
UD
66592011-10-28 Ulrich Drepper <drepper@gmail.com>
6660
fd52bc6d
UD
6661 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6662 the three constants needed as parameters. Drop the others.
6663 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6664 __m128i_strloadu_tolower.
52e4b9eb
UD
6665 Create and initialize variable zero and use it in all the places
6666 where _mm_setzero_si128 was used.
fd52bc6d 6667
a5b81e1f
UD
6668 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6669 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6670 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6671 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6672 anymore.
6673 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6674 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6675 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6676 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6677 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6678 __mpranred, __mptan.
6679 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6680 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6681 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6682 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6683 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6684 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6685 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6686 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6687 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6688
b4343346
AS
66892011-10-28 Andreas Schwab <schwab@redhat.com>
6690
0c92d8a8
AS
6691 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6692 redefine if SHARED.
6693 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6694
b4343346
AS
6695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6696 wide char related routines to wcsmbs subdir.
6697
3871f58f
AS
66982011-10-27 Andreas Schwab <schwab@redhat.com>
6699
6700 [BZ #13344]
6701 * misc/sys/cdefs.h (__THROWNL): Define.
6702 * posix/unistd.h: Use __THREADNL instead of __THREAD
6703 for memory synchronization functions.
6704
94d44d9f
RM
67052011-10-26 Roland McGrath <roland@hack.frob.com>
6706
21b64b15 6707 [BZ #13349]
94d44d9f
RM
6708 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6709 doesn't exist.
6710 * manual/stdio.texi (Obstack Streams): Node removed.
6711
f6ce9294
AS
67122011-10-26 Andreas Schwab <schwab@redhat.com>
6713
80479147
AS
6714 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6715 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6716 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6717
f6ce9294
AS
6718 * math/math_private.h (math_force_eval): Allow non-addressable
6719 arguments.
6720 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6721
618280a1
UD
67222011-10-25 Ulrich Drepper <drepper@gmail.com>
6723
e0016b11
UD
6724 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6725 file is not needed.
6726
6727 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6728 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6729 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6730 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6731 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6732 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6733 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6734 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6735 Add AVX variants.
6736 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6737 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6738 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6739 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6740 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6741 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6742 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6743 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6744 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6745 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6746 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6747 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6748 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6749 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6750 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6751 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6752 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6753 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6754 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6755
6756 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6757 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6758
618280a1
UD
6759 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6760 place. Use VEX encoding when compiling for AVX.
6761
37822576
AS
67622011-10-25 Andreas Schwab <schwab@redhat.com>
6763
1f1e1947
AS
6764 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6765 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6766
37822576
AS
6767 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6768
31ea014d
UD
67692011-10-25 Ulrich Drepper <drepper@gmail.com>
6770
d7826aa1 6771 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 6772 useless if() expression.
d7826aa1
UD
6773 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6774 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6779 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6780 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6781 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6782 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6783 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6784 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6785 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6786 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6787 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6788 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6789 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6791 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6792
31ea014d
UD
6793 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6794
16437fec
AS
67952011-10-25 Andreas Schwab <schwab@redhat.com>
6796
6797 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6798 condition.
6799 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6800
31d3cc00
UD
68012011-10-25 Ulrich Drepper <drepper@gmail.com>
6802
6803 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6804 .text section. Avoid duplicate constants.
6805 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6807 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6809 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6810 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6813 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6814 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6815 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6816 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6817 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6818 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6819 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6820 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6821 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6822 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6823 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6824 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6825 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6826 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6827 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6828 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6829 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6830 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6831 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6832 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6833 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6834 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6835 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6836 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6837 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6838 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6839 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6840 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6841 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6842 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6843 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6844 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6845 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6846 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6847 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6848 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6849 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6850
58985aa9
UD
68512011-10-24 Ulrich Drepper <drepper@gmail.com>
6852
202c9deb
UD
6853 * sysdeps/x86_64/dla.h: Move to ...
6854 * sysdeps/x86_64/fpu/dla.h: ...here.
6855 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6856 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 6857
af968f62
UD
6858 * config.make.in: Add have-mfma4 entry.
6859 * configure.in: Substitute libc_cv_cc_fma4.
6860 * math/Makefile (dbl-only-routines): Add sincostab.
6861 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6862 Use __sincostab not sincos.
6863 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6864 name is a macro.
6865 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6866 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6869 using __copysign.
6870 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6871 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6872 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6873 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6874 and __inv.
6875 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6876 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6877 __copysign.
6878 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6879 define aliases when function name is a macro.
6880 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6881 sysdeps/ieee754/dbl-64/sincos.tbl.
6882 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6883 fma4-enabled routines.
6884 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6885 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6886 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6887 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6888 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6889 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6890 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6891 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6892 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6893 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6894 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6895 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6896 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6897 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6898 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6899 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6900 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6901 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6902 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6903 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6904 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6905 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6906 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6907 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6908 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6909 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6910 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6911 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6912 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6913 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6914
58985aa9
UD
6915 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6916 rename.
6917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6918 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6920 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6921 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6922 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6923 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6924 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6925
a201fbcf
AS
69262011-10-24 Andreas Schwab <schwab@redhat.com>
6927
6928 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6929
fc2ee42a
LD
69302011-10-23 Ulrich Drepper <drepper@gmail.com>
6931
bb3129bd
UD
6932 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6933
0275fff8
UD
6934 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6935 prediction.
6936 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6937
2fa2ae85
UD
6938 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6939 Remove unused variable magic_bits.
6940 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6941
fc2ee42a
LD
6942 * string/strnlen.c: Define and use STRNLEN macro.
6943 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6944 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6945 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6946 * wcsmbs/wcslen.c: Define and use WCSLEN.
6947 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6948 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6949 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6950 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6951 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6952 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6953 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6954
ce7dd29f
LD
69552011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6956
6957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6958 strnlen-sse2-no-bsf.
6959 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6960 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6961 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6962 Add strnlen support.
6963 (USE_AS_STRNLEN): New macro.
6964 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6965 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6966 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6967 * sysdeps/x86_64/wcslen.S: New file.
6968
979c70a3
MZ
69692011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6970
6971 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6972 XMM-moves are used for copying on small sizes.
6973
2d09f82f
LD
69742011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6975
6976 * wcsmbs/Makefile (strop-tests): Add wcschr.
6977 * wcsmbs/test-wcschr.c: New file.
6978 * string/test-strchr.c: Update.
6979 Add wcschr support.
6980 (WIDE): New macro.
6981
619fccca
LD
69822011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6983
2d09f82f 6984 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6985 * wcsmbs/test-wcslen.c: New file.
6986 * string/test-strlen.c: Update.
6987 Add wcslen support.
6988 (WIDE): New macro.
6989
09f699ea
UD
69902011-10-23 Ulrich Drepper <drepper@gmail.com>
6991
6992 * po/it.po: Update from translation team.
6993
95584d3b
LD
69942011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6995
6996 * sysdeps/x86_64/wcscmp.S: Update.
6997 Fix wrong comparison semantics.
6998 wcscmp shall use signed comparison not unsigned.
6999 Don't use substraction to avoid overflow bug.
7000 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7001 * wcsmbc/wcscmp.c: Likewise.
7002 * string/test-strcmp.c: Likewise.
7003 Add new tests to check cases with negative values.
7004
c8b3296b
UD
70052011-10-23 Ulrich Drepper <drepper@gmail.com>
7006
7007 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7008 * sysdeps/x86_64/dla.h: ...here. New file.
7009 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7018
246ad57a
AS
70192011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7020
7021 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7022 __ynl_finite aliases.
7023
a1a87169
UD
70242011-10-22 Ulrich Drepper <drepper@gmail.com>
7025
0d355eb7
UD
7026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7027
a1a87169
UD
7028 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7029 define DLA_FMA.
7030 [DLA_FMA] (EMULV): Use DLA_FMA.
7031 [DLA_FMA] (MUL12): Use EMULV.
7032 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7033 that are not needed.
7034 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7037 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7039 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7040 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7041
ee2aafe0
AS
70422011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7043
7044 * math/s_nan.c: Undef __nan.
7045 * math/s_nanf.c: Undef __nanf.
7046 * math/s_nanl.c: Undef __nanl.
7047 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7048 "math_private.h".
7049
bc62c2fb
UD
70502011-10-22 Ulrich Drepper <drepper@gmail.com>
7051
77425c63
UD
7052 * math/s_catan.c: Add branch predictions.
7053 * math/s_catanf.c: Likewise.
7054 * math/s_catanh.c: Likewise.
7055 * math/s_catanhf.c: Likewise.
7056 * math/s_catanhl.c: Likewise.
7057 * math/s_catanl.c: Likewise.
7058 * math/s_cexp.c: Likewise.
7059 * math/s_cexpf.c: Likewise.
7060 * math/s_cexpl.c: Likewise.
7061 * math/s_clog.c: Likewise.
7062 * math/s_clog10.c: Likewise.
7063 * math/s_clog10f.c: Likewise.
7064 * math/s_clog10l.c: Likewise.
7065 * math/s_clogf.c: Likewise.
7066 * math/s_clogl.c: Likewise.
7067 * math/s_csqrt.c: Likewise.
7068 * math/s_csqrtf.c: Likewise.
7069 * math/s_csqrtl.c: Likewise.
7070 * math/s_ctanf.c: Likewise.
7071 * math/s_ctanh.c: Likewise.
7072 * math/s_ctanhf.c: Likewise.
7073 * math/s_ctanhl.c: Likewise.
7074 * math/s_ctanl.c: Likewise.
7075
bc62c2fb
UD
7076 * math/math_private.h: Define __nan, __nanf, __nanl.
7077 * math/s_cacosh.c: Include <math_private.h>.
7078 * math/s_cacoshl.c: Likewise.
7079 * math/s_casinh.c: Likewise.
7080 * math/s_casinhf.c: Likewise.
7081 * math/s_casinhl.c: Likewise.
7082 * math/s_ccos.c: Rely entire on ccosh.
7083 * math/s_ccosf.c: Rely entire on ccoshf.
7084 * math/s_ccosl.c: Rely entirely on ccoshl.
7085 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7086 Remove tests for FE_INVALID.
7087 * math/s_ccoshf.c: Likewise.
7088 * math/s_ccoshl.c: Likewise.
7089 * math/s_csin.c: Likewise.
7090 * math/s_csinf.c: Likewise.
7091 * math/s_csinh.c Likewise.
7092 * math/s_csinhf.c: Likewise.
7093 * math/s_csinhl.c: Likewise.
7094 * math/s_csinl.c: Likewise.
7095 * math/s_ctan.c: Likewise.
7096 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7097 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7098 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7099
8ec250a4
UD
71002011-10-21 Ulrich Drepper <drepper@gmail.com>
7101
c196fed8
UD
7102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7103 compilation problems.
7104
8ec250a4
UD
7105 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7106 __builtin_expect.
7107
8d4f46c6
UD
71082011-10-20 Ulrich Drepper <drepper@gmail.com>
7109
ed72b654
UD
7110 * sysdeps/i386/configure.in: Test for -mfma4 option.
7111 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7112 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7113 COMMON_CPUID_INDEX_80000001.
7114 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7115 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7116 use it if FMA3 is not supported.
7117 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7118
8d4f46c6
UD
7119 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7120 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7121
d45c60c2
AS
71222011-10-20 Andreas Schwab <schwab@redhat.com>
7123
7124 [BZ #12892]
7125 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7126 it would create a cycle with a link time dependency.
7127
d9a4d2ab
UD
71282011-10-19 Ulrich Drepper <drepper@gmail.com>
7129
855d1560
UD
7130 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7131 instruction.
7132 * string/Makefile (strop-tests): Add rawmemchr.
7133 * string/test-rawmemchr.c: New file.
7134
d9a4d2ab
UD
7135 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7136 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7137 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7138 when compiling str{,n}casecmp and when AVX is available. Hook up
7139 new optimized code in initializers.
7140
8f3b1ffe
AS
71412011-10-19 Andreas Schwab <schwab@redhat.com>
7142
7143 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7144 __feraiseexcept instead of feraiseexcept.
7145
d38f1dba
UD
71462011-10-18 Ulrich Drepper <drepper@gmail.com>
7147
d9a8d0ab
UD
7148 * math/math_private.h: Define defaults for libc_fetestexcept and
7149 libc_feupdateenv.
7150 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7151 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7152 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7153 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7154 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7155 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7156 libc_fetestexcept and libc_feupdateenv.
7157
4855e3dd
UD
7158 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7159 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7160 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7161 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7162 libc_feholdexcept_setround.
7163
581d30e3
UD
7164 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7165 Add s_nearbyint-c and s_nearbyintf-c.
7166 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7167 nearbyintf inlines.
7168 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7169 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7170 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7171 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7172
d38f1dba
UD
7173 * math/math_private.h: Define defaults for libc_fegetround,
7174 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7175 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7176 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7177 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7178 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7179 standard functions.
7180 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7181 Remove comments and hacks for old compiler versions.
7182 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7183 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7184 libc_feholdexceptl.
7185
caa6c9d8
AS
71862011-10-18 Andreas Schwab <schwab@redhat.com>
7187
7188 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7189 (__feraiseexcept_renamed): Add __NTH.
7190 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7191 namespace violations.
7192
97c066e6
UD
71932011-10-17 Ulrich Drepper <drepper@gmail.com>
7194
99ce7b04
UD
7195 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7196
1004d182
UD
7197 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7198
228a984d
UD
7199 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7200 recently added interfaces.
7201 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7202
c8553a6a
UD
7203 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7204 about macro parameter expansion.
7205
ed22dcf6
UD
7206 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7207 __NO_MATH_INLINES is defined. Cleanups.
7208
7209 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7210 and __floorf is target has SSE4.1.
7211 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7212 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7213 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7214 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7215
b171c137
UD
7216 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7217 name.
7218 (floorf): Likewise.
7219
97c066e6
UD
7220 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7221
629f62ef
AS
72222011-10-17 Andreas Schwab <schwab@redhat.com>
7223
49a43d80
AS
7224 * misc/sys/cdefs.h: Fix last change.
7225
629f62ef
AS
7226 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7227 database lookup.
7228
e453f6cd
UD
72292011-10-16 Ulrich Drepper <drepper@gmail.com>
7230
aa78043a
UD
7231 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7232
ad0f5cad
UD
7233 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7234 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7235 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7236 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7237 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7238 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7239 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7240 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7241 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7242 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7243 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7244 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7245 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7246 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7247 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7248 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7249 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7250 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7251 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7252 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7253 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7254 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7255
7256 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7257 ceil, ceilf, floor, floorf.
7258
7259 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7260 Perform IRELATIVE relocations last.
7261
e453f6cd
UD
7262 * elf/do-rel.h: Add another parameter nrelative, replacing the
7263 local variable with the same name. Change name of the function
7264 to end in Rel or Rela (uppercase).
7265 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7266 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7267 elf_dynamic_do_##reloc function.
7268
fd5bdc09
UD
72692011-10-15 Ulrich Drepper <drepper@gmail.com>
7270
79b195b5
UD
7271 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7272 is sufficient, at least on modern CPUs.
7273
d4a28569
UD
7274 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7275
b61099b5
UD
7276 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7277 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7278
bcf01e6d
UD
7279 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7280 __expl_finite.
7281 * math/bits/math-finite.h: Add entries for exp.
7282 * math/e_expl.c: Add __*_finite alias.
7283 * sysdeps/i386/fpu/e_exp.S: Likewise.
7284 * sysdeps/i386/fpu/e_expf.S: Likewise.
7285 * sysdeps/i386/fpu/e_expl.c: Likewise.
7286 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7287 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7290 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7291 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7292 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7293
ba1a0d59
UD
7294 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7295 is sufficient, at least on modern CPUs.
7296
fd5bdc09
UD
7297 * ctype/ctype-info.c (__ctype_init): Define.
7298 * include/ctype.h (__ctype_init): Declare.
7299 (__ctype_b_loc): The variable is always initialized.
7300 (__ctype_toupper_loc): Likewise.
7301 (__ctype_tolower_loc): Likewise.
7302 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7303 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7304
7872cfb0
AS
73052011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7306
b468825a
AS
7307 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7308
7872cfb0
AS
7309 * configure.in: Also look in $cxxmachine/include for C++ system
7310 headers.
7311
be13f7bf
LD
73122011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7313
7314 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7315 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7316 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7317 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7318 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7319 (USE_AS_WMEMCMP): New macro.
7320 Fixing indents.
7321 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7322 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7323 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7324 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7325 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7326 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7327 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7328 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7329 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7330 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7331 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7332 (USE_AS_WMEMCMP): New macro.
7333 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7334 * sysdeps/string/test-memcmp.c: Update.
7335 Fix simple_wmemcmp.
7336 Add new tests.
7337 * wcsmbs/wmemcmp.c: Update.
7338 (WMEMCMP): New macro.
7339 Fix overflow bug.
7340
556a2007
AJ
73412011-10-12 Andreas Jaeger <aj@suse.de>
7342
7343 [BZ #13268]
7344 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7345
538faaa7
UD
73462011-10-15 Ulrich Drepper <drepper@gmail.com>
7347
ab6737ff
UD
7348 * libio/iofwide.c (do_length): Avoid warning.
7349
538faaa7
UD
7350 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7351
396a21b1
UD
73522011-10-14 Ulrich Drepper <drepper@gmail.com>
7353
cdf2901f
UD
7354 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7355
38ad40ce
UD
7356 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7357 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7358 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7359 * sysdeps/i386/i686/fpu/e_log.S: New file.
7360 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7361 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7362
396a21b1
UD
7363 * ctype/ctype.h: Add support for inlined isXXX functions when
7364 compiling C++ code.
7365
6b1f68c9
AS
73662011-10-14 Andreas Schwab <schwab@redhat.com>
7367
349290c0
AS
7368 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7369
6b1f68c9
AS
7370 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7371
f2282d42
RM
73722011-10-13 Roland McGrath <roland@hack.frob.com>
7373
7374 [BZ #13291]
7375 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7376
5298ffa8
AS
73772011-10-13 Andreas Schwab <schwab@redhat.com>
7378
714fad23
AS
7379 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7380 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7381 feraiseexcept.
7382
81dcc7fb
AS
7383 * sysdeps/x86_64/memrchr.S: Check for zero size.
7384
5298ffa8
AS
7385 * string/stratcliff.c: Add memrchr tests.
7386
951fbcec
LD
73872011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7388
7389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7390 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7391 rawmemchr-sse2 rawmemchr-sse2-bsf.
7392 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7393 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7394 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7395 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7396 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7397 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7398 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7399 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7400 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7401 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7402 * string/memrchr.c (MEMRCHR): New macro.
7403
0ac5ae23
UD
74042011-10-12 Ulrich Drepper <drepper@gmail.com>
7405
7406 Add integration with gcc's -ffinite-math-only and optimize wrapper
7407 functions in libm.
7408 * Versions.def: Define GLIBC_2.15 version for libm.
7409 * math/Makefile (headers): Add bits/math-finite.h.
7410 * math/bits/math-finite.h: New file.
7411 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7412 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7413 * math/e_acoshl.c: Add __*_finite alias.
7414 * math/e_acosl.c: Likewise.
7415 * math/e_asinl.c: Likewise.
7416 * math/e_atan2l.c: Likewise.
7417 * math/e_atanhl.c: Likewise.
7418 * math/e_coshl.c: Likewise.
7419 * math/e_exp10.c: Likewise.
7420 * math/e_exp10f.c: Likewise.
7421 * math/e_exp10l.c: Likewise.
7422 * math/e_exp2l.c: Likewise.
7423 * math/e_fmodl.c: Likewise.
7424 * math/e_gammal_r.c: Likewise.
7425 * math/e_hypotl.c: Likewise.
7426 * math/e_j0l.c: Likewise.
7427 * math/e_j1l.c: Likewise.
7428 * math/e_jnl.c: Likewise.
7429 * math/e_lgammal_r.c: Likewise.
7430 * math/e_log10l.c: Likewise.
7431 * math/e_log2l.c: Likewise.
7432 * math/e_logl.c: Likewise.
7433 * math/e_powl.c: Likewise.
7434 * math/e_sinhl.c: Likewise.
7435 * math/e_sqrtl.c: Likewise.
7436 * math/e_scalb.c: Completely rewritten and optimized.
7437 * math/e_scalbf.c: Likewise.
7438 * math/e_scalbl.c: Likewise.
7439 * math/w_acos.c: Likewise.
7440 * math/w_acosf.c: Likewise.
7441 * math/w_acosl.c: Likewise.
7442 * math/w_acosh.c: Likewise.
7443 * math/w_acoshf.c: Likewise.
7444 * math/w_acoshl.c: Likewise.
7445 * math/w_asin.c: Likewise.
7446 * math/w_asinf.c: Likewise.
7447 * math/w_asinl.c: Likewise.
7448 * math/w_atan2.c: Likewise.
7449 * math/w_atan2f.c: Likewise.
7450 * math/w_atan2l.c: Likewise.
7451 * math/w_atanh.c: Likewise.
7452 * math/w_atanhf.c: Likewise.
7453 * math/w_atanhl.c: Likewise.
7454 * math/w_exp10.c: Likewise.
7455 * math/w_exp10f.c: Likewise.
7456 * math/w_exp10l.c: Likewise.
7457 * math/w_fmod.c: Likewise.
7458 * math/w_fmodf.c: Likewise.
7459 * math/w_fmodl.c: Likewise.
7460 * math/w_j0.c: Likewise.
7461 * math/w_j0f.c: Likewise.
7462 * math/w_j0l.c: Likewise.
7463 * math/w_j1.c: Likewise.
7464 * math/w_j1f.c: Likewise.
7465 * math/w_j1l.c: Likewise.
7466 * math/w_jn.c: Likewise.
7467 * math/w_jnf.c: Likewise.
7468 * math/w_log.c: Likewise.
7469 * math/w_logf.c: Likewise.
7470 * math/w_logl.c: Likewise.
7471 * math/w_log10.c: Likewise.
7472 * math/w_log10f.c: Likewise.
7473 * math/w_log10l.c: Likewise.
7474 * math/w_log2.c: Likewise.
7475 * math/w_log2f.c: Likewise.
7476 * math/w_log2l.c: Likewise.
7477 * math/w_pow.c: Likewise.
7478 * math/w_powf.c: Likewise.
7479 * math/w_powl.c: Likewise.
7480 * math/w_remainder.c: Likewise.
7481 * math/w_remainderf.c: Likewise.
7482 * math/w_remainderl.c: Likewise.
7483 * math/w_scalb.c: Likewise.
7484 * math/w_scalbf.c: Likewise.
7485 * math/w_scalbl.c: Likewise.
7486 * math/w_sqrt.c: Likewise.
7487 * math/w_sqrtf.c: Likewise.
7488 * math/w_sqrtl.c: Likewise.
7489 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7490 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7491 used.
7492 * math/math_private.h: Declare __kernel_standard_f.
7493 * math/w_cosh.c: Remove cruft and optimize a bit.
7494 * math/w_coshf.c: Likewise.
7495 * math/w_coshl.c: Likewise.
7496 * math/w_exp2.c: Likewise.
7497 * math/w_exp2f.c: Likewise.
7498 * math/w_exp2l.c: Likewise.
7499 * math/w_hypot.c: Likewise.
7500 * math/w_hypotf.c: Likewise.
7501 * math/w_hypotl.c: Likewise.
7502 * math/w_lgamma.c: Likewise.
7503 * math/w_lgamma_r.c: Likewise.
7504 * math/w_lgammaf.c: Likewise.
7505 * math/w_lgammaf_r.c: Likewise.
7506 * math/w_lgammal.c: Likewise.
7507 * math/w_lgammal_r.c: Likewise.
7508 * math/w_sinh.c: Likewise.
7509 * math/w_sinhf.c: Likewise.
7510 * math/w_sinhl.c: Likewise.
7511 * math/w_tgamma.c: Likewise.
7512 * math/w_tgammaf.c: Likewise.
7513 * math/w_tgammal.c: Likewise.
7514 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7515 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7516 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7517 Minor optimizations. Pretty printing. Remove cruft.
7518 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7519 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7520 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7521 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7522 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7523 * sysdeps/i386/fpu/e_asin.S: Likewise.
7524 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7525 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7526 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7527 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7528 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7529 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7530 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7531 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7532 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7533 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7534 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7535 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7536 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7537 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7538 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7539 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7540 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7541 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7542 * sysdeps/i386/fpu/e_log.S: Likewise.
7543 * sysdeps/i386/fpu/e_log10.S: Likewise.
7544 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7545 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7546 * sysdeps/i386/fpu/e_log2.S: Likewise.
7547 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7548 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7549 * sysdeps/i386/fpu/e_logf.S: Likewise.
7550 * sysdeps/i386/fpu/e_logl.S: Likewise.
7551 * sysdeps/i386/fpu/e_pow.S: Likewise.
7552 * sysdeps/i386/fpu/e_powf.S: Likewise.
7553 * sysdeps/i386/fpu/e_powl.S: Likewise.
7554 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7555 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7556 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7557 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7558 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7559 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7560 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7561 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7562 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7569 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7573 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7574 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7577 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7579 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7581 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7582 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7583 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7584 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7585 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7586 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7587 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7588 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7589 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7590 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7591 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7592 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7593 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7594 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7595 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7596 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7597 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7598 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7599 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7600 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7601 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7602 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7603 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7604 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7618 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7619 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7620 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7632 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7635 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7636 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7637 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7638 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7640 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7641 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7643 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7645 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7646 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7648 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7649 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7650 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7651 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7652 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7653 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7654 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7655 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7656 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7657 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7658 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7659 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7660 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7661 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7662 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7663 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7664 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7665 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7666 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7667 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7668 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7669 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7670 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7671 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7672 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7673 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7674 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7675 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7676 (__isnanf): Likewise.
7677 (__isinf_ns): Likewise.
7678 (__isinf_nsf): Likewise.
7679 (__finite): Likewise.
7680 (__finitef): Likewise.
7681 (__ieee754_sqrt): Define as macro.
7682 (__ieee754_sqrtf): Define as macro.
7683 (__ieee754_sqrtl): Define as macro.
7684 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7685 inlined copy.
7686 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7687 __FINITE_MATH_ONLY__ consistent.
7688 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7689
12cc2fcd
AS
76902011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7691
a843a204
AS
7692 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7693 of rawmemchr.
7694
12cc2fcd
AS
7695 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7696
c853acd5
UD
76972011-10-09 Ulrich Drepper <drepper@gmail.com>
7698
7699 * po/ja.po: Update from translation team.
7700
c658d255
RM
77012011-10-08 Roland McGrath <roland@hack.frob.com>
7702
110946e4
RM
7703 * locale/programs/locarchive.c (prepare_address_space): New function.
7704 (create_archive, enlarge_archive, open_archive): Use it.
7705
50604220
RM
7706 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7707 inside [SHARED], where it is used.
7708
c658d255
RM
7709 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7710
7711 * nss/getent.c (netgroup_keys): Remove unused variable.
7712 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7713
6a621eb7
UD
77142011-10-08 Ulrich Drepper <drepper@gmail.com>
7715
7edb55ce
UD
7716 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7717 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7718 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7719 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7720 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7721 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7722 * math/Makefile (libm-calls): Add s_isinf_ns.
7723 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7724 * math/multc3.c: Likewise.
7725 * math/s_casin.c: Likewise.
7726 * math/s_casinf.c: Likewise.
7727 * math/s_casinl.c: Likewise.
7728 * math/s_ccos.c: Likewise.
7729 * math/s_ccosf.c: Likewise.
7730 * math/s_ccosl.c: Likewise.
7731 * math/s_ctan.c: Likewise.
7732 * math/s_ctanf.c: Likewise.
7733 * math/s_ctanh.c: Likewise.
7734 * math/s_ctanhf.c: Likewise.
7735 * math/s_ctanhl.c: Likewise.
7736 * math/s_ctanl.c: Likewise.
7737 * math/w_fmod.c: Likewise.
7738 * math/w_fmodf.c: Likewise.
7739 * math/w_fmodl.c: Likewise.
7740 * math/w_remainder.c: Likewise.
7741 * math/w_remainderf.c: Likewise.
7742 * math/w_remainderl.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7744 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7745 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7747 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7748 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7749 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7750 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7751
187da0ae
UD
7752 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7753 of the number.
7754 * stdio-common/printf_fphex.c: Likewise.
7755 * stdio-common/printf_size.c: Likewise.
7756
9277c064
UD
7757 * math/e_exp10.c: Include math_private.h using <...> not "...".
7758 * math/e_exp10f.c: Likewise.
7759 * math/e_exp10l.c: Likewise.
7760 * math/e_exp2l.c: Likewise.
7761 * math/e_j0l.c: Likewise.
7762 * math/e_j1l.c: Likewise.
7763 * math/e_jnl.c: Likewise.
7764 * math/e_lgammal_r.c: Likewise.
7765 * math/e_rem_pio2l.c: Likewise.
7766 * math/e_scalb.c: Likewise.
7767 * math/e_scalbf.c: Likewise.
7768 * math/e_scalbl.c: Likewise.
7769 * math/k_cosl.c: Likewise.
7770 * math/k_sinl.c: Likewise.
7771 * math/k_tanl.c: Likewise.
7772 * math/s_cacoshf.c: Likewise.
7773 * math/s_catan.c: Likewise.
7774 * math/s_catanf.c: Likewise.
7775 * math/s_catanh.c: Likewise.
7776 * math/s_catanhf.c: Likewise.
7777 * math/s_catanhl.c: Likewise.
7778 * math/s_catanl.c: Likewise.
7779 * math/s_ccosh.c: Likewise.
7780 * math/s_ccoshf.c: Likewise.
7781 * math/s_ccoshl.c: Likewise.
7782 * math/s_cexp.c: Likewise.
7783 * math/s_cexpf.c: Likewise.
7784 * math/s_cexpl.c: Likewise.
7785 * math/s_clog.c: Likewise.
7786 * math/s_clog10.c: Likewise.
7787 * math/s_clog10f.c: Likewise.
7788 * math/s_clog10l.c: Likewise.
7789 * math/s_clogf.c: Likewise.
7790 * math/s_clogl.c: Likewise.
7791 * math/s_csin.c: Likewise.
7792 * math/s_csinf.c: Likewise.
7793 * math/s_csinh.c: Likewise.
7794 * math/s_csinhf.c: Likewise.
7795 * math/s_csinhl.c: Likewise.
7796 * math/s_csinl.c: Likewise.
7797 * math/s_csqrt.c: Likewise.
7798 * math/s_csqrtf.c: Likewise.
7799 * math/s_csqrtl.c: Likewise.
7800 * math/s_ctan.c: Likewise.
7801 * math/s_ctanf.c: Likewise.
7802 * math/s_ctanh.c: Likewise.
7803 * math/s_ctanhf.c: Likewise.
7804 * math/s_ctanhl.c: Likewise.
7805 * math/s_ctanl.c: Likewise.
7806 * math/s_ldexp.c: Likewise.
7807 * math/s_ldexpf.c: Likewise.
7808 * math/s_ldexpl.c: Likewise.
7809 * math/s_significand.c: Likewise.
7810 * math/s_significandf.c: Likewise.
7811 * math/s_significandl.c: Likewise.
7812 * math/w_acos.c: Likewise.
7813 * math/w_acosf.c: Likewise.
7814 * math/w_acosh.c: Likewise.
7815 * math/w_acoshf.c: Likewise.
7816 * math/w_acoshl.c: Likewise.
7817 * math/w_acosl.c: Likewise.
7818 * math/w_asin.c: Likewise.
7819 * math/w_asinf.c: Likewise.
7820 * math/w_asinl.c: Likewise.
7821 * math/w_atan2.c: Likewise.
7822 * math/w_atan2f.c: Likewise.
7823 * math/w_atan2l.c: Likewise.
7824 * math/w_atanh.c: Likewise.
7825 * math/w_atanhf.c: Likewise.
7826 * math/w_atanhl.c: Likewise.
7827 * math/w_cosh.c: Likewise.
7828 * math/w_coshf.c: Likewise.
7829 * math/w_coshl.c: Likewise.
7830 * math/w_dremf.c: Likewise.
7831 * math/w_exp10.c: Likewise.
7832 * math/w_exp10f.c: Likewise.
7833 * math/w_exp10l.c: Likewise.
7834 * math/w_exp2.c: Likewise.
7835 * math/w_exp2f.c: Likewise.
7836 * math/w_fmod.c: Likewise.
7837 * math/w_fmodf.c: Likewise.
7838 * math/w_fmodl.c: Likewise.
7839 * math/w_hypot.c: Likewise.
7840 * math/w_hypotf.c: Likewise.
7841 * math/w_hypotl.c: Likewise.
7842 * math/w_j0.c: Likewise.
7843 * math/w_j0f.c: Likewise.
7844 * math/w_j0l.c: Likewise.
7845 * math/w_j1.c: Likewise.
7846 * math/w_j1f.c: Likewise.
7847 * math/w_j1l.c: Likewise.
7848 * math/w_jn.c: Likewise.
7849 * math/w_jnf.c: Likewise.
7850 * math/w_jnl.c: Likewise.
7851 * math/w_lgamma.c: Likewise.
7852 * math/w_lgamma_r.c: Likewise.
7853 * math/w_lgammaf.c: Likewise.
7854 * math/w_lgammaf_r.c: Likewise.
7855 * math/w_lgammal.c: Likewise.
7856 * math/w_lgammal_r.c: Likewise.
7857 * math/w_log.c: Likewise.
7858 * math/w_log10.c: Likewise.
7859 * math/w_log10f.c: Likewise.
7860 * math/w_log10l.c: Likewise.
7861 * math/w_log2.c: Likewise.
7862 * math/w_log2f.c: Likewise.
7863 * math/w_log2l.c: Likewise.
7864 * math/w_logf.c: Likewise.
7865 * math/w_logl.c: Likewise.
7866 * math/w_pow.c: Likewise.
7867 * math/w_powf.c: Likewise.
7868 * math/w_powl.c: Likewise.
7869 * math/w_remainder.c: Likewise.
7870 * math/w_remainderf.c: Likewise.
7871 * math/w_remainderl.c: Likewise.
7872 * math/w_scalb.c: Likewise.
7873 * math/w_scalbf.c: Likewise.
7874 * math/w_scalbl.c: Likewise.
7875 * math/w_sinh.c: Likewise.
7876 * math/w_sinhf.c: Likewise.
7877 * math/w_sinhl.c: Likewise.
7878 * math/w_sqrt.c: Likewise.
7879 * math/w_sqrtf.c: Likewise.
7880 * math/w_sqrtl.c: Likewise.
7881 * math/w_tgamma.c: Likewise.
7882 * math/w_tgammaf.c: Likewise.
7883 * math/w_tgammal.c: Likewise.
7884
6a621eb7
UD
7885 * po/ja.po: Update from translation team.
7886
bf582445
AJ
78872011-09-29 Andreas Jaeger <aj@suse.de>
7888
f9efbf3a
AJ
7889 [BZ #13179]
7890 * sunrpc/netname.c (netname2host): Fix logic.
7891
bf582445
AJ
7892 [BZ #6779]
7893 [BZ #6783]
7894 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7895 correctly.
7896 * math/w_remainder.c (__remainder): Likewise.
7897 * math/w_remainderf.c (__remainderf): Likewise.
7898 * math/libm-test.inc (remainder_test): Add test cases.
7899
48693bea
AK
79002011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7901
7902 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7903 sdiv_qrnnd.
7904
42622229
LD
79052011-10-07 Ulrich Drepper <drepper@gmail.com>
7906
7907 * string/test-memcmp.c: Avoid unncessary #defines.
7908 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7909
093ecf92
LD
79102011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7911
7912 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7913 Use new sse2 version for core i3 - i7 as it's faster
7914 than sse42 version.
7915 (bit_Prefer_PMINUB_for_stringop): New.
7916 * sysdeps/x86_64/rawmemchr.S: Update.
7917 Replace with faster SSE2 version.
7918 * sysdeps/x86_64/memrchr.S: New file.
7919 * sysdeps/x86_64/memchr.S: Update.
7920 Replace with faster SSE2 version.
7921
fde56e5c
MP
79222011-09-12 Marek Polacek <mpolacek@redhat.com>
7923
7924 * elf/dl-load.c (lose): Add cast to avoid warning.
7925
21fd49a9
UD
79262011-10-07 Ulrich Drepper <drepper@gmail.com>
7927
5a06e643
UD
7928 * po/ca.po: Update from translation team.
7929
684ae515
UD
7930 * inet/getnetgrent_r.c: Hook up nscd.
7931 * nscd/Makefile (routines): Add nscd_netgroup.
7932 (nscd-modules): Add netgroupcache.
7933 (CFLAGS-netgroupcache.c): Define.
7934 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7935 (cache_search): Add const to second parameter.
7936 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7937 INNETGR.
7938 (dbs): Add netgrdb entry.
7939 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7940 (verify_persistent_db): Handle netgrdb.
7941 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7942 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7943 GETFDNETGR.
7944 (netgroup_response_header): Define.
7945 (innetgroup_response_header): Define.
7946 (datahead): Add netgroup_response_header and innetgroup_response_header
7947 elements.
7948 * nscd/nscd.conf: Add entries for netgroup cache.
7949 * nscd/nscd.h (dbtype): Add netgrdb.
7950 (_PATH_NSCD_NETGROUP_DB): Define.
7951 (netgroup_iov_disabled): Declare.
7952 (xmalloc, xcalloc, xrealloc): Move declarations here.
7953 (cache_search): Adjust prototype.
7954 Add netgroup-related prototypes.
7955 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7956 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7957 (__nscd_innetgr): Declare.
7958 * nscd/selinux.c (perms): Use access_vector_t as element type and
7959 add netgroup-related initializers.
7960 * nscd/netgroupcache.c: New file.
7961 * nscd/nscd_netgroup.c: New file.
7962 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7963 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7964 For four parameters use innetgr.
7965 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7966 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7967 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7968 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7969
21fd49a9
UD
7970 * nscd/connections.c (register_traced_file): Don't register file
7971 for disabled databases.
7972
054c0457
UD
79732011-10-06 Ulrich Drepper <drepper@gmail.com>
7974
32b63198
UD
7975 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7976
054c0457
UD
7977 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7978 from tree and freeing node.
7979
64031225
JO
79802011-09-25 Jiri Olsa <jolsa@redhat.com>
7981
7982 * nss/nsswitch.c (__nss_database_lookup): Handle
7983 nss_parse_service_list out of memory case.
7984
0490345c
JO
79852011-09-15 Jiri Olsa <jolsa@redhat.com>
7986
7987 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7988 out of memory case.
7989
3a62d00d
AS
79902011-10-04 Andreas Schwab <schwab@redhat.com>
7991
7992 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7993 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7994 pass it down.
7995 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7996 elf_machine_rela, elf_machine_lazy_rel.
7997 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7998 (ELF_DYNAMIC_DO_REL): Likewise.
7999 (ELF_DYNAMIC_DO_RELA): Likewise.
8000 (ELF_DYNAMIC_RELOCATE): Likewise.
8001 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8002 to ELF_DYNAMIC_DO_REL.
8003 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8004 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8005 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8006 elf_machine_rela.
8007 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8008 skip_ifunc, don't call ifunc function if non-zero.
8009 (elf_machine_rela): Likewise.
8010 (elf_machine_lazy_rel): Likewise.
8011 (elf_machine_lazy_rela): Likewise.
8012 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8013 (elf_machine_lazy_rel): Likewise.
8014 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8015 Likewise.
8016 (elf_machine_lazy_rel): Likewise.
8017 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8018 Likewise.
8019 (elf_machine_lazy_rel): Likewise.
8020 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8021 (elf_machine_lazy_rel): Likewise.
8022 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8023 (elf_machine_lazy_rel): Likewise.
8024 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8025 (elf_machine_lazy_rel): Likewise.
8026 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8027 (elf_machine_lazy_rel): Likewise.
8028 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8029 (elf_machine_lazy_rel): Likewise.
8030 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8031 (elf_machine_lazy_rel): Likewise.
8032
68577918
UD
80332011-09-28 Ulrich Drepper <drepper@gmail.com>
8034
8035 * nss/nss_files/files-init.c (_nss_files_init): Use static
8036 initialization for all the *_traced_file variables.
8037
68822d74
AS
80382011-09-28 Andreas Schwab <schwab@redhat.com>
8039
8040 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8041
2056100b
RM
80422011-09-27 Roland McGrath <roland@hack.frob.com>
8043
8044 [BZ #13226]
8045 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8046
32c76b63
AS
80472011-09-27 Andreas Schwab <schwab@redhat.com>
8048
8049 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8050 Reread the line before reparsing it.
8051
bf972c9d
AS
80522011-09-26 Andreas Schwab <schwab@redhat.com>
8053
8054 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8055
e057a1b5
JM
80562011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8057 Maxim Kuvyrkov <maxim@codesourcery.com>
8058 Joseph Myers <joseph@codesourcery.com>
8059
8060 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8061 if needed for __stack_chk_guard.
8062
bc7e1c36
RM
80632011-09-19 Roland McGrath <roland@hack.frob.com>
8064
ecb1482f
RM
8065 * sysdeps/posix/spawni.c (script_execute): Always define it.
8066 It will be optimized away if unused.
8067 (maybe_script_execute): New function.
8068 (__spawni): Call it.
8069
bc7e1c36
RM
8070 * Makerules: Don't include tls.make.
8071 (config-tls): Always set to thread.
8072 * tls.make.c: File removed.
8073
1c3b002b
MF
80742011-09-19 Mike Frysinger <vapier@gentoo.org>
8075
8076 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8077 * config.make.in (CPPFLAGS-config): New substituted variable.
8078
2840865d
UD
80792011-09-15 Ulrich Drepper <drepper@gmail.com>
8080
88738eb6
UD
8081 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8082
cbf645a6 8083 [BZ #13192]
2840865d
UD
8084 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8085 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8086
b402e91a
RM
80872011-09-15 Roland McGrath <roland@hack.frob.com>
8088
8089 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8090 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8091 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8092 (CALL_FAIL): Likewise.
8093 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8094 (CALL_FAIL): Macro removed.
8095 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8096
4c1a1f71
UD
80972011-09-15 Ulrich Drepper <drepper@gmail.com>
8098
8099 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8100 for __FINITE_MATH_ONLY__ == 1.
8101
edc121be
AS
81022011-09-15 Andreas Schwab <schwab@redhat.com>
8103
8104 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8105 __ieee754_sqrt instead of sqrt.
8106 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8107 __ieee754_sqrtf instead of sqrtf.
8108 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8109 __floorf instead of floorf.
8110 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8111 __floorf, __truncf instead of floorf, truncf.
8112
cd205654
UD
81132011-09-14 Ulrich Drepper <drepper@gmail.com>
8114
ee4d0315
UD
8115 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8116
cd205654
UD
8117 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8118 __extern_always_inline.
8119 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8120 32-bit.
8121
48b67d71
AS
81222011-09-14 Andreas Schwab <schwab@redhat.com>
8123
8124 * elf/rtld.c (dl_main): Also relocate in dependency order when
8125 doing symbol dependency testing.
8126
1ae12c75
AS
81272011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8128
8129 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8130 Always define `refsym'.
8131
995a80df
AS
81322011-09-13 Andreas Schwab <schwab@redhat.com>
8133
e529793b
AS
8134 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8135 (__FD_ELT): Renamed from __FDELT.
8136 * misc/bits/select2.h (__FD_ELT): Likewise.
8137 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8138 __FD_MASK instead of __FDELT, __FDMASK.
8139 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8140 Likewise.
8141 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8142 Likewise.
8143
52d4fef8
AS
8144 * elf/Makefile (gen-ldd): Fix pattern.
8145
995a80df
AS
8146 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8147 (init_tls): Likewise.
8148
8682f8b0
UD
81492011-09-12 Ulrich Drepper <drepper@gmail.com>
8150
8151 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8152
de82006d
AS
81532011-09-12 Andreas Schwab <schwab@redhat.com>
8154
a7c8e6a1
AS
8155 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8156 `struct cmsghdr *' instead of `void *'.
8157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8158 Likewise.
8159
0f31fe77
AS
81602011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8161
8162 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8163 if non-absolute.
8164 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8165 ldd_rewrite_script.
0f31fe77 8166
32b4c839
UD
81672011-09-11 Ulrich Drepper <drepper@gmail.com>
8168
83cd1420
UD
8169 * configure.in: Remove --with-tls option.
8170 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8171 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8172 out in case it is missing.
8173 * sysdeps/ia64/elf/configure.in: Likewise.
8174 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8175 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8176 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8177 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8178 * sysdeps/sh/elf/configure.in: Likewise.
8179 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8180 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8181 * sysdeps/x86_64/elf/configure.in: Likewise.
8182 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8183 * sysdeps/mach/hurd/tls.h: Likewise.
8184
633f745d
UD
8185 [BZ #13067]
8186 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8187
f318beb8
UD
8188 [BZ #13090]
8189 * configure.in: Fix use of AC_INIT.
8190
32b4c839
UD
8191 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8192
3ce1f295
UD
81932011-09-10 Ulrich Drepper <drepper@gmail.com>
8194
bb016596
UD
8195 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8196 __set_errno.
8e58439c
UD
8197 * malloc/hooks.c: Likewise.
8198
aebae053 8199 [BZ #11929]
02d46fc4
UD
8200 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8201 variables statically.
8202 (narenas): Initialize.
8203 (list_lock): Initialize.
bb016596
UD
8204 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8205 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8206 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8207 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8208 Add initializers to main_arena and mp_.
8209 (malloc_state): Remove pagesize member. Change all users to use
8210 GLRO(dl_pagesize).
8211
8212 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8213 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8214 is always initialized.
8215
22a89187
UD
8216 * malloc/malloc.c: Removed unused configurations and dead code.
8217 * malloc/arena.c: Likewise.
8218 * malloc/hooks.c: Likewise.
02d46fc4 8219 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8220
d063d164
UD
8221 * include/tls.h: Removed. USE___THREAD must always be defined.
8222 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8223 * elf/dl-libc.c: Likewise.
8224 * elf/dl-tsd.c: Likewise.
8225 * include/errno.h: Likewise.
8226 * include/netdb.h: Likewise.
8227 * include/resolv.h: Likewise.
8228 * inet/herrno-loc.c: Likewise.
8229 * inet/herrno.c: Likewise.
8230 * malloc/arena.c: Likewise.
8231 * malloc/hooks.c: Likewise.
8232 * malloc/malloc.c: Likewise.
8233 * resolv/res-state.c: Likewise.
8234 * resolv/res_libc.c: Likewise.
8235 * sysdeps/i386/dl-machine.h: Likewise.
8236 * sysdeps/ia64/dl-machine.h: Likewise.
8237 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8238 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8239 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8240 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8241 * sysdeps/sh/dl-machine.h: Likewise.
8242 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8243 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8244 * sysdeps/unix/i386/sysdep.S: Likewise.
8245 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8246 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8248 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8249 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8250 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8251 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8255 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8256 * sysdeps/x86_64/dl-machine.h: Likewise.
8257 * tls.make.c: Likewise.
8258
3ce1f295
UD
8259 * configure.in: Remove --with-__thread option. Make tests for
8260 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8261 tls_model attribute fail if no support is available. Remove
8262 USE_IN_LIBIO.
8263 * Makeconfig: Adjust for dropped configure option. All features are
8264 now mandatory.
8265 * Makerules: Likewise.
8266 * Versions.def: Likewise.
8267 * argp/argp-fmtstream.c: Likewise.
8268 * argp/argp-fmtstream.h: Likewise.
8269 * argp/argp-help.c: Likewise.
8270 * assert/assert.c: Likewise.
8271 * config.h.in: Likewise.
8272 * config.make.in: Likewise.
8273 * configure: Likewise.
8274 * configure.in: Likewise.
8275 * csu/Versions: Likewise.
8276 * csu/init.c: Likewise.
8277 * elf/tst-audit2.c: Likewise.
8278 * elf/tst-tls10.c: Likewise.
8279 * elf/tst-tls10.h: Likewise.
8280 * elf/tst-tls11.c: Likewise.
8281 * elf/tst-tls12.c: Likewise.
8282 * elf/tst-tls14.c: Likewise.
8283 * elf/tst-tlsmod11.c: Likewise.
8284 * elf/tst-tlsmod12.c: Likewise.
8285 * elf/tst-tlsmod13.c: Likewise.
8286 * elf/tst-tlsmod13a.c: Likewise.
8287 * elf/tst-tlsmod14a.c: Likewise.
8288 * elf/tst-tlsmod15b.c: Likewise.
8289 * elf/tst-tlsmod16a.c: Likewise.
8290 * elf/tst-tlsmod16b.c: Likewise.
8291 * elf/tst-tlsmod7.c: Likewise.
8292 * elf/tst-tlsmod8.c: Likewise.
8293 * elf/tst-tlsmod9.c: Likewise.
8294 * gmon/gmon.c: Likewise.
8295 * grp/fgetgrent_r.c: Likewise.
8296 * grp/putgrent.c: Likewise.
8297 * hurd/fopenport.c: Likewise.
8298 * include/libc-symbols.h: Likewise.
8299 * include/tls.h: Likewise.
8300 * intl/gettextP.h: Likewise.
8301 * intl/loadinfo.h: Likewise.
8302 * locale/global-locale.c: Likewise.
8303 * locale/localeinfo.h: Likewise.
8304 * mach/devstream.c: Likewise.
8305 * malloc/arena.c: Likewise.
8306 * malloc/set-freeres.c: Likewise.
8307 * misc/err.c: Likewise.
8308 * misc/getttyent.c: Likewise.
8309 * misc/mntent_r.c: Likewise.
8310 * posix/getopt.c: Likewise.
8311 * posix/wordexp.c: Likewise.
8312 * pwd/fgetpwent_r.c: Likewise.
8313 * resolv/Versions: Likewise.
8314 * resolv/res_hconf.c: Likewise.
8315 * shadow/fgetspent_r.c: Likewise.
8316 * shadow/putspent.c: Likewise.
8317 * stdio-common/printf_fphex.c: Likewise.
8318 * stdio-common/tmpfile.c: Likewise.
8319 * stdlib/abort.c: Likewise.
8320 * stdlib/fmtmsg.c: Likewise.
8321 * sunrpc/auth_unix.c: Likewise.
8322 * sunrpc/clnt_perr.c: Likewise.
8323 * sunrpc/clnt_tcp.c: Likewise.
8324 * sunrpc/clnt_udp.c: Likewise.
8325 * sunrpc/clnt_unix.c: Likewise.
8326 * sunrpc/openchild.c: Likewise.
8327 * sunrpc/svc_simple.c: Likewise.
8328 * sunrpc/svc_tcp.c: Likewise.
8329 * sunrpc/svc_udp.c: Likewise.
8330 * sunrpc/svc_unix.c: Likewise.
8331 * sunrpc/xdr.c: Likewise.
8332 * sunrpc/xdr_array.c: Likewise.
8333 * sunrpc/xdr_rec.c: Likewise.
8334 * sunrpc/xdr_ref.c: Likewise.
8335 * sunrpc/xdr_stdio.c: Likewise.
8336
1248c1c4
PB
83372011-09-09 Ulrich Drepper <drepper@gmail.com>
8338
8339 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8340
83412011-07-03 Andreas Jaeger <aj@suse.de>
8342
8343 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8344 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8345 regenerate with gen-libm-tests.pl.
8346
83472010-05-12 Petr Baudis <pasky@suse.cz>
8348
8349 [BZ #11589]
8350 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8351 around j0() zero points by switching to j1().
8352 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8356
f22e1074
UD
83572011-09-09 Ulrich Drepper <drepper@gmail.com>
8358
f19009c1
UD
8359 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8360 instead of 0.
8361 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8362 instead of 0. .
8363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8364 Patch in part by Pavel Roskin <proski@gnu.org>.
8365
3f8cc204
UD
8366 [BZ #13138]
8367 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8368 realloc.
8369 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8370 Free memory block if necessary.
8371
f22e1074
UD
8372 [BZ #12847]
8373 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8374 be NULL. Don't lock in this case.
8375
0a2349f9
RM
83762011-09-09 Roland McGrath <roland@hack.frob.com>
8377
8378 * elf/elf.h (ELFOSABI_GNU): New macro.
8379 (ELFOSABI_LINUX): Define to that.
8380
f3cdd467
DZ
83812011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8382
8383 * string/strncat.c (strncat): Undef the symbol in case it has been
8384 defined in bits/string.h.
8385
74718d13
UD
83862011-09-09 Ulrich Drepper <drepper@gmail.com>
8387
633e9e0f
UD
8388 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8389
0a2349f9 8390 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8391 link map.
8392
f9924780
AJ
83932011-08-17 Andreas Jaeger <aj@suse.de>
8394
8395 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8396
7f5517aa
PP
83972011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8398 Ian Lance Taylor <iant@google.com>
8399
8400 * math/libm-test.inc (lround_test): New testcase.
8401 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8402
762011fe
UD
84032011-09-08 Ulrich Drepper <drepper@gmail.com>
8404
92963737
UD
8405 * Makefile: Remove support for automatic cvs check-ins.
8406 * Makerules: Likewise.
8407 * config.make.in: Likewise.
8408 * configure.in: Likewise.
8409 * intl/Makefile: Likewise.
8410 * locale/Makefile: Likewise.
8411 * po/Makefile: Likewise.
8412 * posix/Makefile: Likewise.
8413 * sysdeps/gnu/Makefile: Likewise.
8414 * sysdeps/mach/hurd/Makefile: Likewise.
8415 * sysdeps/sparc/sparc32/Makefile: Likewise.
8416
b0727fd8
JS
8417 [BZ #13118]
8418 * posix/Makefile (bug-regex32-ENV): Define.
8419 Patch by John Stanley <jpsinthemix@verizon.net>.
8420
a0f33f99
UD
8421 * misc/Makefile (headers): Add bits/select2.h.
8422 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8423 * misc/bits/select2.h: New file.
8424 * include/bits/select2.h: New file.
8425 * debug/Makefile (routines): Add fdelt_chk.
8426 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8427 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8428 FD_ISSET.
8429 * debug/fdelt_chk.c: New file.
8430
762011fe
UD
8431 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8432 * wcsmbs/test-wmemcmp.c: Likewise.
8433 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8434 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8435
84362011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8437
8438 * string/Makefile (strop-tests): Add memcmp.
8439 * string/test-wmemcmp.c: New file.
8440 * string/test-memcmp.c: Add wmemcmp support.
8441
7f513ec8
RM
84422011-09-08 Roland McGrath <roland@hack.frob.com>
8443
0442afb4
RM
8444 [BZ #13153]
8445 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8446 2011-07-19 change.
8447
7f513ec8
RM
8448 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8449 garbage value in a __mach_port_mod_refs call in the cases of the
8450 task-self and thread-self ports.
8451
a12b2239
ST
84522011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8453
8454 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8455
610f9ab4
AS
84562011-09-08 Andreas Schwab <schwab@redhat.com>
8457
7f513ec8 8458 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8459
48882a1a
LD
84602011-09-07 Ulrich Drepper <drepper@gmail.com>
8461
b49865be
UD
8462 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8463
fdc86bc9
UD
8464 * elf/dl-libc.c (dlerror_run): Pass back error code from
8465 dl_catch_error.
8466
c966526a
UD
8467 [BZ #13123]
8468 * elf/dl-load.c (lose): Free l_origin if it is valid.
8469
48882a1a
LD
8470 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8471 names.
8472 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8473 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8474 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8475 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8476 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8477 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8478
77a2a8b4
AZ
84792011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8480
8481 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8482 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8483 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8484 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8485 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8486 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8487 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8488 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8489 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8490 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8491
24f579d8
AM
84922011-08-15 Alan Modra <amodra@gmail.com>
8493
8494 [BZ #13092]
8495 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8496 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8497 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8498 ppc_mcount to static-only-routines.
8499 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8500 __mcount_internal.
8501 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8502 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8503
3d4837df
UD
85042011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8505
8506 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8507 for finite and infinity parameters.
8508
22700377
WS
85092011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8510
8511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8512 and add nop instructions for throughput optimization.
8513 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8514
5025581e
WS
85152011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8516
8517 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8518 aligned copy for power7 with vector-scalar instructions.
8519 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8520
08a300c9
L
85212011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8522
8523 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8524 AVX check.
8525
59178ef9
AS
85262011-09-07 Andreas Schwab <schwab@redhat.com>
8527
8528 [BZ #13144]
8529 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8530 last change.
8531
e38ba7ab
UD
85322011-09-07 Ulrich Drepper <drepper@gmail.com>
8533
8534 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8535 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8536 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8537 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8538 clock_gettime.
8539
d53a73ac
UD
85402011-09-06 Ulrich Drepper <drepper@gmail.com>
8541
fc8bffcc
UD
8542 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8543 Forgot to demangle the pointer.
8544
ceaa0c5d
UD
8545 * sysdeps/i386/sysdep.h: Define atom_text_section.
8546 * sysdeps/x86_64/sysdep.h: Likewise.
8547 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8548 section with atom_text_section.
8549 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8550 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8551 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8552 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8553 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8554
a77d3c17
UD
8555 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8556 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8557 already be defined. Change to take two parameters and don't assign
8558 result to variable. Adjust all users.
8559 Define INTERNAL_GETTIME if not already defined.
8560 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8561 call.
8562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8563 HAVE_CLOCK_GETTIME_VSYSCALL.
8564 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8565
d53a73ac
UD
8566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8567 gettimeofday vsyscall, just use time.
8568
a8f84144
AS
85692011-09-06 Andreas Schwab <schwab@redhat.com>
8570
8571 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8572 <errno.h>.
8573
ef606249
UD
85742011-09-06 Ulrich Drepper <drepper@gmail.com>
8575
8576 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8577 syscall on x86-64.
8578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8579 syscall.
8580 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8581 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8582 syscall if possible.
8583
6585cb60
UD
85842011-09-05 Ulrich Drepper <drepper@gmail.com>
8585
8586 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8587 e_ident. Don't pass to find_mapsXX.
8588 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8589
a5f524e4
LD
85902011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8591
8592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8593 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8594 * sysdeps/x86_64/multiarch/strchr.S: Update.
8595 Check bit_slow_BSF bit.
8596 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8597 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8598 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8599
554881ef
UD
86002011-09-05 Ulrich Drepper <drepper@gmail.com>
8601
d96de963
UD
8602 [BZ #13134]
8603 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8604 before glibc 2.15.
8605 (tryshell): Define.
8606 (__spawni): Change last parameter to be flag. Test
8607 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8608 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8609 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8610 * posix/spawni.c: Likewise.
8611 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8612 * posix/spawnp.c: Likewise. Change normal version to use
8613 SPAWN_XFLAGS_USE_PATH.
8614 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8615 SPAWN_XFLAGS_TRY_SHELL.
8616
d48e5868
UD
8617 [BZ #13150]
8618 * posix/glob.h: Remove gcc 1.x support.
8619
554881ef
UD
8620 [BZ #13068]
8621 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8622
693fb948
LD
86232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8624
8625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8626 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8627 strrchr-sse2-bsf
8628 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8629 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8630 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8631 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8632 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8633 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8634
1b48c537
UD
86352011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8636
49d42c37
UD
8637 * sysdeps/x86_64/wcscmp.S: New file.
8638
1b48c537
UD
8639 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8640 wcscmp-c wcscmp-sse2
8641 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8642 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8643 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8644 * wcsmbs/wcscmp.c: Allow renaming.
8645
15c95c5d
DM
86462011-09-05 David S. Miller <davem@davemloft.net>
8647
8648 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8649 stack slot, rather than the struct return pointer slot.
8650 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8651 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8653 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8654
2f0ad8f3
UD
86552011-09-05 Ulrich Drepper <drepper@gmail.com>
8656
d88ae418
UD
8657 * po/ja.po: Update from translation team.
8658
2f0ad8f3
UD
8659 [BZ #13144]
8660 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8661 kernel in 64-bit binaries.
8662
5f4318d1
DM
86632011-09-01 David S. Miller <davem@davemloft.net>
8664
8665 * elf/elf.h (HWCAP_SPARC_*): Move to..
8666 * sysdeps/sparc/sysdep.h: this new file and add new values.
8667 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8668 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8669 _DL_HWCAP_COUNT to 24.
8670 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8671 entries.
8672 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8673 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8674 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8675 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8676 instead of magic constants.
8677 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8678
3ba57516
DM
86792011-08-31 David S. Miller <davem@davemloft.net>
8680
8681 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8682 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8683 Reimplement to do errno handling inline.
8684 (SYSCALL_ERROR_HANDLER): New macro.
8685 (__SYSCALL_STRING): Do not do errno handling in asm.
8686 (__CLONE_SYSCALL_STRING): Delete.
8687 (__INTERNAL_SYSCALL_STRING): Delete.
8688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8689 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8690 (PSEUDO): Reimplement to do errno handling inline.
8691 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8692 (SYSCALL_ERROR_HANDLER): New macro.
8693 (__SYSCALL_STRING): Do not do errno handling in asm.
8694 (__CLONE_SYSCALL_STRING): Delete.
8695 (__INTERNAL_SYSCALL_STRING): Delete.
8696 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8697 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8698 i386.
8699 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8700 (inline_syscall*): Add 'err' argument.
8701 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8702 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8703 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8704 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8705
8706 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8707 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8708
2bc17433
AS
87092011-08-30 Andreas Schwab <schwab@redhat.com>
8710
8711 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8712
fbeb5f4d
JO
87132011-08-29 Jiri Olsa <jolsa@redhat.com>
8714
8715 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8716 directive.
8717
ad69cc26
DM
87182011-08-24 David S. Miller <davem@davemloft.net>
8719
8720 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8721
39dd69df
AS
87222011-08-24 Andreas Schwab <schwab@redhat.com>
8723
8724 * elf/Makefile: Add rules to build and run unload8 test.
8725 * elf/unload8.c: New file.
8726 * elf/unload8mod1.c: New file.
8727 * elf/unload8mod1x.c: New file.
8728 * elf/unload8mod2.c: New file.
8729 * elf/unload8mod3.c: New file.
8730
8731 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8732 it wasn't used.
8733
2c0b250a
DM
87342011-08-23 David S. Miller <davem@davemloft.net>
8735
8736 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8737 subtract stack bias.
8738 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8739 %sp not %fp in calculations.
8740 (_JMPBUF_UNWINDS_ADJ): Likewise.
8741
22044b48
DM
8742 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8743 (aio_suspend): Call it to force an exception region around the
8744 AIO_MISC_WAIT() invocation.
8745
2cae4995
AS
87462011-08-23 Andreas Schwab <schwab@redhat.com>
8747
8748 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8749 backslash.
8750
873a772e
AJ
87512011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8752
8753 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8754 protection macro.
8755 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8756 and <dl-machine.h>.
8757 (Elf64_FuncDesc): Remove.
8758
25ad0df1
DM
87592011-08-22 David S. Miller <davem@davemloft.net>
8760
8761 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8762 sigaltstack check, add missing cfi directives.
8763 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8764 missing cfi directives, and sigaltstack handling.
8765
e888bcbe
AS
87662011-08-16 Andreas Schwab <schwab@redhat.com>
8767
8768 [BZ #11724]
8769 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8770 object is seen twice.
8771 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8772
8773 * elf/Makefile (distribute): Add tst-initorder2.c.
8774 (tests): Add tst-initorder2.
8775 (modules-names): Add tst-initorder2a tst-initorder2b
8776 tst-initorder2c tst-initorder2d. Add rules to build them.
8777 ($(objpfx)tst-initorder2.out): New rule.
8778 * elf/tst-initorder2.c: New file.
8779 * elf/tst-initorder2.exp: New file.
8780
87162f46
AS
87812011-08-22 Andreas Schwab <schwab@redhat.com>
8782
70538b7f
AS
8783 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8784
f55ffe58
AS
8785 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8786 dependencies back to end of function.
8787
87162f46
AS
8788 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8789 $(elfobjdir)/ld.so.
8790
91b392a4
UD
87912011-08-21 Ulrich Drepper <drepper@gmail.com>
8792
8793 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8794 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8796 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8797 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8798 of __vdso_gettimeofday.
8799 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8800 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8801 attribute_hidden.
8802 (_libc_vdso_platform_setup): Remove initialization of
8803 __vdso_gettimeofday and __vdso_time.
8804
5c43483f
UD
88052011-08-20 Ulrich Drepper <drepper@gmail.com>
8806
775a77e7
UD
8807 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8808 and fgetc_unlocked.
8809 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8810 getc_unlocked.
89f447ed 8811
49c74ba9
UD
8812 * elf/dl-open.c (add_to_global): Report additions to the global scope
8813 for LD_DEBUG=scopes.
8814 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 8815 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 8816
5c43483f
UD
8817 [BZ #13114]
8818 * stdio-common/Makefile (tests): Add bug24.
8819 * stdio-common/bug24.c: New file.
8820
a101b025
AJ
88212011-08-19 Andreas Jaeger <aj@suse.de>
8822
8823 [BZ #13114]
8824 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8825 non-existant file when using close-on-exec mode.
8826
c88f1766
UD
88272011-08-20 Ulrich Drepper <drepper@gmail.com>
8828
0276a718
UD
8829 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8830 the very first instruction.
8831
c88f1766
UD
8832 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8833 the CFI state in the end.
8834 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8835 inclusion of dl-trampoline.h.
8836 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8837
51ccffa0
AS
88382011-08-19 Andreas Schwab <schwab@redhat.com>
8839
94d7165f
AS
8840 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8841 expectations for long double.
8842
51ccffa0
AS
8843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8844 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8845
fd708658 88462011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
8847
8848 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8849 artificual limit depends upon the system page size.
8850
44f0a71e
UD
88512011-08-17 Ulrich Drepper <drepper@gmail.com>
8852
8853 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8854 * resolv/Makefile: Define CFLAGS-libresolv.
8855
8de79a24
AS
88562011-08-17 Andreas Schwab <schwab@redhat.com>
8857
8858 * nss/makedb.c (compute_tables): Make variables used in nested
8859 function static.
8860
27724598
UD
88612011-08-17 Ulrich Drepper <drepper@gmail.com>
8862
c5305d88
UD
8863 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8864 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8865 if buffer was too small.
8866
27724598
UD
8867 * elf/pldd.c (main): Attach to all threads in the process.
8868 Rewrite /proc handling to use *at functions.
8869
076fe015
UD
88702011-08-16 Ulrich Drepper <drepper@gmail.com>
8871
174baab3
UD
8872 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8873 specifies first scope to show.
8874 (dl_open_worker): Update callers. Move printing scope of new
8875 object to before the relocation.
44f0a71e 8876 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
8877 * sysdeps/generic/ldsodefs.h: Update declaration.
8878
076fe015
UD
8879 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8880 string for the scope number.
8881
a60df2c3
UD
88822011-08-14 Ulrich Drepper <drepper@gmail.com>
8883
8884 * nscd/servicescache.c (cache_addserv): Make sure written is always
8885 initialized.
8886
5e4287d1
RM
88872011-08-14 Roland McGrath <roland@hack.frob.com>
8888
85ae0589
RM
8889 * sysdeps/i386/i486/bits/atomic.h
8890 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8891 statement expression, so as to suppress "set but not used" warning.
8892 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8893
69f63097
RM
8894 * string/strncat.c (STRNCAT): Use prototype definition.
8895
675456ef
RM
8896 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8897 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8898 -Iprograms here.
8899 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8900 (localedef-modules): Add localedef.
8901 (locale-modules): Add locale.
8902
5e4287d1
RM
8903 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8904 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8905 to avoid a warning.
8906
9c96ff23
DM
89072011-08-14 David S. Miller <davem@davemloft.net>
8908
8909 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8910 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8911
f9ddf089
UD
89122011-08-13 Ulrich Drepper <drepper@gmail.com>
8913
44f0a71e 8914 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
8915 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8916 * elf/rtld.c (dl_main): Set l_name of vDSO.
8917 Call _dl_show_scope when DL_DEBUG_SCOPES.
8918 (process_dl_debug): Recognize scopes flag and also set it for all.
8919 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8920 Declare _dl_show_scope.
8921
1dc27704
UD
8922 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8923 (do_dlopen): Pass caller_dlopen to dl_open.
8924 (__libc_dlopen_mode): Initialize caller_dlopen.
8925
f9ddf089
UD
8926 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8927 of libc. Make tolower call locale-independent. Optimize a bit by
8928 using isdigit instead of isalnum.
8929 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8930
9ac533d3
UD
89312011-08-12 Ulrich Drepper <drepper@gmail.com>
8932
8933 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8934 was a dependency or dynamically loaded.
8935
89edf2e9
UD
89362011-08-11 Ulrich Drepper <drepper@gmail.com>
8937
8e999d29
UD
8938 * intl/l10nflist.c: Allow architecture-specific pop function.
8939 * sysdeps/x86_64/l10nflist.c: New file.
8940
89edf2e9
UD
8941 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8942 classification.
8943
14d96785
AS
89442011-08-10 Andreas Schwab <schwab@redhat.com>
8945
8946 * include/dirent.h: Add libc_hidden_proto for scandirat and
8947 scandirat64. Don't declare __scandirat64.
8948 * dirent/scandirat.c: Add libc_hidden_def.
8949 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8950 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8951
6761ac04
DM
89522011-08-10 David S. Miller <davem@davemloft.net>
8953
8954 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8955 enum.
8956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8957 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8958 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8959
c55fbd1e
UD
89602011-08-09 Ulrich Drepper <drepper@gmail.com>
8961
8962 * Versions.def [libc]: Add GLIBC_2.15.
8963 * dirent/Makefile (routines): Add scandirat and scandirat64.
8964 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8965 GLIBC_2.15.
8966 * dirent/dirent.h: Declare scandirat and scandirat64.
8967 * dirent/scandirat.c: New file.
8968 * dirent/scandirat64.c: New file.
8969 * sysdeps/wordsize-64/scandirat.c: New file.
8970 * sysdeps/wordsize-64/scandirat64.c: New file.
8971 * dirent/opendir.c: Define opendirat.
8972 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8973 using scandirat.
8974 * dirent/scandir64.c: Adjust for scandir.c change.
8975 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8976 __scandirat64, and __scandir_cancel_handler.
8977 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8978 additional parameter and use openat instead of open (outside of ld.so).
8979 Add new __opendir as wrapper around __opendirat.
8980 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8981 here without requiring old scandirat implementation.
8982
879165f2
UD
89832011-08-08 Ulrich Drepper <drepper@gmail.com>
8984
8985 * dirent/scandir.c (cancel_handler): Renamed to
8986 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8987 defined. Adjust users.
8988 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8989 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8990
cb7e923b
UD
89912011-08-04 Ulrich Drepper <drepper@gmail.com>
8992
16292edd
UD
8993 * string/test-string.h (IMPL): Use __STRING to expand name and then
8994 stringify it.
8995
cb7e923b
UD
8996 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8997 of cleanups.
8998
cff82933
LD
89992011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9000
9001 * string/Makefile: Update.
9002 (strop-tests): Append strncat.
9003 * string/test-wcscmp.c: New file.
9004 New comprehensive test for wcscmp.
9005 * string/test-strcmp.c: Update.
9006 (WIDE): New define.
9007
9be9bfcc
AS
90082011-07-22 Andreas Schwab <schwab@redhat.com>
9009
9010 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9011 line.
9012
2e96f1c7
AS
90132011-07-26 Andreas Schwab <schwab@redhat.com>
9014
9015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9016 encoding to ACE if AI_IDN.
9017
85188888
JJ
90182011-08-01 Jakub Jelinek <jakub@redhat.com>
9019
9020 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9021 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9022
5fa16e9b
LD
90232011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9024
9025 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9026 Fix overflow bug in strncat.
9027 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9028
9029 * string/test-strncat.c: Update.
9030 Add new tests for checking overflow bugs.
9031
90322011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9033
9034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9035 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9036 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9037 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9038 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9039 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9040 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9041 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9042 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9043
9044 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9045 (USE_AS_STRCAT): Define.
9046 Add strcat and strncat support.
9047 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9048
8c1a459f
AS
90492011-07-25 Andreas Schwab <schwab@redhat.com>
9050
9051 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9052 __n bigger than INT_MAX+1.
9053 (__strncmp_g): Likewise.
9054
bba33c28
UD
90552011-07-23 Ulrich Drepper <drepper@gmail.com>
9056
798be72d
UD
9057 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9058 * libio/stido.h: Likewise.
9059
8accd4dc
UD
9060 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9061 (AF_NFC): Define.
9062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9063 (AF_NFC): Define.
9064
cbff0d96
UD
9065 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9066 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9067 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9068 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9069 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9070
9191c04a
UD
9071 [BZ #13021]
9072 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9073 installed.
9074
bba33c28
UD
9075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9076 typo.
9077 (_dl_x86_64_save_sse): Likewise.
9078
90f139dd
UD
90792011-07-22 Ulrich Drepper <drepper@gmail.com>
9080
1aae088a
UD
9081 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9082 OSXSAVE.
9083 (_dl_x86_64_save_sse): Likewise.
9084
8e2045f5
UD
9085 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9086
90f139dd
UD
9087 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9088
1d002f25
AS
90892011-07-21 Andreas Schwab <schwab@redhat.com>
9090
9091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9092 change.
9093 (_dl_x86_64_save_sse): Use correct AVX check.
9094
21137f89
UD
90952011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9096
9097 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9098 bug in strncpy/strncat.
9099 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9100
a65c0b7a
UD
91012011-07-21 Ulrich Drepper <drepper@gmail.com>
9102
9103 * string/tester.c (test_strcat): Add tests for different alignments
9104 of source and destination.
9105 (test_strncat): Likewise.
9106
6986b98a
UD
91072011-07-20 Ulrich Drepper <drepper@gmail.com>
9108
90bb2039
UD
9109 [BZ #12852]
9110 * posix/glob.c (glob): Check passed in values before using them in
9111 expressions to avoid some overflows.
9112 (glob_in_dir): Likewise.
9113
5644ef54
UD
9114 [BZ #13007]
9115 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9116 check for AVX enablement so that we don't crash with old kernels and
9117 new hardware.
9118 * elf/tst-audit4.c: Add same checks here.
9119 * elf/tst-audit6.c: Likewise.
9120
9121 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9122
bfc9dc9b
AS
91232011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9124
9125 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9126
702e64bb
UD
91272011-07-20 Ulrich Drepper <drepper@gmail.com>
9128
9129 * po/cs.po: Update from translation team.
9130 * po/bg.po: Likewise.
9131
295e904f
MP
91322011-07-12 Marek Polacek <mpolacek@redhat.com>
9133
9134 * misc/sys/cdefs.h: Add support for const attribute.
9135 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9136 to gnu_dev_{major,minor,makedev} functions.
9137
3ff94596
MP
91382011-07-20 Marek Polacek <mpolacek@redhat.com>
9139
9140 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9141
28b59fca
AS
91422011-07-20 Andreas Schwab <schwab@redhat.com>
9143
9144 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9145 strlen results.
9146
19df733e
AK
91472011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9148
9149 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9150 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9151 register in order to avoid conflicts with the soft frame pointer
9152 being held in r11 when necessary.
9153 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9154 (INTERNAL_VSYSCALL_NCS): Likewise.
9155
c8835729
MP
91562011-07-14 Marek Polacek <mpolacek@redhat.com>
9157
9158 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9159 * elf/dl-fini.c (_dl_fini): Adjust caller.
9160 * elf/dl-close.c (_dl_close_worker): Likewise.
9161 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9162
b902330c
MP
91632011-07-15 Marek Polacek <mpolacek@redhat.com>
9164
8991e135
MP
9165 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9166 "aux_cache->nlibs < 0".
9167
b902330c
MP
9168 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9169 in the reload-count case.
9170
99710781
LD
91712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9172
9173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9174 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9175 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9176 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9177 * sysdeps/x86_64/multiarch/strcat.S: New file.
9178 * sysdeps/x86_64/multiarch/strncat.S: New file.
9179 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9180 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9181 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9182 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9183 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9184 (USE_AS_STRCAT): Define.
9185 Add strcat and strncat support.
9186 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9187 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9188 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9189 * string/strncat.c: Update.
9190 (USE_AS_STRNCAT): Define.
9191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9192 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9193 and i7.
9194 * sysdeps/x86_64/multiarch/init-arch.h
9195 (bit_Prefer_PMINUB_for_stringop): New.
9196 (index_Prefer_PMINUB_for_stringop): Likewise.
9197 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9198 bit_Prefer_PMINUB_for_stringop.
9199
7dc6bd90
UD
92002011-07-19 Ulrich Drepper <drepper@gmail.com>
9201
9202 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9203 buffer64.
9204 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9205 of casting of buffer.
9206 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9207 buffer32 and buffer64.
9208 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9209 writes instead of casting of buffer.
9210 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9211 buffer32.
9212 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9213 casting of buffer.
9214
e0e72284
AS
92152011-07-19 Andreas Schwab <schwab@redhat.com>
9216
9217 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9218
feb1eb0b
UD
92192011-07-19 Ulrich Drepper <drepper@gmail.com>
9220
9221 * nscd/nscd.c (termination_handler): Don't do anything for a database
9222 if it has not yet been initialized.
9223
298711ff
UD
92242011-07-18 Ulrich Drepper <drepper@gmail.com>
9225
9226 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9227
92282011-07-15 Marek Polacek <mpolacek@redhat.com>
9229
9230 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9231
f9d68389
UD
92322011-07-18 Ulrich Drepper <drepper@gmail.com>
9233
9234 * po/nl.po: Update from translation team.
9235 * po/sv.po: Likewise.
9236
db290cf5
RM
92372011-07-16 Roland McGrath <roland@hack.frob.com>
9238
9239 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9240 now disallowed by GCC.
5c550700 9241
fd5e21c7
RM
9242 * configure.in (use-default-link): Default to yes if a test -shared
9243 link meets our qualifications.
9244 * configure: Regenerated.
9245
5c550700
RM
9246 * config.make.in (output-format): New variable.
9247 * configure.in: Check for ld --print-output-format support.
9248 * configure: Regenerated.
9249 * Makerules ($(common-objpfx)format.lds)
9250 [$(output-format) != unknown]: Just use $(output-format),
9251 instead of the linker-script munging.
9252
9fa2c032
RM
92532011-07-14 Roland McGrath <roland@hack.frob.com>
9254
a6928d51
RM
9255 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9256 of $(common-objpfx)shlib.lds.
9257 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9258
661607b3
RM
9259 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9260 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9261
9fa2c032
RM
9262 * configure.in (-z relro check): Adjust test code to add a large
9263 writable data section after it.
9264 * configure: Regenerated.
9265
defe9061
RM
92662011-07-11 Roland McGrath <roland@hack.frob.com>
9267
9268 * configure.in (-z relro check): Fix test code to make the variable
9269 truly const.
9270 * configure: Regenerated.
9271
319b9ad4
UD
92722011-07-11 Ulrich Drepper <drepper@gmail.com>
9273
9274 * nscd/nscd.h (struct traced_file): Define.
9275 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9276 elements. Add traced_files.
9277 (inotify_fd): Declare.
9278 (register_traced_file): Declare.
9279 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9280 (inotify_fd): Export.
9281 (resolv_conf_descr): Remove.
9282 (nscd_init): Move inotify descriptor creation to main.
9283 Don't register files for notification here.
9284 (register_traced_file): New function.
9285 (invalidate_cache): Don't use reset_res to determine whether to call
9286 res_init, go through the list of registered files.
9287 (main_loop_poll): The inotify descriptors are now stored in the
9288 structures for the traced files.
9289 (main_loop_epoll): Likewise
9290 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9291 to __nss_disable_nscd.
9292 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9293 for a database anymore. Check the records for all the registered
9294 files instead.
9295 * nss/Makefile (libnss_files-routines): Add files-init.
9296 (libnss_db-routines): Add db-init.
9297 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9298 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9299 * nss/nss_db/db-init.c: New file.
9300 * nss/nss_files/files-init.c: New file.
9301 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9302 __nss_lookup_function.
9303 (__nss_lookup_function): Call nss_load_library.
9304 (nss_load_all_libraries): New function.
9305 (__nss_disable_nscd): Take parameter with callback function for files
9306 to register. Set is_nscd. Load all the DSOs for the NSS modules
9307 used for the cached services.
9308 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9309 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9310 options for features to all the files in nscd.
9311
9312 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9313
23bee3e8
RM
93142011-07-10 Roland McGrath <roland@hack.frob.com>
9315
9316 * csu/elf-init.c (__libc_csu_init): Comment typo.
9317
46a5b7f0
UD
93182011-07-09 Ulrich Drepper <drepper@gmail.com>
9319
9320 * po/pl.po: Update from translation team.
9321 * po/ja.po: Likewise.
9322 * po/ru.po: Likewise.
9323 * po/ko.po: Likewise.
9324 * po/fr.po: Likewise.
9325
d30cf5bb
RM
93262011-07-09 Roland McGrath <roland@hack.frob.com>
9327
113ddea4
RM
9328 * configure.in (.ctors/.dtors header and trailer check):
9329 Use an empirical test on a built program.
9330 * configure: Regenerated.
9331
574920b4
RM
9332 * configure.in (-z relro check): Use an empirical test on a built DSO.
9333 Detect, but do not require, on ia64.
9334 * configure: Regenerated.
9335
d30cf5bb
RM
9336 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9337 Update tests that use readelf to use $READELF instead.
9338 * configure: Regenerated.
9339
8538fdb3
UD
93402011-07-08 Ulrich Drepper <drepper@gmail.com>
9341
9342 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9343 if the result is not used.
9344
04d08991
AJ
93452011-07-05 Andreas Jaeger <aj@suse.de>
9346
9347 [BZ#9696]
9348 * stdlib/tst-strtod.c: Add testcase.
9349
de283087
AD
93502011-07-07 Ulrich Drepper <drepper@gmail.com>
9351
4e5f31c8 9352 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9353 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9354 The latter has a higher limit. Take additional parameter to pass to
9355 the new function.
9356 (__pathconf): Pass file to __statfs_link_max.
9357 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9358 __statfs_link_max.
9359 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9360 __statfs_link_max.
9361
de283087
AD
9362 [BZ #12868]
9363 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9364 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9365 Handle Lustre.
9366 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9367 (__statfs_filesize_max): Likewise.
9368 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9369
c75fa153
AJ
93702011-07-05 Andreas Jaeger <aj@suse.de>
9371
9372 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9373
1a544854
UD
93742011-07-06 Marek Polacek <mpolacek@redhat.com>
9375
9376 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9377 `status' variable.
9378 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9379 Likewise.
9380
6f0eec67
UD
93812011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9382
9383 * Makefile (strop-tests): Add strncat.
9384 * string/test-strncat.c: New file.
9385
aae30307
UD
93862011-06-30 Marek Polacek <mpolacek@redhat.com>
9387
9388 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9389
c0cfb5eb
UD
93902011-06-21 Andreas Jaeger <aj@suse.de>
9391
9392 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9393 Copy rule from iconvdata/Makefile.
9394
01636b21
UD
93952011-07-06 Ulrich Drepper <drepper@gmail.com>
9396
9397 [BZ #12922]
9398 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9399 but no long options are defined, just return 'W'.
9400
9895c8bc
UD
94012011-06-22 Marek Polacek <mpolacek@redhat.com>
9402
9403 [BZ #9696]
9404 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9405
5d4cf042
UD
94062011-07-06 Ulrich Drepper <drepper@gmail.com>
9407
9408 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9409 netgroups to read.
960e5535 9410 (innetgr): Likewise.
5d4cf042 9411
751eb97e
RM
94122011-07-05 Roland McGrath <roland@hack.frob.com>
9413
9414 * config.make.in (install_root): Default to $(DESTDIR).
9415
f15f1e45
UD
94162011-07-05 Ulrich Drepper <drepper@gmail.com>
9417
9418 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9419
4e34ac6a
RM
94202011-07-02 Roland McGrath <roland@hack.frob.com>
9421
5e9b6af4
RM
9422 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9423
84f9ea0f
RM
9424 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9425 containing directory rather than embedding absolute directory names.
9426
ea5ee9f7
RM
9427 * scripts/check-local-headers.sh: Rewritten using awk.
9428 Match by word, not by line. Print error messages for matches.
9429 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9430
1b74661a
RM
9431 * Makerules [shlib-lds-flags empty]:
9432 ($(common-objpfx)libc_pic.opts): New target.
9433 ($(common-objpfx)libc_pic.os.clean): New target.
9434 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9435
9436 * config.make.in (OBJCOPY): New variable.
9437 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9438 * configure: Regenerated.
9439
f781ef40
RM
9440 * config.make.in (use-default-link): New variable.
9441 * configure.in (use_default_link): Grok --with-default-link to set it.
9442 * configure: Regenerated.
9443 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9444 (shlib-lds, shlib-lds-flags): Define to empty.
9445
2d4fa81e
RM
9446 * Makerules (shlib-lds): New variable.
9447 (shlib-lds-flags): New variable.
9448 (build-shlib, build-moduile, build-module-asneeded): Use it.
9449 ($(common-objpfx)libc.so): Use $(shlib-lds).
9450 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9451 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9452
31fffa6b
RM
9453 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9454 DT_FLAGS/DT_FLAGS_1 with zero flags.
9455
4e34ac6a
RM
9456 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9457 linker script munging.
9458
fcfc776b
UD
94592011-07-02 Ulrich Drepper <drepper@gmail.com>
9460
9461 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9462 as 128-bit value.
9463 * crypt/sha512.c (sha512_process_block): Perform total addition using
9464 128-bit if possible.
9465 (__sha512_finish_ctx): Likewise.
9466 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9467 as 64-bit value.
9468 * crypt/sha256.c (SWAP64): Define.
9469 (sha256_process_block): Perform total addition using 64-bit if
9470 possible.
9471 (__sha256_finish_ctx): Likewise.
9472
99231d9a
UD
94732011-07-01 Ulrich Drepper <drepper@gmail.com>
9474
9475 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9476 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9477 * nscd/hstcache.c (cache_addhst): Likewise.
9478 * nscd/grpcache.c (cache_addgr): Likewise.
9479 * nscd/aicache.c (addhstaiX): Likewise
9480 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9481
445b4a53
TK
94822011-07-01 Thorsten Kukuk <kukuk@suse.de>
9483
9484 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9485 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9486 * nscd/hstcache.c (cache_addhst): Likewise.
9487 * nscd/grpcache.c (cache_addgr): Likewise.
9488 * nscd/aicache.c (addhstaiX): Likewise
9489
6d4d8e8e
AS
94902011-07-01 Andreas Schwab <schwab@redhat.com>
9491
9492 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9493 domain only when needed.
9494
89f654c5
AS
94952011-06-30 Andreas Schwab <schwab@redhat.com>
9496
9497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9498 is always restored.
9499
cf3b23ff
UD
95002011-06-29 Ulrich Drepper <drepper@gmail.com>
9501
9502 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9503 are re-adding the entry.
9504 * nscd/servicescache.c (cache_addserv): Likewise.
9505
751626f9
AJ
95062011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9507
9508 * sysdeps/generic/dl-irel.h: fix protection against multiple
9509 inclusions.
9510 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9511
9113ea1f
UD
95122011-06-28 Ulrich Drepper <drepper@gmail.com>
9513
5c0b8d90
UD
9514 [BZ #12935]
9515 * malloc/memusage.sh: Fix quoting in message.
9516 * debug/xtrace.sh: Likewise.
9517
9113ea1f
UD
9518 * configure.in: Remove support for --experimental-malloc option, make
9519 it the default.
9520 * config.make.in: Likewise.
9521 * malloc/Makefile: Likewise.
9522
a4172181
AS
95232011-06-27 Andreas Schwab <schwab@redhat.com>
9524
9525 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9526 two-byte characters.
9527
78a7eee7
RM
95282011-06-27 Roland McGrath <roland@hack.frob.com>
9529
62bede13
RM
9530 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9531 AC_CACHE_CHECK invocation.
9532 * configure: Regenerated.
9533
78a7eee7
RM
9534 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9535
5ce33a62
UD
95362011-06-27 Ulrich Drepper <drepper@gmail.com>
9537
034807a9
UD
9538 [BZ #12350]
9539 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9540 bit from old_res_options.
9541
4902da17
UD
9542 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9543
5ce33a62
UD
9544 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9545 value type for setfct.
9546
c2344f56
L
95472011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9548
9549 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9550 __gettimeofday instead of gettimeofday.
9551
68468076
UD
95522011-06-26 Ulrich Drepper <drepper@gmail.com>
9553
9554 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9555
acb0d739
L
95562011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9557
9558 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9559
9560 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9561 info.
9562
8912479f
L
95632011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9564
9565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9566 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9567 strcpy-sse2-unaligned strncpy-sse2-unaligned
9568 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9569 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9570 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9571 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9572 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9573 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9574 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9575 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9576 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9577 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9578 (STRCPY): Support SSE2 and SSSE3 versions.
9579
d5495a11
UD
95802011-06-24 Ulrich Drepper <drepper@gmail.com>
9581
9582 [BZ #12874]
9583 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9584 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9585 kernels which artificially limit size of requests.
9586
0b1cbaae
L
95872011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9588
9589 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9590 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9591 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9592 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9593 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9594 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9595 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9596 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9597 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9598 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9599 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9600 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9601 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9602 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9603 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9605 Enable unaligned load optimization for Intel Core i3, i5 and i7
9606 processors.
9607 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9608 Define.
9609 (index_Fast_Unaligned_Load): Define.
9610 (HAS_FAST_UNALIGNED_LOAD): Define.
9611
07f494a0
MP
96122011-06-23 Marek Polacek <mpolacek@redhat.com>
9613
9614 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9615
fa3fc0fe
UD
96162011-06-22 Ulrich Drepper <drepper@gmail.com>
9617
9618 [BZ #12907]
9619 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9620 until it is clear that the information is realy needed.
9621 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9622
e12df166
AS
96232011-06-22 Andreas Schwab <schwab@redhat.com>
9624
9625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9626
852eb34d
UD
96272011-06-22 Ulrich Drepper <drepper@gmail.com>
9628
84e2a551
UD
9629 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9630 /sys/devices/system/cpu/online if it is usable.
9631
852eb34d
UD
9632 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9633 reading the information from the /proc filesystem to once a second.
9634
6e502e19
UD
96352011-06-21 Andreas Jaeger <aj@suse.de>
9636
9637 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9638 NULL after inclusion of kernel headers.
9639
75d39ff2
UD
96402011-06-21 Ulrich Drepper <drepper@gmail.com>
9641
51f9aa6a
UD
9642 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9643 calls to internal_setent.
9644
c0244a9d
UD
9645 [BZ #12885]
9646 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9647 addresses using gethostbyname4_r ignore IPv4 addresses.
9648
c5e3c2ae
UD
9649 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9650 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9651
75d39ff2
UD
9652 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9653
42675c6f
DM
96542011-06-20 David S. Miller <davem@davemloft.net>
9655
9656 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9657 inclusions.
9658 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9659
9660 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9661 (elf_irel): Use it.
9662 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9663 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9664 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9665 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9666 * sysdeps/x86_64/dl-irel.h: Likewise.
9667
9668 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9669 * elf/dl-sym.c: Likewise.
9670
57912a71
UD
96712011-06-15 Ulrich Drepper <drepper@gmail.com>
9672
9673 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9674 need to dereference resplen2.
9675
ee22793d
AS
96762011-06-14 Andreas Schwab <schwab@redhat.com>
9677
9678 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9679
a9e836b0
UD
96802011-06-15 Ulrich Drepper <drepper@gmail.com>
9681
77fb9117
UD
9682 * Makeconfig: Define vardbdir and inst_vardbdir.
9683 * nss/Makefile: Add rules to install db-Makefile.
9684
40c1b22c
UD
9685 * nss/nss_db/db-XXX.c: Cleanup.
9686
9f2da732
UD
9687 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9688 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9689 GLIBC_PRIVATE.
9690 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9691 * nss/makedb.c: Implement -g option to specify that value strings
9692 are generated and should not be added to table iterated over for
9693 get*ent calls.
9694 * nss/nss_db/db-initgroups.c: New file.
9695
82e9a1f7
UD
9696 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9697 interface.
9698
c41af17e
UD
9699 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9700 (internal_getgrouplist): Adjust to name change.
9701 Update use_initgroups_entry if this is not the first call.
9702 * nss/databases.def: Add initgroups entry.
9703
a9e836b0
UD
9704 * nss/makedb.c (compute_tables): Check result of multiple hash table
9705 sizes to minimize maximum chain length.
9706
2666d441
UD
97072011-06-14 Ulrich Drepper <drepper@gmail.com>
9708
9709 * Versions.def: Add entry for libnss_db.
9710 * shlib-versions: Likewise.
9711 * nss/Makefile: Add rules to build libnss_db.
9712 * nss/Versions: Add libnss_db information. Organize libnss_files
9713 entries better.
9714 * nss/db-Makefile: Add gshadow support. Change rules for the new
9715 makedb progra. Some minor improvements to generate smaller files.
9716 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9717 here from...
9718 * nss/makedb.c: ...here.
9719 Improve database format to be smaller and require less memory at
9720 runtime.
9721 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9722 db anymore.
9723 * nss/nss_db/db-netgrp.c: Likewise.
9724 * nss/nss_db/db-open.c: Likewise.
9725 * nss/nss_files/flies-XXX.x: Adjust comments.
9726 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9727 * nss/nss_files/files-grp.c: Likewise.
9728 * nss/nss_files/files-hosts.c: Likewise.
9729 * nss/nss_files/files-network.c: Likewise.
9730 * nss/nss_files/files-proto.c: Likewise.
9731 * nss/nss_files/files-pwd.c: Likewise.
9732 * nss/nss_files/files-rpc.c: Likewise.
9733 * nss/nss_files/files-service.c: Likewise.
9734 * nss/nss_files/files-sgrp.c: Likewise.
9735 * nss/nss_files/files-spwd.c: Likewise.
9736 * nss/nss_db/db-alias.c: Removed.
9737 * nss/nss_db/dummy-db.h: Removed.
9738
9ee76b5a
UD
97392011-06-02 Ulrich Drepper <drepper@gmail.com>
9740
9741 * nss/makedb.c: Rewritten to not use database library.
9742 * nss/Makefile: Update to build new makedb program.
9743
c71ca1f8
AJ
97442011-06-14 Andreas Jaeger <aj@suse.de>
9745
9746 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9747 memset declaration.
9748
3154bfb8
UD
97492011-06-10 Andreas Schwab <schwab@redhat.com>
9750
9751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9752 tmpbuf.
9753
b350afab
RM
97542011-06-10 Roland McGrath <roland@hack.frob.com>
9755
decd4e50
RM
9756 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9757 * elf/Makefile ($(objpfx)ld.so): Likewise.
9758
5615eaf2
RM
9759 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9760 Don't list ld.so twice in dependencies.
9761
9762 * posix/bug-regex31.c: Include <stdlib.h>.
9763
9764 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9765
9766 * nis/nss_compat/compat-spwd.c
9767 (getspent_next_nss_netgr): Remove unused variable.
9768 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9769
9770 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9771 nonmembers" output to use the right array.
9772
9773 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9774
9775 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9776
9777 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9778 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9779 * catgets/gencat.c (read_input_file): Likewise.
9780 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9781
9782 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9783 variable definition inside #if's controlling its use.
9784
9785 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9786
9787 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9788
9789 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9790
9791 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9792 unreachable code.
9793
9794 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9795
b68e08db
RM
9796 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9797 * configure: Regenerated.
9798
b350afab
RM
9799 * Makerules: Revert last change.
9800 * elf/Makefile: Likewise.
9801
28368601
RM
98022011-06-09 Roland McGrath <roland@hack.frob.com>
9803
9804 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9805 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9806 (reloc-link): Likewise.
9807
11988f8f
UD
98082011-06-09 Ulrich Drepper <drepper@gmail.com>
9809
9810 * elf/Makefile: Add rules to build pldd.
9811 * elf/pldd.c: New file.
9812 * elf/pldd-xx.c: New file.
9813
e80fab37
UD
98142011-06-07 Ulrich Drepper <drepper@gmail.com>
9815
9816 * version.h: Update for 2.15 development version.
9817
9b849836
DM
98182011-06-07 David S. Miller <davem@davemloft.net>
9819
9820 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9821 ifuncs.
9822 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9823 elf_machine_lazy_rel): Likewise.
9824 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9825 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9826 elf_machine_lazy_rel): Likewise.
9827 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9828 dl_hwcap via passed in argument.
9829 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9830 Likewise.
9831
5a31b283
AK
98322011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9833
9834 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9835
069e52f8
RM
98362011-06-06 Roland McGrath <roland@hack.frob.com>
9837
9838 [BZ #12849]
9839 * manual/fdl-1.1.texi: New file, verbatim from:
9840 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9841 * manual/lgpl-2.1.texi: New file, verbatim from:
9842 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9843 * manual/Makefile (licenses): New variable, list those new file names.
9844 (texis): Use it.
9845 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9846
9847 * manual/fdl.texi: File removed.
9848 * manual/lesser.texi: File removed.
9849 * manual/libc.texinfo (Copying, Documentation License):
9850 Use new @include file names, put @appendix directive before @include.
9851
f16846a5
JJ
98522011-06-04 Jakub Jelinek <jakub@redhat.com>
9853
9854 [BZ #12841]
9855 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9856 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9857 (mq_open): Add __NTH.
9858
3d29045b
L
98592011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9860
9861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9862 Assume Intel Core i3/i5/i7 processor if AVX is available.
9863
8c297311
UD
98642011-05-31 Ulrich Drepper <drepper@gmail.com>
9865
9866 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9867 typo.
9868
c8fc0c91
UD
98692011-05-31 Andreas Schwab <schwab@redhat.com>
9870
9871 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9872 memory. Use alloca_account. Fix memory leak when retrying.
9873
5b27a807
UD
98742011-05-31 Ulrich Drepper <drepper@gmail.com>
9875
356f8bc6
UD
9876 * version.h (RELEASE): Bump for 2.14 release.
9877 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9878
5b27a807
UD
9879 * config.make.in (RANLIB): Remove entry.
9880
01f16ab0
UD
98812011-05-30 Ulrich Drepper <drepper@gmail.com>
9882
41fce8bd
UD
9883 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9884 (libc.pot): Work around missing support for .ksh extension in xgettext.
9885
4769ae77
UD
9886 [BZ #12684]
9887 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9888 if both request failed.
9889 (send_dg): In case of server errors clear resplen or *resplen2.
9890
6b1e7d19
UD
9891 [BZ #12454]
9892 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9893 when there are multiple maps.
9894 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9895 (_dl_fini): Remove test here.
9896
01f16ab0
UD
9897 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9898
b1ebd700
UD
98992011-05-29 Ulrich Drepper <drepper@gmail.com>
9900
7ae22829
UD
9901 [BZ #12350]
9902 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9903 bit from old_res_options.
9904 (gaih_inet): Likewise.
9905
553149f6 9906 [BZ #11099]
18a84741 9907 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
9908 as signed.
9909
652ffab1
UD
9910 * resolv/res_init.c (res_setoptions): Make the code more compact.
9911
16985fd0
UD
9912 [BZ #11558]
9913 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9914 set RES_USEVC.
9915
0464f746
UD
9916 [BZ #11634]
9917 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9918
7d17596c
UD
9919 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9920
cf6bbbd7
UD
9921 [BZ #11781]
9922 * malloc/malloc.h: Declare malloc hook variables as volatile.
9923
13f1ab36
UD
9924 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9925 in last patch.
9926
b1ebd700
UD
9927 [BZ #11799]
9928 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 9929 raise in the comment.
80e2212d
UD
9930 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9931 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9932 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 9933
ce67228d
UD
99342011-05-28 Ulrich Drepper <drepper@gmail.com>
9935
8887a920
UD
9936 [BZ #12811]
9937 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9938 grow the buffers more if it already has to be sufficient.
9939 (build_wcs_upper_buffer): Likewise.
9940 * posix/regexec.c (check_matching): Likewise.
9941 (clean_state_log_if_needed): Likewise.
9942 (extend_buffers): Don't enlarge buffers beyond size of the input
9943 buffer.
9944 Patches mostly by Emil Wojak <emil@wojak.eu>.
9945 * posix/bug-regex32.c: New file.
9946 * posix/Makefile (tests): Add bug-regex32.
9947
4f031072
UD
9948 * locale/findlocale.c (_nl_find_locale): Return right away if
9949 _nl_explode_name failed.
9950 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9951
d0478f0c
UD
9952 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9953
de81b246
UD
9954 * debug/xtrace.sh: Unify messages.
9955 * malloc/memusage.sh: Likewise.
9956
c738465a
UD
9957 [BZ #12813]
9958 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9959 time symbol from vDSO. Substitute with vsyscall if not available.
9960 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9961 __vdso_time.
9962
f1f929d7
UD
9963 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9964 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9965 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9966 Add sendmmsg and internal_sendmmsg.
9967 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9968 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9969 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9970
ce67228d
UD
9971 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9972 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9973 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9974
e57420c6
UD
99752011-05-27 Ulrich Drepper <drepper@gmail.com>
9976
a8509ca5
UD
9977 [BZ #12813]
9978 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9979 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9980 available.
9981 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9982 __vdso_getcpu.
9983
e57420c6
UD
9984 [BZ #12814]
9985 * iconvdata/Makefile (tests): Add bug-iconv9.
9986 * iconvdata/bug-iconv9.c: New file.
9987
4d07db15
AS
99882011-05-27 Andreas Schwab <schwab@redhat.com>
9989
9990 [BZ #12814]
9991 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9992
ea486f69
JJ
99932011-05-25 Jakub Jelinek <jakub@redhat.com>
9994
9995 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9996 (struct user_regs_struct): Change intcs field back to cs.
9997
6f038433
UD
99982011-05-25 Ulrich Drepper <drepper@gmail.com>
9999
10000 * po/ja.po: Update from translation team.
10001
67f86a25
UD
100022011-05-23 Ulrich Drepper <drepper@gmail.com>
10003
10004 [BZ #12795]
10005 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10006 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10007
def7fbd6
AS
100082011-05-20 Andreas Schwab <schwab@redhat.com>
10009
10010 * stdlib/longlong.h: Update from GCC.
10011
f50ef8f1
AS
100122011-05-23 Andreas Schwab <schwab@redhat.com>
10013
10014 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10015 parameter name.
10016 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10017 Add parameter name.
10018 (__sysconf): Pass it down.
10019
de7ce8f1
UD
100202011-05-22 Ulrich Drepper <drepper@gmail.com>
10021
f2962a71
UD
10022 [BZ #12671]
10023 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10024 some situations.
10025 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10026 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10027 add in in __libc_use_alloca calls. Adjust callers.
10028 (glob): Use malloc in some situations.
10029
de7ce8f1
UD
10030 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10031 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10032 pltexit.
10033
aec84f53
UD
100342011-05-21 Ulrich Drepper <drepper@gmail.com>
10035
05bb4a68
UD
10036 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10037 and CLOCK_BOOTTIME_ALARM.
10038
7ea72f99
UD
10039 [BZ #12782]
10040 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10041 is returned.
10042
7e4afad5
UD
10043 * string/_strerror.c (__strerror_r): Print negative errors as signed
10044 numbers.
10045
8e211fec
UD
10046 [BZ #12777]
10047 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10048 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10049 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10050
f7d82dc9
UD
10051 * configure.in: Fix typo in redirection and correct removal of test
10052 files in two cases.
10053
cc9e536d
UD
10054 [BZ #12788]
10055 * locale/setlocale.c (new_composite_name): Fix test to check for
10056 identical name of all categories.
10057
aec84f53
UD
10058 [BZ #12792]
10059 * libio/filedoalloc.c (local_isatty): New function.
10060 (_IO_file_doallocate): Use local_isatty.
10061 * stdio-common/perror.c (perror): In case a new stream is used
10062 forward the stream error.
10063 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10064 error flag.
10065
78e64fdc
RT
100662011-05-20 Ulrich Drepper <drepper@gmail.com>
10067
34a9094f
UD
10068 [BZ #11869]
10069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10070 alloca.
10071 * include/alloca.h (extend_alloca_account): Define.
10072
78e64fdc
RT
10073 [BZ #11857]
10074 * posix/regex.h: Fix comments with documentation of user-accessible
10075 fields after compilation and describe correct free'ing of pattern
10076 after re_compile_pattern.
10077 Patch by Reuben Thomas <rrt@sc3d.org>.
10078
457bddfc
RA
100792011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10080
10081 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10082 and -mno-altivec to prevent the compiler from using Altivec and/or
10083 VSX instructions when the corresponding registers are not available.
10084
a4527b51
AS
100852011-05-19 Andreas Schwab <schwab@redhat.com>
10086
10087 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10088
ed690b2f
UD
100892011-05-19 Ulrich Drepper <drepper@gmail.com>
10090
10091 * libio/freopen.c (freopen): Use __dup2, not dup2.
10092 * libio/freopen64.c (freopen64): Likewise.
10093
8db73634
L
100942011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10095
10096 [BZ #12775]
10097 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10098 * math/Makefile (tests): Add test-powl.
10099 (CFLAGS-test-powl.c): Define.
10100 * math/test-powl.c: New file.
10101
0a197a9d
L
101022011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10103
10104 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10105
ee30c380
UD
101062011-05-17 Ulrich Drepper <drepper@gmail.com>
10107
10108 [BZ #11837]
10109 * iconvdata/gb18030.c: Update to GB18020-2005.
10110
6ce75379
UD
101112011-05-16 Ulrich Drepper <drepper@gmail.com>
10112
a4b89fd8
AR
10113 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10114 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10115 Patch by Aharon Robbins <arnold@skeeve.com>.
10116
ea389b12
UD
10117 [BZ #11892]
10118 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10119 on the stack.
10120
68a3f91f
UD
10121 [BZ #11895]
10122 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10123 through underflows.
10124
15cc7dd1
UD
10125 [BZ #12766]
10126 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10127 point to strings before performing equality test for error_one_per_line
10128 mode.
10129
f3799213
UD
10130 [BZ #11697]
10131 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10132
d79a9c94
UD
10133 [BZ #11820]
10134 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10135 (struct user_fpregs_struct): Avoid __uint*_t types.
10136
56e5eb46
UD
10137 [BZ #6420]
10138 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10139 symbol info. Use it instead of calling _dl_addr locally.
10140 (lock_and_info): New function.
10141 (tr_freehook): Call lock_and_info and pass symbol info as additional
10142 parameter to tr_where.
10143 (tr_mallochook): Likewise.
10144 (tr_reallochook): Likewise.
10145 (tr_memalignhook): Likewise.
10146
6ce75379
UD
10147 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10148 used and couldn't be at all thread-safe.
10149
f8a3b5bf
UD
101502011-05-15 Ulrich Drepper <drepper@gmail.com>
10151
94b7cc37
UD
10152 * libio/freopen.c (freopen): Don't close old file descriptor
10153 before the new one is opened. Instead dup the new file descriptor
10154 to the old one after the new stream is created.
10155 * libio/freopen64.c (freopen64): Likewise.
10156 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10157 * libio/fileops.c (_IO_new_file_close_it): Handle new
10158 _IO_FLAGS2_NOCLOSE flag.
10159 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10160 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10161 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10162 _IO_FLAGS2_NOCLOSE flag.
10163 * include/unistd.h: Add hidden_proto for dup3.
10164 Define __have_dup3.
10165 * io/dup3.c: Define hidden symbol.
10166 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10167
bd25564e
UD
10168 [BZ #7101]
10169 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10170 when an incomplete long option is used.
10171 * posix/tst-getopt_long1.c: New file.
10172 * posix/Makefile (tests): Add tst-getopt_long1.
10173
c84cfef4
UD
10174 [BZ #10138]
10175 * scripts/config.guess: Update from autoconf-2.68.
10176 * scripts/config.sub: Likewise.
10177
3b85df27
UD
10178 [BZ #10157]
10179 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10180 tests into ...
10181 (has_cpuclock): ...this. New function.
10182 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10183 macro here based on has_cpuclock code.
10184
15a856b1
UD
10185 [BZ #10149]
10186 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10187 First byte (not low byte) is now always NUL.
10188 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10189
05f399e6
UD
10190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10191 Use non-cancelable interfaces.
10192
10a52685 10193 [BZ #9809]
94ecc67d
UD
10194 * locale/iso-639.def: Add entry for Sorani.
10195
f8a3b5bf
UD
10196 [BZ #11901]
10197 * include/stdlib.h: Move include protection to the right place.
10198 Define abort_msg_s. Declare __abort_msg with it.
10199 * stdlib/abort.c (__abort_msg): Adjust type.
10200 * assert/assert.c (__assert_fail_base): New function. Majority
10201 of code from __assert_fail. Allocate memory for __abort_msg with
10202 mmap.
10203 (__assert_fail): Now call __assert_fail_base.
10204 * assert/assert-perr.c: Remove bulk of implementation. Use
10205 __assert_fail_base.
10206 * include/assert.hL Declare __assert_fail_base.
10207 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10208 mmap.
10209 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10210
1af4e298
UD
102112011-05-14 Ulrich Drepper <drepper@gmail.com>
10212
f8a3b5bf 10213 [BZ #11952]
d26dfc60
MG
10214 [BZ #12453]
10215 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10216 until all modules are registered in the DTV.
10217 * elf/Makefile: Add rules to build and run tst-tls19.
10218 * elf/tst-tls19.c: New file.
10219 * elf/tst-tls19mod1.c: New file.
10220 * elf/tst-tls19mod2.c: New file.
10221 * elf/tst-tls19mod3.c: New file.
10222 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10223
2fc54d6f
UD
10224 [BZ #12083]
10225 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10226 correctly.
10227
98d76b46
UD
10228 [BZ #12601]
10229 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10230 two-byte sequence errors.
10231 * iconvdata/Makefile (tests): Add bug-iconv8.
10232 * iconvdata/bug-iconv8.c: New file.
10233
da3c19ef
UD
10234 [BZ #12626]
10235 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10236 buf2 definition.
10237
ca408c15
UD
10238 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10239
d6f67f7d
UD
10240 [BZ #12432]
10241 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10242 (dummy_getcfa): New function.
10243 (init): Get _Unwind_GetCFA address, use dummy if not found.
10244 (backtrace_helper): In recursion check, also check whether CFA changes.
10245 (__backtrace): Completely initialize arg.
10246
1af4e298 10247 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10248 storing incomplete byte sequence in state object. Avoid testing for
10249 guaranteed too small input if we know there is enough data available.
1af4e298 10250
da62f81b
AS
102512011-05-11 Andreas Schwab <schwab@redhat.com>
10252
10253 * Makeconfig (+link-pie): Indent.
10254 * Rules (binaries-pie): Define if $(have-fpie) and
10255 $(build-shared).
10256 (binaries-shared): Also filter out $(binaries-pie).
10257 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10258 * nscd/Makefile (others-pie): Add nscd.
10259 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10260 ($(objpfx)nscd): Remove command override.
10261 * login/Makefile (others-pie): Add pt_chown.
10262 ($(objpfx)pt_chown): Remove command override.
10263 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10264 remove command overrides.
10265
fcabc0f8
UD
102662011-05-13 Ulrich Drepper <drepper@gmail.com>
10267
20030ae6
UD
10268 * libio/tst_putwc.c: Fix error messages.
10269
fcabc0f8
UD
10270 [BZ #12724]
10271 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10272 currently writing and seek to current position when not.
10273 * libio/Makefile (tests): Add bug-fclose1.
10274 * libio/bug-fclose1.c: New file.
10275
320a5dc0
PB
102762011-05-12 Ulrich Drepper <drepper@gmail.com>
10277
10278 [BZ #12511]
10279 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10280 don't set DF_1_NODELETE here.
10281 (do_lookup_x): When entering new entry test for copy relocation
10282 and if necessary set DF_1_NODELETE flag.
10283 * elf/tst-unique4.cc: New file.
10284 * elf/tst-unique4.h: New file.
10285 * elf/tst-unique4lib.cc: New file.
10286 * elf/Makefile: Add rules to build and run tst-unique4.
10287 Patch by Piotr Bury <pbury@goahead.com>.
10288
22836f52
UD
102892011-05-11 Ulrich Drepper <drepper@gmail.com>
10290
f574184a
UD
10291 [BZ #12052]
10292 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10293
e1fb097f
UD
10294 [BZ #12625]
10295 * misc/mntent_r.c (addmntent): Flush the stream after the output
10296
22836f52
UD
10297 [BZ #12393]
10298 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10299 (is_trusted_path_normalize): Skip initial colon. Append slash
10300 to empty buffer. Duplicate is_trusted_path code but allow
10301 constructed patch to be prefix.
10302 (is_dst): Allow $ORIGIN followed by /.
10303 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10304 Correct testing of result of is_trusted_path_normalize
10305 (decompose_rpath): Fix warning.
10306
7b3b0b2a
UD
103072011-05-10 Ulrich Drepper <drepper@gmail.com>
10308
10309 [BZ #11257]
10310 * grp/initgroups.c (internal_getgrouplist): When we found the service
10311 list through the initgroups entry in nsswitch.conf do not always
10312 continue on a successful lookup. Don't always use the
eac80ce2 10313 __nss_group_database value if it is set.
7b3b0b2a
UD
10314 * nss/nsswitch.conf (initgroups): Change action for successful db
10315 lookup to continue for compatibility.
10316
2a81eaa5
UD
103172011-05-09 Ulrich Drepper <drepper@gmail.com>
10318
be97a69e
UD
10319 [BZ #11532]
10320 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10321 and CP774 modules.
10322 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10323 and CP774 modules.
10324 * iconvdata/tst-tables.sh: Likewise.
10325 * iconvdata/cp770.c: New file.
10326 * iconvdata/cp771.c: New file.
10327 * iconvdata/cp772.c: New file.
10328 * iconvdata/cp773.c: New file.
10329 * iconvdata/cp774.c: New file.
10330 * iconvdata/testdata/CP770: New file.
10331 * iconvdata/testdata/CP770..UTF8: New file.
10332 * iconvdata/testdata/CP771: New file.
10333 * iconvdata/testdata/CP771..UTF8: New file.
10334 * iconvdata/testdata/CP772: New file.
10335 * iconvdata/testdata/CP772..UTF8: New file.
10336 * iconvdata/testdata/CP773: New file.
10337 * iconvdata/testdata/CP773..UTF8: New file.
10338 * iconvdata/testdata/CP774: New file.
10339 * iconvdata/testdata/CP774..UTF8: New file.
10340
10341 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10342 END CHARMAP line.
10343 * iconvdata/gen-8bit-gap.sh: Likewise.
10344 * iconvdata/gen-8bit.sh: Likewise.
10345
c1e9e399
UD
10346 * locale/iso-639.def: Add ary entry.
10347
24c55fb3 10348 [BZ #11258]
96b4b1b0
UD
10349 * locale/C-translit.h.in: Add U20A1 transliteration.
10350
bdc2f971
KB
10351 [BZ #12178]
10352 * locale/iso-639.def: Add wae entry.
10353 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10354
2952b117
UD
10355 [BZ #12545]
10356 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10357 for n.
10358
2a81eaa5
UD
10359 [BZ #12711]
10360 * locale/C-translit.h.in: Add entry for U20B9.
10361 Patch by pravin.d.s@gmail.com.
10362
28377d1b
UD
103632011-05-08 Ulrich Drepper <drepper@gmail.com>
10364
7fb90fb8
UD
10365 [BZ #12713]
10366 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10367 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10368 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10369 in rtld. Use *stat64.
7fb90fb8 10370 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10371 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10372 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10373 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10374 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10375 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10376 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10377 __fstatat64 macros.
7fb90fb8
UD
10378 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10379 * dirent/rewinddir.c: Add libc_hidden_def.
10380 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10381 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10382
28377d1b
UD
10383 * include/dirent.h (__alloc_dir): Add flags parameter.
10384 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10385 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10386 __alloc_dir.
10387 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10388 from fdopendir if O_CLOEXEC is already set.
10389
66bdbaa4
AM
103902011-03-15 Alan Modra <amodra@gmail.com>
10391
10392 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10393 l_tls_firstbyte_offset non-zero. Save padding offset in
10394 l_tls_firstbyte_offset for later use.
10395 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10396 freeing static tls block.
10397
95721191
JN
103982011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10399
10400 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10401 where #ifdef was intended. The intent is to prevent ARG_MAX from
10402 being defined by the kernel headers.
10403
f87dfb1f
UD
104042011-05-07 Ulrich Drepper <drepper@gmail.com>
10405
10406 [BZ #12734]
10407 * resolv/resolv.h: Define RES_NOTLDQUERY.
10408 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10409 no-tld-query and set RES_NOTLDQUERY.
10410 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10411 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10412 modern BIND to search name as TLD unless forbidden.
10413
47c3cd7a
UD
104142011-05-07 Petr Baudis <pasky@suse.cz>
10415 Ulrich Drepper <drepper@gmail.com>
10416
10417 [BZ #12393]
10418 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10419 (is_trusted_path): ...to here.
c1e9ea35 10420 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10421 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10422 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10423
8a35c912
PP
104242011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10425
10426 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10427 __BEGIN/__END_DECLS.
10428
acd41f47
UD
104292011-05-06 Ulrich Drepper <drepper@gmail.com>
10430
10431 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10432 NSS_STATUS_NOTFOUND if no record was found.
10433
597df647
AS
104342011-05-05 Andreas Schwab <schwab@redhat.com>
10435
10436 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10437 (headers-not-in-tirpc): Remove rpc/netdb.h
10438 * resolv/netdb.h: Revert last change.
10439
b9af1301
PP
104402011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10441
10442 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10443 circular dependency between libgcc.a and libc.a.
10444
4e34d5f5
AS
104452011-05-05 Andreas Schwab <schwab@redhat.com>
10446
10447 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10448 * nis/Makefile: Don't install rpcsvc/*.
10449 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10450 instead of <rpc/types.h>.
10451 (MAXHOSTNAMELEN): Define.
10452
00ee369c
AS
104532011-05-03 Andreas Schwab <schwab@redhat.com>
10454
10455 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10456
0b592a30
MB
104572011-04-28 Maciej Babinski <mbabinski@google.com>
10458
10459 [BZ #12714]
10460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10461 gethostbyname4_r when IPv6 results are possible.
10462
6e04cbbe
UD
104632011-05-02 Ulrich Drepper <drepper@gmail.com>
10464
10465 [BZ #12723]
10466 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10467 _PC_PIPE_BUF handling.
10468
e4ecafe0
BH
104692011-04-30 Bruno Haible <bruno@clisp.org>
10470
10471 [BZ #12717]
10472 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10473 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10474 to 'int'.
10475 * inet/getnameinfo.c (getnameinfo): Likewise.
10476
125ee683
UD
104772011-04-29 Ulrich Drepper <drepper@gmail.com>
10478
10479 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10480 to groups setting in database lookup.
10481 * nss/nsswitch.conf: Add initgroups entry.
10482
b722481a
EB
104832011-04-22 Ulrich Drepper <drepper@gmail.com>
10484
10485 [BZ #12685]
10486 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10487 mode string.
10488 Patch by Eric Blake <eblake@redhat.com>.
10489
4df46dbd
L
104902011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10491
10492 * sunrpc/Makefile (need-export-routines): Add svc_run.
10493 (routines): Remove svc_run.
10494 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10495 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10496 * sunrpc/svc_run.c (svc_run): Likewise.
10497 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10498
e84142d2
UD
104992011-04-21 Ulrich Drepper <drepper@gmail.com>
10500
10501 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10502 problem in reallocation in last patch.
10503
877175d8
UD
105042011-04-20 Ulrich Drepper <drepper@gmail.com>
10505
10506 * sunrpc/Makefile: Move inclusion of Rules.
10507
ab8eed78
UD
105082011-04-19 Ulrich Drepper <drepper@gmail.com>
10509
10510 * nss/nss_files/files-initgroups.c: New file.
10511 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10512 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10513 _nss_files_initgroups_dyn.
10514
e3d8f584
RS
105152011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10516
10517 * elf/elf.h (R_ARM_IRELATIVE): Define.
10518
af190f45
UD
105192011-04-19 Ulrich Drepper <drepper@gmail.com>
10520
10521 * po/ru.po: Update from translation team.
10522
53cf59ef
UD
105232011-04-17 Ulrich Drepper <drepper@gmail.com>
10524
10525 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10526 dependencies.
10527
4c559bcd
MF
105282011-02-06 Mike Frysinger <vapier@gentoo.org>
10529
10530 [BZ #12653]
10531 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10532 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10533 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10534 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10535 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10536
4420675c
AS
105372011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10538
10539 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10540 differing bytes.
10541 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10542 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10544
75ea32ab
UD
105452011-04-17 Ulrich Drepper <drepper@gmail.com>
10546
10547 [BZ #12420]
10548 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10549 storing it.
10550 * stdlib/bug-getcontext.c: New file.
10551 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10552
27390476
AK
105532011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10554
10555 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10556 instructions into .machine "z9-109".
10557 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10558 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10559
10442705
AK
105602011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10561
10562 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10563 between environment variables and auxiliary vector.
10564
7b57bfe5
UD
105652011-04-16 Ulrich Drepper <drepper@gmail.com>
10566
10567 * Makefile: Add rules to build linkobj/libc.so.
10568 * include/libc-symbols.h: Define libc_hidden_nolink.
10569 * include/rpc/auth.h: Mark functions which are to be hidden.
10570 * include/rpc/auth_des.h: Likewise.
10571 * include/rpc/auth_unix.h: Likewise.
10572 * include/rpc/clnt.h: Likewise.
10573 * include/rpc/des_crypt.h: Likewise.
10574 * include/rpc/key_prot.h: Likewise.
10575 * include/rpc/pmap_clnt.h: Likewise.
10576 * include/rpc/pmap_prot.h: Likewise.
10577 * include/rpc/pmap_rmt.h: Likewise.
10578 * include/rpc/rpc_msg.h: Likewise.
10579 * include/rpc/svc.h: Likewise.
10580 * include/rpc/svc_auth.h: Likewise.
10581 * include/rpc/xdr.h: Likewise.
10582 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10583 * nss/Makefile: Likewise.
10584 * sunrpc/Makefile: Don't install headers. Build library with normal
10585 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10586 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10587 for the compat linking library. Remove use of INTDEF/INTUSE.
10588 * sunrpc/auth_none.c: Likewise.
10589 * sunrpc/auth_unix.c: Likewise.
10590 * sunrpc/authdes_prot.c: Likewise.
10591 * sunrpc/authuxprot.c: Likewise.
10592 * sunrpc/clnt_gen.c: Likewise.
10593 * sunrpc/clnt_perr.c: Likewise.
10594 * sunrpc/clnt_raw.c: Likewise.
10595 * sunrpc/clnt_simp.c: Likewise.
10596 * sunrpc/clnt_tcp.c: Likewise.
10597 * sunrpc/clnt_udp.c: Likewise.
10598 * sunrpc/clnt_unix.c: Likewise.
10599 * sunrpc/des_crypt.c: Likewise.
10600 * sunrpc/des_soft.c: Likewise.
10601 * sunrpc/get_myaddr.c: Likewise.
10602 * sunrpc/key_call.c: Likewise.
10603 * sunrpc/key_prot.c: Likewise.
10604 * sunrpc/netname.c: Likewise.
10605 * sunrpc/pm_getmaps.c: Likewise.
10606 * sunrpc/pm_getport.c: Likewise.
10607 * sunrpc/pmap_clnt.c: Likewise.
10608 * sunrpc/pmap_prot.c: Likewise.
10609 * sunrpc/pmap_prot2.c: Likewise.
10610 * sunrpc/pmap_rmt.c: Likewise.
10611 * sunrpc/publickey.c: Likewise.
10612 * sunrpc/rpc_cmsg.c: Likewise.
10613 * sunrpc/rpc_common.c: Likewise.
10614 * sunrpc/rpc_dtable.c: Likewise.
10615 * sunrpc/rpc_prot.c: Likewise.
10616 * sunrpc/rpc_thread.c: Likewise.
10617 * sunrpc/rtime.c: Likewise.
10618 * sunrpc/svc.c: Likewise.
10619 * sunrpc/svc_auth.c: Likewise.
10620 * sunrpc/svc_authux.c: Likewise.
10621 * sunrpc/svc_raw.c: Likewise.
10622 * sunrpc/svc_run.c: Likewise.
10623 * sunrpc/svc_simple.c: Likewise.
10624 * sunrpc/svc_tcp.c: Likewise.
10625 * sunrpc/svc_udp.c: Likewise.
10626 * sunrpc/svc_unix.c: Likewise.
10627 * sunrpc/svcauth_des.c: Likewise.
10628 * sunrpc/xcrypt.c: Likewise.
10629 * sunrpc/xdr.c: Likewise.
10630 * sunrpc/xdr_array.c: Likewise.
10631 * sunrpc/xdr_float.c: Likewise.
10632 * sunrpc/xdr_intXX_t.c: Likewise.
10633 * sunrpc/xdr_mem.c: Likewise.
10634 * sunrpc/xdr_rec.c: Likewise.
10635 * sunrpc/xdr_ref.c: Likewise.
10636 * sunrpc/xdr_sizeof.c: Likewise.
10637 * sunrpc/xdr_stdio.c: Likewise.
10638
e6c61494
UD
106392011-04-10 Ulrich Drepper <drepper@gmail.com>
10640
10641 [BZ #12650]
10642 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10643 * sysdeps/ia64/dl-tls.h: Likewise.
10644 * sysdeps/powerpc/dl-tls.h: Likewise.
10645 * sysdeps/s390/dl-tls.h: Likewise.
10646 * sysdeps/sh/dl-tls.h: Likewise.
10647 * sysdeps/sparc/dl-tls.h: Likewise.
10648 * sysdeps/x86_64/dl-tls.h: Likewise.
10649 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10650
34fe483e
AS
106512011-03-14 Andreas Schwab <schwab@redhat.com>
10652
10653 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10654 rpath element also skip the following colon.
10655 (expand_dynamic_string_token): Add is_path parameter and pass
10656 down to DL_DST_REQUIRED and _dl_dst_substitute.
10657 (decompose_rpath): Call expand_dynamic_string_token with
10658 non-zero is_path. Ignore empty rpaths.
10659 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10660 with zero is_path.
10661
f12a32e6
AS
106622011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10663
10664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10665 Make cancelable.
10666
38a7d692
UD
106672011-04-09 Ulrich Drepper <drepper@gmail.com>
10668
10669 [BZ #12655]
10670 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10671 Patch by Filipe David Manana <fdmanana@apache.org>.
10672
e451d22b
AS
106732011-04-07 Andreas Schwab <schwab@redhat.com>
10674
10675 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10676 Maintain aligned stack.
10677 (CHECK_RSP): Remove unused macro.
10678
dedc7c7b
UD
106792011-04-03 Ulrich Drepper <drepper@gmail.com>
10680
10681 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10682 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10683
94521213
UD
106842011-04-02 Ulrich Drepper <drepper@gmail.com>
10685
10686 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10687
8cb700c0 10688 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 10689
0354e355
L
106902011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10691
10692 [BZ #12518]
10693 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10694 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10695 * sysdeps/x86_64/memmove.c: New file.
10696 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10697 (memcpy): Renamed to ...
10698 (__new_memcpy): This.
10699 (memcpy): Provide GLIBC_2_14 memcpy.
10700 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10701 (memcpy): Provide GLIBC_2_2_5 memcpy.
10702
8593482f
UD
107032011-04-01 Ulrich Drepper <drepper@gmail.com>
10704
10705 [BZ #12631]
10706 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10707
81a5726b
AS
107082011-03-30 Andreas Schwab <schwab@redhat.com>
10709
10710 * misc/syncfs.c: New file.
10711 * misc/Makefile (routines): Add syncfs.
10712 * posix/unistd.h: Declare syncfs.
10713 * sysdeps/unix/syscalls.list: Add syncfs.
10714
00e5419f
AS
107152011-04-01 Andreas Schwab <schwab@redhat.com>
10716
10717 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10718 open_by_handle_at.
10719 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10720 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10722 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10724 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10725 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10726
748876bf
UD
107272011-04-01 Ulrich Drepper <drepper@gmail.com>
10728
658e451d
UD
10729 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10730 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10731 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10733 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10736
748876bf
UD
10737 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10738 sync_file_range.c with -fexceptions.
10739 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10740 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10741 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10742 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10743 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10744 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10745 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
10746 sync_file_range as cancellation point
10747 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10748 now a wrapper around __call_sync_file_range with cancellation handling.
10749 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10750 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10751 function name to __call_sync_file_range.
10752 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10753 Add call_sync_file_range.
748876bf 10754
6e63d5e1
AS
107552011-04-01 Andreas Schwab <schwab@redhat.com>
10756
10757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 10758 bits/timex.h.
6e63d5e1 10759
46998f74
UD
107602011-04-01 Ulrich Drepper <drepper@gmail.com>
10761
4c1423ed
UD
10762 * iconv/iconv.h: Fix typo in comment.
10763 * io/fcntl.h: Likewise.
10764 * libio/stdio.h: Likewise.
10765 * posix/spawn.h: Likewise.
10766 * posix/unistd.h: Likewise.
10767 * stdlib/stdlib.h: Likewise.
10768 * time/time.h: Likewise.
10769 * wcsmbs/wchar.h: Likewise.
10770
158648c0
UD
10771 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10772 open_by_handle): Add.
10773 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10774 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10775 Augment a few comments.
10776 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10777 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10778 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10779 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10780 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10781 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10782 open_by_handle.
10783
46998f74
UD
10784 * io/fcntl.h (AT_EMPTY_PATH): Define.
10785
83fe108b
UD
107862011-03-30 Ulrich Drepper <drepper@gmail.com>
10787
10788 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10789 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10790 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10791 to...
10792 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
10793 * Versions.def: Add GLIBC_2.14.
10794 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10795 Export.
83fe108b 10796
bb242059
UD
107972011-03-22 Ulrich Drepper <drepper@gmail.com>
10798
10799 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10800 round counter.
10801 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10802
c97a1282
L
108032011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10804
10805 [BZ #12597]
10806 * string/test-strncmp.c (do_page_test): New function.
10807 (check2): Likewise.
10808 (test_main): Call check2.
10809 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10810
2a115601
UD
108112011-03-20 Ulrich Drepper <drepper@gmail.com>
10812
10813 [BZ #12587]
10814 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10815 Handle cache information in CPU leaf 4.
10816 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10817
8126d904
UD
108182011-03-18 Ulrich Drepper <drepper@gmail.com>
10819
042c49c6 10820 [BZ #12583]
8126d904
UD
10821 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10822 character representation.
10823 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10824
ccfe366e
RA
108252011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10826
10827 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10828 END(__isnan) to END(__isnanf) to match function entry point/label
10829 EALIGN(__isnanf,...).
10830
c6e13027
JJ
108312011-03-10 Jakub Jelinek <jakub@redhat.com>
10832
10833 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10834
33f85a3f
UD
108352011-03-10 Ulrich Drepper <drepper@gmail.com>
10836
028478fa
UD
10837 [BZ #12510]
10838 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10839 copy from the symbol referenced in the relocation to initialize the
10840 used variable.
10841 Patch by Piotr Bury <pbury@goahead.com>.
10842 * elf/Makefile: Add rules to build and tst-unique3.
10843 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10844 * elf/tst-unique3.cc: New file.
10845 * elf/tst-unique3.h: New file.
10846 * elf/tst-unique3lib.cc: New file.
10847 * elf/tst-unique3lib2.cc: New file.
10848
33f85a3f
UD
10849 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10850
03592fc7
MF
108512011-03-10 Mike Frysinger <vapier@gentoo.org>
10852
10853 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10854 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10855 to _start.
03592fc7 10856
6a5ee102
UD
108572011-03-06 Ulrich Drepper <drepper@gmail.com>
10858
10859 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10860 to-be-loaded object along a path to loader is ld.so.
10861
7e4ba49c
HJ
108622011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10863 Ulrich Drepper <drepper@gmail.com>
10864
10865 * sysdeps/x86_64/memset.S: After aligning destination, code
10866 branches to different locations depending on the value of
10867 misalignment, when multiarch is enabled. Fix this.
10868
108692011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10870
10871 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10872 Set _x86_64_preferred_memory_instruction for AMD processsors.
10873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10874 Set bit_Prefer_SSE_for_memop for AMD processors.
10875
13a804de
UD
108762011-03-04 Ulrich Drepper <drepper@gmail.com>
10877
10878 * libio/fmemopen.c (fmemopen): Optimize a bit.
10879
9d25c392
AS
108802011-03-03 Andreas Schwab <schwab@redhat.com>
10881
10882 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10883
a5543c6a
RM
108842011-03-03 Roland McGrath <roland@redhat.com>
10885
10886 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10887
012d35f7
DM
108882011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10889
7e4ba49c 10890 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
10891 __bzero_ultra1 instead of __memset_ultra1.
10892
4bff6e01
AS
108932011-02-23 Andreas Schwab <schwab@redhat.com>
10894 Ulrich Drepper <drepper@gmail.com>
10895
10896 [BZ #12509]
10897 * include/link.h (struct link_map): Add l_orig_initfini.
10898 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10899 returning unsuccessfully.
10900 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10901 close of a file loaded at startup, restore the original l_initfini
10902 list.
10903 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10904 list, store the pointer.
10905 * elf/Makefile ($(objpfx)noload-mem): New rule.
10906 (noload-ENV): Define.
10907 (tests): Add $(objpfx)noload-mem.
10908 * elf/noload.c: Include <memcheck.h>.
10909 (main): Call mtrace. Close all opened handles.
10910
f2092faf
AS
109112011-02-17 Andreas Schwab <schwab@redhat.com>
10912
10913 [BZ #12454]
10914 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10915 dependencies are missing.
10916
6c8a2e88
ST
109172011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10918
f2092faf 10919 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
10920 Hurd needs munmap.
10921 * sysdeps/mach/hurd/ifreq.h: New file.
10922
84a42118
PB
109232011-01-27 Petr Baudis <pasky@suse.cz>
10924 Ulrich Drepper <drepper@gmail.com>
10925
071f805e 10926 [BZ 12445]#
84a42118
PB
10927 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10928 to extend_alloca().
10929 * stdio-common/bug23.c: New file.
10930 * stdio-common/Makefile (tests): Add bug23.
10931
e23fe25b
AS
109322010-09-28 Andreas Schwab <schwab@redhat.com>
10933 Ulrich Drepper <drepper@gmail.com>
10934
10935 [BZ #12489]
10936 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10937 before performing relro protection. At old place add assertion
10938 to make sure nothing changed.
10939
d3f02e10
NS
109402011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10941 Glauber de Oliveira Costa <glommer@gmail.com>
10942
10943 * elf/elf.h: Add new ARM TLS relocs.
10944
d55fd7a5
RA
109452011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10946
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10948 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10949 cast from r3.
10950 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10951 'tests' variable.
10952 * sysdeps/wordsize-64/tst-writev.c: New file.
10953
2206397e
RA
109542011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10955
10956 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10957 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10958 insns in _dl_start to prevent a TOC reference before relocs are
10959 resolved.
10960
e9433893
UD
109612011-02-15 Ulrich Drepper <drepper@gmail.com>
10962
10963 [BZ #12469]
10964 * Makeconfig: Remove RANLIB definition.
10965 * Makerules: Don't use RANLIB.
10966 * aclocal.m4: Remove ranlib test.
10967 * configure.in: No need to check for ranlib.
10968 * elf/rtld-Rules: Don't use RANLIB.
10969
f75286c6
ST
109702011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10971
8e31c82d
ST
10972 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10973 protection macro.
10974 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10975 inclusion protection macro.
10976
f75286c6
ST
10977 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10978 SIGRTMIN and SIGRTMAX and print information in that case only when
10979 SIGRTMIN is defined.
10980
c1d0e639
JJ
109812011-02-11 Jakub Jelinek <jakub@redhat.com>
10982
10983 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10984 arginfo fn returning -1.
10985
10986 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10987 and thousands string is zero terminated.
10988
edf9294e
AS
109892011-02-03 Andreas Schwab <schwab@redhat.com>
10990
10991 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10992 sysdeps/unix/sysv/linux/bits/socket.h.
10993
2b7e92df
ST
109942011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10995
edf9294e
AS
10996 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10997 (__CPU_COUNT): Remove old macros.
10998 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10999 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11000 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11001 (__sched_cpualloc, __sched_cpufree): Add declarations.
11002
a4c7ea7b
UD
110032011-02-05 Ulrich Drepper <drepper@gmail.com>
11004
11005 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11006 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11007 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11008 (readdhstai): Return value of addhstaiX call.
11009 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11010 (addgrbyX): Return value returned by cache_addgr.
11011 (readdgrbyname): Return value returned by addgrbyX.
11012 (readdgrbygid): Likewise.
11013 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11014 (addpwbyX): Return value returned by cache_addpw.
11015 (readdpwbyname): Return value returned by addhstbyX.
11016 (readdpwbyuid): Likewise.
11017 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11018 (addservbyX): Return value returned by cache_addserv.
11019 (readdservbyname): Return value returned by addservbyX:
11020 (readdservbyport): Likewise.
11021 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11022 (addhstbyX): Return value returned by cache_addhst.
11023 (readdhstbyname): Return value returned by addhstbyX.
11024 (readdhstbyaddr): Likewise.
11025 (readdhstbynamev6): Likewise.
11026 (readdhstbyaddrv6): Likewise.
11027 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11028 (readdinitgroups): Return value returned by addinitgroupsX.
11029 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11030 (prune_cache): Keep track of timeout value of re-added entries.
11031 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11032 * nscd/nscd.h: Adjust prototypes of readd* functions.
11033
a0bf67cc
RM
110342011-02-04 Roland McGrath <roland@redhat.com>
11035
11036 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11037 (nis_stats): Likewise.
11038 * nis/nis_modify.c (nis_modify): Likewise.
11039 * nis/nis_remove.c (nis_remove): Likewise.
11040 * nis/nis_add.c (nis_add): Likewise.
11041
11042 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11043
11044 * posix/fnmatch_loop.c: Add some consts.
11045
11046 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11047
435b95eb
L
110482011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11049
11050 [BZ #12460]
11051 * config.make.in (config-cflags-novzeroupper): Define.
11052 * configure.in: Substitute libc_cv_cc_novzeroupper.
11053 * elf/Makefile (AVX-CFLAGS): Define.
11054 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11055 (CFLAGS-tst-auditmod4a.c): Likewise.
11056 (CFLAGS-tst-auditmod4b.c): Likewise.
11057 (CFLAGS-tst-auditmod6b.c): Likewise.
11058 (CFLAGS-tst-auditmod6c.c): Likewise.
11059 (CFLAGS-tst-auditmod7b.c): Likewise.
11060 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11061
8517b15e
UD
110622011-02-02 Ulrich Drepper <drepper@gmail.com>
11063
11064 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11065 function to the callback.
11066 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11067
10a656fe
AS
110682011-02-02 Andreas Schwab <schwab@redhat.com>
11069
11070 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11071 of errno.
11072
968dad0a
UD
110732011-01-19 Ulrich Drepper <drepper@gmail.com>
11074
9f94d2ea 11075 [BZ #11724]
968dad0a
UD
11076 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11077 of constructors.
11078 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11079 of destructors.
11080 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11081
11082 [BZ #11724]
11083 * elf/Makefile: Add rules to build and run new test.
11084 * elf/tst-initorder.c: New file.
11085 * elf/tst-initorder.exp: New file.
11086 * elf/tst-initordera1.c: New file.
11087 * elf/tst-initordera2.c: New file.
11088 * elf/tst-initordera3.c: New file.
11089 * elf/tst-initordera4.c: New file.
11090 * elf/tst-initorderb1.c: New file.
11091 * elf/tst-initorderb2.c: New file.
11092 * elf/tst-order-a1.c: New file.
11093 * elf/tst-order-a2.c: New file.
11094 * elf/tst-order-a3.c: New file.
11095 * elf/tst-order-a4.c: New file.
11096 * elf/tst-order-b1.c: New file.
11097 * elf/tst-order-b2.c: New file.
11098 * elf/tst-order-main.c: New file.
11099 New test case by George Gensure <werkt0@gmail.com>.
11100
86e92359
UD
111012010-10-01 Andreas Schwab <schwab@redhat.com>
11102
11103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11104 decoding ACE if AI_CANONIDN.
11105
5d5732b0
UD
111062011-01-18 Ulrich Drepper <drepper@gmail.com>
11107
11108 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11109
a77e8cbc
UD
111102011-01-17 Ulrich Drepper <drepper@gmail.com>
11111
6392473f
UD
11112 * version.h (RELEASE): Bump for 2.13 release.
11113 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11114
620a0529
UD
11115 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11116
18ba70a5
UD
11117 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11118 MADV_NOHUGEPAGE.
32465c3e
UD
11119 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11120 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11121 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11122 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11123 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11124 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11125
c0dafcf1
UD
11126 * posix/getconf.c: Update copyright year.
11127 * catgets/gencat.c: Likewise.
11128 * csu/version.c: Likewise.
11129 * debug/catchsegv.sh: Likewise.
11130 * debug/xtrace.sh: Likewise.
11131 * elf/ldconfig.c: Likewise.
11132 * elf/ldd.bash.in: Likewise.
11133 * elf/sprof.c (print_version): Likewise.
11134 * iconv/iconv_prog.c: Likewise.
11135 * iconv/iconvconfig.c: Likewise.
11136 * locale/programs/locale.c: Likewise.
11137 * locale/programs/localedef.c: Likewise.
11138 * malloc/memusage.sh: Likewise.
11139 * malloc/mtrace.pl: Likewise.
11140 * nscd/nscd.c (print_version): Likewise.
11141 * nss/getent.c: Likewise.
11142
a77e8cbc
UD
11143 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11144 PF_CAIF, and PF_ALG.
11145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11146
77e8bddf
AS
111472011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11148
1f20b93a
AS
11149 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11150 (modules-names): Use them.
11151 (ifunc-test-modules, ifunc-pie-tests): Define.
11152 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11153 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11154 (test-extras): Likewise.
11155 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11156 $(compile-command.c).
11157 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11158 (all-built-dso): Define.
11159 (check-textrel.out, check-execstack.out): Depend on it.
11160
77e8bddf
AS
11161 * configure.in: Don't override --enable-multi-arch.
11162
bc425b33
UD
111632011-01-15 Ulrich Drepper <drepper@gmail.com>
11164
11165 [BZ #6812]
11166 * nscd/hstcache.c (tryagain): Define.
11167 (cache_addhst): Return tryagain not notfound for temporary errors.
11168 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11169 failed.
11170
794c3ad3
UD
111712011-01-14 Ulrich Drepper <drepper@gmail.com>
11172
70181fdd
UD
11173 [BZ #10563]
11174 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11175 to make the syscall.
11176 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11177
794c3ad3
UD
11178 [BZ #12378]
11179 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11180 and fall back to matching as normal character if the string ends before
11181 the matching ']' is found. This is what POSIX requires.
11182 * posix/testfnm.c: Adjust test result.
11183 * posix/globtest.sh: Adjust test result. Add new test.
11184 * posix/tst-fnmatch.input: Likewise.
11185 * posix/tst-fnmatch2.c: Add new test.
11186
68dc9497
AS
111872010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11188
11189 * elf/Makefile (check-execstack): Revert last change. Depend on
11190 check-execstack.h.
11191 (check-execstack.h): New target.
11192 (generated): Add check-execstack.h.
11193 * elf/check-execstack.c: Include "check-execstack.h".
11194 (main): Revert last change.
11195 (handle_file): Return zero if GNU_STACK is absent and
11196 DEFAULT_STACK_PERMS doesn't include PF_X.
11197
451f001b
UD
111982011-01-13 Ulrich Drepper <drepper@gmail.com>
11199
cfa28e56
UD
11200 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11201 in child fails because the descriptor is already closed.
8cf8ce17
UD
11202 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11203 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11204 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11205
1086d70d
UD
11206 [BZ #12397]
11207 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11208 syscall.
11209
451f001b
UD
11210 [BZ #10484]
11211 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11212 temporary buffer used to handle multi lookups locally.
a85b5cb4 11213 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11214
08769175
UD
112152011-01-12 Ulrich Drepper <drepper@gmail.com>
11216
11217 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11218 loader is ld.so.
11219
5e49c52e
UD
112202011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11221
11222 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11223 alignment for SSE2.
11224
60522a5f
UD
112252011-01-12 Ulrich Drepper <drepper@gmail.com>
11226
11227 [BZ #12394]
11228 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11229 characters. When rounding increased number of integer digits recompute
11230 number of groups.
11231 * stdio-common/tst-grouping.c: New file.
11232 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11233
f257bbd7
UD
112342011-01-09 Ulrich Drepper <drepper@gmail.com>
11235
11236 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11237 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11238
11239 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11240 void.
11241 * bits/select.h: Likewise.
11242
fa9c15cb
UD
112432011-01-08 Ulrich Drepper <drepper@gmail.com>
11244
11245 * po/ja.po: Update from translation team.
11246
16c2895f
DM
112472011-01-04 David S. Miller <davem@sunset.davemloft.net>
11248
11249 [BZ #11155]
11250 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11251 implementation just like for lxstat, fxstatat, et al.
11252
2543fef2
JM
112532010-12-27 Jim Meyering <meyering@redhat.com>
11254
11255 [BZ #12348]
11256 * posix/regexec.c (build_trtable): Return failure indication upon
11257 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11258
98727dbe
UD
112592010-12-25 Ulrich Drepper <drepper@gmail.com>
11260
5bd6dc5c
UD
11261 [BZ #12201]
11262 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11263 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11264 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11265 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11266
97983464
UD
11267 [BZ #12207]
11268 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11269
98727dbe
UD
11270 [BZ #12204]
11271 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11272 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11273
4a531bb0
L
112742010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11275
11276 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11277 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11278 script has SORT_BY_INIT_PRIORITY.
11279 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11280 NO_CTORS_DTORS_SECTIONS is defined.
11281 * elf/soinit.c: Likewise.
11282 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11283 NO_CTORS_DTORS_SECTIONS is defined.
11284 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11285 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11286 * sysdeps/sh/init-first.c: Likewise.
11287 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11288
07eb4b71
UD
112892010-12-24 Ulrich Drepper <drepper@gmail.com>
11290
11291 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11292 always use the slow path.
11293
30950a5f
RA
112942010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11295
11296 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11297 similar rule which adds the sysdep directories to the header search in
11298 order to pick up the correct platform stackinfo.h.
11299 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11300 perform test if it is, otherwise return successfully without testing.
11301 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11302 DEFAULT_STACK_PERMS define in stackinfo.h.
11303 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11304 defined in stackinfo.h.
11305 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11306 DEFAULT_STACK_PERMS defined in stackinfo.h.
11307 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11308 * sysdeps/ia64/stackinfo.h: Likewise.
11309 * sysdeps/s390/stackinfo.h: Likewise.
11310 * sysdeps/sh/stackinfo.h: Likewise.
11311 * sysdeps/sparc/stackinfo.h: Likewise.
11312 * sysdeps/x86_64/stackinfo.h: Likewise.
11313 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11314 PF_X for powerpc64. Retain PF_X for powerpc32.
11315
db753e2c
UD
113162010-12-19 Ulrich Drepper <drepper@gmail.com>
11317
14b697f7
UD
11318 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11319 accurately.
db753e2c
UD
11320 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11321 GETDENTS_64BIT_ALIGNED.
11322
28300719
UD
113232010-12-14 Ulrich Drepper <dreper@gmail.com>
11324
14b697f7 11325 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11326
4f197237
AS
113272010-12-10 Andreas Schwab <schwab@redhat.com>
11328
dbb0472f
AS
11329 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11330 _GNU_SOURCE.
11331
4f197237
AS
11332 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11333 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11334 Remove __restrict.
11335 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11336 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11337
fb88ac72
UD
113382010-12-09 Ulrich Drepper <drepper@gmail.com>
11339
11340 [BZ #11655]
11341 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11342 are initialized.
11343
42acbb92
JJ
113442010-12-09 Jakub Jelinek <jakub@redhat.com>
11345
11346 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11347
c038d98d
UD
113482010-12-03 Ulrich Drepper <drepper@gmail.com>
11349
11350 * po/it.po: Update from translation team.
11351
3a4a2499
L
113522010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11353
11354 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11355 unused codes.
11356
1e24cf6e
UD
113572010-11-30 Ulrich Drepper <drepper@gmail.com>
11358
11359 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11360
a7690819
AS
113612010-11-24 Andreas Schwab <schwab@redhat.com>
11362
11363 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11364 specially.
11365 (gaih_getanswer_slice): Likewise.
11366
3bf8d1b1
JJ
113672010-10-20 Jakub Jelinek <jakub@redhat.com>
11368
11369 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11370
6db52fbb
PB
113712010-05-31 Petr Baudis <pasky@suse.cz>
11372
11373 [BZ #11149]
11374 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11375 silently even in the chroot mode.
11376
eaca7569
UD
113772010-11-22 Ulrich Drepper <drepper@gmail.com>
11378
11379 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11380 last patch a bit. Pretty printing
11381
3056dcdb
UD
113822010-05-31 Petr Baudis <pasky@suse.cz>
11383
11384 [BZ #10085]
11385 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11386 initialization of skip_initgroups_dyn.
11387
cf7c9078
UD
113882010-11-19 Ulrich Drepper <drepper@gmail.com>
11389
11390 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11391 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11392
a1fb5e3e
UD
113932010-11-16 Ulrich Drepper <drepper@gmail.com>
11394
11395 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11396
3540d66b
AS
113972010-11-11 Andreas Schwab <schwab@redhat.com>
11398
11399 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11400 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11401 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11402 ($(objpfx)tst-fnmatch-mem): New rule.
11403 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11404 * posix/tst-fnmatch.c (main): Call mtrace.
11405
13b69574
L
114062010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11407
11408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11409 Support Intel processor model 6 and model 0x2c.
11410
da93d214
LM
114112010-11-10 Luis Machado <luisgpm@br.ibm.com>
11412
11413 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11414 signed comparison.
11415
8ca52c6e
L
114162010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11417
11418 [BZ #12205]
11419 * string/test-strncasecmp.c (check_result): New function.
11420 (do_one_test): Use it.
11421 (check1): New function.
11422 (test_main): Use it.
11423 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11424 Support strcasecmp and strncasecmp.
11425
69da074d
UD
114262010-11-08 Ulrich Drepper <drepper@gmail.com>
11427
11428 [BZ #12194]
11429 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11430 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11431
ff02d528
L
114322010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11433
11434 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11435 IFUNC support.
11436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11437 memset-x86-64.
11438 * sysdeps/x86_64/multiarch/bzero.S: New file.
11439 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11440 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11441 * sysdeps/x86_64/multiarch/memset.S: New file.
11442 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11444 Set bit_Prefer_SSE_for_memop for Intel processors.
11445 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11446 Define.
11447 (index_Prefer_SSE_for_memop): Define.
11448 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11449
344d0b54
LM
114502010-11-04 Luis Machado <luisgpm@br.ibm.com>
11451
11452 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11453 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11454
c0dde15b
UD
114552010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11456
11457 [BZ #12191]
11458 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11459 (__x86_64_raw_data_cache_size_half): Likewise.
11460 (__x86_64_raw_shared_cache_size): Likewise.
11461 (__x86_64_raw_shared_cache_size_half): Likewise.
11462
11463 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11464 (__x86_64_raw_data_cache_size_half): Likewise.
11465 (__x86_64_raw_shared_cache_size): Likewise.
11466 (__x86_64_raw_shared_cache_size_half): Likewise.
11467 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11468 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11469 and __x86_64_raw_shared_cache_size_half. Round
11470 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11471 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11472 to multiple of 256 bytes.
11473
0e516e0e
MS
114742010-11-03 Ulrich Drepper <drepper@gmail.com>
11475
11476 [BZ #12167]
11477 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11478 of inacessible symlinks. Verify result of symlink before returning it.
11479 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11480 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11481
0e012e87
ER
114822010-10-28 Erich Ritz <erichritz@gmail.com>
11483
11484 * math/math.h (isinf): Fix typo in comment.
11485
de0ff7bc
UD
114862010-11-01 Ulrich Drepper <drepper@gmail.com>
11487
11488 * po/da.po: Update from translation team.
11489
fa41c84d
UD
114902010-10-26 Ulrich Drepper <drepper@gmail.com>
11491
11492 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11493 is added to the list.
11494
f0967738
AK
114952010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11496 Ulrich Drepper <drepper@gmail.com>
11497
11498 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11499 the global list here. Move code to...
11500 (_dl_add_to_namespace_list): ...here. New function.
11501 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11502 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11503 * elf/dl-load.c (lose): Don't remove the element from the list.
11504 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11505 (_dl_map_object): Likewise.
11506
115072010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
11508
11509 [BZ #12159]
11510 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11511 into all bytes of SSE register.
11512 Patch by Richard Li <richardpku@gmail.com>.
11513
f0967738 115142010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
11515
11516 [BZ #12140]
11517 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11518 perturbing.
11519
d0b9e94f
MB
115202010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11521
11522 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11523 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11524 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11525 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11527 submachine.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11529
8e9f92e9
AS
115302010-10-22 Andreas Schwab <schwab@redhat.com>
11531
11532 * include/dlfcn.h (__RTLD_SECURE): Define.
11533 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11534 mode & __RTLD_SECURE instead.
11535 (open_path): Rename preloaded parameter to secure.
11536 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11537 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11538 * elf/dl-deps.c (openaux): Likewise.
11539 * elf/rtld.c (struct map_args): Remove is_preloaded.
11540 (map_doit): Don't use it.
11541 (dl_main): Likewise.
11542 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11543 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11544
bc96fbda
AS
115452010-09-09 Andreas Schwab <schwab@redhat.com>
11546
11547 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11548 (sysd-rules-targets): Remove duplicates.
11549 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11550 rtld-%.$o dependency.
11551
22cd1c9b
AS
115522010-10-18 Andreas Schwab <schwab@redhat.com>
11553
11554 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11555 _dl_map_object do it.
11556
18edac48
UD
115572010-10-19 Ulrich Drepper <drepper@gmail.com>
11558
11559 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11560 fast fma builtins, define the macros in the C99 standard.
11561 (FP_FAST_FMAF): Likewise.
11562 (FP_FAST_FMAL): Likewise.
11563 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11564
11565 * bits/mathdef.h: Update copyright year.
11566 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11567
d2050124
MM
115682010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11569
11570 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11571 builtins, define the macros in the C99 standard.
11572 (FP_FAST_FMAF): Likewise.
11573 (FP_FAST_FMAL): Likewise.
11574 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11575 multiply/add.
11576 (FP_FAST_FMAF): Likewise.
11577
475facd1
JJ
115782010-10-15 Jakub Jelinek <jakub@redhat.com>
11579
11580 [BZ #3268]
11581 * math/libm-test.inc (fma_test): Some new testcases.
11582 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11583 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11584 y and infinite z. Do multiplication by C already in long double.
11585 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11587 y and infinite z. Do bitwise or of inexact bit into u.d.
11588 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11589 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11590 * sysdeps/i386/fpu/s_fma.S: Removed.
11591 * sysdeps/i386/fpu/s_fmal.S: Removed.
11592
7c08a05c
JJ
115932010-10-16 Jakub Jelinek <jakub@redhat.com>
11594
11595 [BZ #3268]
11596 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11597 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11598 computation is not scheduled after fetestexcept. Fix value
11599 of minimum denormal long double.
11600
f3f7372d
JJ
116012010-10-14 Jakub Jelinek <jakub@redhat.com>
11602
11603 [BZ #3268]
11604 * math/libm-test.inc (fma_test): Add some more tests.
11605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11606 correctly.
11607
14d43591
AS
116082010-10-15 Andreas Schwab <schwab@redhat.com>
11609
11610 * scripts/data/localplt-s390-linux-gnu.data: New file.
11611 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11612
5e908464
JJ
116132010-10-13 Jakub Jelinek <jakub@redhat.com>
11614
11615 [BZ #3268]
11616 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11617 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11618 instead of dbl-64.
11619 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11620 inlines.
11621 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11623 if one of x and y is very large and the other is subnormal.
11624 * sysdeps/s390/fpu/s_fmaf.c: New file.
11625 * sysdeps/s390/fpu/s_fma.c: New file.
11626 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11627 * sysdeps/powerpc/fpu/s_fma.S: New file.
11628 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11629 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11630 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11631
116322010-10-12 Jakub Jelinek <jakub@redhat.com>
11633
11634 [BZ #3268]
11635 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11636 fma tests.
11637 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11638 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11639 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11640 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11641 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11642 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11643 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11644
b833d51f
UD
116452010-10-12 Ulrich Drepper <drepper@redhat.com>
11646
11647 [BZ #12078]
11648 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11649 * posix/bug-regex31.input: Add test case.
11650
1751705d
UD
116512010-10-11 Ulrich Drepper <drepper@gmail.com>
11652
e9b9cbf5
UD
11653 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11654 * posix/bug-regex31.input: New file.
11655
11656 [BZ #12078]
11657 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11658 (parse_sub_exp): Fix last change, use postorder.
11659
ef06edbe
UD
11660 * posix/bug-regex31.c: New file.
11661 * posix/Makefile: Add rules to build and run bug-regex31.
11662
a129c80d
UD
11663 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11664
11665 [BZ #12078]
11666 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11667
b76b818e
UD
11668 [BZ #12108]
11669 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11670 to have entries in sys_siglist.
11671
1751705d
UD
11672 [BZ #12093]
11673 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11674 be NULL.
11675
9ff8d36f
JJ
116762010-10-07 Jakub Jelinek <jakub@redhat.com>
11677
11678 [BZ #3268]
11679 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11680 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11681 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11682 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11683 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11684 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11685 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11686 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11687 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11688 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11689 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11690 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11691 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11692 * math/ftestexcept.c (fetestexcept): Likewise.
11693 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11694 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11695 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11696 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11697 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11698 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11699 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11700
af325969
UD
117012010-10-11 Ulrich Drepper <drepper@gmail.com>
11702
c579b202 11703 [BZ #12107]
af325969
UD
11704 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11705 newline.
11706
67a67b95
UD
117072010-10-06 Ulrich Drepper <drepper@gmail.com>
11708
11709 * string/bug-strstr1.c: New file.
11710 * string/Makefile: Add rules to build and run bug-strstr1.
11711
5fb308bc
EB
117122010-10-05 Eric Blake <eblake@redhat.com>
11713
11714 [BZ #12092]
11715 * string/str-two-way.h (two_way_long_needle): Always clear memory
11716 when skipping input due to the shift table.
11717
45db99c7
UD
117182010-10-03 Ulrich Drepper <drepper@gmail.com>
11719
3b111893
UD
11720 [BZ #12005]
11721 * malloc/mcheck.c: Handle large requests.
11722
45db99c7
UD
11723 [BZ #12077]
11724 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11725 for strncmp and strncasecmp.
11726 * string/stratcliff.c: Add tests for strcmp and strncmp.
11727 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11728
cf7a1eb8
NI
117292010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11730
11731 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11732 __set_fpscr.
11733
6484ba5e
AJ
117342010-09-30 Andreas Jaeger <aj@suse.de>
11735
11736 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11737 (CGROUP_SUPER_MAGIC): Define.
11738 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11739 Handle btrfs and cgroup file systems.
11740 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11741 Likewise.
11742
91c42559
LM
117432010-09-27 Luis Machado <luisgpm@br.ibm.com>
11744
11745 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11746 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11747
87a97932
AK
117482010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11749
11750 [BZ #12067]
11751 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11752 trying to locate the ELF header.
11753
c21cc9bc
AS
117542010-09-27 Andreas Schwab <schwab@redhat.com>
11755
11756 [BZ #11611]
11757 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11758 Mask out sign-bit copies when constructing f_fsid.
11759
315970f6
PB
117602010-09-24 Petr Baudis <pasky@suse.cz>
11761
11762 * debug/stack_chk_fail_local.c: Add missing licence exception.
11763 * debug/warning-nop.c: Likewise.
11764
1ac7a2c7
JM
117652010-09-15 Joseph Myers <joseph@codesourcery.com>
11766
11767 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11768 implementing getdents64 using getdents syscall, set d_type if
11769 __ASSUME_GETDENTS32_D_TYPE.
11770
56801c50
AS
117712010-09-16 Andreas Schwab <schwab@redhat.com>
11772
11773 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11774 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11775
dda51327
UD
117762010-09-21 Ulrich Drepper <drepper@redhat.com>
11777
11778 [BZ #12037]
11779 * posix/unistd.h: Undo change of feature selection for ftruncate from
11780 2010-01-11.
11781
8ffcee4a
UD
117822010-09-20 Ulrich Drepper <drepper@redhat.com>
11783
a545ecd9 11784 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
11785 detection.
11786
e24f0a8b
AS
117872010-09-20 Andreas Schwab <schwab@redhat.com>
11788
11789 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11790 fanotify_mark.
11791 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11792
7291c56f
AS
117932010-09-14 Andreas Schwab <schwab@redhat.com>
11794
11795 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11796 variables after CHECK_SP call.
11797 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11798
bc5fb037
AS
117992010-09-13 Andreas Schwab <schwab@redhat.com>
11800 Ulrich Drepper <drepper@redhat.com>
11801
11802 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11803 re-relocationg ld.so.
11804 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11805 _dl_init_paths call.
11806 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11807 here anymore.
11808
e66e7419
UD
118092010-09-14 Ulrich Drepper <drepper@redhat.com>
11810
11811 * resolv/res_init.c (__res_vinit): Count the default server we added.
11812
c044aa75
CLT
118132010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11814 Ulrich Drepper <drepper@redhat.com>
11815
11816 [BZ #11968]
11817 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11818 (____longjmp_chk): Use %ebx for saving value across system call.
11819 Add unwind info.
11820
32cf4069
AS
118212010-09-06 Andreas Schwab <schwab@redhat.com>
11822
11823 * manual/Makefile: Don't mix pattern rules with normal rules.
11824
817328ee
AS
118252010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11826
11827 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11828 operation.
11829 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11830 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11831 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11832 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11833 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11834 Likewise.
11835
29fddf61
UD
118362010-09-04 Ulrich Drepper <drepper@redhat.com>
11837
11838 [BZ #11979]
11839 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11840 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11841
0959ffc9
UD
118422010-09-02 Ulrich Drepper <drepper@redhat.com>
11843
11844 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11845 * sysdeps/x86_64/addmul_1.S: Likewise.
11846 * sysdeps/x86_64/lshift.S: Likewise.
11847 * sysdeps/x86_64/mul_1.S: Likewise.
11848 * sysdeps/x86_64/rshift.S: Likewise.
11849 * sysdeps/x86_64/sub_n.S: Likewise.
11850 * sysdeps/x86_64/submul_1.S: Likewise.
11851
ece29840
ST
118522010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11853
0959ffc9
UD
11854 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11855 Define __sched_param instead of SCHED_* and sched_param when
ece29840 11856 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 11857 * bits/sched.h [__need_schedparam]
ece29840 11858 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
11859 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11860 (__defined_schedparam): Define to 1.
ece29840
ST
11861 (__sched_param): New structure, identical to sched_param.
11862 (__need_schedparam): Undefine.
11863
e53a31fe
MF
118642010-08-31 Mike Frysinger <vapier@gentoo.org>
11865
fdc0c10d
MF
11866 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11867 (epoll_create1): Declare.
11868
e53a31fe
MF
11869 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11870
a726d796
AS
118712010-08-31 Andreas Schwab <schwab@redhat.com>
11872
11873 [BZ #7066]
11874 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11875 shifting retval into place.
11876
2f3e3dc7
UD
118772010-09-01 Ulrich Drepper <drepper@redhat.com>
11878
f2933da9
UD
11879 * nis/rpcsvc/nis.h: Update copyright notice.
11880 * nis/rpcsvc/nis.x: Likewise.
11881 * nis/rpcsvc/nis_callback.h: Likewise.
11882 * nis/rpcsvc/nis_callback.x: Likewise.
11883 * nis/rpcsvc/nis_object.x: Likewise.
11884 * nis/rpcsvc/nis_tags.h: Likewise.
11885 * nis/rpcsvc/yp.h: Likewise.
11886 * nis/rpcsvc/yp.x: Likewise.
11887 * nis/rpcsvc/ypupd.h: Likewise.
11888 * nis/yp_xdr.c: Likewise.
11889 * nis/ypupdate_xdr.c: Likewise.
11890
2f3e3dc7
UD
11891 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11892 mainly the body of pmap_getport. Add parameters to specify timeouts.
11893 (pmap_getport): Use __libc_rpc_getport.
11894 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11895 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11896 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11897
f3dcc2f9
AS
118982010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11899
11900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11901 fanotify_mark.
11902
6d34eb5b
RM
119032010-08-27 Roland McGrath <roland@redhat.com>
11904
11905 * sysdeps/i386/i686/multiarch/Makefile
11906 (CFLAGS-varshift.c): New variable.
11907
9ea3de11
UD
119082010-08-27 Ulrich Drepper <drepper@redhat.com>
11909
c96d23fc
UD
11910 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11911 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11912
9ea3de11
UD
11913 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11914
11915 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11916
623aac7f
L
119172010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11918
11919 * sysdeps/x86_64/strlen.S: Unroll the loop.
11920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11921 strlen-sse2 strlen-sse2-bsf.
11922 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11923 __strlen_no_bsf if bit_Slow_BSF is set.
11924 (__strlen_sse42): Removed.
11925 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11926 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11927
8b2b7715
RM
119282010-08-25 Roland McGrath <roland@redhat.com>
11929
11930 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11931 * sysdeps/x86_64/multiarch/varshift.c: New file.
11932 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11933 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11934 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11935 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11936
e73015f2
L
119372010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11938
11939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11940 strlen-sse2 strlen-sse2-bsf.
11941 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11942 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11943 (__strlen_sse2): Removed.
11944 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11945 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11947 bit_Slow_BSF for Atom.
11948 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11949 (index_Slow_BSF): Define.
11950 (HAS_SLOW_BSF): Define.
11951
df24a73e
UD
119522010-08-25 Ulrich Drepper <drepper@redhat.com>
11953
11954 [BZ #10851]
11955 * resolv/res_init.c (__res_vinit): When no server address at all
11956 is given default to loopback.
11957
f2ac4868
RM
119582010-08-24 Roland McGrath <roland@redhat.com>
11959
09055553
RM
11960 * configure.in: Remove config-name.h generation.
11961 * configure: Regenerated.
11962 * config-name.in: File removed.
11963 * scripts/config-uname.sh: New file.
11964 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11965 ($(objdir)config-name.h): New target.
11966
f2ac4868
RM
11967 * sunrpc/rpc_parse.h: Avoid nested comment.
11968
73f27d5e
RH
119692010-08-24 Richard Henderson <rth@redhat.com>
11970 Ulrich Drepper <drepper@redhat.com>
11971 H.J. Lu <hongjiu.lu@intel.com>
11972
11973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11975 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11976 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11977 _mm_alignr_epi8 with _mm_loadu_si128.
11978 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11979 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11980 (__m128i_shift_right): Removed.
11981 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11982 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11983 * sysdeps/x86_64/multiarch/varshift.h: New file.
11984 * sysdeps/x86_64/multiarch/varshift.S: New file.
11985
84b9230c
MF
119862010-08-21 Mike Frysinger <vapier@gentoo.org>
11987
11988 * configure.in: Move assembler checks to before sysdep dir checking.
11989
9bbd0ddc
PB
119902010-08-20 Petr Baudis <pasky@suse.cz>
11991
11992 * LICENSES: Sync the sunrpc license.
11993
9da4bb31
UD
119942010-08-19 Ulrich Drepper <drepper@redhat.com>
11995
a7ab6ec8
UD
11996 * sunrpc/auth_des.c: Update copyright notice once again.
11997 * sunrpc/auth_none.c: Likewise.
11998 * sunrpc/auth_unix.c: Likewise.
11999 * sunrpc/authdes_prot.c: Likewise.
12000 * sunrpc/authuxprot.c: Likewise.
12001 * sunrpc/bindrsvprt.c: Likewise.
12002 * sunrpc/clnt_gen.c: Likewise.
12003 * sunrpc/clnt_perr.c: Likewise.
12004 * sunrpc/clnt_raw.c: Likewise.
12005 * sunrpc/clnt_simp.c: Likewise.
12006 * sunrpc/clnt_tcp.c: Likewise.
12007 * sunrpc/clnt_udp.c: Likewise.
12008 * sunrpc/clnt_unix.c: Likewise.
12009 * sunrpc/des_crypt.c: Likewise.
12010 * sunrpc/des_soft.c: Likewise.
12011 * sunrpc/get_myaddr.c: Likewise.
12012 * sunrpc/getrpcport.c: Likewise.
12013 * sunrpc/key_call.c: Likewise.
12014 * sunrpc/key_prot.c: Likewise.
12015 * sunrpc/openchild.c: Likewise.
12016 * sunrpc/pm_getmaps.c: Likewise.
12017 * sunrpc/pm_getport.c: Likewise.
12018 * sunrpc/pmap_clnt.c: Likewise.
12019 * sunrpc/pmap_prot.c: Likewise.
12020 * sunrpc/pmap_prot2.c: Likewise.
12021 * sunrpc/pmap_rmt.c: Likewise.
12022 * sunrpc/rpc/auth.h: Likewise.
12023 * sunrpc/rpc/auth_unix.h: Likewise.
12024 * sunrpc/rpc/clnt.h: Likewise.
12025 * sunrpc/rpc/des_crypt.h: Likewise.
12026 * sunrpc/rpc/key_prot.h: Likewise.
12027 * sunrpc/rpc/netdb.h: Likewise.
12028 * sunrpc/rpc/pmap_clnt.h: Likewise.
12029 * sunrpc/rpc/pmap_prot.h: Likewise.
12030 * sunrpc/rpc/pmap_rmt.h: Likewise.
12031 * sunrpc/rpc/rpc.h: Likewise.
12032 * sunrpc/rpc/rpc_des.h: Likewise.
12033 * sunrpc/rpc/rpc_msg.h: Likewise.
12034 * sunrpc/rpc/svc.h: Likewise.
12035 * sunrpc/rpc/svc_auth.h: Likewise.
12036 * sunrpc/rpc/types.h: Likewise.
12037 * sunrpc/rpc/xdr.h: Likewise.
12038 * sunrpc/rpc_clntout.c: Likewise.
12039 * sunrpc/rpc_cmsg.c: Likewise.
12040 * sunrpc/rpc_common.c: Likewise.
12041 * sunrpc/rpc_cout.c: Likewise.
12042 * sunrpc/rpc_dtable.c: Likewise.
12043 * sunrpc/rpc_hout.c: Likewise.
12044 * sunrpc/rpc_main.c: Likewise.
12045 * sunrpc/rpc_parse.c: Likewise.
12046 * sunrpc/rpc_parse.h: Likewise.
12047 * sunrpc/rpc_prot.c: Likewise.
12048 * sunrpc/rpc_sample.c: Likewise.
12049 * sunrpc/rpc_scan.c: Likewise.
12050 * sunrpc/rpc_scan.h: Likewise.
12051 * sunrpc/rpc_svcout.c: Likewise.
12052 * sunrpc/rpc_tblout.c: Likewise.
12053 * sunrpc/rpc_util.c: Likewise.
12054 * sunrpc/rpc_util.h: Likewise.
12055 * sunrpc/rpcinfo.c: Likewise.
12056 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12057 * sunrpc/rpcsvc/key_prot.x: Likewise.
12058 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12059 * sunrpc/rpcsvc/mount.x: Likewise.
12060 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12061 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12062 * sunrpc/rpcsvc/rex.x: Likewise.
12063 * sunrpc/rpcsvc/rstat.x: Likewise.
12064 * sunrpc/rpcsvc/rusers.x: Likewise.
12065 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12066 * sunrpc/rpcsvc/spray.x: Likewise.
12067 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12068 * sunrpc/rtime.c: Likewise.
12069 * sunrpc/svc.c: Likewise.
12070 * sunrpc/svc_auth.c: Likewise.
12071 * sunrpc/svc_authux.c: Likewise.
12072 * sunrpc/svc_raw.c: Likewise.
12073 * sunrpc/svc_run.c: Likewise.
12074 * sunrpc/svc_simple.c: Likewise.
12075 * sunrpc/svc_tcp.c: Likewise.
12076 * sunrpc/svc_udp.c: Likewise.
12077 * sunrpc/svc_unix.c: Likewise.
12078 * sunrpc/svcauth_des.c: Likewise.
12079 * sunrpc/xcrypt.c: Likewise.
12080 * sunrpc/xdr.c: Likewise.
12081 * sunrpc/xdr_array.c: Likewise.
12082 * sunrpc/xdr_float.c: Likewise.
12083 * sunrpc/xdr_mem.c: Likewise.
12084 * sunrpc/xdr_rec.c: Likewise.
12085 * sunrpc/xdr_ref.c: Likewise.
12086 * sunrpc/xdr_sizeof.c: Likewise.
12087 * sunrpc/xdr_stdio.c: Likewise.
12088
9da4bb31
UD
12089 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12090 handling.
12091
bdaa77bc
AS
120922010-08-19 Andreas Schwab <schwab@redhat.com>
12093
12094 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12095
fe2f79db
LM
120962010-08-19 Luis Machado <luisgpm@br.ibm.com>
12097
12098 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12099 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12100 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12101 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12102 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12103 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12104 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12105 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12106 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12107 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12108 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12109 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12110 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12111 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12112
b9b42ee0
AB
121132010-07-26 Anton Blanchard <anton@samba.org>
12114
12115 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12116 * malloc/arena.c (heap_trim): Likewise.
12117
1c06ba31
UD
121182010-08-16 Ulrich Drepper <drepper@redhat.com>
12119
12120 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12121 here. Not...
12122 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12123 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12124
f8392f40
L
121252010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12126
12127 * sysdeps/i386/elf/Makefile: New file.
12128
3162f12e
AS
121292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12130
12131 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12132 from fanotify_init.
12133 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12134 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12135
28c90b2c
UD
121362010-08-15 Ulrich Drepper <drepper@redhat.com>
12137
12138 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12139 of strncasecmp_l.
1feccb6c 12140 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12141
ca6bb004
UD
121422010-08-14 Ulrich Drepper <drepper@redhat.com>
12143
e9f82e0d
UD
12144 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12145 strncase_l-nonascii.
12146 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12147 Add strncase_l-ssse3.
12148 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12149 * sysdeps/x86_64/strcmp.S: Likewise.
12150 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12151 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12152 * sysdeps/x86_64/strncase.S: New file.
12153 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12154 * sysdeps/x86_64/strncase_l.S: New file.
12155 * string/Makefile (strop-tests): Add strncasecmp.
12156 * string/test-strncasecmp.c: New file.
12157
12158 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12159 warning.
12160
ca6bb004
UD
12161 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12162 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12163
052fa7b3
AS
121642010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12165
12166 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12167
962dba78
UD
121682010-08-12 Ulrich Drepper <drepper@redhat.com>
12169
12170 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12171 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12172 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12173
bebff237
AM
121742010-05-01 Alan Modra <amodra@gmail.com>
12175
12176 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12177 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12178 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12179 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12180 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12181 tidying. Don't tail-call __sigjmp_save for static lib.
12182 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12183 save location.
12184 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12185 (CALL_MCOUNT): Add eh info, and nop after bl.
12186 (TAIL_CALL_SYSCALL_ERROR): New macro.
12187 (PSEUDO_RET): Use it.
12188 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12189 Correct save location of integer regs and cr.
12190 (_dl_profile_resolve): Correct cr save location. Delete nops
12191 after bl when SHARED. Reduce cfi size a little by better
12192 placement of cfi directives.
12193 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12194 make a stack frame. Instead use parm save area as a temp.
12195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12196 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12198 Don't make a stack frame for parent, use parm save area.
12199 Increase child stack frame to 112 bytes. Don't save unused reg,
12200 and adjust reg usage. Set up cfi on error recovery and
12201 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12203 (__makecontext): Add dummy nop after jump to exit.
12204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12205 Use correct parm save area and cr save, reduce stack frame.
12206 Correct cfi for possible PSEUDO_RET frame setup.
12207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12208 Branch to local label emitted by PSEUDO_RET rather than
12209 __syscall_error.
12210
02637374
AS
122112010-08-12 Andreas Schwab <schwab@redhat.com>
12212
12213 [BZ #11904]
12214 * locale/programs/locale.c (print_assignment): New function.
12215 (show_locale_vars): Use it.
12216
c3e2f19b
UD
122172010-08-11 Ulrich Drepper <drepper@redhat.com>
12218
3cdaa6ad
UD
12219 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12220 field.
12221 (struct statfs64): Likewise.
12222 (_STATFS_F_FLAGS): Define.
12223 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12224 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12225 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12226 (ST_VALID): Define locally.
12227 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12228 __statvfs_getflags, use the provided value.
12229 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12230 __ASSUME_STATFS_F_FLAGS.
12231
754f7da3
UD
12232 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12233
10b3bedc
UD
12234 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12235 Add sys/fanotify.h.
12236 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12237 fanotify_mask for GLIBC_2.13.
12238 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12239 fanotify_init and fanotify_mark.
12240 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12241 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12242
c08fb0d7
UD
12243 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12244 Add prlimit.
12245 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12246 prlimit64 for GLIBC_2.13.
12247 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12248 prlimit64.
12249 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12250 syscall.
12251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12252 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12253 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12254 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12255 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12256 add prlimit alias.
12257 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12258
15bac72b
UD
12259 [BZ #11903]
12260 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12261 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12262
c3e2f19b
UD
12263 * nss/Makefile: Add rules to build and run tst-nss-test1.
12264 * shlib-versions: Add entry for libnss_test1.
12265 * nss/nss_test1.c: New file.
12266 * nss/tst-nss-test1.c: New file.
12267
12268 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12269 (__nss_configure_lookup): Set appropriate entry in
12270 __nss_configure_lookup to true.
12271 * nss/nsswitch.h: Define enum with indeces of databases in
12272 databases and __nss_database_custom arrays. Declare
12273 __nss_database_custom.
12274 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12275 to avoid using nscd when custom rules are installed.
12276 * nss/getXXbyYY_r.c: Likewise.
12277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12278
12279 * nss/nss_files/files-parse.c: Whitespace fixes.
12280
f15ce4d8
UD
122812010-08-09 Ulrich Drepper <drepper@redhat.com>
12282
12283 [BZ #11883]
12284 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12285 * posix/fnmatch_loop.c: Likewise.
12286
d22e4cc9
AK
122872010-07-17 Andi Kleen <ak@linux.intel.com>
12288
12289 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12290 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12291 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12292 * Versions.def [GLIBC_2.13]: Add.
12293
805bc17d
UD
122942010-08-06 Ulrich Drepper <drepper@redhat.com>
12295
12296 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12297 Also fail if tpwd after pwuid call is NULL.
12298
5a42321d
ST
122992010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12300
12301 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12302 when converting to ms.
12303
fd3ebeda
ST
123042010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12305
12306 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12307 EOPNOTSUPP errors with ENOTTY.
12308 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12309 EOPNOTSUPP errors with ENOTTY.
12310
73507d3a
UD
123112010-07-31 Ulrich Drepper <drepper@redhat.com>
12312
12313 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12314 Add strcasecmp_l-ssse3.
12315 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12316 strcasecmp.
12317 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12318 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12319 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12320
fe36dd02
UD
123212010-07-30 Ulrich Drepper <drepper@redhat.com>
12322
66f6765a
UD
12323 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12324
42e08a54
UD
12325 * string/Makefile (strop-tests): Add strcasecmp.
12326 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12327 strcasecmp_l-nonascii.
12328 (gen-as-const-headers): Add locale-defines.sym.
12329 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12330 * sysdeps/x86_64/strcasecmp.S: New file.
12331 * sysdeps/x86_64/strcasecmp_l.S: New file.
12332 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12333 * sysdeps/x86_64/locale-defines.sym: New file.
12334 * string/test-strcasecmp.c: New file.
12335
fe36dd02
UD
12336 * string/test-strcasestr.c: Test both ends of the range of characters.
12337 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12338
48cbc0d6
RM
123392010-07-29 Roland McGrath <roland@redhat.com>
12340
76e6d6bc 12341 [BZ #11856]
48cbc0d6
RM
12342 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12343
880113d9
UD
123442010-07-27 Ulrich Drepper <drepper@redhat.com>
12345
12346 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12347 for ld.so.
12348
deb9cabb
AS
123492010-07-27 Andreas Schwab <schwab@redhat.com>
12350
12351 * manual/memory.texi (Malloc Tunable Parameters): Document
12352 M_PERTURB.
12353
1c7570ff
RM
123542010-07-26 Roland McGrath <roland@redhat.com>
12355
12356 [BZ #11840]
12357 * configure.in (-fgnu89-inline check): Set and substitute
12358 gnu89_inline, not libc_cv_gnu89_inline.
12359 * configure: Regenerated.
12360 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12361
24fb0f88
UD
123622010-07-26 Ulrich Drepper <drepper@redhat.com>
12363
12364 * string/test-strnlen.c: New file.
12365 * string/Makefile (strop-tests): Add strnlen.
12366 * string/tester.c (test_strnlen): Add a few more test cases.
12367 * string/tst-strlen.c: Better error reporting.
12368
12369 * sysdeps/x86_64/strnlen.S: New file.
12370
8e96b93a
UD
123712010-07-24 Ulrich Drepper <drepper@redhat.com>
12372
12373 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12374 lower-latency instructions.
12375
dbc676d4
UD
123762010-07-23 Ulrich Drepper <drepper@redhat.com>
12377
12378 * string/test-strcasestr.c: New file.
12379 * string/test-strstr.c: New file.
12380 * string/Makefile (strop-tests): Add strstr and strcasestr.
12381 * string/str-two-way.h: Don't undefine MAX.
12382 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12383
f6a31e0e
AS
123842010-07-21 Andreas Schwab <schwab@redhat.com>
12385
12386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12387 strcasestr-nonascii.
12388 (CFLAGS-strcasestr-nonascii.c): Define.
12389 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12390 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12391 Remove unused attribute.
12392
5dbc3b6c
RM
123932010-07-20 Roland McGrath <roland@redhat.com>
12394
12395 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12396 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12397 ld.so.cache was broken. With it, there is no way to disable dsocaps
12398 like LD_HWCAP_MASK can disable hwcaps.
12399
23d101d8
EPM
124002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12401
12402 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12403
cc9f2e47
UD
124042010-07-16 Ulrich Drepper <drepper@redhat.com>
12405
12406 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12407 call in strcasestr.
12408 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12409 __strcasestr_sse42_nonascii.
12410 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12411 strcasestr-nonascii.c.
12412 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12413
77c1b069
LM
124142010-06-15 Luis Machado <luisgpm@br.ibm.com>
12415
12416 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12417 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12418 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12419 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12420
440566c3
UD
124212010-07-09 Ulrich Drepper <drepper@redhat.com>
12422
12423 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12424 fcntl.
12425
5be9d05d
AS
124262010-07-06 Andreas Schwab <schwab@redhat.com>
12427
c30b7ee2 12428 [BZ #11577]
5be9d05d
AS
12429 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12430 dl_signal_cerror.
12431
8a492a67
UD
124322010-07-06 Ulrich Drepper <drepper@redhat.com>
12433
12434 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12435 _PC_PIPE_BUF using F_GETPIPE_SZ.
12436
713df3d5
RM
124372010-07-05 Roland McGrath <roland@redhat.com>
12438
12439 * manual/arith.texi (Rounding Functions): Fix rint description
12440 implicit in round description.
12441
702e8f14
UD
124422010-07-02 Ulrich Drepper <drepper@redhat.com>
12443
12444 * elf/Makefile: Fix linking for a few tests to make recent linker
12445 happy.
12446
52ed8be9
AS
124472010-06-30 Andreas Schwab <schwab@redhat.com>
12448
12449 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12450 $(common-objpfx)libc_nonshared.a.
12451
f47c9a11
LM
124522010-06-21 Luis Machado <luisgpm@br.ibm.com>
12453
12454 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12455 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12456 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12457 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12458 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12459 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12460 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12461 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12476 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12477 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12478 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12479 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12480 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12481 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12482 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12483 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12484 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12485 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12486 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12487 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12502
6fb8cbcb
L
125032010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12504
12505 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12506 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12507 * string/memmove.c (memmove): Renamed to ...
12508 (MEMMOVE): ...this. Default to memmove.
12509 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12510 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12511 (END_CHK): Define.
12512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12513 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12514 mempcpy-ssse3-back memmove-ssse3-back.
12515 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12517 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12518 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12519 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12520 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12521 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12522 * sysdeps/x86_64/multiarch/memmove.c: New file.
12523 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12524 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12525 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12526 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12527 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12528 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12529 Define.
12530 (index_Fast_Copy_Backward): Define.
12531 (HAS_ARCH_FEATURE): Define.
12532 (HAS_FAST_REP_STRING): Define.
12533 (HAS_FAST_COPY_BACKWARD): Define.
12534
4e733bac 125352010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
12536
12537 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12538 Restore proper fallback handling.
12539
63c4ed22
UD
125402010-06-19 Ulrich Drepper <drepper@redhat.com>
12541
ac2b484c
UD
12542 [BZ #11701]
12543 * posix/group_member.c (__group_member): Correct checking loop.
12544
63c4ed22
UD
12545 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12546 OOM in getpwuid_r correctly. Return error number when the caller
12547 should return, otherwise -1.
12548 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12549 call returning > 0 value.
12550 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12551
765ade4b
AS
125522010-06-07 Andreas Schwab <schwab@redhat.com>
12553
12554 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12555 libc_nonshared.a from targets in modules-names.
12556
80da2e09
KS
125572010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12558
12559 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12560 requires it.
12561
158db122
LM
125622010-06-10 Luis Machado <luisgpm@br.ibm.com>
12563
12564 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12565 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12566 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12567 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12568
caa78cf8
AS
125692010-06-02 Andreas Schwab <schwab@redhat.com>
12570
12571 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12572
b2ef2c01
UD
125732010-06-14 Ulrich Drepper <drepper@redhat.com>
12574
12575 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12576 and F_GETPIPE_SZ.
12577 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12578 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12579 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12580 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12581 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12582 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12583
fbd643b6
RM
125842010-06-14 Roland McGrath <roland@redhat.com>
12585
12586 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12587
f32f2869
JJ
125882010-06-07 Jakub Jelinek <jakub@redhat.com>
12589
12590 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12591 __REDIRECT followed by __THROW.
12592 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12593 * posix/getopt.h (getopt): Likewise.
12594
2a50c078
EPM
125952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12596
12597 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12598 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12599 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12600 in AT_FLAGS.
12601 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12602 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12603
eb5ad2eb
LM
126042010-05-28 Luis Machado <luisgpm@br.ibm.com>
12605
12606 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12607
3c88fe1e
L
126082010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12609
12610 [BZ #11640]
12611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12612 Properly check family and model.
12613
d2f73151
TY
126142010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12615
12616 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12617
ebd2e13d
LM
126182010-05-24 Luis Machado <luisgpm@br.ibm.com>
12619
12620 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12621
b32b8b45
UD
126222010-05-21 Ulrich Drepper <drepper@redhat.com>
12623
12624 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12625 symbol reference.
12626
9acbe24d
AS
126272010-05-19 Andreas Schwab <schwab@redhat.com>
12628
12629 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12630 symbol reference.
12631
f0ccf6ea
AS
126322010-05-21 Andreas Schwab <schwab@redhat.com>
12633
3d04ff3a
AS
12634 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12635 and internal_recvmmsg.
12636 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12637 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12638 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12639 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12640
f0ccf6ea
AS
12641 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12642 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12643 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12644
5b08ac57
AS
126452010-05-20 Andreas Schwab <schwab@redhat.com>
12646
12647 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12648
4828935d
LM
126492010-05-17 Luis Machado <luisgpm@br.ibm.com>
12650
12651 POWER7 optimizations.
12652 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12653 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12654
373d545e
UD
126552010-05-19 Ulrich Drepper <drepper@redhat.com>
12656
12657 * version.h: Update for 2.13 development version.
12658
21a2b1ae
AS
126592010-05-12 Andrew Stubbs <ams@codesourcery.com>
12660
12661 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12662 exceptions. Return 0.
12663
3f7dcb2b
RM
126642010-05-07 Roland McGrath <roland@redhat.com>
12665
12666 * elf/ldconfig.c (main): Add a const.
12667
5f24d53a 126682010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 12669
a160f8d8
UD
12670 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12671 (args_options): Add no-idn option.
12672 (ahosts_keys_int): Add idn_flags to ai_flags.
12673 (parse_option): Handle 'i' option to clear idn_flags.
12674
5f24d53a
UD
12675 * malloc/malloc.c (_int_free): Possible race in the most recently
12676 added check. Only act on the data if no current modification
12677 happened.
265bb1ce
UD
12678
12679See ChangeLog.17 for earlier changes.
This page took 1.679564 seconds and 5 git commands to generate.