]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
conformtest: Unify "constant" and "typed-constant".
[thirdparty/glibc.git] / ChangeLog
CommitLineData
62fde54f
JM
12012-05-01 Joseph Myers <joseph@codesourcery.com>
2
f2d922fe
JM
3 * conform/conformtest.pl: Handle braced types on "constant" lines
4 instead of handling "typed-constant".
5 * conform/data/signal.h-data: Use "constant" instead of
6 "typed-constant".
7
d22956c9
JM
8 * conform/conformtest.pl: Handle "optional-" at start of lines in
9 one place rather than duplicating several cases. Handle each
10 format of "macro" line with initial "optional-".
11
028e2e38
JM
12 * conform/conformtest.pl: Only accept expected constant or
13 optional-constant values with "==". Parse all "constant" lines in
14 one place. Parse all "optional-constant" lines in one place.
15 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16 * conform/data/fmtmsg.h-data: Likewise.
17 * conform/data/netinet/in.h-data: Likewise.
18 * conform/data/tar.h-data: Likewise.
19 * conform/data/limits.h-data: Use "==" form on "constant" and
20 "optional-constant" lines.
21
1b8f2850
JM
22 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23 Use -std=c99 for XOPEN2K.
24 (@knownproblems): Remove.
25 (newtoken): Don't check %isknown.
26
a05a144b
JM
27 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
28 Do not expect macro.
29 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
46 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
54 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
55 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
56 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
57 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
58 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
59 [XPG3] (acosh): Likewise.
60 [XPG3] (asinh): Likewise.
61 [XPG3] (atanh): Likewise.
62 [XPG3] (cbrt): Likewise.
63 [XPG3] (expm1): Likewise.
64 [XPG3] (ilogb): Likewise.
65 [XPG3] (log1p): Likewise.
66 [XPG3] (logb): Likewise.
67 [XPG3] (nextafter): Likewise.
68 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
69 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70 [XPG3] (remainder): Likewise.
71 [XPG3] (rint): Likewise.
72 [XPG3 || XPG4 || UNIX98] (round): Likewise.
73 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
74 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
75 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
76 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
77 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
78 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
79 [UNIX98 || XOPEN2K] (scalb): Expect.
80 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
81 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
82 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
84 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
85 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
86 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
87 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
88 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
89 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
90 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
91 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
92 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
93 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
94 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
95 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
96 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
97 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
98 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
99 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
100 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
101 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
102 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
103 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
104 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
105 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
106 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
107 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
108 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
109 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
110 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
111 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
112 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
113 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
114 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
115 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
116 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
117 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
118 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
119 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
120 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
121 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
122 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
123 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
124 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
125 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
126 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
127 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
128 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
129 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
130 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
131 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
132 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
133 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
134 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
135 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
136 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
137 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
138 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
139 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
140 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
141 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
142 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
143 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
144 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
145 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
146 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
147 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
148 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
149 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
150 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
151 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
152 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
153 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
154 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
155 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
156 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
157 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
158 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
159 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
160 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
161 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
162 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
163 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
164 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
165 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
166 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
167 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
168 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
169 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
170 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
171 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
172 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
173 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
174 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
175 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
176 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
177 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
178 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
179 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
180 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
181 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
182 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
183 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
184 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
185 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
186 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
187 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
188 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
189 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
190 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
191 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
192 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
193 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
194 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
195 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
196 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
197 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
198 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
199 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
200 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
201 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
202 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
203 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
204 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
205 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
206 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
207 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
208 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
209 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
210 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
211 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
212 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
213 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
214 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
215 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
216 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
217
73c5ebe3
JM
218 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
219 _XOPEN_SOURCE_EXTENDED for XPG4.
220
39c33b6c
JM
221 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
222
62fde54f
JM
223 * Makeconfig (localtime): Remove variable.
224 (inst_localtime-file): Likewise.
225
0741d64c
AS
2262012-05-01 Andreas Schwab <schwab@linux-m68k.org>
227
228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
229 Update.
230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
231 Update.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
233 Update.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
235 Update.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
237 Update.
238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
239 Update.
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
241 Update.
242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
243 Update.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
245 Update.
246
7cb029ee
JM
2472012-05-01 Joseph Myers <joseph@codesourcery.com>
248
249 [BZ #2550]
250 [BZ #2570]
251 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
252 comparisons to determine direction to adjust input.
253 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
254 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
255 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
256 Likewise.
257 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
258 Likewise.
259 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
260 Likewise.
261 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
262 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
263 Likewise.
264 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
265 Likewise.
266 * math/libm-test.inc (nexttoward_test): Add more tests.
267
412bd966
AS
2682012-05-01 Andreas Schwab <schwab@linux-m68k.org>
269
270 [BZ #14040]
271 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
272 in version GLIBC_2.1, not GLIBC_2.0.
273 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
274 Likewise.
275
9568c0c2
JM
2762012-04-30 Joseph Myers <joseph@codesourcery.com>
277
adfbc8ac
JM
278 [BZ #13942]
279 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
280 (1 - x) * (1 + x).
281 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
282 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
283 * math/libm-test.inc (acos_test): Add more tests.
284 (asin_test): Likewise.
285 * sysdeps/i386/fpu/libm-test-ulps: Update.
286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
287
5ba3cc69
JM
288 [BZ #14034]
289 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
290 of square root.
291 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
292 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
293 * math/libm-test.inc (acos_test_tonearest): New function.
294 (acos_test_towardzero): Likewise.
295 (acos_test_downward): Likewise.
296 (acos_test_upward): Likewise.
297 (asin_test_tonearest): Likewise.
298 (asin_test_towardzero): Likewise.
299 (asin_test_downward): Likewise.
300 (asin_test_upward): Likewise.
301 (main): Call the new functions.
302 * sysdeps/i386/fpu/libm-test-ulps: Update.
303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
304
9568c0c2
JM
305 [BZ #13884]
306 [BZ #13924]
307 * math/e_exp10.c: Include <float.h>.
308 (__ieee754_exp10): Handle underflow here rather than multiplying
309 large negative argument by M_LN10.
310 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
311 of __ieee754_expf.
312 * math/e_exp10l.c: Include <float.h>.
313 (__ieee754_exp10l): Handle underflow here rather than multiplying
314 large negative argument by M_LN10l.
315 * math/libm-test.inc (exp10_test): Add another test. Do not allow
316 spurious overflow exception on underflow.
317
5ac3ea17
MP
3182012-04-29 Marek Polacek <polacek@redhat.com>
319
320 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
321 (__fortify_function): New macro.
322 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
323 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
324 __extern_always_inline.
325 * libio/bits/stdio2.h: Likewise.
326 * libio/bits/stdio.h: Likewise.
327 * string/string.h: Likewise.
328 * string/bits/string3.h: Likewise.
329 * include/stdio.h: Likewise.
330 * stdlib/bits/stdlib.h: Likewise.
331 * stdlib/stdlib.h: Likewise.
332 * rt/bits/mqueue2.h: Likewise.
333 * rt/mqueue.h: Likewise.
334 * posix/bits/unistd.h: Likewise.
335 * posix/unistd.h: Likewise.
336 * io/bits/poll2.h: Likewise.
337 * io/bits/fcntl2.h: Likewise.
338 * io/fcntl.h: Likewise.
339 * io/sys/poll.h: Likewise.
340 * misc/bits/syslog.h: Likewise.
341 * misc/bits/syslog-ldbl.h: Likewise.
342 * misc/sys/syslog.h: Likewise.
343 * socket/bits/socket2.h: Likewise.
344 * socket/sys/socket.h: Likewise.
345 * debug/tst-chk1.c: Likewise.
346 * wcsmbs/bits/wchar2.h: Likewise.
347 * wcsmbs/bits/wchar-ldbl.h: Likewise.
348 * wcsmbs/wchar.h: Likewise.
349
ecf0ebfb
AJ
3502012-04-29 Andreas Jaeger <aj@suse.de>
351
352 * Makerules (tests): Remove enable-check-abi protection.
353 (check-abi-warn): Remove.
354 (check-abi-%): Remove check-abi-warn usage.
355
356 * configure.in: Remove check-abi configure option.
357 * configure: Regenerated.
358 * config.make.in (enable-check-abi): Remove.
359
6d5c57fa
AS
3602012-04-28 Andreas Schwab <schwab@linux-m68k.org>
361
24c5d07e 362 [BZ #14033]
ded5180a
AS
363 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
364 double functions to double *_finite functions.
365
7e0d315d
AS
366 [BZ #13941]
367 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
368 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
369 LDBL_MIN_EXP.
370 * stdio-common/Makefile (tests): Add tst-sprintf3.
371 * stdio-common/tst-sprintf3.c: New file.
372
6d5c57fa
AS
373 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
374 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
375
0749ff8b
JM
3762012-04-28 Joseph Myers <joseph@codesourcery.com>
377
378 * conform/conformtest.pl: Remove duplicate typed-constant
379 handling.
380
8dbd5d7b
DM
3812012-04-28 David S. Miller <davem@davemloft.net>
382
383 * Makerules (%.abilist): Add vpath on sysdep_dirs.
384 (check-abi-%): Remove AWK script prerequisite and explicit
385 abilist directory.
386 (check-abi): Rewrite to just diff the symlist with the abilist.
387 (config-tls, config-abi-config): Delete, no longer used.
388 (update-abi-%): Remove AWK script and explicit abilist directory.
389 (update-abi): Rewrite to simply compare and conditionally copy the
390 symlist and the sysdep abilist file. Remove update-abi-config
391 checks.
392 * abilist/ld.abilist: Remove.
393 * abilist/libBrokenLocale.abilist: Remove.
394 * abilist/libanl.abilist: Remove.
395 * abilist/libcrypt.abilist: Remove.
396 * abilist/libdl.abilist: Remove.
397 * abilist/librt.abilist: Remove.
398 * abilist/libthread_db.abilist: Remove.
399 * abilist/libutil.abilist: Remove.
400 * scripts/extract-abilist.awk: Remove.
401 * scripts/merge-abilist.awk: Remove.
402 * sysdeps/generic/libcidn.abilist: New file.
403 * sysdeps/generic/libnss_compat.abilist: New file.
404 * sysdeps/generic/libnss_db.abilist: New file.
405 * sysdeps/generic/libnss_dns.abilist: New file.
406 * sysdeps/generic/libnss_files.abilist: New file.
407 * sysdeps/generic/libnss_hesiod.abilist: New file.
408 * sysdeps/generic/libnss_nis.abilist: New file.
409 * sysdeps/generic/libnss_nisplus.abilist: New file.
410 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
411 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
412 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
413 file.
414 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
415 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
416 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
417 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
418 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
419 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
420 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
421 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
422 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
423 file.
424 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
425 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
426 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
427 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
428 file.
429 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
430 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
431 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
432 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
433 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
434 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
435 file.
436 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
437 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
438 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
439 file.
440 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
442 New file.
443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
444 New file.
445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
446 New file.
447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
448 New file.
449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
450 New file.
451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
452 New file.
453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
454 New file.
455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
456 New file.
457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
458 New file.
459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
460 New file.
461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
462 New file.
463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
464 New file.
465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
466 New file.
467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
468 file.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
470 New file.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
472 New file.
473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
474 file.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
476 New file.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
478 New file.
479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
480 file.
481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
482 New file.
483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
484 New file.
485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
486 New file.
487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
488 New file.
489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
490 New file.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
492 New file.
493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
495 file.
496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
497 New file.
498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
499 file.
500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
501 file.
502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
503 file.
504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
505 file.
506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
507 file.
508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
509 New file.
510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
511 file.
512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
513 file.
514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
515 New file.
516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
517 file.
518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
520 file.
521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
522 New file.
523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
524 file.
525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
526 file.
527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
528 file.
529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
530 file.
531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
532 file.
533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
534 New file.
535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
536 file.
537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
538 file.
539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
540 New file.
541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
542 file.
543 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
544 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
545 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
546 file.
547 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
548 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
549 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
550 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
551 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
552 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
553 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
554 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
555 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
556 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
559 file.
560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
561 New file.
562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
563 file.
564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
565 file.
566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
567 file.
568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
569 file.
570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
571 file.
572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
573 New file.
574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
575 New file.
576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
577 file.
578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
579 New file.
580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
581 file.
582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
584 file.
585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
586 New file.
587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
588 file.
589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
590 file.
591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
592 file.
593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
594 file.
595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
596 file.
597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
598 New file.
599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
600 New file.
601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
602 file.
603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
604 New file.
605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
606 file.
607
41d73a1b
JM
6082012-04-28 Joseph Myers <joseph@codesourcery.com>
609
610 * conform/conformtest.pl: Fix typo in handling typed-constant from
611 allow-header.
612
28aeeda4
JM
6132012-04-27 Joseph Myers <joseph@codesourcery.com>
614
adae8f5e
JM
615 * README: Cut down references to pre-2.6 Linux kernels and
616 Linuxthreads. Update lists of configurations in libc and ports
617 and sort alphabetically. Say "or newer" with Linux kernel version
618 requirements.
619
28aeeda4
JM
620 * config.h.in [IS_IN_build]: Allow compiling without optimization.
621
a462cb63
RA
6222012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
623
624 [BZ #887]
625 * math/libm-test.inc (logb_test_downward): New test to expose
626 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
627 rounding mode.
628
6ad3493e
JM
6292012-04-27 Joseph Myers <joseph@codesourcery.com>
630
631 [BZ #14027]
632 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
633 to be done.
634 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
635 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
636
2ce4f015
JM
6372012-04-26 Joseph Myers <joseph@codesourcery.com>
638
5aeb141a
JM
639 * sysdeps/unix/i386/brk.S: Remove file.
640 * sysdeps/unix/i386/dl-brk.S: Likewise.
641 * sysdeps/unix/i386/pipe.S: Likewise.
642 * sysdeps/unix/i386/sigreturn.S: Likewise.
643 * sysdeps/unix/i386/syscall.S: Likewise.
644 * sysdeps/unix/i386/vfork.S: Likewise.
645 * sysdeps/unix/i386/wait.S: Likewise.
646
7143acae
JM
647 * sysdeps/unix/common/tcsendbrk.c: Move to ...
648 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
649
2ce4f015
JM
650 * configure.in (arm*-none*): Do not allow without
651 --enable-hacker-mode.
652 (netbsd*): Remove case setting base_os.
653 (386bsd*): Likewise.
654 (freebsd*): Likewise.
655 (bsdi*): Likewise.
656 (osf*): Likewise.
657 (sunos*): Likewise.
658 (ultrix*): Likewise.
659 (newsos*): Likewise.
660 (dynix*): Likewise.
661 (*bsd*): Likewise.
662 (sysv*): Likewise.
663 (isc*): Likewise.
664 (esix*): Likewise.
665 (sco*): Likewise.
666 (minix*): Likewise.
667 (irix4*): Likewise.
668 (irix6*): Likewise.
669 (solaris[2-9]*): Likewise.
670 (none): Likewise.
671 * configure: Regenerated.
672
0ac229c8
AZ
6732012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
674
675 [BZ #11521]
676 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
677 overflow or cancellation in calculating denominator.
678 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
679 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
680 down expression to avoid unexpected rounding in newer GCCs.
681 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
682
33f244f4
DM
6832012-04-26 David S. Miller <davem@davemloft.net>
684
685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
686 long-double compat symbols.
687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
700
cfa1f3e8
DM
7012012-04-25 David S. Miller <davem@davemloft.net>
702
703 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
704 HWCAP_* values only after the memory barriers have been defined.
705 (atomic_full_barrier): Define.
706 (atomic_read_barrier): Define.
707 (atomic_write_barrier): Define.
708
6e236b92
SP
7092012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
710
711 * shlib-versions: Add libgcc_s version information.
712 * sysdeps/generic/libgcc_s.h: Remove.
713 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
714 libgcc_s.h.
715 * sysdeps/gnu/unwind-resume.c: Likewise.
716 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
717
aab39a09
DM
7182012-04-25 David S. Miller <davem@davemloft.net>
719
720 * sysdeps/unix/sparc/brk.S: Delete.
721 * sysdeps/unix/sparc/dl-brk.S: Delete.
722 * sysdeps/unix/sparc/pipe.S: Delete.
723 * sysdeps/unix/sparc/sysdep.S: Delete.
724 * sysdeps/unix/sparc/sysdep.h: Delete.
725 * sysdeps/unix/sparc/vfork.S: Delete.
726 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
727 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
728 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
729 ret_ERRVAL, r0, r1, MOVE): Define.
730 (JUMPTARGET): Remove.
731 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
732 sysdeps/unix/sparc/sysdep.h
733 (ENTRY, END): Remove.
734 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
735
a3cc4f48
JM
7362012-04-25 Joseph Myers <joseph@codesourcery.com>
737
2ed8cda2
JM
738 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
739 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
740 -DIS_IN_build.
741
35d76d59
JM
742 * timezone/README: Update upstream location and email address for
743 tzcode and tzdata.
744 * timezone/zdump.c: Update from tzcode 2012b.
745 * timezone/zic.c: Likewise.
746
a3cc4f48
JM
747 * configure.in (libc_cv_as_needed): Remove test.
748 * configure: Regenerated.
749 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
750 conditional definition.
751 [$(have-as-needed) != yes] (no-as-needed): Likewise.
752 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
753 * config.make.in (have-as-needed): Remove variable.
754
ceab42c3
SP
7552012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
756 Paul Pluzhnikov <ppluzhnikov@google.com>
757
758 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
759 strings correctly.
760
3ce2865f
CLT
7612012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
762
763 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
764 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
765 * sysdeps/sh/strlen.S: Likewise.
766
f37e0d68
JM
7672012-04-24 Joseph Myers <joseph@codesourcery.com>
768
ae186e9a
JM
769 * sysdeps/unix/fork.S: Remove file.
770 * sysdeps/unix/i386/fork.S: Likewise.
771 * sysdeps/unix/sparc/fork.S: Likewise.
772
b96914af
JM
773 * sysdeps/unix/system.c: Remove file.
774 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
775
f37e0d68
JM
776 * sysdeps/unix/getegid.S: Remove file.
777 * sysdeps/unix/geteuid.S: Likewise.
778
87ef29ca
RM
7792012-04-24 Roland McGrath <roland@hack.frob.com>
780
83bcd236
RM
781 * scripts/check-localplt.awk: New file.
782 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
783 of diff.
784 * scripts/data/localplt-generic.data: Add a comment.
785
87ef29ca
RM
786 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
787 NODE when __dir_mkfile failed.
788 * sysdeps/mach/hurd/symlinkat.c: Likewise.
789 Reported by Ludovic Courtès <ludo@gnu.org>.
790
e5a6e567
AJ
7912012-04-24 Andreas Jaeger <aj@suse.de>
792
793 * Makerules (common-clean): Also remove gen-as-const-headers
794 files.
795
c1820385
JM
7962012-04-24 Joseph Myers <joseph@codesourcery.com>
797
798 * Makerules (native-compile): Do not change working directory for
799 build. Use $(OUTPUT_OPTION) in command.
800 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
801
94e02fc4
AZ
8022012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
803
804 [BZ #13886]
805 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
806 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
807 * math/libm-test.inc (floor_test): Add more tests.
808 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
809
3a533ca3
JM
8102012-04-24 Joseph Myers <joseph@codesourcery.com>
811
940ab4b3
JM
812 * sysdeps/unix/getdents.c: Remove file.
813 * sysdeps/unix/sysv/getdents.c: Likewise.
814 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
815
90e037bd
JM
816 * sysdeps/unix/syscalls.list (madvise): Add syscall from
817 sysdeps/unix/mman/syscalls.list.
818 (mmap): Likewise.
819 (mprotect): Likewise.
820 (msync): Likewise.
821 (munmap): Likewise.
822 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
823 * sysdeps/unix/mman/syscalls.list: Remove.
824 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
825
3a533ca3
JM
826 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
827 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
828 * configure: Regenerated.
829 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
830 $(libgcc_s_suffix).
831 * config.make.in (libgcc_s_suffix): Remove variable.
832
1ad743de
JM
8332012-04-23 Joseph Myers <joseph@codesourcery.com>
834
4ad451e2
JM
835 * sysdeps/unix/sysv/gethostname.c: Move to ...
836 * sysdeps/posix/gethostname.c: ... here.
837
5e37ce39
JM
838 * sysdeps/unix/execve.S: Remove file.
839
1ad743de
JM
840 * sysdeps/unix/_exit.S: Remove file.
841
4e681b5b
AJ
8422012-04-23 Andreas Jaeger <aj@suse.de>
843
844 [BZ #13739]
845 * manual/Makefile: Remove make dist support, there's no
846 need for a stand-alone documentation tar ball.
847 (TEXI2DVI): Define always, it's not in Makeconfig.
848 (dist): Removed.
849 (tar-it): Removed.
850 (edition): Removed.
851 (glibc-doc-$(edition).tar): Removed
852 (%.Z): Removed.
853 (%.gz): Removed.
854 (%.uu): Removed.
855 (ETAGS): Remove, it's in Makeconfig.
856 (move-if-change): Remove, it's in Makeconfig.
857
c0baea34
PE
8582013-04-23 Paul Eggert <eggert@cs.ucla.edu>
859
860 [BZ #13970]
861 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
862 (strtod, strtof, strtold, strtol, strtoul, strtoq)
863 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
864 (strtod_l, strtof_l, strtold_l): Remove __wur.
865 It is not necessarily an error to ignore strtol's return value.
866 One can reliably look at the stored endptr to decide whether
867 the number had valid syntax.
868
7c0616fa
AJ
8692012-04-21 Andreas Jaeger <aj@suse.de>
870
803cb6b7 871 [BZ #13739]
7c0616fa
AJ
872 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
873
b0fe253f
JM
8742012-04-21 Joseph Myers <joseph@codesourcery.com>
875
876 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
877 * sysdeps/unix/sysv/Versions: Remove file.
878
8280f22d
MT
8792012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
880
881 [BZ #13927]
882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
883
75ce411f 8842012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
885
886 [BZ #7064]
887 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
888 version from __vm86.
889
097d59fa
JM
8902012-04-20 Joseph Myers <joseph@codesourcery.com>
891
a90f3bcb
JM
892 * sysdeps/unix/common/lxstat.c: Remove file.
893 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
894
edc7ea78
JM
895 * sysdeps/unix/sysv/Makefile: Remove file.
896
cb78c221
JM
897 * sysdeps/unix/sysv/direct.h: Remove file.
898
efa6a45f
JM
899 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
900 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
901 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
902 * sysdeps/unix/sysv/bits/signum.h: Likewise.
903 * sysdeps/unix/sysv/bits/stat.h: Likewise.
904 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
905 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
906
9c9f2d0c
JM
907 * sysdeps/unix/sysv/setrlimit.c: Remove file.
908
4541c83b
JM
909 * sysdeps/unix/xmknod.c: Remove file.
910 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
911
f5d153a0
JM
912 * sysdeps/unix/sysv/settimeofday.c: Remove file.
913
aa746595
JM
914 * sysdeps/unix/sysv/i386/time.S: Remove file.
915
cce5905e
JM
916 * sysdeps/unix/fxstat.c: Remove file.
917 * sysdeps/unix/xstat.c: Likewise.
918 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
919
37fa3841
JM
920 * sysdeps/unix/sysv/sigaction.c: Remove file.
921
ff1962a3
JM
922 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
923 (sysdep_headers): Remove variable.
924 [termio.h not in sysdep_headers] (generated): Likewise.
925 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
926 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
927 * sysdeps/unix/sysv/tcdrain.c: Likewise.
928 * sysdeps/unix/sysv/tcflow.c: Likewise.
929 * sysdeps/unix/sysv/tcflush.c: Likewise.
930 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
931 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
932 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
933 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
934 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
935
e7740d31
JM
936 * sysdeps/unix/siglist.c: Remove file.
937
ee06f18b
JM
938 * sysdeps/unix/getppid.S: Remove file.
939
097d59fa
JM
940 * sysdeps/unix/mkdir.c: Remove file.
941 * sysdeps/unix/rmdir.c: Likewise.
942
ff3d51ec
AS
9432012-04-19 Andreas Schwab <schwab@linux-m68k.org>
944
945 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
946 ERR_MAX value.
947 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
948 errlist-compat value.
949
50f81fd7
DM
9502012-04-18 David S. Miller <davem@davemloft.net>
951
952 * sysdeps/generic/memcopy.h (reg_char): Delete.
953 * debug/strcat_chk.c: Use char, not reg_char.
954 * debug/strcpy_chk.c: Likewise.
955 * debug/strncat_chk.c: Likewise.
956 * debug/strncpy_chk.c: Likewise.
957 * string/memchr.c: Likewise.
958 * string/memrchr.c: Likewise.
959 * string/rawmemchr.c: Likewise.
960 * string/strcat.c: Likewise.
961 * string/strchr.c: Likewise.
962 * string/strchrnul.c: Likewise.
963 * string/strcmp.c: Likewise.
964 * string/strcpy.c: Likewise.
965 * string/strncat.c: Likewise.
966 * string/strncmp.c: Likewise.
967 * string/strncpy.c: Likewise.
968
8ff41c46
WS
9692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
970
971 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
972 __builtin_memcopy is called when src and dest ranges are known to not
973 overlap.
974
6b652f46
WS
9752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
976
977 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
978 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
979 fwd_align_merge macro call.
980 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
981 bwd_align_merge macro call.
982 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
983
b282631e
WS
9842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
985
986 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
987 bwd_align_merge macros.
988 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
989 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
990 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
991
95aa737c
DM
9922012-04-18 David S. Miller <davem@davemloft.net>
993
994 * sysdeps/sparc/sparc64/memcopy.h: Delete.
995
7a99a614
AJ
9962012-04-18 Andreas Jaeger <aj@suse.de>
997
998 [BZ# 6794]
999 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1000 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1001 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1002
1003 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1004 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1005 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1006
1007 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1008 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1009 Adjust for changed ldbl-128 files.
1010
1011 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1012 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1013 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1014
e5270c23
DM
10152012-04-17 David S. Miller <davem@davemloft.net>
1016
1017 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1018
fb5e92c9
AS
10192012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1020
1021 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1022 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1023 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1024 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1025 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1026 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1027
76da7265
AZ
10282012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1029
1030 [BZ #6794]
1031 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1032 * math/libm-test.inc: Add ilogb errno and exception tests.
1033 * math/w_ilogb.c: New file: ilogb wrapper.
1034 * math/w_ilogbf.c: New file: ilogbf wrapper.
1035 * math/w_ilogbl.c: New file: ilogbl wrapper.
1036 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1037 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1038 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1039 exception being thrown with 0.0 as argument.
1040 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1041 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1042 exception being thrown with 0.0 as argument.
1043 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1044 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1045 exception being thrown with 0.0 as argument.
1046 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1047 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1048 exception being thrown with 0.0 as argument.
1049 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1050 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1051 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1052 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1053 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1054 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1055 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1056 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1057 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1058
0396e69d
PB
10592012-04-17 Petr Baudis <pasky@ucw.cz>
1060
1061 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1062 with altivec.
1063
750b5926
MP
10642012-04-16 Marek Polacek <polacek@redhat.com>
1065
1066 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1067
751728a1
MP
10682012-04-16 Marek Polacek <polacek@redhat.com>
1069
1070 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1071 operands of fdivp instruction.
1072
34a27407
L
10732012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1074
1075 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1076 * elf/tst-auditmod3b.c: Likewise.
1077 * elf/tst-auditmod4b.c: Likewise.
1078 * elf/tst-auditmod5b.c: Likewise.
1079 * elf/tst-auditmod6b.c: Likewise.
1080 * elf/tst-auditmod6c.c: Likewise.
1081 * elf/tst-auditmod7b.c: Likewise.
1082 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1083 * sysdeps/x86_64/preconfigure.in: Likewise.
1084 * sysdeps/x86_64/preconfigure: Regenerated.
1085
7e73e17d
L
10862012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1087
1088 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1089 __ILP32__.
1090
c7a6ab72
AB
10912012-04-13 Antoine Balestrat <merkil33@gmail.com>
1092
1093 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1094 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1095
a9e8e0e0
CL
10962012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1097
1098 [BZ #13973]
1099 * locale/iso-639.def: Fix gl language name. Spotted by
1100 Yaron Shahrabani.
1101
ec98af7d
RM
11022012-04-12 Roland McGrath <roland@hack.frob.com>
1103
1104 [BZ #2074]
1105 * libio/libio.h (__io_write_fn): Update comment.
1106
247c3ede
PB
11072012-04-12 Petr Baudis <pasky@ucw.cz>
1108
1109 [BZ #2074]
1110 * stdio.texi (Hook Functions): The user provided writer function
1111 is not allowed to return -1.
1112
55939d6d
DM
11132012-04-11 David S. Miller <davem@davemloft.net>
1114
1115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1116
90020f5a
MF
11172012-04-11 Mike Frysinger <vapier@gentoo.org>
1118
1119 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1120 Add a leading slash to rtkaio.
1121
288f9098
JM
11222012-04-11 Jim Meyering <meyering@redhat.com>
1123
90020f5a
MF
1124 [BZ #11959]
1125 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1126 It is not necessarily an error to ignore fwrite's return
1127 value. One can reliably use ferror to test for errors after
1128 the fact.
288f9098 1129
4be2b570
L
11302012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1131
1132 * bits/types.h (__snseconds_t): New type.
1133 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1134
1135 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1136 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1137 (__SNSECONDS_T_TYPE): Likewise.
1138 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1139 (__SNSECONDS_T_TYPE): Likewise.
1140 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1141 (__SNSECONDS_T_TYPE): Likewise.
1142
288f9098 11432012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1144
1145 [BZ #2636]
1146 * manual/time.texi (Processor Time): Return type of times is
1147 elapsed real time since an arbitrary point in the past.
1148 (CPU Time): Move CLK_TCK from here...
1149 (Processor Time): ...to here. Correct description.
1150 * manual/conf.texi (Constants for Sysconf): Correct description of
1151 _SC_CLK_TCK.
1152
d7dd4413
DM
11532012-04-10 David S. Miller <davem@davemloft.net>
1154
1155 [BZ #13967]
1156 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1157 where the is a gap between DT_REL(A) and DT_JMPREL.
1158
b46068fc
L
11592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1160
1161 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1162 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1163 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1164
73d65cc3
SP
11652012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1166
1167 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1168 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1169 (dl_main): Handle --inhibit-cache.
1170 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1171 _dl_inhibit_cache.
1172 * elf/dl-load.c (_dl_map_object): Use it.
1173 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1174
bcc8d661
JM
11752012-04-09 Joseph Myers <joseph@codesourcery.com>
1176
8f9a2fae
JM
1177 [BZ #13872]
1178 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1179 (__ieee754_powl): Saturate large exponents rather than testing for
1180 overflow of y*log2(x).
1181 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1182 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1183 exceptions.
1184
bcc8d661
JM
1185 [BZ #11521]
1186 * math/s_ctan.c: Include <float.h>.
1187 (__ctan): Avoid internal overflow or cancellation in calculating
1188 denominator.
1189 * math/s_ctanf.c: Likewise.
1190 * math/s_ctanl.c: Likewise.
1191 * math/s_ctanh.c: Likewise.
1192 * math/s_ctanhf.c: Likewise.
1193 * math/s_ctanhl.c: Likewise.
1194 * math/libm-test.inc (ctan_test): Add more tests.
1195 (ctanh_test): Likewise.
1196 * sysdeps/i386/fpu/libm-test-ulps: Update.
1197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1198
823fbbb4
AJ
11992012-04-09 Andreas Jaeger <aj@suse.de>
1200
03879793
AJ
1201 [BZ #6894]
1202 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1203 is an optional BSD extension.
1204
823fbbb4
AJ
1205 [BZ #10254]
1206 * manual/stdio.texi (Opening Streams): Document additional fopen
1207 parameters.
1208
8de131cb
RM
12092012-04-09 Roland McGrath <roland@hack.frob.com>
1210
1211 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1212 %eax without telling the compiler.
1213
c0ed9d7d
CD
12142012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1215
1216 [BZ # 13963]
1217 * manual/install.texi: Use sourceware.org.
1218
c483f6b4
JM
12192012-04-09 Joseph Myers <joseph@codesourcery.com>
1220
d7dd9453
JM
1221 [BZ #13873]
1222 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1223 (__ieee754_pow): Generate overflow and underflow using huge*huge
1224 and tiny*tiny rather than just returning constant infinity or zero
1225 for large exponents.
1226 * math/libm-test.inc (pow_test): Require overflow exceptions for
1227 applicable cases of large exponents.
1228
c483f6b4
JM
1229 [BZ #706]
1230 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1231 (__ieee754_pow): Use iterative multiplication algorithm only for
1232 integer exponents with absolute value below 1024. Check for odd
1233 integer exponents when using algorithm for real exponents.
1234 * math/libm-test.inc (pow_test): Add more tests.
1235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1236
d2de7579
JM
12372012-04-08 Joseph Myers <joseph@codesourcery.com>
1238
1239 [BZ #13705]
1240 * math/libm-test.inc (exp_test): Do not allow overflow exception
1241 on underflow test.
1242
f77f1232
AJ
12432012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1244
1245 [BZ #13705]
1246 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1247 instead of __kernel_standard_f.
1248
3884932b
MF
12492012-04-08 Mike Frysinger <vapier@gentoo.org>
1250
1251 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1252 * sysdeps/x86_64/memset_chk.S: Likewise.
1253
54472e9c
AJ
12542012-04-08 Andreas Jaeger <aj@suse.de>
1255
6ab0fbfc
AJ
1256 [BZ #10153]
1257 * manual/startup.texi (Environment Access): Describe return value
1258 for putenv and setenv.
1259
61efba8c
AJ
1260 [BZ #6895]
1261 * manual/filesys.texi (Directory Entries): Add description for
1262 DT_LNK.
1263
95c3f29a
AJ
1264 [BZ #6890]
1265 * manual/filesys.texi (Directory Entries): Clarify that it's file
1266 system not operating system in the description of DT_UNKNOWN.
1267
54472e9c
AJ
1268 [BZ #6578]
1269 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1270
624254b1
SC
12712012-04-08 Stephen Compall <s11@member.fsf.org>
1272
1273 [BZ #6649]
1274 * manual/llio.texi (Opening and Closing Files): Add cross
1275 reference to explain mode argument.
1276
1e4920e0
MF
12772012-04-07 Mike Frysinger <vapier@gentoo.org>
1278
1279 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1280 * sysdeps/x86_64/memset_chk.S: Likewise.
1281
5ed848f3
DM
12822012-04-07 David S. Miller <davem@davemloft.net>
1283
1284 * elf/elf.h (R_SPARC_WDISP10): Define.
1285 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1286 R_SPARC_SIZE32.
1287 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1288 R_SPARC_SIZE64 and R_SPARC_H34.
1289
96154cd8
CD
12902012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1291
1292 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1293 conditions and remove no longer applicable assertion.
1294
9904dc47
L
12952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1296
1297 * bits/byteswap.h: Include <features.h>.
1298 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1299 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1300
f8887d0a
L
13012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1302
1303 * bits/byteswap.h (__bswap_16): Removed.
1304 Include <bits/byteswap-16.h> to get __bswap_16.
1305 * sysdeps/i386/bits/byteswap.h: Likewise.
1306 * sysdeps/s390/bits/byteswap.h: Likewise.
1307 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1308 * bits/byteswap-16.h: New file.
1309 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1310 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1311 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1312 * string/Makefile (headers): Add bits/byteswap-16.h.
1313
62470f60
PP
13142012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1315
1316 [BZ #13895]
1317 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1318 extra indirection.
1319 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1320 * nss/tst-nss-static.c: New.
1321
4dad7bab
RM
13222012-04-06 Robert Millan <rmh@gnu.org>
1323
1324 [BZ #6486]
1325 * manual/llio.texi (File Position Primitive): lseek
1326 refers to WHENCE when it really means OFFSET.
1327
e9142a17
AJ
13282012-04-06 Andreas Jaeger <aj@suse.de>
1329
2c040eff
AJ
1330 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1331 strncmp declarations.
1332
e9142a17
AJ
1333 * abilist/libc.abilist: Add __poll and __ppoll.
1334
ff9f1c5f
DM
13352012-04-05 David S. Miller <davem@davemloft.net>
1336
dcd2ae90
DM
1337 * scripts/check-local-headers.sh: Accept a host triplet in the
1338 path matched by the exclude regexp.
1339
993eb054
DM
1340 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1341 definition.
1342 * sysdeps/powerpc/powerpc32/dl-machine.h
1343 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1344 * sysdeps/s390/s390-32/dl-machine.h
1345 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1346 * sysdeps/sparc/sparc32/dl-machine.h
1347 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1348 * sysdeps/sparc/sparc64/dl-machine.h
1349 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1350
ff9f1c5f
DM
1351 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1352 lazy binding.
48e2e132 1353 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1354 undefined symbol errors.
1355
48e2e132 1356 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1357 DT_NEEDED entries.
1358
e80d6f94
MM
13592012-04-05 Michael Matz <matz@suse.de>
1360
1361 [BZ #13592]
1362 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1363
349fa79f
AJ
13642012-04-05 Andreas Jaeger <aj@suse.de>
1365
1366 [BZ #13908]
1367 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1368 comment.
1369
f402708f
KK
13702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1371
1372 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1373 which ROUND is no valid rounding mode.
1374
2ecccfc9
KK
13752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1376
1377 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1378 read again.
1379 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1380
8a53f50f
KK
13812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1382
1383 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1384 an exception using FPU order intentionally.
1385
13862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1387
1388 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1389 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1390 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1391 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1392
d653abb7
SJ
13932012-04-05 Simon Josefsson <simon@josefsson.org>
1394
1395 [BZ #12340]
1396 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1397 EINVAL when BUFLEN is too smal.
1398
c3b1bf7d
TS
13992012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1400
1401 [BZ #13553]
1402 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1403 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1404
b1aa60f3
AJ
14052012-04-03 Andreas Jaeger <aj@suse.de>
1406
c3b1bf7d 1407 [BZ #13938]
67f60a26
AJ
1408 * manual/setjmp.texi (System V contexts): Fix sentence.
1409
b1aa60f3
AJ
1410 [BZ #13926]
1411 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1412 New macro for this case.
1413 [!__GNUC__] (__bswap_64): New inline function for this case.
1414 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1415 * bits/byteswap.h: Likewise.
1416 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1417 ull, guard with __GLIBC_HAVE_LONG_LONG.
1418
1419 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1420 __GLIBC_HAVE_LONG_LONG.
1421
1422 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1423 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1424
39c59c35
TMQMF
14252012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1426
1427 [BZ #13691]
1428 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1429 inptr and inend, rather than using last_ch.
1430
135ffda8
DM
14312012-04-02 David S. Miller <davem@davemloft.net>
1432
1433 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1434 * stdio-common/printf-parse.h (read_int): Change return type to
1435 'int', return -1 on INT_MAX overflow.
1436 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1437 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1438 overflows INT_MAX. Check for overflow of in-format-string precision
1439 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1440 SIZE_MAX not INT_MAX for integer overflow test.
1441 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1442 skip the construct in the format string but do not record anything.
1443 * stdio-common/bug22.c: Adjust to test both width/prevision
1444 INT_MAX overflow as well as total length INT_MAX overflow. Check
1445 explicitly for proper errno values.
1446
228c019e
TS
14472012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1448
302cadd3
TS
1449 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1450 CHAR_MAX.
1451 * string/test-strcmp.c [! WIDE]: Likewise.
1452 * time/tst-mktime2.c: Likewise for INT_MAX.
1453 * string/test-string.h: #include <sys/param.h> for MIN.
1454
228c019e
TS
1455 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1456 * sysdeps/i386/init-first.c (init): Likewise.
1457 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1458 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1459 * sysdeps/sh/init-first.c (init): Likewise.
1460
cfa633f5
UD
14612012-04-01 Ulrich Drepper <drepper@gmail.com>
1462
1463 * po/ru.po: Update from translation team.
d1635ef8 1464 * po/vi.po: Likewise.
cfa633f5 1465
6cd0a5ea
SP
14662012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1467
1468 * resolv/nss_dns/dns-host.c: Merge copyright years.
1469
4b43400f
LD
14702012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1471
1472 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1473 Optimize memcpy with prefetch if
1474 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1475 src, dst pointers have unequal 16 byte alignments.
1476
48c41d04
SP
14772012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1478
1479 [BZ #13928]
1480 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1481 from a CNAME entry and return the minimum ttl for the query.
1482 (gaih_getanswer_slice): Likewise.
1483
b8dc394d
JL
14842012-03-30 Jeff Law <law@redhat.com>
1485
1486 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1487 due to long keys.
1488 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1489 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1490
2f5a5ed0
JL
1491 * resolv/nss_dns/dns-host.c: Update copyright year.
1492
1d39e359
UD
14932012-03-30 Ulrich Drepper <drepper@gmail.com>
1494
c030f70c 1495 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 1496 requests to save a system call. Fix check that all bytes are sent.
c030f70c 1497
1d39e359
UD
1498 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1499 comments for sendmmsg.
1500
15012012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
1502
1503 [BZ #13691]
1504 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1505 with only 1 character between 0x0041 and 0x01b0.
1506 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1507 * wcsmbs/tst-mbsnrtowcs.c: New file.
1508
20fde227
DM
15092012-03-29 David S. Miller <davem@davemloft.net>
1510
1511 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1512 small copies by hand.
1513
984a4237
JL
15142012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1515
1516 [BZ #13761]
1517 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1518 _nss_compat_initgroups_dyn): Fall back to malloc/free
1519 for large group memberships.
1520
18c9d62b
DM
15212012-03-28 David S. Miller <davem@davemloft.net>
1522
88d85d4f
DM
1523 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1524 that branches into memcpy.
1525 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1526 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1527 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1528 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1530 bits.
1531 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1532 implementation too.
1533 * sysdeps/sparc/mempcpy.S: New file.
1534
e5aa83e1
DM
1535 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1536 the IFUNC routine in the libc case.
1537 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1538
88570753
DM
1539 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1540 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1541 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1542 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1543 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1544 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1545 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1546 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1547
249d7567
DM
1548 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1549 loop to 256 bytes instead of 64 bytes and fix test signedness.
1550
18c9d62b
DM
1551 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1552 * sysdeps/sparc/sparc32/Makefile: rather than here...
1553 * sysdeps/sparc/sparc64/Makefile: and here.
1554
05f3d1f6
UD
15552012-03-28 Ulrich Drepper <drepper@gmail.com>
1556
1557 * malloc/mallocbug.c: Avoid warnings about unused variables.
1558
86ae07a8
JL
15592012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1560
1561 [BZ #13760]
1562 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1563 in the right place. Discard and retry query if response is
1564 larger than input buffer size.
1565
41bf21a1
JM
15662012-03-28 Joseph Myers <joseph@codesourcery.com>
1567
d6270972
JM
1568 [BZ #369]
1569 [BZ #2678]
1570 [BZ #3866]
1571 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1572 x for large integer exponent.
1573 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1574 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1575 sign of result as needed afterwards.
1576 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1577 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1578 result for underflowing pow the same as for overflow.
1579 (__kernel_standard_l): Handle powl overflow and underflow here
1580 rather than calling __kernel_standard.
1581 * math/libm-test.inc (pow_test): Add more tests.
1582
414fca03 1583 [BZ #3868]
41bf21a1
JM
1584 [BZ #13879]
1585 [BZ #13910]
1586 [BZ #13911]
1587 [BZ #13912]
1588 [BZ #13913]
1589 [BZ #13915]
1590 [BZ #13916]
1591 [BZ #13917]
1592 [BZ #13918]
1593 [BZ #13919]
1594 [BZ #13920]
1595 [BZ #13921]
1596 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1597 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1598 (__kernel_standard_l): New function.
1599 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1600 __kernel_standard.
1601 * math/w_acosl.c (__acosl): Likewise.
1602 * math/w_asinl.c (__asinl): Likewise.
1603 * math/w_atan2l.c (__atan2l): Likewise.
1604 * math/w_atanhl.c (__atanhl): Likewise.
1605 * math/w_coshl.c (__coshl): Likewise.
1606 * math/w_exp10l.c (__exp10l): Likewise.
1607 * math/w_exp2l.c (__exp2l): Likewise.
1608 * math/w_fmodl.c (__fmodl): Likewise.
1609 * math/w_hypotl.c (__hypotl): Likewise.
1610 * math/w_j0l.c (__j0l, __y0l): Likewise.
1611 * math/w_j1l.c (__j1l, __y1l): Likewise.
1612 * math/w_jnl.c (__jnl, __ynl): Likewise.
1613 * math/w_lgammal.c (__lgammal): Likewise.
1614 * math/w_log10l.c (__log10l): Likewise.
1615 * math/w_log2l.c (__log2l): Likewise.
1616 * math/w_logl.c (__logl): Likewise.
1617 * math/w_powl.c (__powl): Likewise.
1618 * math/w_remainderl.c (__remainderl): Likewise.
1619 * math/w_scalbl.c (sysv_scalbl): Likewise.
1620 * math/w_sinhl.c (__sinhl): Likewise.
1621 * math/w_sqrtl.c (__sqrtl): Likewise.
1622 * math/w_tgammal.c (__tgammal): Likewise.
1623 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1624 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1625 * math/libm-test.inc (acos_test): Add more tests.
1626 (acosh_test): Likewise.
1627 (asin_test): Likewise.
1628 (atanh_test): Likewise.
1629 (exp_test): Likewise.
1630 (exp10_test): Likewise.
1631 (exp2_test): Likewise.
1632 (expm1_test): Likewise.
1633 (lgamma_test): Likewise.
1634 (log_test): Likewise.
1635 (log10_test): Likewise.
1636 (log1p_test): Likewise.
1637 (log2_test): Likewise.
1638 (pow_test): Do not allow some spurious overflow exceptions.
1639 (sqrt_test): Add more tests.
1640 (tgamma_test): Likewise.
1641 (y0_test): Likewise.
1642 (y1_test): Likewise.
1643 (yn_test): Likewise.
1644
dd62fda6
AB
16452012-03-27 Anton Blanchard <anton@samba.org>
1646
1647 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1648 MAP_HUGETLB.
1649 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1650 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1651 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1652
1e3cdfda
AJ
16532012-03-27 David S. Miller <davem@davemloft.net>
1654
b855ab85
DM
1655 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1656
1e3cdfda
AJ
1657 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1658 have-as-vis3 check.
1659
16602012-03-27 Andreas Jaeger <aj@suse.de>
1661
1662 * sysdeps/x86_64/elf/configure.in: Moved to ...
1663 * sysdeps/x86_64/configure.in: ... here.
1664 * sysdeps/x86_64/elf/start.S: Moved to ...
1665 * sysdeps/x86_64/start.S: ... here.
1666 * sysdeps/x86_64/elf/configure: Delete.
1667
1668 * sysdeps/x86_64/configure.in: Merge contents from
1669 sysdeps/i386/configure.in (without i686 check).
1670
1671 * sysdeps/i386/elf/Versions: Merge into ...
1672 * sysdeps/i386/Versions: ... this.
1673 * sysdeps/i386/elf/Versions: Delete file.
1674 * sysdeps/i386/elf/start.S: Moved to ...
1675 * sysdeps/i386/start.S: ...here.
1676 * sysdeps/i386/elf/configure.in: Merge into...
1677 * sysdeps/i386/configure.in: ...here.
1678 * sysdeps/i386/elf/configure.in: Delete file.
1679 * sysdeps/i386/elf/configure: Delete file.
1680
1681 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1682 * debug/backtracesyms.c: ... here.
1683 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1684 * debug/backtracesymsfd.c: ... here.
1685 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1686 * sysdeps/generic/ifunc-sel.h: ... here.
1687
1688 * sysdeps/unix/i386/start.c: Delete file.
1689 * sysdeps/unix/sparc/start.c: Delete file.
1690 * sysdeps/unix/start.c: Delete file.
1691
1692 * sysdeps/sh/elf/configure.in: Moved to ...
1693 * sysdeps/sh/configure.in: ... here.
1694 * sysdeps/sh/elf/start.S: Moved to ...
1695 * sysdeps/sh/start.S: ... here.
1696 * sysdeps/sh/elf/configure: Delete file.
1697
1698 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1699 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1700 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1701 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1702 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1703 * sysdeps/powerpc/powerpc64/start.S: here.
1704 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1705 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1706 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1707 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1708 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1709
1710 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1711 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1712 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1713 * sysdeps/powerpc/powerpc32/start.S: ... here.
1714 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1715 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1716 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1717
1718 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1719 * sysdeps/powerpc/ifunc-sel.h: ... here.
1720 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1721 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1722
1723 * sysdeps/sparc/elf/configure.in: Moved to ...
1724 * sysdeps/sparc/configure.in: ... here.
1725 * sysdeps/sparc/elf/configure: Delete file.
1726 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1727 * sysdeps/sparc/sparc32/start.S: ... here.
1728 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1729 * sysdeps/sparc/sparc64/start.S: ... here.
1730 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1731 * sysdeps/sparc/sparc32/Makefile: ... this.
1732 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1733 * sysdeps/sparc/sparc64/Makefile: ... this.
1734
1735 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1736 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1737 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1738 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1739 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1740 * sysdeps/s390/s390-32/setjmp.S: ... here.
1741 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1742 * sysdeps/s390/s390-32/configure.in: ... here.
1743 * sysdeps/s390/s390-32/elf/configure: Delete file.
1744 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1745 * sysdeps/s390/s390-32/start.S: ... here.
1746
1747 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1748 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1749 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1750 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1751 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1752 * sysdeps/s390/s390-64/setjmp.S: ... here.
1753 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1754 * sysdeps/s390/s390-64/configure.in: ... here
1755 * sysdeps/s390/s390-64/elf/configure: Delete file.
1756 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1757 * sysdeps/s390/s390-64/start.S: ... here.
1758 * sysdeps/s390/s390-64/elf/configure: Delete.
1759
1760 * configure.in: Remove support for elf directories in sysdeps.
1761
1762 * configure: Regenerated.
1763 * sysdeps/i386/configure: Regenerated.
1764 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1765 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1766 * sysdeps/s390/s390-32/configure: Regenerated.
1767 * sysdeps/s390/s390-64/configure: Regenerated.
1768 * sysdeps/sh/configure: Regenerated.
1769 * sysdeps/sparc/configure: Regenerated.
1770 * sysdeps/x86_64/configure: Regenerated.
1771
a3f61311
AS
17722012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1773
c876e002
AS
1774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1775
a3f61311
AS
1776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1777 denormal result into account.
1778
ac4c54f0
RM
17792012-03-25 Roland McGrath <roland@hack.frob.com>
1780
1781 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1782 Reported by Allan McRae <allan@archlinux.org>.
1783
6a9b9c02
JL
17842012-03-23 Jeff Law <law@redhat.com>
1785
1786 * nss/getnssent.c (__nss_getent): Fix typo.
1787
4c42a0c1
DM
17882012-03-23 David S. Miller <davem@davemloft.net>
1789
1790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1791
1532c7ac
L
17922012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1793
1794 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1795 to pad to uint64_t for each field.
1796 (dl_tls_index): Replace unsigned long with uint64_t.
1797
3ff42526
PP
17982012-03-23 Daniel Jacobowitz <dmj@google.com>
1799 Paul Pluzhnikov <ppluzhnikov@google.com>
1800
1801 [BZ #6528]
1802 * grp/Makefile (otherlibs): Don't set it.
1803 * inet/Makefile (otherlibs): Likewise.
1804 * login/Makefile (otherlibs): Likewise.
1805 * nscd/Makefile (otherlibs): Likewise.
1806 * posix/Makefile (otherlibs): Likewise.
1807 * pwd/Makefile (otherlibs): Likewise.
1808 * rt/Makefile (otherlibs): Likewise.
1809 * sunrpc/Makefile (otherlibs): Likewise.
1810 * nss/Makefile (otherlibs): Likewise.
1811 Add libnss_files to routines and static-only-routines.
1812 ($(objpfx)getent): Remove rule.
1813 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1814 static-only-routines.
1815
7c69cd14
JM
18162012-03-22 Joseph Myers <joseph@codesourcery.com>
1817
1818 [BZ #13892]
1819 * math/s_cexp.c: Include <float.h>.
1820 (__cexp): Handle exp result overflowing not necessarily
1821 overflowing both real and imaginary parts of result.
1822 * math/s_cexpf.c: Likewise.
1823 * math/s_cexpl.c: Likewise.
1824 * math/libm-test.inc (cexp_test): Add more tests.
1825 * sysdeps/i386/fpu/libm-test-ulps: Update.
1826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1827
81b035fe
L
18282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1829
1830 * include/link.h (ELFW): New macro.
1831 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1832 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1833
1da7940c
L
18342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1835
1836 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1837 with uint64_t.
1838
b749dbb9
L
18392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1840
1841 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1842 declaration.
1843 (struct La_x32_retval): Likewise.
1844
2ff87f3f
L
18452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1846
1847 * sysdeps/x86_64/preconfigure.in: New file.
1848 * sysdeps/x86_64/preconfigure: New generated file.
1849
c0df8e69
JM
18502012-03-22 Joseph Myers <joseph@codesourcery.com>
1851
48e44791
JM
1852 [BZ #13824]
1853 * math/e_exp2l.c: Include <float.h>.
1854 (__ieee754_exp2l): Handle overflow and underflow cases
1855 separately. Only pass fractional part of argument to
1856 __ieee754_expl.
1857 * math/libm-test.inc (exp2_test): Add more tests.
1858
c0df8e69
JM
1859 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1860 negating x to take absolute value.
1861 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1862 Likewise.
1863 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1864 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1865 Likewise.
1866 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1867 computing low part if x was negated.
1868 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1869
c8e43ba7
L
18702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1871
1872 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1873 la_x32_gnu_pltexit.
1874 (pltexit): Cast int_retval to ptrdiff_t.
1875 * elf/tst-auditmod3b.c: Likewise.
1876 * elf/tst-auditmod4b.c: Likewise.
1877 * elf/tst-auditmod5b.c: Likewise.
1878 * elf/tst-auditmod6b.c: Likewise.
1879 * elf/tst-auditmod6c.c: Likewise.
1880 * elf/tst-auditmod7b.c: Likewise.
1881
1882 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1883 and x32_gnu_pltexit.
1884
1885 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1886 __ELF_NATIVE_CLASS.
1887 (La_x32_regs): New macro.
1888 (La_x32_retval): Likewise.
1889 (la_x32_gnu_pltenter): New function prototype.
1890 (la_x32_gnu_pltexit): Likewise.
1891
7998fa78
AS
18922012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1893
dcb33988
AS
1894 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1895 exponent.
1896
233fc563
AS
1897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1898
7998fa78
AS
1899 * configure.in (libc_cv_cc_nofma): Check for option to disable
1900 generation of FMA instructions.
1901 * configure: Regenerate.
1902 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1903 * sysdeps/ieee754/dbl-64/Makefile: New file.
1904 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1905 Remove brandred-fma4.
1906 (CFLAGS-brandred-fma4.c): Remove.
1907 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1908 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1909 define.
1910 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1911 define.
1912
8e95c99a
L
19132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1914
1915 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1916 LLONG_MAX != LONG_MAX.
1917 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1918 (_fitoa_word): Likewise.
1919 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1920 LLONG_MAX != LONG_MAX.
1921 * stdio-common/_itowa.h: Include <_itoa.h>.
1922 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1923 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1924 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1925 only if not defined.
1926 (_ITOA_WORD_TYPE): Likewise.
1927 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1928 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1929
6f4db457
DM
19302012-03-21 David S. Miller <davem@davemloft.net>
1931
1932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1933
7785fe5a
L
19342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1935
1936 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1937 of x86_64 when setting libc_cv_slibdir, libdir and
1938 libc_cv_localedir.
1939 * sysdeps/unix/sysv/linux/configure: Regenerated.
1940
4535cd55
JM
19412012-03-21 Joseph Myers <joseph@codesourcery.com>
1942
1943 * manual/lang.texi (Old Varargs): Remove section.
1944 (How Variadic): Update menu.
1945 (va_start): Do not mention varargs.h.
1946
17228132
TS
19472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1948 Joseph Myers <joseph@codesourcery.com>
1949
1950 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1951 link test.
1952 * configure: Regenerated.
1953
8149f976
TS
19542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1955
05f3d1f6
UD
1956 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1957 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1958 conformtest.pl
8149f976 1959
1a4ac776
JM
19602012-03-21 Joseph Myers <joseph@codesourcery.com>
1961
be22ce65
JM
1962 * NOTES: Remove.
1963 * Makefile (files-for-dist): Remove NOTES.
1964 (NOTES): Remove rule.
1965 * README: Don't refer to NOTES.
1966 * manual/creature.texi: Don't include macros.texi.
1967 * manual/intro.texi (creature.texi): Remove comment referring to
1968 NOTES.
1969
40b601fb
JM
1970 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1971 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1972 * configure: Regenerated.
1973 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1974 LIBC_TRY_CC_OPTION.
1975 (libc_cv_as_i686): Likewise.
1976 (libc_cv_cc_avx): Likewise.
1977 (libc_cv_cc_sse2avx): Likewise.
1978 (libc_cv_cc_fma4): Likewise.
1979 (libc_cv_cc_novzeroupper): Likewise.
1980 * sysdeps/i386/configure: Regenerated.
1981
1a4ac776
JM
1982 [BZ #13883]
1983 * sysdeps/i386/fpu/s_cexp.S: Remove.
1984 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1985 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1986 * math/libm-test.inc (cexp_test): Add more tests.
1987 * sysdeps/i386/fpu/libm-test-ulps: Update.
1988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1989
a458e7fe
AM
19902012-03-21 Allan McRae <allan@archlinux.org>
1991
1992 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1993
0cb7efc5
JM
19942012-03-21 Joseph Myers <joseph@codesourcery.com>
1995
1996 [BZ #13871]
1997 * math/w_exp2.c: Do not include <float.h>.
1998 (o_threshold, u_threshold): Remove.
1999 (__exp2): Calculate result before checking finiteness and calling
2000 __kernel_standard.
2001 * math/w_exp2f.c: Likewise.
2002 * math/w_exp2l.c: Likewise.
2003 * math/libm-test.inc (exp2_test): Require overflow exception for
2004 1e6 input.
2460d3aa
JM
2005
2006 [BZ #3866]
2007 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2008 range of signed 64-bit integers before using fistpll. Remove
2009 checks for whether integers fit in mantissa bits.
2010 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2011 the range of signed 32-bit integers before using fistpl. Remove
2012 checks for whether integers fit in mantissa bits.
2013 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2014 (__ieee754_powl): Test for y outside the range of signed 64-bit
2015 integers before using fistpll. Reduce 64-bit values to 63-bit
2016 ones as needed.
2017 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2018 divide-by-zero is raised for zero to large negative powers.
2019 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2020 (__ieee754_powl): Test for y outside the range of signed 64-bit
2021 integers before using fistpll. Reduce 64-bit values to 63-bit
2022 ones as needed.
2023 * math/libm-test.inc (pow_test): Add more tests.
2024
eb96ffb0
L
20252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2026
2027 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2028 <stdio-common/_itoa.h>.
2029 * debug/segfault.c: Likewise.
2030 * elf/dl-cache.c: Likewise.
2031 * elf/dl-minimal.c: Likewise.
2032 * elf/dl-misc.c: Likewise.
2033 * elf/dl-sysdep.c: Likewise.
2034 * elf/dl-version.c: Likewise.
2035 * elf/rtld.c: Likewise.
2036 * hurd/hurdsock.c: Likewise.
2037 * hurd/lookup-retry.c: Likewise.
2038 * malloc/malloc.c: Likewise.
2039 * malloc/mtrace.c: Likewise.
2040 * nscd/nscd_getgr_r.c: Likewise.
2041 * nscd/nscd_getpw_r.c: Likewise.
2042 * nscd/nscd_getserv_r.c: Likewise.
2043 * posix/getopt_init.c: Likewise.
2044 * posix/wordexp.c: Likewise.
2045 * stdio-common/_itoa.c: Likewise.
2046 * stdio-common/printf_fphex.c: Likewise.
2047 * stdio-common/vfprintf.c: Likewise.
2048 * string/_strerror.c: Likewise.
2049 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2050 * sysdeps/i386/i686/hp-timing.h: Likewise.
2051 * sysdeps/mach/_strerror.c: Likewise.
2052 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2053 * sysdeps/mach/hurd/sethostid.c: Likewise.
2054 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2055 * sysdeps/mach/xpg-strerror.c: Likewise.
2056 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2057 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2058 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2059 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2060 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2061 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2062 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2063 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2064 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2065 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2066 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2067 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2068 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2069 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2070 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2071 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2072 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2074 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2075 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2076 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2077
2078 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2079
2080 * stdio-common/_itoa.h: Moved to ...
2081 * sysdeps/generic/_itoa.h: Here.
2082
2083 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2084
2085 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2086 instead of "_itoa.h" and "_itowa.h".
2087 * stdio-common/vfprintf.: Likewise.
2088
d1af992d
L
20892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2090
2091 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2092 <bits/wordsize.h>.
2093 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2094 (__signbit): Likwise.
2095 (llrintf): Likwise.
2096 (llrint): Likwise.
2097
114883e0
L
20982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2099
2100 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2101 __WORDSIZE != 64.
2102
c135cc1b
JM
21032012-03-20 Joseph Myers <joseph@codesourcery.com>
2104
2105 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2106 OVERFLOW_EXCEPTION_OK.
2107 * math/libm-test.inc ("Philosophy"): Update comment about
2108 exception testing.
2109 (OVERFLOW_EXCEPTION): Define.
2110 (OVERFLOW_EXCEPTION_OK): Likewise.
2111 (INVALID_EXCEPTION_OK): Renumber.
2112 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2113 (IGNORE_ZERO_INF_SIGN): Likewise.
2114 (test_exceptions): Handle FE_OVERFLOW.
2115 (exp10_test): Expect overflow exceptions.
2116 (exp2_test): Likewise.
2117 (expm1_test): Likewise.
2118 (nextafter_test): Likewise.
2119 (pow_test): Likewise.
2120 (scalbn_test): Likewise.
2121 (scalbln_test): Likewise.
2122
95443d88
L
21232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2124
2125 * sysdeps/x86_64/bits/atomic.h
2126 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2127 64bit integer.
2128 (atomic_exchange_acq): Likewise.
2129 (__arch_exchange_and_add_body): Likewise.
2130 (__arch_add_body): Likewise.
2131 (atomic_add_negative): Likewise.
2132 (atomic_add_zero): Likewise.
2133
490df6c4
L
21342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2135
c2722551 2136 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2137 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2138
5e52b189
L
21392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2140
2141 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2142 Check __x86_64__ instead of __WORDSIZE.
2143
a9879d4c
L
21442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2145
2146 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2147
5df98260
DM
21482012-03-19 David S. Miller <davem@davemloft.net>
2149
e1497744
DM
2150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2151
5df98260
DM
2152 * sysdeps/sparc/fpu/fenv_private.h: New file.
2153 * sysdeps/sparc/fpu/math_private.h: Use it.
2154 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2155 Remove.
2156 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2157 (libc_feholdexcept_setroundl): Remove.
2158 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2159 Remove.
2160 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2161 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2162
b4c35121
L
21632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2164
2165 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2166 int64_t instead of long int.
2167 (INSERT_WORDS64): Likwise.
2168
56965fd7
L
21692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2170
2171 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2172 _Unwind_GetCFA return to _Unwind_Ptr first.
2173
83d1aec8
JM
21742012-03-19 Joseph Myers <joseph@codesourcery.com>
2175
1897ad44
JM
2176 [BZ #13629]
2177 * math/s_clog.c: Include <float.h>.
2178 (__clog): Scale large or subnormal inputs.
2179 * math/s_clogf.c: Likewise.
2180 * math/s_clogl.c: Likewise.
2181 * math/s_clog10.c: Include <float.h>.
2182 (M_LOG10_2): Define.
2183 (__clog10): Scale large or subnormal inputs.
2184 * math/s_clog10f.c: Likewise.
2185 * math/s_clog10l.c: Likewise.
2186 * math/libm-test.inc (clog_test): Add more tests.
2187 (clog10_test): Likewise.
2188 * sysdeps/i386/fpu/libm-test-ulps: Update.
2189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2190
7726d6a9
JM
2191 [BZ #11451]
2192 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2193 x and y.
2194 * math/libm-test.inc (atan2_test): Add another test.
2195
83d1aec8
JM
2196 * Makerules (common-objdir-compile): Remove.
2197 * sysdeps/unix/Makefile (config-generated): Do not add
2198 $(unix-generated) to variable.
2199 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2200 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2201 Remove rule.
2202 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2203 Likewise.
2204 [generic bits/local_lim.h] (before-compile): Do not append to
2205 variable.
2206 [generic bits/local_lim.h] (common-generated): Likewise.
2207 [generic sys/param.h] (before-compile): Do not append to variable.
2208 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2209 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2210 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2211 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2212 include.
2213 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2214 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2215 [generic sys/param.h] ($(addprefix
2216 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2217 [generic sys/param.h] (common-generated): Do not append to
2218 variable.
2219 [generic sys/param.h] (sysdep_headers): Likewise.
2220 [generic bits/errno.h] (before-compile): Do not append to
2221 variable.
2222 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2223 rule.
2224 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2225 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2226 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2227 [generic bits/errno.h] (common-generated): Do not append to
2228 variable.
2229 [generic bits/ioctls.h] (before-compile): Do not append to
2230 variable.
2231 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2232 rule.
2233 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2234 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2235 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2236 rule.
2237 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2238 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2239 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2240 [generic bits/ioctls.h] (common-generated): Do not append to
2241 variable.
2242 [generic sys/syscall.h] (syscall.h): Remove variable.
2243 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2244 rule.
2245 [generic sys/syscall.h] (before-compile): Do not append to
2246 variable.
2247 [generic sys/syscall.h] (common-generated): Likewise.
2248 * sysdeps/unix/errnos-tmpl.c: Remove file.
2249 * sysdeps/unix/errnos.awk: Likewise.
2250 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2251 * sysdeps/unix/ioctls.awk: Likewise.
2252 * sysdeps/unix/mk-local_lim.c: Likewise.
2253 * sysdeps/unix/snarf-ioctls: Likewise.
2254
4851a949
RH
22552012-03-19 Richard Henderson <rth@twiddle.net>
2256
bd37f2ee
RH
2257 * sysdeps/i386/fpu/fenv_private.h: New file.
2258 * sysdeps/i386/fpu/math_private.h: Use it.
2259 (math_opt_barrier, math_force_eval): Remove.
2260 (libc_feholdexcept_setround_53bit): Remove.
2261 (libc_feupdateenv_53bit): Remove.
2262 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2263 (math_opt_barrier, math_force_eval): Remove.
2264 (libc_feholdexcept): Remove.
2265 (libc_feholdexcept_setround): Remove.
2266 (libc_fetestexcept, libc_fesetenv): Remove.
2267 (libc_feupdateenv_test): Remove.
2268 (libc_feupdateenv, libc_feholdsetround): Remove.
2269 (libc_feresetround): Remove.
2270
d0adc922
RH
2271 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2272 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2273
0fe0f1f8
RH
2274 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2275 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2276 (libc_feupdateenv_testl): New.
2277 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2278 (libc_feupdateenv_testf): New.
2279 (libc_feupdateenv): Use libc_feupdateenv_test.
2280 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2281 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2282
eb92c487
RH
2283 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2284 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2285 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2286 (libc_feresetround_noex): New.
2287 (libc_feresetround_noexf): New.
2288 (libc_feresetround_noexl): New.
2289 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2290 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2291 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2292 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2293 SET_RESTORE_ROUND.
2294 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2295 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2296 (__cos): Likewise.
2297 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2298 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2299 SET_RESTORE_ROUND_NOEX.
2300 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2301 SET_RESTORE_ROUND_NOEXF.
2302 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2303 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2304 (libc_feholdsetroundf): New.
2305 (libc_feresetround, libc_feresetroundf): New.
2306
7d2e8012
RH
2307 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2308 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2309 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2310
b4dabbb4
RH
2311 * sysdeps/generic/math_private.h: Include <fenv.h>.
2312 (default_libc_feholdexcept): New.
2313 (default_libc_feholdexcept_setround): New.
2314 (default_libc_fesetenv, default_libc_feupdateenv): New.
2315 (libc_feholdexcept): Only define if undefined.
2316 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2317 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2318 (libc_feholdexcept_setroundl): Likewise.
2319 (libc_feholdexcept_setround_53bit): Likewise.
2320 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2321 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2322 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2323 (libc_feupdateenv_53bit): Likewise.
2324 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2325 (libc_feholdexcept): Convert from macro to inline function.
2326 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2327 (libc_fesetenv, libc_feupdateenv): Likewise.
2328
4851a949
RH
2329 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2330 not previously defined.
2331 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2332 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2333 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2334 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2335 * sysdeps/ieee754/flt-32/math_private.h: New file.
2336 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2337 math_private.h below SET_FLOAT_WORD.
2338 (__isnan, __isinf_ns, __finite): Remove.
2339 (__isnanf, __isinf_nsf, __finitef): Remove.
2340
e79d442e
AS
23412012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2342
2343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2344
90b80344
DM
23452012-03-17 David S. Miller <davem@davemloft.net>
2346
2347 [BZ #6471]
2348 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2349 for 2.16.
2350
edc21804
DM
23512012-03-16 David S. Miller <davem@davemloft.net>
2352
77e927af
DM
2353 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2354 warnings.
2355
374976dd
DM
2356 [BZ #6471]
2357 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2358 properly.
2359 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2360 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2361 sysdep_routines when subdir is sysvipc.
2362 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2363 __getshmlba helper.
2364
edc21804
DM
2365 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2366
473c3ef3
L
23672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2368
2369 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2370 [__LP64__].
2371
eb0f39b6
L
23722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2373
2374 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2375 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2376 (__lround): Renamed to ...
2377 (__llround): This. Replace long int with long long int.
2378 Define lround functions as aliases of llround functions.
2379 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2380
6b6cd74b
L
23812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2382
2383 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2384 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2385 adresses to uintptr_t. Replace "long int" and "unsigned long
2386 int" with "greg_t" on va_arg.
2387
f1a77b01
L
23882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2389
2390 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2391 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2392
2393 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2394 Move e_machine check before EI_CLASS check. Handle x32
2395 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2396 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2397 SKIP_EM_IA_64 and include
2398 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2399
2400 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2401 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2402 (add_system_dir): New macro.
2403
2404 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2405 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2406
11b90b9f
JM
24072012-03-16 Joseph Myers <joseph@codesourcery.com>
2408
c36e1d23
JM
2409 [BZ #2551]
2410 [BZ #2552]
2411 [BZ #2553]
2412 [BZ #2554]
2413 [BZ #2562]
2414 [BZ #2563]
2415 [BZ #2565]
2416 [BZ #2566]
2417 [BZ #2576]
2418 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2419 (y0): Likewise.
2420 * math/w_j0f.c (j0f): Likewise.
2421 (y0f): Likewise.
2422 * math/w_j0l.c (__j0l): Likewise.
2423 (__y0l): Likewise.
2424 * math/w_j1.c (j1): Likewise.
2425 (y1): Likewise.
2426 * math/w_j1f.c (j1f): Likewise.
2427 (y1f): Likewise.
2428 * math/w_j1l.c (__j1l): Likewise.
2429 (__y1l): Likewise.
2430 * math/w_jn.c (jn): Likewise.
2431 (yn): Likewise.
2432 * math/w_jnf.c (jnf): Likewise.
2433 (ynf): Likewise.
2434 * math/w_jnl.c (__jnl): Likewise.
2435 (__ynl): Likewise.
2436 * math/libm-test.inc (j0_test): Add more tests.
2437 (j1_test): Likewise.
2438 (jn_test): Likewise. Add trailing semicolon to existing test.
2439 (y0_test): Likewise.
2440 (y1_test): Likewise.
2441 * sysdeps/i386/fpu/libm-test-ulps: Update.
2442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2443
11b90b9f
JM
2444 [BZ #13851]
2445 [BZ #13854]
2446 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2447 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2448 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2449 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2450 (__tanl): Set errno for infinite argument.
2451 * sysdeps/i386/fpu/mptan.c: Remove.
2452 * sysdeps/i386/fpu/s_tan.S: Likewise.
2453 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2454 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2455 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2456 * math/libm-test.inc (tan_test): Add more tests and enable more
2457 tests for double and long double.
2458 * sysdeps/i386/fpu/libm-test-ulps: Update.
2459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2460
6a1bd2a1
JK
24612012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2462
2463 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2464 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2465
10a803e0
RM
24662012-03-16 Roland McGrath <roland@hack.frob.com>
2467
2468 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2469 * configure.in: Use it for both main tree and add-ons.
2470 * configure: Regenerated.
2471
f196c7f7
L
24722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2475
8848d99d
JM
24762012-03-16 Joseph Myers <joseph@codesourcery.com>
2477
96cbe7f4
JM
2478 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2479 in comment.
2480
8848d99d
JM
2481 [BZ #13851]
2482 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2483 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2484 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2485 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2486 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2487 infinite argument.
2488 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2489 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2490 != 0 for prec == 2.
2491 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2492 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2493 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2494 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2495 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2496 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2497 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2498 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2499 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2500 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2501 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2502 * math/libm-test.inc (cos_test): Add more tests and enable more
2503 tests for long double.
2504 (sin_test): Likewise.
2505 (sincos_test): Likewise.
2506 * sysdeps/i386/fpu/libm-test-ulps: Update.
2507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2508
dd7f4703
DM
25092012-03-16 David S. Miller <davem@davemloft.net>
2510
2511 * sysdeps/sparc/fpu/math_private.h: New file.
2512
006f1daa
DM
25132012-03-15 David S. Miller <davem@davemloft.net>
2514
c0c83bc8
DM
2515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2516 file.
e6a62e18 2517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
2518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2519 file.
e6a62e18
DM
2520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2525 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2526 sysdep routines.
2527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2528
88cb87d9
DM
2529 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2530 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2531
006f1daa 2532 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
2533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2534 sparc-ifunc.h
006f1daa 2535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
2536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2537 Likewise.
2538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2539 Likewise.
006f1daa
DM
2540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
2543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2544 Likewise.
006f1daa
DM
2545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
2549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2550 Likewise.
2551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2552 Likewise.
006f1daa
DM
2553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2559 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2560 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2571 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2572 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2573 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2574 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2575 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2576 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2577
11e0098e
AS
25782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2579
2580 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2581 scaling.
2582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2583
e85b09d0
AJ
25842012-03-15 Andreas Jaeger <aj@suse.de>
2585
2586 [BZ #13852]
2587 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2588 ieee754/flt-32 implementation for sin, cos and sincos.
2589 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2590 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2591 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2592 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2593 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2594 ieee754/flt-32 implementation for tan.
2595
2596 * math/libm-test.inc (cos_test): Enable some large input tests for
2597 float as well
2598 (sin_test): Likewise.
2599 (sincos_test): Likewise.
2600 (tan_test): Add tests for large input.
2601
2602 * sysdeps/i386/fpu/libm-test-ulps: Update.
2603
81c64153
AJ
26042012-03-15 Andreas Jaeger <aj@suse.de>
2605
2606 [BZ #13658]
2607 * math/libm-test.inc (cos_test): Add more test cases.
2608 (sin_test): Likewise.
2609 (sincos_test): Likewise.
2610
7bbfa5c6
AJ
26112012-03-15 Andreas Jaeger <aj@suse.de>
2612
2613 [BZ #13837]
2614 * math/libm-test.inc (cos_test): Add a test case for large input
2615 value.
2616 (sin_test): Likewise.
2617 (sincos_test): Likewise.
2618
26192012-03-15 Andreas Jaeger <aj@suse.de>,
2620 Joseph Myers <joseph@codesourcery.com>
2621
2622 [BZ #13658]
0671f479 2623 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
2624 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2625 * sysdeps/i386/fpu/branred.c: Likewise.
2626 * sysdeps/i386/fpu/dosincos.c: Likewise.
2627 * sysdeps/i386/fpu/mpa.c: Likewise.
2628 * sysdeps/i386/fpu/s_cos.S: Likewise.
2629 * sysdeps/i386/fpu/s_sin.S: Likewise.
2630 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2631 * sysdeps/i386/fpu/sincos32.c: Likewise.
2632
2633 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2634 Define.
2635 (libc_feupdateenv_53bit): Define.
2636 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2637 Define.
2638 (libc_feupdateenv_53bit): Define.
2639
2640 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2641 53 bit (without extend i386 double precision).
2642
2643 * math/libm-test.inc (sincos_test): Add tests for large input.
2644 (sin): Likewise.
2645 (cos): Likewise.
2646
2647 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2648
9cad04ea
AS
26492012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2650
2651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2652
f7062b9a
DM
26532012-03-15 David S. Miller <davem@davemloft.net>
2654
2655 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2656 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2657 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2658 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
2670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2671 file.
f7062b9a 2672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
2673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2674 file.
f7062b9a 2675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
2676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2677 file.
f7062b9a 2678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
2679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2680 file.
f7062b9a
DM
2681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2682 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2683 fmin/fmax sysdep routines.
2684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2685
7bd951ff
DM
26862012-03-14 David S. Miller <davem@davemloft.net>
2687
559398ab
DM
2688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2692 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2694 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2695 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2698 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2708 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2709 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2710 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2711 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2712 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2713 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2714 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2715 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2716 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2717 routines.
2718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2719 file.
559398ab 2720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
2721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2722 file.
559398ab 2723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
2724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2725 file.
559398ab 2726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
2727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2728 file.
559398ab 2729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
2730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2731 file.
559398ab 2732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
2733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2734 file.
2735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2736 file.
2737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2738 file.
2739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2740 file.
2741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2742 New file.
2743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2744 file.
2745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2746 file.
559398ab 2747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
2748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2749 file.
559398ab 2750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2752 file.
559398ab 2753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
2754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2755 file.
559398ab 2756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
2757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2758 VIS3 routines.
559398ab
DM
2759
2760 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2761 New file.
2762
5a1c1e32
DM
2763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2764
eae47a36
DM
2765 * sysdeps/sparc/configure.in: New file.
2766 * sysdeps/sparc/configure: Generate.
2767 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2768 * configure: Regenerate.
2769 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2770 * config.make.in (have-as-vis3): New.
2771 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2772 available use -Av9d instead of -Av9a.
2773 * sysdeps/sparc/sparc64/Makefile: Likewise.
2774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
2775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2776 New file.
2777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2778 file.
2779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2780 New file.
2781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2782 file.
eae47a36
DM
2783 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2788
c0c83bc8
DM
2789 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2790 fzeros/fnegs to load 0x80000000 into a float register instead of
2791 using the stack.
7bd951ff
DM
2792 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2793
bd951ccb
JM
27942012-03-14 Joseph Myers <joseph@codesourcery.com>
2795
2796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2797 bits/syscall.h.
2798 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2799 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2800 ($(inst_includedir)/bits/syscall.h): Remove rule.
2801 ($(objpfx)bits/syscall.d): Include instead of
2802 $(objpfx)syscall-list.d.
2803 (generated): Change syscall-list.h and syscall-list.d to
2804 bits/syscall.h and bits/syscall.d.
2805
bb4e6db2
RM
28062012-03-14 Roland McGrath <roland@hack.frob.com>
2807
2808 [BZ #13846]
2809 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2810
aa4a2ae1
JM
28112012-03-14 Joseph Myers <joseph@codesourcery.com>
2812
e456826d
JM
2813 [BZ #13841]
2814 * math/s_csqrt.c: Include <float.h>.
2815 (__csqrt): Scale large or subnormal inputs.
2816 * math/s_csqrtf.c: Likewise.
2817 * math/s_csqrtl.c: Likewise.
2818 * math/libm-test.inc (csqrt_test): Add more tests.
2819 * sysdeps/i386/fpu/libm-test-ulps: Update.
2820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2821
aa4a2ae1
JM
2822 [BZ #13840]
2823 * math/libm-test.inc (hypot_test): Add more tests.
2824
7c10fd35
DM
28252012-03-13 David S. Miller <davem@davemloft.net>
2826
2827 [BZ #13840]
2828 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2829 double-precision for the calculation instead of scaling.
2830
f453b98b
JM
28312012-03-13 Joseph Myers <joseph@codesourcery.com>
2832
2833 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2834 manipulate bits before adding and subtracting TWO52[sx].
2835 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2836 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2837 Likewise.
2838 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2839
09a3453f
DM
28402012-03-13 David S. Miller <davem@davemloft.net>
2841
8e59da90
DM
2842 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2843 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2844 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2845 rtld-global-offsets.h
2846 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2847
2a8ab7f2
DM
2848 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2849 large parameters.
2850
10f62770
DM
2851 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2852
5f0bdb18
DM
2853 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2854 'err' in the ifdef scope in which it is actually used.
2855
09a3453f
DM
2856 * nss/nss_db/db-init.c: Include string.h
2857
b4b2eb5e
DM
28582012-03-12 David S. Miller <davem@davemloft.net>
2859
98bb2f1c
DM
2860 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2861 masking out of the most significant byte of random value used.
2862 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2863 Fix coding style in previous change.
2864
b4b2eb5e
DM
2865 * sysdeps/unix/sysv/linux/kernel-features.h
2866 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2867 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2868 expression.
2869 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2870 later.
2871
6e226b09
DM
28722012-03-11 David S. Miller <davem@davemloft.net>
2873
a1bcbd40
DM
2874 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2875 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2877 for 'resultvar' otherwise things get truncated on 64-bit.
2878
cb9d6174
DM
2879 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2880 Fix masking out of the most significant byte of random value used.
2881
6e226b09
DM
2882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2883
058c132d
AS
28842012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2885
2886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2887
2d2cd515
DM
28882012-03-09 David S. Miller <davem@davemloft.net>
2889
2890 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2891 variables with appropriate CPP guards.
2892 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2893 frame pointer, not the stack pointer. Correct layout comments. Fix test
2894 on resulting framesize and the management of the outregs buffer for pltexit.
2895 Preserve floating point return values across _dl_call_pltexit call.
2896 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2897 framesize and the management of the outregs buffer for pltexit.
2898 Preserve floating point return values across _dl_call_pltexit
2899 call.
2900 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2901 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2902 (print_exit): Fix format string for return register value.
2903
9a07f9d0
JM
29042012-03-10 Joseph Myers <joseph@codesourcery.com>
2905
2906 * sunrpc/Makefile (others): Add rpcgen.
2907 ($(objpfx)rpcgen): Remove special build rule and dependency on
2908 libc.
2909 * sunrpc/rpcgen.c: New file.
2910
547b5e30
PE
29112012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2912
c524201a
PE
2913 [BZ #13673]
2914 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2915 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2916 * sysdeps/i386/crti.S: Likewise.
2917 * sysdeps/i386/crtn.S: Likewise.
2918 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2919 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2920 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2921 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2922 * sysdeps/sh/crti.S: Likewise.
2923 * sysdeps/sh/crtn.S: Likewise.
2924 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2925
7b6235f2
PE
2926 [BZ #13673]
2927 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2928 with URL.
2929 * locale/programs/locfile-kw.gperf: Likewise.
2930 * locale/programs/charmap-kw.h: Regenerated.
2931 * locale/programs/locfile-kw.h: Likewise.
2932
547b5e30
PE
2933 [BZ #13673]
2934 * intl/plural.y: Replace FSF snail mail address with URL.
2935 * intl/plural.c: Regenerated.
2936
5f0a5dae
RH
29372012-03-09 Richard Henderson <rth@twiddle.net>
2938
2939 * include/math_private.h: Remove file.
2940 * math/math_private.h: Move file ...
2941 * sysdeps/generic/math_private.h: ... here.
2942
b8c03620
RH
2943 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2944 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2945 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2946
4e234f5d 2947 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2948 and <math_private.h>.
2949 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2950 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2951 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2952 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2953 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2954 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2955 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2957 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2958 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2959 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2960 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2961 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2962 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2963 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2964 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2965 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2966 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2967 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2968 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2969 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2970 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2971 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2973 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2974 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2978 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2979 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2983 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2984 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2985 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2986 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2987 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2988 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2989 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2990 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2991 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2992 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2993 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2994 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2995 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2996 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3002 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3003 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3013 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3014 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3015 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3017 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3018 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3019 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3020 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3021 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3022 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3023 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3024 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3025 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3026 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3027 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3028 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3029 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3030 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3031 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3032 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3033 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3034 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3036 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3037 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3038 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3039 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3040 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3042 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3043 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3044 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3045 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3046 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3047 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3048 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3049 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3050 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3051 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3052 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3053 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3054 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3055 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3056 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3057 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3058 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3059 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3060 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3061 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3062 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3063 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3064 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3065 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3066 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3067 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3068 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3069 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3070 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3071 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3072 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3073 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3074 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3075 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3076 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3077 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3078 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3079 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3080 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3081 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3082 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3083 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3084 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3085 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3086 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3087 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3088 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3089 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3090 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3091 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3092 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3093 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3094 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3095 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3096 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3097 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3098 * sysdeps/ieee754/k_standard.c: Likewise.
3099 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3100 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3101 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3102 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3103 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3104 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3105 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3106 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3107 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3108 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3109 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3111 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3112 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3113 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3114 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3115 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3116 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3117 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3119 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3120 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3121 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3122 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3123 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3124 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3125 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3126 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3127 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3129 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3130 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3131 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3132 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3133 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3134 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3135 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3136 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3137 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3138 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3139 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3140 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3141 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3142 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3143 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3144 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3145 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3146 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3147 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3148 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3149 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3150 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3151 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3152 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3153 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3154 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3155 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3156 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3157 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3158 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3159 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3160 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3161 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3162 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3163 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3164 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3165 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3166 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3167 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3168 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3169 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3171 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3172 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3173 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3177 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3179 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3181 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3182 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3183 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3185 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3186 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3187 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3189 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3190 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3191 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3192 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3193 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3194 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3195 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3196 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3197 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3198 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3201 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3202 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3203 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3204 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3205 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3206 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3207 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3208 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3209 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3210 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3211 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3212 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3213 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3214 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3215 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3216 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3217 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3218 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3219 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3220 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3221 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3222 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3223 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3224 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3225 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3226 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3230 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3231 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3232 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3233 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3234 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3235 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3237 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3238 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3239 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3240 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3241 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3242 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3243 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3244 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3245 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3246 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3247 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3248 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3249 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3250 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3251 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3252 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3253 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3254 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3255 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3256 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3257 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3258 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3259 * sysdeps/ieee754/s_lib_version.c: Likewise.
3260 * sysdeps/ieee754/s_matherr.c: Likewise.
3261 * sysdeps/ieee754/s_signgam.c: Likewise.
3262 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3263 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3264 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3265 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3266 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3267 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3268 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3269 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3270 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3271 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3272 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3273 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3274 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3275 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3276 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3277 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3278 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3279 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3280 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3281 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3282 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3283
1991fa03
JM
32842012-03-09 Joseph Myers <joseph@codesourcery.com>
3285
3286 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3287 * sunrpc/rpc_main.c: Likewise.
3288 * sunrpc/rpc_svcout.c: Likewise.
3289
60d6f5a6
DM
32902012-03-09 David S. Miller <davem@davemloft.net>
3291
3292 * include/math_private.h: New file.
3293
4962050e
JM
32942012-03-09 Joseph Myers <joseph@codesourcery.com>
3295
02a6f887
JM
3296 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3297 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3298 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3299 from <bits/socket_type.h>.
3300 (enum __socket_type): Don't define here.
3301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3303 bits/socket_type.h.
3304
c6e013c1
JM
3305 [BZ #13566]
3306 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3307 checking __USE_GNU.
3308
4962050e
JM
3309 * Makerules ($(inst_includedir)/%.h): New rule.
3310 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3311 (install-others): Remove variable setting.
3312 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3313
38842f45
RH
33142012-03-08 Richard Henderson <rth@twiddle.net>
3315
67bb6da6
RH
3316 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3317 from macro to inline function; merge with the
3318 !__LIBC_INTERNAL_MATH_INLINES version.
3319 (__ieee754_sqrtf): Likewise.
3320
15194b4b
RH
3321 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3322 to inline function.
3323 (__rintf, __floor, __floorf): Likewise.
3324
64e21ede
RH
3325 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3326 macro to inline function.
3327 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3328
38842f45
RH
3329 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3330 not <math/math_private.h>.
3331
c64bf5fe
DM
33322012-03-08 David S. Miller <davem@davemloft.net>
3333
3334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3335 copyright year.
3336 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3337
82d86f28
TS
33382012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3339
3340 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3341 normalization.
3342 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3343 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3344
aea5d727
UD
33452012-03-08 Ulrich Drepper <drepper@gmail.com>
3346
3347 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3348 be defined individually, they must be defined as a block. Define
3349 S for printing a string instead of hidint the different by using a
3350 macro for adding the 'l'.
3351 * stdio-common/tst-fphex-wide.c: Adjust.
3352
70bca0a3
MP
33532012-03-07 Marek Polacek <polacek@redhat.com>
3354
3355 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3356
65b81130
MP
33572012-03-08 Marek Polacek <polacek@redhat.com>
3358
3359 [BZ #13806]
3360 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3361 * stdio-common/tst-fphex.c: Define a few macros to make the
3362 test reusable. Use them.
3363 * stdio-common/tst-fphex-wide.c: New file.
3364
07037eeb
JM
33652012-03-08 Joseph Myers <joseph@codesourcery.com>
3366
a7a93d50
JM
3367 [BZ #6911]
3368 * manual/macros.texi (gnusystems): New macro.
3369 (nongnusystems): Likewise.
3370 (gnulinuxhurdsystems): Likewise.
3371 (gnuhurdsystems): Likewise..
3372 (gnulinuxsystems): Likewise.
3373 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3374 variants of the GNU system, not "GNU system".
3375 * manual/conf.texi: Likewise.
3376 * manual/errno.texi: Likewise. Update example of errno macro
3377 expansion.
3378 * manual/filesys.texi: Likewise.
3379 (getumask): Document as specific to GNU/Hurd.
3380 * manual/install.texi: Likewise. Reword some references to
3381 GNU/Linux.
3382 * manual/intro.texi: Likewise.
3383 * manual/io.texi: Likewise.
3384 (File Name Portability): Detail which constraints are inapplicable
3385 to all GNU systems and which are only inapplicable to GNU/Hurd.
3386 * manual/job.texi: Likewise.
3387 * manual/llio.texi: Likewise.
3388 (O_NOCTTY): Document as present on GNU/Linux.
3389 * manual/maint.texi: Likewise.
3390 * manual/memory.texi: Likewise.
3391 * manual/pattern.texi: Likewise.
3392 * manual/pipe.texi: Likewise.
3393 * manual/process.texi: Likewise.
3394 * manual/resource.texi: Likewise.
3395 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3396 child on GNU/Hurd.
3397 * manual/setjmp.texi: Likewise.
3398 * manual/signal.texi: Likewise.
3399 * manual/startup.texi: Likewise.
3400 * manual/stdio.texi: Likewise.
3401 * manual/terminal.texi: Likewise.
3402 (ONLCR): Document as POSIX.
3403 (OXTABS): Document availability on GNU/Linux as XTABS.
3404 (ONOEOT): Document availability separately from other bits.
3405 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3406 * manual/time.texi: Likewise.
3407 * manual/users.texi: Likewise.
3408 * INSTALL: Regenerated.
3409 * sysdeps/gnu/errlist.c: Regenerated.
3410
07037eeb
JM
3411 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3412 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3413 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3414 puts.
3415 * configure: Regenerated.
3416
d1d3431a
JM
34172012-03-07 Joseph Myers <joseph@codesourcery.com>
3418
af6a1e37
JM
3419 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3420 default includes instead of AC_HEADER_CHECK.
3421 * sysdeps/i386/configure: Regenerated.
3422
d1d3431a
JM
3423 [BZ #10716]
3424 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3425 * math/s_cacoshf.c (__cacoshf): Likewise.
3426 * math/s_cacoshl.c (__cacoshl): Likewise.
3427 * math/s_casinh.c (__casinh): Set signs of result from argument.
3428 * math/s_casinhf.c (__casinhf): Likewise.
3429 * math/s_casinhl.c (__casinhl): Likewise.
3430 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3431 (casinh_test): Add more tests.
3432 * sysdeps/i386/fpu/libm-test-ulps: Update.
3433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3434
482ff4da
UD
34352012-03-07 Ulrich Drepper <drepper@gmail.com>
3436
872fda05
UD
3437 * po/zh_TW.po: Update from translation team.
3438
a4300c7a
UD
3439 * login/Makefile (distribute): Remove variable.
3440 * catgets/Makefile: Likewise.
3441 * mach/Makefile: Likewise.
3442 * malloc/Makefile: Likewise.
3443 * misc/Makefile: Likewise.
3444 * iconv/Makefile: Likewise.
3445 * nscd/Makefile: Likewise.
3446 * hurd/Makefile: Likewise.
3447 * manual/Makefile: Likewise.
3448 * locale/Makefile: Likewise.
3449 * intl/Makefile: Likewise.
3450 * conform/Makefile: Likewise.
3451 * nss/Makefile: Likewise.
3452 * time/Makefile: Likewise.
3453 * soft-fp/Makefile: Likewise.
3454 * dirent/Makefile: Likewise.
3455 * gmon/Makefile: Likewise.
3456 * po/Makefile: Likewise.
3457 * rt/Makefile: Likewise.
3458 * socket/Makefile: Likewise.
3459 * math/Makefile: Likewise.
3460 * signal/Makefile: Likewise.
3461 * debug/Makefile: Likewise.
3462 * elf/Makefile: Likewise.
3463 * timezone/Makefile: Likewise.
3464 * stdlib/Makefile: Likewise.
3465 * iconvdata/Makefile: Likewise.
3466 * sunrpc/Makefile: Likewise.
3467 * io/Makefile: Likewise.
3468 * argp/Makefile: Likewise.
3469 * inet/Makefile: Likewise.
3470 * hesiod/Makefile: Likewise.
3471 * grp/Makefile: Likewise.
3472 * csu/Makefile: Likewise.
3473 * wctype/Makefile: Likewise.
3474 * crypt/Makefile: Likewise.
3475 * libio/Makefile: Likewise.
3476 * string/Makefile: Likewise.
3477 * nis/Makefile: Likewise.
3478 * resolv/Makefile: Likewise.
3479 * stdio-common/Makefile: Likewise.
3480 * wcsmbs/Makefile: Likewise.
3481 * dlfcn/Makefile: Likewise.
3482 * posix/Makefile: Likewise.
3483
3b7c4e74 3484 [BZ #6959]
482ff4da
UD
3485 * timezone/Makefile: Don't install timezone files, just the programs
3486 and scripts.
3487
f72ed77d
UD
34882012-03-06 Ulrich Drepper <drepper@gmail.com>
3489
a000466f
UD
3490 * nss/databases.def: Add missing gshadow entry.
3491
f72ed77d
UD
3492 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3493
a53b7a4e
MP
34942012-03-06 Marek Polacek <polacek@redhat.com>
3495
3496 [BZ #13726]
3497 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3498 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3499 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3500 * stdio-common/tst-long-dbl-fphex.c: New file.
3501
e9258400
DM
35022012-03-06 David S. Miller <davem@davemloft.net>
3503
3504 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3505 (set_obp_int): New function.
3506 (get_obp_int): New function.
3507 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
3508 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3509 Avoid unused variable warnings on 'val' and use builtin_expect.
3510 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3511 __builtin_expect.
e9258400
DM
3512 (INLINE_CLONE_SYSCALL): Likewise.
3513
3bd2c723
DM
35142012-03-05 David S. Miller <davem@davemloft.net>
3515
3516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3517
bbb78d03
AS
35182012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3519
884c5db4
AS
3520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3521
bbb78d03
AS
3522 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3523 only for |x| >= 40.
3524 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3525
1c9f702a 35262012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
3527
3528 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3529 Replace gettimeofday with __vdso_gettimeofday.
3530
7be16f82
RM
3531 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3532 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3533 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
3534
3535 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3536 time with __vdso_time.
3537
ed58a00f
JM
35382012-03-05 Joseph Myers <joseph@codesourcery.com>
3539
3540 * manual/lang.texi (size_t): Note types to which size_t may be
3541 equivalent with the GNU C Library, but do not describe when
3542 differences between them are significant.
3543
30ee4ced
AJ
35442012-03-05 Andreas Jaeger <aj@suse.de>
3545
3546 * sysdeps/i386/fpu/libm-test-ulps: Update.
3547
b7cd39e8
JM
35482012-03-05 Joseph Myers <joseph@codesourcery.com>
3549
3550 [BZ #3976]
3551 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3552 (__ieee754_pow): Save and restore rounding mode and use
3553 round-to-nearest for main computations.
3554 * math/libm-test.inc (pow_test_tonearest): New function.
3555 (pow_test_towardzero): Likewise.
3556 (pow_test_downward): Likewise.
3557 (pow_test_upward): Likewise.
3558 (main): Call the new functions.
3559 * sysdeps/i386/fpu/libm-test-ulps: Update.
3560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
3561
3562 [BZ #3976]
3563 * math/libm-test.inc (cosh_test_tonearest): New function.
3564 (cosh_test_towardzero): Likewise.
3565 (cosh_test_downward): Likewise.
3566 (cosh_test_upward): Likewise.
3567 (sinh_test_tonearest): Likewise.
3568 (sinh_test_towardzero): Likewise.
3569 (sinh_test_downward): Likewise.
3570 (sinh_test_upward): Likewise.
3571 (main): Call the new functions.
3572 * sysdeps/i386/fpu/libm-test-ulps: Update.
3573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3574
6c6a98c9
TV
35752012-03-05 Tom de Vries <tom@codesourcery.com>
3576
3577 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3578 default stack guard is set in last bytes.
3579 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3580
21bb2d2e 35812012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 3582
21bb2d2e 3583 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 3584
21bb2d2e
AJ
3585 [BZ #13656]
3586 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3587 possibly allocate from heap instead of stack.
3588 * stdio-common/bug-vfprintf-nargs.c: New file.
3589 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 3590
c6922934
AS
35912012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3592
3593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3594
bc957d53
MP
35952012-03-03 Marek Polacek <polacek@redhat.com>
3596
3597 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3598 * math/math_private.h: Likewise.
3599 * stdlib/tst-strtod.c: Likewise.
3600 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3601 * sysdeps/x86_64/bits/atomic.h: Likewise.
3602
6358490d
DM
36032012-03-02 David S. Miller <davem@davemloft.net>
3604
3605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3609 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3610 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3611 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3612 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3613
01ae168d
RM
36142012-03-02 Roland McGrath <roland@hack.frob.com>
3615
d9a17c07
RM
3616 [BZ #13792]
3617 * manual/examples/README: New file, says the example source files
3618 can be used under GPL>=2.
3619 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3620 line containing just "*/".
3621 * manual/examples/add.c: Add copyright header (GPL>=2).
3622 * manual/examples/argp-ex1.c: Likewise.
3623 * manual/examples/argp-ex2.c: Likewise.
3624 * manual/examples/argp-ex3.c: Likewise.
3625 * manual/examples/argp-ex4.c: Likewise.
3626 * manual/examples/atexit.c: Likewise.
3627 * manual/examples/db.c: Likewise.
3628 * manual/examples/dir.c: Likewise.
3629 * manual/examples/dir2.c: Likewise.
3630 * manual/examples/execinfo.c: Likewise.
3631 * manual/examples/filecli.c: Likewise.
3632 * manual/examples/filesrv.c: Likewise.
3633 * manual/examples/fmtmsgexpl.c: Likewise.
3634 * manual/examples/genpass.c: Likewise.
3635 * manual/examples/inetcli.c: Likewise.
3636 * manual/examples/inetsrv.c: Likewise.
3637 * manual/examples/isockad.c: Likewise.
3638 * manual/examples/longopt.c: Likewise.
3639 * manual/examples/memopen.c: Likewise.
3640 * manual/examples/memstrm.c: Likewise.
3641 * manual/examples/mkfsock.c: Likewise.
3642 * manual/examples/mkisock.c: Likewise.
3643 * manual/examples/mygetpass.c: Likewise.
3644 * manual/examples/pipe.c: Likewise.
3645 * manual/examples/popen.c: Likewise.
3646 * manual/examples/rprintf.c: Likewise.
3647 * manual/examples/search.c: Likewise.
3648 * manual/examples/select.c: Likewise.
3649 * manual/examples/setjmp.c: Likewise.
3650 * manual/examples/sigh1.c: Likewise.
3651 * manual/examples/sigusr.c: Likewise.
3652 * manual/examples/stpcpy.c: Likewise.
3653 * manual/examples/strdupa.c: Likewise.
3654 * manual/examples/strftim.c: Likewise.
3655 * manual/examples/strncat.c: Likewise.
3656 * manual/examples/subopt.c: Likewise.
3657 * manual/examples/swapcontext.c: Likewise.
3658 * manual/examples/termios.c: Likewise.
3659 * manual/examples/testopt.c: Likewise.
3660 * manual/examples/testpass.c: Likewise.
3661 * manual/examples/timeval_subtract.c: Likewise.
3662
01ae168d
RM
3663 [BZ #13792]
3664 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3665 function to ...
3666 * manual/timeval_subtract.c.texi: ... here, new file.
3667
49efa33d
DM
36682012-03-02 David S. Miller <davem@davemloft.net>
3669
3670 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3671
28afd92d
JM
36722012-03-02 Joseph Myers <joseph@codesourcery.com>
3673
804360ed
JM
3674 [BZ #3976]
3675 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3676 (__sin): Save and restore rounding mode and use round-to-nearest
3677 for all computations.
3678 (__cos): Save and restore rounding mode and use round-to-nearest
3679 for all computations.
3680 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3681 <fenv.h>.
3682 (tan): Save and restore rounding mode and use round-to-nearest for
3683 all computations.
3684 * math/libm-test.inc (cos_test_tonearest): New function.
3685 (cos_test_towardzero): Likewise.
3686 (cos_test_downward): Likewise.
3687 (cos_test_upward): Likewise.
3688 (sin_test_tonearest): Likewise.
3689 (sin_test_towardzero): Likewise.
3690 (sin_test_downward): Likewise.
3691 (sin_test_upward): Likewise.
3692 (tan_test_tonearest): Likewise.
3693 (tan_test_towardzero): Likewise.
3694 (tan_test_downward): Likewise.
3695 (tan_test_upward): Likewise.
3696 (main): Call the new functions.
3697 * sysdeps/i386/fpu/libm-test-ulps: Update.
3698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3699
a6d06d7b
JM
3700 [BZ #10135]
3701 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3702 small n, then large n, before computing and testing k+n.
3703 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3705 Likewise.
3706 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3707 Likewise.
3708 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3709 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3710 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3711 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3713 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3714 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3715 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3716 * math/libm-test.inc (scalbn_test): Add more tests.
3717 (scalbln_test): Likewise.
3718
07e12bb3
JM
3719 * manual/filesys.texi (mode_t): Describe constraints on size and
3720 signedness, not exact equivalence to a particular type.
3721 (ino_t): Likewise.
3722 (ino64_t): Likewise.
3723 (dev_t): Likewise.
3724 (nlink_t): Likewise.
3725 (blkcnt_t): Likewise.
3726 (blkcnt64_t): Likewise.
3727 * manual/llio.texi (off_t): Likewise.
3728
28afd92d
JM
3729 [BZ #3976]
3730 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3731 (__ieee754_exp): Save and restore rounding mode and use
3732 round-to-nearest for all computations.
3733 * math/libm-test.inc (exp_test_tonearest): New function.
3734 (exp_test_towardzero): Likewise.
3735 (exp_test_downward): Likewise.
3736 (exp_test_upward): Likewise.
3737 (main): Call the new functions.
3738 * sysdeps/i386/fpu/libm-test-ulps: Update.
3739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3740
b1eeb65d
CD
37412012-03-01 Chris Demetriou <cgd@google.com>
3742
3743 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3744 have predictable order.
3745
53362a4b
DM
37462012-03-01 David S. Miller <davem@davemloft.net>
3747
3c969083
DM
3748 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3749
759707de
DM
3750 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3751 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3752 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3753 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3754
dfdb8ff2
DM
3755 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3756 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3757 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3759 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3760 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3761 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3762 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3763 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3764
ead89f96
DM
3765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3766
7f66bd07
DM
3767 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3768 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3769 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3770
53362a4b
DM
3771 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3772 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3773 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3774 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3775 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3776 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3777 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3778 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3779 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3780 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3781 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3782 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3783 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3784 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3785 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3787 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3788 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3789 * sysdeps/sparc/elf/configure: Regenerated.
3790
7b1902cb
JM
37912012-03-01 Joseph Myers <joseph@codesourcery.com>
3792
bec039bc
JM
3793 * configure.in (AS, LD): Require binutils 2.20 or later.
3794 * configure: Regenerated.
3795 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3796 as required minimum version.
3797 * INSTALL: Regenerated.
3798
7b1902cb
JM
3799 [BZ #2541]
3800 [BZ #4108]
3801 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3802 before squaring exponent.
3803 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3804 bottom long double and 27 bits of top long double before squaring
3805 exponent.
3806 * math/libm-test.inc (erfc_test): Add more tests.
3807 * sysdeps/i386/fpu/libm-test-ulps: Update.
3808 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3810
f775c276
KT
38112012-03-01 Kai Tietz <ktietz@redhat.com>
3812
3813 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3814 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3815 containing bit-fields.
3816 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3817 * soft-fp/single.h (_FP_UNION_S): Likewise.
3818 * soft-fp/double.h (_FP_UNION_D): Likewise.
3819
5b8a4d4a
JM
38202012-02-29 Joseph Myers <joseph@codesourcery.com>
3821
0bab47b6
JM
3822 [BZ #13786]
3823 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3824 not include ../strcmp.S.
3825 [USE_AS_STRNCASECMP_L]: Likewise.
3826 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3827 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3828 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3829 (__strncasecmp_l_ia32): Define as alias to
3830 __strncasecmp_l_nonascii.
3831
0fcad3e2
JM
3832 [BZ #5794]
3833 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3834 * sysdeps/i386/fpu/libm-test-ulps: Update.
3835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3836
5b8a4d4a
JM
3837 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3839
8fdceb2e
JL
38402012-02-29 Jeff Law <law@redhat.com>
3841
3842 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3843 out of bounds read.
3844
1f393a11
MP
38452012-02-29 Marek Polacek <polacek@redhat.com>
3846
3847 [BZ #13706]
3848 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3849 * elf/Makefile: Add rules to run tst-unused-dep.out.
3850
8847f037
DM
38512012-02-28 David S. Miller <davem@davemloft.net>
3852
3853 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3854 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3855 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3856 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3857 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3858 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3859
169d7f11
JM
38602012-02-29 Joseph Myers <joseph@codesourcery.com>
3861
3862 * math/libm-test.inc (llround_test): Move one test from
3863 lround_test. Use TEST_f_L in moved test.
3864 (lround_test): Move misplaced test to llround_test. Add testcase
3865 from bug 2561.
3866
39adf059
UD
38672012-02-28 Ulrich Drepper <drepper@gmail.com>
3868
3869 * sysdeps/x86_64/fpu/e_expf.S: New file.
3870 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3871
71b5d1c5
SB
38722012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3873
3874 [BZ #13637]
3875 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3876 of remain_len that may cause incomplete multi-byte character and
3877 false match.
3878 * posix/bug-regex33.c: New file.
3879 * posix/Makefile (tests): Add bug-regex33.
3880
1f77f049
JM
38812012-02-28 Joseph Myers <joseph@codesourcery.com>
3882
3883 * manual/macros.texi: New file.
3884 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3885 * manual/libc.texinfo: Include macros.texi.
3886 * manual/creatute.texi: Likewise.
3887 * manual/install.texi: Likewise.
3888 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3889 @glibcadj{} in references to the GNU C Library.
3890 * manual/charset.texi: Likewise.
3891 * manual/conf.texi: Likewise.
3892 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3893 when not using those macros.
3894 * manual/creature.texi: Likewise.
3895 * manual/crypt.texi: Likewise.
3896 * manual/errno.texi: Likewise.
3897 * manual/filesys.texi: Likewise.
3898 * manual/header.texi: Likewise.
3899 * manual/install.texi: Likewise.
3900 * manual/intro.texi: Likewise.
3901 * manual/io.texi: Likewise.
3902 * manual/job.texi: Likewise.
3903 * manual/lang.texi: Likewise.
3904 * manual/libc.texiinfo: Likewise.
3905 * manual/llio.texi: Likewise.
3906 * manual/locale.texi: Likewise.
3907 * manual/maint.texi: Likewise.
3908 * manual/math.texi: Likewise.
3909 * manual/memory.texi: Likewise.
3910 * manual/message.texi: Likewise.
3911 * manual/nss.texi: Likewise.
3912 * manual/pattern.texi: Likewise.
3913 * manual/process.texi: Likewise.
3914 * manual/resource.texi: Likewise.
3915 * manual/search.texi: Likewise.
3916 * manual/setjmp.texi: Likewise.
3917 * manual/signal.texi: Likewise.
3918 * manual/socket.texi: Likewise.
3919 * manual/startup.texi: Likewise.
3920 * manual/stdio.texi: Likewise.
3921 * manual/string.texi: Likewise.
3922 * manual/sysinfo.texi: Likewise.
3923 * manual/syslog.texi: Likewise.
3924 * manual/terminal.texi: Likewise.
3925 * manual/time.texi: Likewise.
3926 * manual/users.texi: Likewise.
3927 * INSTALL: Regenerated.
3928 * NOTES: Regenerated.
d40c5d54 3929 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 3930
450bf206
AS
39312012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3932
3933 * include/dirent.h: Include <dirstream.h> before
3934 <dirent/dirent.h>.
3935
741a235b
DM
39362012-02-28 David S. Miller <davem@davemloft.net>
3937
3938 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3939 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3940 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3941 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3942
d6b5aa58
DM
39432012-02-27 David S. Miller <davem@davemloft.net>
3944
1aff59a3
DM
3945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3947 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3948 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3949
d6b5aa58
DM
3950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3951 frame pointer instead of stack pointer relative arg slot.
3952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3953 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3954 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3955
433f48bf
CD
39562012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3957
3958 [BZ #3992]
3959 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3960
d674b76d
DM
39612012-02-27 David S. Miller <davem@davemloft.net>
3962
3963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3967 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3968 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3969 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3970 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3971
0e7727f7
JM
39722012-02-27 Joseph Myers <joseph@codesourcery.com>
3973
3974 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3975 later. Allow versions 5-9.
43be4ca2 3976 * configure: Regenerated.
0e7727f7
JM
3977 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3978 required minimum version and 4.6 as recommended version. Do not
3979 mention bugs in GCC 2.7 and 2.8.
43be4ca2 3980 * INSTALL: Regenerated.
0e7727f7 3981
a78bc654
DM
39822012-02-27 David S. Miller <davem@davemloft.net>
3983
428d5830
DM
3984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3988 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3989 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3990 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3991 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3992
a78bc654
DM
3993 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3994 manipulate bits before adding and subtracting TWO112[sx].
3995 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3996
4579f81c
RM
39972012-02-27 Roland McGrath <roland@hack.frob.com>
3998
36c8acb4
RM
3999 [BZ #13775]
4000 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4001 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4002 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4003 being in POSIX, because they are in 1003.1-2008.
4004
84ad622b
RM
4005 * rt/tst-aio.c: Include <fcntl.h>.
4006 * rt/tst-aio7.c: Likewise.
4007 * rt/tst-aio64.c: Likewise.
4008
4579f81c
RM
4009 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4010
abd923db
JM
40112012-02-27 Joseph Myers <joseph@codesourcery.com>
4012
4013 * manual/install.texi (--with-headers): Describe headers as
4014 interface headers, not private headers.
4015 (Specific advice for GNU/Linux systems): Describe use of headers
4016 from "make headers_install", not private headers from older
4017 kernels.
43be4ca2 4018 * INSTALL: Regenerated.
abd923db
JM
4019 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4020 Change to 2.6.19.
4021 * sysdeps/unix/sysv/linux/configure: Regenerated.
4022
6664049b
JM
4023 * manual/llio.texi (fclean): Remove documentation.
4024
bb8b6697
JM
4025 * manual/Makefile (libc-texi-generated): New variable. Include
4026 version.texi.
4027 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4028 $(libc-texi-generated), not duplicated list of files.
4029 (version.texi, stamp-version): New rules.
4030 (realclean): Remove $(libc-texi-generated), not individual files
4031 from that list. Do not remove dir-add.texinfo.
4032 * manual/libc.texinfo: Comment out uses of edition numbers and
4033 references to printed manual. Remove last-updated dates.
4034 (EDITION): Comment out.
4035 (ISBN): Likewise.
4036 (VERSION, UPDATED): Remove.
4037 (version.texi): Include.
4038
12e5c3b9
AS
40392012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4040
4041 * sysdeps/posix/spawni.c: Include <signal.h>.
4042 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4043 * sysdeps/pthread/aio_fsync.c: Likewise.
4044
4efeffc1 40452012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4046
ba63ba08
UD
4047 * conform/Makefile (tests): Run only when not cross-compiling and
4048 when fast-check is not defined.
4049
d94a4670
UD
4050 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4051 * conform/data/limits.h-data: Fixes for POSIX2008.
4052 * conform/run-conformtest.sh: Run all tests.
4053 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4054 headers.
4055 * include/bits/dlfcn.h: Likewise.
4056 * include/langinfo.h: Likewise.
4057 * include/monetary.h: Likewise.
4058 * include/sys/poll.h: Likewise.
4059
4060 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4061 for __USE_GNU.
4062 * posix/spawn.h: Define __need_sigset_t.
4063 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4064 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4065 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4066 to get sigevent_t only.
4067 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4068 only for __USE_GNU.
4069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4070 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4071 process_vm_writev only for __USE_GNU.
4072 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4073
4074 * conform/Makefile: For now ignore errors from run-conformtest.
4075 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4076 POSIX to avoid namespace pollution. Don't prepend headers.
4077 * conform/data/aio.h-data: Fixes for POSIX testing.
4078 * conform/data/fcntl.h-data: Likewise.
4079 * conform/data/glob.h-data: Likewise.
4080 * conform/data/grp.h-data: Likewise.
4081 * conform/data/pthread.h-data: Likewise.
4082 * conform/data/pwd.h-data: Likewise.
4083 * conform/data/signal.h-data: Likewise.
4084 * conform/data/spawn.h-data: Likewise.
4085 * conform/data/stdio.h-data: Likewise.
4086 * conform/data/stdlib.h-data: Likewise.
4087 * conform/data/stropts.h-data: Likewise.
4088 * conform/data/sys/mman.h-data: Likewise.
4089 * conform/data/sys/stat.h-data: Likewise.
4090 * conform/data/sys/types.h-data: Likewise.
4091 * conform/data/sys/wait.h-data: Likewise.
4092 * conform/data/time.h-data: Likewise.
4093 * conform/data/unistd.h-data: Likewise.
4094 * conform/data/utime.h-data: Likewise.
4095
4096 * io/sys/stat.h: fchmod was always in POSIX.
4097 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4098 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4099 * rt/aio.h: Define __need_timespec before including <time.h>.
4100 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4101 struct. Add forward declaration of pthread_attr_t and use it in
4102 sigevent.
4103 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4104 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4105 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4106 always remove CLK_TCK definition.
4107
c20105c3
AS
41082012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4109
4110 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4111
7a270350
UD
41122012-02-25 Ulrich Drepper <drepper@gmail.com>
4113
31341567
UD
4114 * conform/run-conformtest.sh: New file.
4115 * conform/Makefile: Run run-conformtest for tests.
4116 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4117 support.
4118
4119 * conform/data/uchar.h-data: New file.
4120 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4121 * conform/data/arpa/inet.h-data: Likewise.
4122 * conform/data/assert.h-data: Likewise.
4123 * conform/data/complex.h-data: Likewise.
4124 * conform/data/cpio.h-data: Likewise.
4125 * conform/data/ctype.h-data: Likewise.
4126 * conform/data/dirent.h-data: Likewise.
4127 * conform/data/dlfcn.h-data: Likewise.
4128 * conform/data/errno.h-data: Likewise.
4129 * conform/data/fcntl.h-data: Likewise.
4130 * conform/data/float.h-data: Likewise.
4131 * conform/data/fmtmsg.h-data: Likewise.
4132 * conform/data/fnmatch.h-data: Likewise.
4133 * conform/data/ftw.h-data: Likewise.
4134 * conform/data/glob.h-data: Likewise.
4135 * conform/data/grp.h-data: Likewise.
4136 * conform/data/iconv.h-data: Likewise.
4137 * conform/data/inttypes.h-data: Likewise.
4138 * conform/data/langinfo.h-data: Likewise.
4139 * conform/data/libgen.h-data: Likewise.
4140 * conform/data/limits.h-data: Likewise.
4141 * conform/data/locale.h-data: Likewise.
4142 * conform/data/math.h-data: Likewise.
4143 * conform/data/monetary.h-data: Likewise.
4144 * conform/data/mqueue.h-data: Likewise.
4145 * conform/data/ndbm.h-data: Likewise.
4146 * conform/data/net/if.h-data: Likewise.
4147 * conform/data/netdb.h-data: Likewise.
4148 * conform/data/netinet/in.h-data: Likewise.
4149 * conform/data/nl_types.h-data: Likewise.
4150 * conform/data/poll.h-data: Likewise.
4151 * conform/data/pthread.h-data: Likewise.
4152 * conform/data/pwd.h-data: Likewise.
4153 * conform/data/regex.h-data: Likewise.
4154 * conform/data/sched.h-data: Likewise.
4155 * conform/data/search.h-data: Likewise.
4156 * conform/data/semaphore.h-data: Likewise.
4157 * conform/data/setjmp.h-data: Likewise.
4158 * conform/data/signal.h-data: Likewise.
4159 * conform/data/spawn.h-data: Likewise.
4160 * conform/data/stdarg.h-data: Likewise.
4161 * conform/data/stdio.h-data: Likewise.
4162 * conform/data/stdlib.h-data: Likewise.
4163 * conform/data/string.h-data: Likewise.
4164 * conform/data/strings.h-data: Likewise.
4165 * conform/data/stropts.h-data: Likewise.
4166 * conform/data/sys/ipc.h-data: Likewise.
4167 * conform/data/sys/mman.h-data: Likewise.
4168 * conform/data/sys/msg.h-data: Likewise.
4169 * conform/data/sys/resource.h-data: Likewise.
4170 * conform/data/sys/select.h-data: Likewise.
4171 * conform/data/sys/sem.h-data: Likewise.
4172 * conform/data/sys/shm.h-data: Likewise.
4173 * conform/data/sys/socket.h-data: Likewise.
4174 * conform/data/sys/stat.h-data: Likewise.
4175 * conform/data/sys/statvfs.h-data: Likewise.
4176 * conform/data/sys/time.h-data: Likewise.
4177 * conform/data/sys/timeb.h-data: Likewise.
4178 * conform/data/sys/times.h-data: Likewise.
4179 * conform/data/sys/types.h-data: Likewise.
4180 * conform/data/sys/uio.h-data: Likewise.
4181 * conform/data/sys/un.h-data: Likewise.
4182 * conform/data/sys/utsname.h-data: Likewise.
4183 * conform/data/sys/wait.h-data: Likewise.
4184 * conform/data/syslog.h-data: Likewise.
4185 * conform/data/tar.h-data: Likewise.
4186 * conform/data/termios.h-data: Likewise.
4187 * conform/data/utime.h-data: Likewise.
4188 * conform/data/utmpx.h-data: Likewise.
4189 * conform/data/varargs.h-data: Likewise.
4190 * conform/data/wchar.h-data: Likewise.
4191 * conform/data/wctype.h-data: Likewise.
4192 * conform/data/wordexp.h-data: Likewise.
4193
4194 * include/stropts.h: New file.
4195 * include/uchar.h: New file.
4196 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4197 * include/assert.h: Likewise.
4198 * include/ctype.h: Likewise.
4199 * include/dirent.h: Likewise.
4200 * include/dlfcn.h: Likewise.
4201 * include/fcntl.h: Likewise.
4202 * include/fnmatch.h: Likewise.
4203 * include/glob.h: Likewise.
4204 * include/grp.h: Likewise.
4205 * include/libio.h: Likewise.
4206 * include/locale.h: Likewise.
4207 * include/math.h: Likewise.
4208 * include/net/if.h: Likewise.
4209 * include/netdb.h: Likewise.
4210 * include/netinet/in.h: Likewise.
4211 * include/pthread.h: Likewise.
4212 * include/pwd.h: Likewise.
4213 * include/regex.h: Likewise.
4214 * include/sched.h: Likewise.
4215 * include/search.h: Likewise.
4216 * include/setjmp.h: Likewise.
4217 * include/signal.h: Likewise.
4218 * include/stdio.h: Likewise.
4219 * include/stdlib.h: Likewise.
4220 * include/string.h: Likewise.
4221 * include/sys/cdefs.h: Likewise.
4222 * include/sys/mman.h: Likewise.
4223 * include/sys/msg.h: Likewise.
4224 * include/sys/resource.h: Likewise.
4225 * include/sys/select.h: Likewise.
4226 * include/sys/socket.h: Likewise.
4227 * include/sys/stat.h: Likewise.
4228 * include/sys/statvfs.h: Likewise.
4229 * include/sys/time.h: Likewise.
4230 * include/sys/times.h: Likewise.
4231 * include/sys/uio.h: Likewise.
4232 * include/sys/utsname.h: Likewise.
4233 * include/sys/wait.h: Likewise.
4234 * include/termios.h: Likewise.
4235 * include/time.h: Likewise.
4236 * include/ulimit.h: Likewise.
4237 * include/unistd.h: Likewise.
4238 * include/utime.h: Likewise.
4239 * include/wchar.h: Likewise.
4240 * include/wctype.h: Likewise.
4241 * include/wordexp.h: Likewise.
4242
4243 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4244
7a270350
UD
4245 * time/time.h: TIME_UTC must be a macro.
4246 Make timespec_get available for ISO C11 only as well.
4247
7724defc
UD
42482012-02-24 Ulrich Drepper <drepper@gmail.com>
4249
4250 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4251 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4252
6b1d1d46
JM
42532012-02-24 Joseph Myers <joseph@codesourcery.com>
4254
4255 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4256
0f8bbd69
JM
42572012-02-24 Joseph Myers <joseph@codesourcery.com>
4258
4259 * manual/texinfo.tex: Update to version 2012-01-19.16.
4260
66ab80bc
JM
42612012-02-24 Joseph Myers <joseph@codesourcery.com>
4262
4263 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4264
74981cc5
RM
42652012-02-24 Roland McGrath <roland@hack.frob.com>
4266
ee968201
RM
4267 [BZ #13738]
4268 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4269 * manual/fdl-1.3.texi: New file.
4270 * manual/fdl-1.1.texi: File removed.
4271
74981cc5
RM
4272 [BZ #13738]
4273 * manual/libc.texinfo (FDL_VERSION): New @set.
4274 Use it for mention of FDL in cover text.
4275 (Documentation License): Use it in @include file name.
4276
7bb764bc
JM
42772012-02-22 Joseph Myers <joseph@codesourcery.com>
4278 Roland McGrath <roland@hack.frob.com>
4279
4280 [BZ #5461]
4281 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4282 not LONG_LONG_MAX and LONG_LONG_MIN.
4283 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4284 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4285 name.
4286 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4287
6cbeae47
JM
42882012-02-22 Joseph Myers <joseph@codesourcery.com>
4289
4290 [BZ #2547]
4291 [BZ #11365]
4292 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4293 manipulate bits before adding and subtracting TWO23[sx].
4294 * math/libm-test.inc (nearbyint_test): Add more tests.
4295
fe45ce09
JM
42962012-02-22 Joseph Myers <joseph@codesourcery.com>
4297
4298 [BZ #2548]
4299 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4300 bits before adding and subtracting TWO23[sx].
4301 * math/libm-test.inc (rint_test): Add more tests.
4302 (rint_test_tonearest): Likewise.
4303 (rint_test_towardzero): Likewise.
4304 (rint_test_downward): Likewise.
4305 (rint_test_upward: Likewise.
4306
ff3b3d82
JM
43072012-02-22 Joseph Myers <joseph@codesourcery.com>
4308
4309 [BZ #10110]
4310 * include/stdc-predef.h: New file. Extracted from features.h.
4311 * include/features.h: Include stdc-predef.h.
4312 * Makefile (headers): Add stdc-predef.h.
4313 * CONFORMANCE (Compiler limitations): Update.
4314
ef0aab35
JM
43152012-02-22 Joseph Myers <joseph@codesourcery.com>
4316
4317 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4318
58639409
DM
43192012-02-21 David S. Miller <davem@davemloft.net>
4320
4321 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4322 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4323
c0e70b25
DM
43242012-02-20 David S. Miller <davem@davemloft.net>
4325
4326 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4327 using a normal save/restore sequence, rather than allocating a
4328 dummy stack frame just to store a frame pointer and restore.
4329 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4330
fb06851d
JM
43312012-02-21 Joseph Myers <joseph@codesourcery.com>
4332
4333 * manual/install.texi: Fix stray word in line-wrapped comment.
4334
7a8b71c3
DM
43352012-02-20 David S. Miller <davem@davemloft.net>
4336
d510c123
DM
4337 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4338 both binutils and gcc support GOTDATA.
4339
0722d7c2
DM
4340 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4341 "rd %pc" in the PIC register setup sequences.
4342
3d2b3019
DM
4343 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4344 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4345 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4346 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4347 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4348 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4349 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4350 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4352 (SYSCALL_ERROR_HANDLER): Likewise.
4353 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4354 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4355 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4356 (SYSCALL_ERROR_HANDLER): Likewise.
4357
c80098a9
DM
4358 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4359 (HAVE_GCC_GOTDATA): New.
4360 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4361 relocation support in both binutils and gcc.
4362 * sysdeps/sparc/elf/configure: Regenerate.
4363
3a2545a0
DM
4364 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4365 * sysdeps/sparc/sparc32/elf/configure: Delete.
4366 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4367 * sysdeps/sparc/sparc64/elf/configure: Delete.
4368 * sysdeps/sparc/elf/configure.in: New file.
4369 * sysdeps/sparc/elf/configure: Generate.
4370
7a8b71c3
DM
4371 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4372 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4373 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4374 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4375 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4376
f1e86fca
JM
43772012-02-21 Joseph Myers <joseph@codesourcery.com>
4378
4379 * manual/install.texi: Do not mention specific glibc version
4380 numbers.
4381 * manual/libc.texinfo (VERSION, UPDATED): Update.
4382 (@copying): Use @copyright{} and range of years.
4383
0e7dfaef
JM
43842012-02-21 Joseph Myers <joseph@codesourcery.com>
4385
4386 [BZ #13695]
4387 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4388 [crti.S not in sysdirs] (generated): Do not append.
4389 [crti.S not in sysdirs] (omit-deps): Likewise.
4390 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4391 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4392 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4393 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4394 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4395 Likewise.
4396 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4397 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4398 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4399 * csu/defs.awk: Remove file.
4400 * sysdeps/generic/initfini.c: Likewise.
4401 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4402 variable.
4403 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4404 Likewise.
4405
599af3ca
JM
44062012-02-20 Joseph Myers <joseph@codesourcery.com>
4407
4408 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4409 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4410 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4411 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4412 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4413 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4414 <bits/epoll.h>.
4415 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4416 (__EPOLL_PACKED): Define to empty if not defined by
4417 <bits/epoll.h>.
4418 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4419 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4420 bits/epoll.h.
4421
0e499750
JM
44222012-02-20 Joseph Myers <joseph@codesourcery.com>
4423
4424 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4425 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4426 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4427 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4428 <bits/timerfd.h>.
4429 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4431 bits/timerfd.h.
4432
5ad91f6e
JM
44332012-02-20 Joseph Myers <joseph@codesourcery.com>
4434
4435 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4436 in C locale.
4437 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4438 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4439 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4441
06b99b02
AJ
44422012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4443
4444 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4445 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4446
7638c0fd
AS
44472012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4448
4449 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4450 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4451 defined.
4452 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4453 Likewise.
4454 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4455 entry for 2.16.
4456
92221550
AJ
44572012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4458
4459 * math/w_acos.c: Use non-signaling floating-point comparisons.
4460 * math/w_acosf.c: Likewise.
4461 * math/w_acosh.c: Likewise.
4462 * math/w_acoshf.c: Likewise.
4463 * math/w_acoshl.c: Likewise.
4464 * math/w_acosl.c: Likewise.
4465 * math/w_asin.c: Likewise.
4466 * math/w_asinf.c: Likewise.
4467 * math/w_asinl.c: Likewise.
4468 * math/w_atanh.c: Likewise.
4469 * math/w_atanhf.c: Likewise.
4470 * math/w_atanhl.c: Likewise.
4471 * math/w_exp2.c: Likewise.
4472 * math/w_exp2f.c: Likewise.
4473 * math/w_exp2l.c: Likewise.
4474 * math/w_j0.c: Likewise.
4475 * math/w_j0f.c: Likewise.
4476 * math/w_j0l.c: Likewise.
4477 * math/w_j1.c: Likewise.
4478 * math/w_j1f.c: Likewise.
4479 * math/w_j1l.c: Likewise.
4480 * math/w_jn.c: Likewise.
4481 * math/w_jnf.c: Likewise.
4482 * math/w_log.c: Likewise.
4483 * math/w_log10.c: Likewise.
4484 * math/w_log10f.c: Likewise.
4485 * math/w_log10l.c: Likewise.
4486 * math/w_log2.c: Likewise.
4487 * math/w_log2f.c: Likewise.
4488 * math/w_log2l.c: Likewise.
4489 * math/w_logf.c: Likewise.
4490 * math/w_logl.c: Likewise.
4491 * math/w_sqrt.c: Likewise.
4492 * math/w_sqrtf.c: Likewise.
4493 * math/w_sqrtl.c: Likewise.
4494 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4495 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4497 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4498 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4499
ebaf36eb
JM
45002012-02-19 Joseph Myers <joseph@codesourcery.com>
4501
4502 [BZ #9739]
4503 * manual/string.texi (strnlen): Use correct parameter name in
4504 equivalent expression.
4505
71c254a6
JM
45062012-02-19 Joseph Myers <joseph@codesourcery.com>
4507
4508 [BZ #11174]
4509 * manual/users.texi (seteuid): Consistently use neweuid for
4510 argument name.
4511
16d2c631
JM
45122012-02-19 Joseph Myers <joseph@codesourcery.com>
4513
4514 [BZ #13704]
4515 * manual/nss.texi (Services in the NSS configuration): Correct
4516 list of services in example configuration file.
4517
cd837b09
NB
45182012-02-19 Nick Bowler <nbowler@draconx.ca>
4519
4520 [BZ #11322]
4521 * manual/arith.texi: Remove statements about negative zero
4522 behaving identically to zero.
4523
02c4bbad
JM
45242012-02-18 Joseph Myers <joseph@codesourcery.com>
4525
4526 [BZ #5993]
4527 * manual/install.texi: Do not document upgrading from libc5.
4528
366842e7
JM
45292012-02-18 Joseph Myers <joseph@codesourcery.com>
4530
4531 [BZ #4596]
4532 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4533
dd54084d
DM
45342012-02-18 David S. Miller <davem@davemloft.net>
4535
4536 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4537 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4538 %o7 across the call.
4539 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4540 instead.
4541 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4542 SETUP_PIC_REG_LEAF.
4543 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4544 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4545 * sysdeps/sparc/crtn.S: Likewise.
4546
2bcc53a3
UD
45472012-02-17 Ulrich Drepper <drepper@gmail.com>
4548
4549 * aout/Makefile: Remove.
4550
09c093b5
RK
45512012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4552
4553 [BZ #13058]
4554 * manual/examples/argp-ex1.c (main): Format definition in GNU
4555 style.
4556 * manual/examples/argp-ex2.c (main): Likewise.
4557 * manual/examples/argp-ex3.c (main): Likewise.
4558 * manual/examples/argp-ex4.c (main): Likewise.
4559 * manual/examples/longopt.c (main): Use new-style prototype
4560 definition.
4561 * manual/examples/strncat.c (main): Specify return type and use
4562 (void) for arguments.
4563 * manual/examples/subopt.c (main): Use char **argv argument.
4564
2ee633a2
JM
45652012-02-17 Joseph Myers <joseph@codesourcery.com>
4566
4567 [BZ #5077]
4568 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4569 rounding modes.
4570
0520adde
FB
45712012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4572
4573 [BZ #6907]
4574 * manual/string.texi (strchr): Change when strchrnul is
4575 recommended.
4576
3f4081cd
DGM
45772012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4578
4579 [BZ #174]
4580 * manual/locale.texi (setlocale): Document LOCPATH.
4581
d1b10e78
JM
45822012-02-17 Joseph Myers <joseph@codesourcery.com>
4583
4584 [BZ #10210]
4585 * manual/process.texi (execle): Move @dots{} before last argument.
4586
79c6869c
PB
45872012-02-17 Paul Bolle <pebolle@tiscali.nl>
4588
4589 [BZ #12047]
4590 * manual/charset.texi (Generic Charset Conversion): Fix typo
4591 (LC_TYPE -> LC_CTYPE).
4592
cc6e48bc
NB
45932012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4594
4595 [BZ #5805]
4596 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4597 (scalbnf): Likewise.
4598 (scalbnl): Likewise.
4599 (scalbln): Likewise.
4600 (scalblnf): Likewise.
4601 (scalblnl): Likewise.
4602 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4603 (vwarnx): Likewise.
4604 (verr): Likewise.
4605 (verrx): Likewise.
4606 * manual/filesys.texi (telldir): Use braces around return type.
4607 * manual/llio.texi (mmap): Add space after comma.
4608 (mmap64): Likewise.
4609 * manual/math.texi (jn): Use @var{} on parameter names.
4610 (jnf): Likewise.
4611 (jnl): Likewise.
4612 (yn): Likewise.
4613 (ynf): Likewise.
4614 (ynl): Likewise.
4615 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4616 line.
4617 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4618 "...".
4619 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4620 (sched_get_priority_max): Likewise.
4621 * manual/signal.texi (sigvec): Add space after comma.
4622 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4623 names.
4624 (if_indextoname): Likewise.
4625 (if_freenameindex): Likewise.
4626 (sendto): Use ',' instead of '.' in prototype.
4627 * manual/startup.texi (syscall): Use @dots{} instead of literal
4628 "...".
4629 * manual/stdio.texi (__fpending): Separate initial words of
4630 paragraph from @deftypefun line.
4631 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4632 "...".
4633 (vsyslog): Use @var{} on parameter names.
4634 * manual/terminal.texi (stty): Use @var{} on parameter names.
4635 * manual/users.texi (getutmp): Use @var{} on parameter names.
4636 (getutmpx): Likewise.
4637
5b23062f
JM
46382012-02-17 Joseph Myers <joseph@codesourcery.com>
4639
4640 [BZ #6884]
4641 * manual/stdio.texi (fopen): Fix typos in description of
4642 ",ccs=STRING".
4643
8dee4833
AJ
46442012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4645
4646 [BZ #4026]
4647 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4648 get clock_id definition.
4649
9078ce93
TS
46502012-02-17 Thomas Schwinge <thomas@schwinge.name>
4651
4652 [BZ #4822]
4653 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4654 (madvise): Cast every argument to void on its own.
4655
3835c55f
JM
46562012-02-17 Joseph Myers <joseph@codesourcery.com>
4657
4658 [BZ #9902]
4659 * manual/startup.texi (Exit Status): Fix typo.
4660
35c47e37
JM
46612012-02-17 Joseph Myers <joseph@codesourcery.com>
4662
4663 [BZ #10140]
4664 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4665 * manual/examples/argp-ex2.c: Likewise.
4666 * manual/examples/argp-ex3.c: Likewise.
4667
e3b69ca7
RH
46682012-02-16 Richard Henderson <rth@redhat.com>
4669
4670 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4671 * sysdeps/s390/s390-32/initfini.c: Remove.
4672 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4673 * sysdeps/s390/s390-64/initfini.c: Remove.
4674
df83af67
KK
46752012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4676
4677 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4678 compiler output for sysdeps/generic/initfini.c.
4679 * sysdeps/sh/elf/initfini.c: Remove file.
4680
f63f3380
DM
46812012-02-16 David S. Miller <davem@davemloft.net>
4682
fb59b3a4
DM
4683 [BZ #11494]
4684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4685
f63f3380
DM
4686 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4687 * sysdeps/sparc/crti.S: New file.
4688 * sysdeps/sparc/crtn.S: New file.
4689 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4690 * sysdeps/sparc/sparc64/Makefile: Likewise.
4691
df6a4a4a
MF
46922012-02-15 Mike Frysinger <vapier@gentoo.org>
4693
6dd8f3dc 4694 [BZ #3335]
df6a4a4a
MF
4695 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4696
1cac7236
RM
46972012-02-15 Roland McGrath <roland@hack.frob.com>
4698
d2c736f8
RM
4699 [BZ #4822]
4700 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4701
1cac7236
RM
4702 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4703 (write, read, close): Likewise.
4704 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4705
8e475601
JM
47062012-02-15 Joseph Myers <joseph@codesourcery.com>
4707
4708 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4709 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4710 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4711 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4712 <bits/signalfd.h>.
4713 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4715 bits/signalfd.h.
4716
ed656b40
MP
47172012-02-14 Marek Polacek <polacek@redhat.com>
4718
4719 * sysdeps/x86_64/crti.S: New file.
4720 * sysdeps/x86_64/crtn.S: New file.
4721 * sysdeps/x86_64/elf/initfini.c: Remove file.
4722
2a979d3a
JM
47232012-02-13 Joseph Myers <joseph@codesourcery.com>
4724
4725 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4726 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4727 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4728 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4729 <bits/inotify.h>.
4730 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4732 bits/inotify.h.
4733
2a418ac3
JM
47342012-02-13 Joseph Myers <joseph@codesourcery.com>
4735
4736 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4737 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4738 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4739 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4740 <bits/eventfd.h>.
4741 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4743 bits/eventfd.h.
4744
fb779be7
TS
47452012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4746
e19e83c5
RM
4747 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4748 __feraiseexcept instead of feraiseexcept.
7c35ffed 4749
fb779be7
TS
4750 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4751 nanosleep invocations.
4752 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4753 strings, and add error checking for a nanosleep invocations.
4754
59ba27a6
PE
47552012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4756
4757 Replace FSF snail mail address with URLs, as per GNU coding standards.
4758 Most of the snail mail addresses were wrong anyway, and omitting
4759 them makes the source code easier to maintain. Almost all of the
4760 changes are to license notices and to locale LC_IDENTIFICATION
4761 addresses, except for this one:
4762 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4763 not its snail mail address.
4764
57b957eb
RH
47652012-02-09 Richard Henderson <rth@twiddle.net>
4766
af850b1c
RH
4767 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4768 of kernel-features.h.
4769
57b957eb
RH
4770 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4771
6b73181a
MP
47722012-02-08 Marek Polacek <polacek@redhat.com>
4773
4774 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4775 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4776 * sysdeps/gnu/_G_config.h: Likewise.
4777 * sysdeps/generic/_G_config.h: Likewise.
4778
26ecc33a
AS
47792012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4780
6c6dbc63
AS
4781 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4782 tests.
4783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4784
e216c012
AS
4785 * sysdeps/powerpc/powerpc32/crti.S: New file.
4786 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4787 * sysdeps/powerpc/powerpc64/crti.S: New file.
4788 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4789
26ecc33a
AS
4790 * Makeconfig (have-initfini): Don't set.
4791 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4792 * configure.in (nopic_initfini): Don't substitute.
4793 * config.h.in (HAVE_INITFINI): Don't #undef.
4794 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4795 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4796
3add8e13
JM
47972012-02-08 Joseph Myers <joseph@codesourcery.com>
4798
4799 Support crti.S and crtn.S provided directly by architectures.
4800 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4801 [crti.S in sysdirs] (omit-deps): Likewise.
4802 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4803 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4804 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4805 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4806 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4807 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4808 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4809 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4810 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4811 compiler output for sysdeps/generic/initfini.c.
4812 * sysdeps/i386/elf/Makefile: Remove file.
4813 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4814
a22f12b4
MP
48152012-02-07 Marek Polacek <polacek@redhat.com>
4816
4817 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4818 * sysdeps/gnu/_G_config.h: Likewise.
4819 * sysdeps/mach/hurd/_G_config.h: Likewise.
4820
148cf100
MP
48212012-02-07 Marek Polacek <polacek@redhat.com>
4822
4823 * math/Makefile (tests): Add tst-CMPLX2.
4824 * math/tst-CMPLX2.c: New file.
4825
cfdc0dd7
AS
48262012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4827
84ba42c4
AS
4828 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4829
cfdc0dd7
AS
4830 * math/libm-test.inc (jn_test): Add missing L suffix.
4831
622c86f4
MP
48322012-02-06 Marek Polacek <polacek@redhat.com>
4833
4834 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4835 * sysdeps/i386/fpu/e_powf.S: Likewise.
4836 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4837 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4838 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4839 * sysdeps/i386/fpu/e_pow.S: Likewise.
4840 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4841 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4842 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4843 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4844 * sysdeps/i386/fpu/e_log2.S: Likewise.
4845 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4846 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4847 * sysdeps/i386/fpu/e_powl.S: Likewise.
4848 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4849 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4850 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4851 * sysdeps/i386/fpu/e_logl.S: Likewise.
4852 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4853 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4854 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4855 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4856 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4857 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4858 * sysdeps/i386/fpu/e_log.S: Likewise.
4859 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4860 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4861 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4862 * sysdeps/i386/fpu/e_logf.S: Likewise.
4863 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4864 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4865 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4866 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4867 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4868 * sysdeps/i386/fpu/e_log10.S: Likewise.
4869 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4870 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4871 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4872 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4873 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4874 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4875 * sysdeps/i386/asm-syntax.h: Likewise.
4876 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4877 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4878 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4879 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4880 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4881 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4882 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4883 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4884 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4885 * sysdeps/powerpc/sysdep.h: Likewise.
4886 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4887 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4888
d4a54ac6
JM
48892012-02-06 Joseph Myers <joseph@codesourcery.com>
4890
4891 [BZ #411]
4892 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4893
314054ea
JM
48942012-02-06 Joseph Myers <joseph@codesourcery.com>
4895
4896 * sysdeps/i386/sysdep.h: Include <features.h>.
4897 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4898 version.
4899
d8e0ca50
JM
49002012-02-05 Joseph Myers <joseph@codesourcery.com>
4901
4902 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4903 Define.
4904 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4905 LOAD_PIC_REG_STR.
4906
b1da7dd9
JM
49072012-02-03 Joseph Myers <joseph@codesourcery.com>
4908
4909 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4910 (SETUP_PIC_REG): Use GET_PC_THUNK.
4911 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4912 macro.
4913
9a1d9254
JM
49142012-02-03 Joseph Myers <joseph@codesourcery.com>
4915
4916 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4917 for non-PIC compilation.
4918 (SETUP_PIC_REG): Add .p2align directive.
4919 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4920 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4921 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4922 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4923 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4924 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4925 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4926 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4927 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4928 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4929 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4930 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4931 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4932 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4933 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4934 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4935 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4936 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4937 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4938 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4939 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4940 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4941 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4942 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4947 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4951 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4952 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4953 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4954 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4955 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4956 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4957 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4958 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4959 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4960
65dc3b75
JM
49612012-02-03 Joseph Myers <joseph@codesourcery.com>
4962
4963 * math/tst-CMPLX.c: Include <stdio.h>.
4964
d55bf177
JM
49652012-01-31 Joseph Myers <joseph@codesourcery.com>
4966
4967 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4968 float.
4969 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4970 * sysdeps/sparc/bits/mathdef.h: Likewise.
4971
69db4f8f
MP
49722012-01-31 Marek Polacek <polacek@redhat.com>
4973
4974 * libio/libio.h: Don't define _PARAMS.
4975 * locale/programs/config.h: Don't define PARAMS.
4976 * stdlib/strtol_l.c: Likewise.
4977 (__strtol_l): Remove PARAMS from the prototype.
4978
41b81892
UD
49792012-01-31 Ulrich Drepper <drepper@gmail.com>
4980
3b49edc0
UD
4981 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4982 names. Just use the correct names. Remove unnecessary wrapper
4983 functions.
4984 * malloc/arena.c: Likewise.
4985 * malloc/hooks.c: Likewise.
4986
41b81892
UD
4987 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4988 ARENA_TEST says not to. Simplify test for creation of a new arena.
4989 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4990
27a25b6e
UD
49912012-01-30 Ulrich Drepper <drepper@gmail.com>
4992
4993 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4994 into tail calls.
4995 (update_get_addr): New function.
4996 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4997 GET_ADDR_MODULE parameter.
4998
c8a89e7d
JM
49992012-01-30 Joseph Myers <joseph@codesourcery.com>
5000
5001 * crypt/cert.c: Remove __STDC__ conditionals.
5002 * crypt/crypt-entry.c: Likewise.
5003 * crypt/crypt_util.c: Likewise.
5004 * libio/filedoalloc.c: Likewise.
5005 * libio/fileops.c: Likewise.
5006 * libio/genops.c: Likewise.
5007 * libio/iofclose.c: Likewise.
5008 * libio/iofdopen.c: Likewise.
5009 * libio/iofopen.c: Likewise.
5010 * libio/iofopen64.c: Likewise.
5011 * libio/iogetdelim.c: Likewise.
5012 * libio/iopopen.c: Likewise.
5013 * libio/obprintf.c: Likewise.
5014 * libio/oldfileops.c: Likewise.
5015 * libio/oldiofclose.c: Likewise.
5016 * libio/oldiofdopen.c: Likewise.
5017 * libio/oldiofopen.c: Likewise.
5018 * libio/oldiopopen.c: Likewise.
5019 * libio/wfiledoalloc.c: Likewise.
5020 * libio/wgenops.c: Likewise.
5021 * locale/programs/xmalloc.c: Likewise.
5022 * misc/syslog.c: Likewise.
5023 * stdio-common/xbug.c: Likewise.
5024 * string/memchr.c: Likewise.
5025 * string/memcmp.c: Likewise.
5026 * string/memrchr.c: Likewise.
5027 * string/rawmemchr.c: Likewise.
5028 * sysdeps/posix/getcwd.c: Likewise.
5029 * time/strftime_l.c: Likewise.
5030
3b100462
JM
50312012-01-30 Joseph Myers <joseph@codesourcery.com>
5032
5033 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5034 * config.make.in (config-cflags-sse2avx): Define.
5035 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5036 Fix typo.
5037
607998af
CM
50382012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5039
5040 * scripts/config.guess: Update from upstream config git repository.
5041 * scripts/config.sub: Likewise.
5042
3601428f
CM
50432012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5044
3ac8b282
CM
5045 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5046 (EM_NUM): Update.
5047 (R_TILEPRO_*, R_TILEGX_*): New macros.
5048
e034841e
CM
5049 * scripts/firstversions.awk: Fix bug in version range handling.
5050
540d7568
CM
5051 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5052
3601428f
CM
5053 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5054
463de862
CM
5055 * include/sys/epoll.h: New file.
5056 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5057 libc_hidden_def.
5058
73139a76
UD
50592012-01-28 Ulrich Drepper <drepper@gmail.com>
5060
96bc5b45
UD
5061 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5062 Avoid unnecessary __WORDSIZE == 64 test.
5063 (fmaxf): Use VEX format if possible.
5064 (fmax): Likewise.
5065 (fminf): Likewise.
5066 (fmin): Likewise.
5067
56f6f6a2
UD
5068 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5069 * math/math_private.h: Remove libc_fegetround* and
5070 libc_fesetround*.
5071 * sysdeps/i386/configure.in: Check for -msse2avx.
5072 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5073 also if SSE2AVX is defined.
5074 Remove libc_fegetround* and libc_fesetround*.
5075 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5076 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5077 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5078 of HAS_YMM_USABLE.
5079 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5080 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5081 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5082 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5083 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5084
73139a76
UD
5085 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5086
d73f93a4
AZ
50872012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5088
5089 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5090 size is not set.
5091 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5092
6ee65ed6
UD
50932012-01-27 Ulrich Drepper <drepper@gmail.com>
5094
5095 [BZ #13618]
5096 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5097 relocation.
5098 * Makeconfig (libm): Define.
5099 * elf/Makefile: Add rules to build and run tst-relsort1.
5100 * elf/tst-relsort1.c: New file.
5101 * elf/tst-relsort1mod1.c: New file.
5102 * elf/tst-relsort1mod2.c: New file.
5103
8db21882
JM
51042012-01-27 Joseph Myers <joseph@codesourcery.com>
5105
5106 * math/s_ldexp.c: Remove __STDC__ conditionals.
5107 * math/s_ldexpf.c: Likewise.
5108 * math/s_ldexpl.c: Likewise.
5109 * math/s_nextafter.c: Likewise.
5110 * math/s_nexttowardf.c: Likewise.
5111 * math/s_significand.c: Likewise.
5112 * math/s_significandf.c: Likewise.
5113 * math/s_significandl.c: Likewise.
5114 * math/w_jnl.c: Likewise.
5115 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5116 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5117 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5118 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5119 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5120 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5121 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5122 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5123 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5124 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5125 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5126 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5127 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5128 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5129 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5130 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5131 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5132 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5133 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5134 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5135 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5136 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5137 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5138 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5139 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5140 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5141 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5142 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5143 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5144 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5145 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5146 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5147 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5148 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5149 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5150 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5151 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5152 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5153 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5154 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5155 * sysdeps/ieee754/k_standard.c: Likewise.
5156 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5157 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5158 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5159 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5160 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5161 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5164 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5165 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5166 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5167 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5168 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5169 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5170 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5171 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5174 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5175 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5176 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5178 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5179 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5215 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5217 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5222 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5226 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5230 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5231 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5235 * sysdeps/ieee754/s_matherr.c: Likewise.
5236 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5237 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5238 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5239 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5240
965a54a4
JM
52412012-01-26 Joseph Myers <joseph@codesourcery.com>
5242
5243 * crypt/md5.h: Remove __STDC__ conditionals.
5244 * libio/libioP.h: Likewise.
5245 * locale/programs/config.h: Likewise.
5246 * sysdeps/generic/sysdep.h: Likewise.
5247 * sysdeps/i386/asm-syntax.h: Likewise.
5248 * sysdeps/s390/asm-syntax.h: Likewise.
5249 * sysdeps/unix/sysdep.h: Likewise.
5250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5252
7071ad79
JM
52532012-01-26 Joseph Myers <joseph@codesourcery.com>
5254
5255 * libio/libio.h: Remove __STDC__ conditionals.
5256 * malloc/obstack.h: Likewise.
5257 * math/complex.h: Likewise.
5258 * math/math.h: Likewise.
5259 * sysdeps/generic/_G_config.h: Likewise.
5260 * sysdeps/gnu/_G_config.h: Likewise.
5261 * sysdeps/mach/hurd/_G_config.h: Likewise.
5262 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5263 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5264 * sysdeps/sparc/bits/mathdef.h: Likewise.
5265
afc5ed09
UD
52662012-01-26 Ulrich Drepper <drepper@gmail.com>
5267
5268 [BZ #13583]
5269 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5270 Clean up HAS_* macros.
afc5ed09 5271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5272 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5273 possible.
5274 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5275 HAS_AVX.
5276 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5277 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5278 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5279 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5280 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5281
bdb6de1d
JM
52822012-01-25 Joseph Myers <joseph@codesourcery.com>
5283
5284 * elf/tst-unique3.cc (gets): Remove declaration.
5285 * elf/tst-unique3lib.cc (gets): Likewise.
5286 * elf/tst-unique3lib2.cc (gets): Likewise.
5287 * elf/tst-unique4.cc (gets): Likewise.
5288
b15549e6
UD
52892012-01-24 Ulrich Drepper <drepper@gmail.com>
5290
5291 * include/stdio.h: Add C++ protection. Add gets declarations and
5292 definitions.
5293 * debug/tst-chk1.c: Don't declare gets here.
5294 * stdio-common/tst-gets.c: Likewise.
5295
a037381f
JM
52962012-01-24 Joseph Myers <joseph@codesourcery.com>
5297
5298 * posix/glob: Remove directory.
5299
f1d4aa75
JM
53002012-01-24 Joseph Myers <joseph@codesourcery.com>
5301
5302 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5303
81c0c964
PT
53042012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5305
5306 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5307 of the non-standard EPFNOSUPPORT.
5308
0ea698ae
ST
53092011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5310
5311 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5312 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5313 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5314
d220b117
UD
53152012-01-21 Ulrich Drepper <drepper@gmail.com>
5316
5317 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5318
3e1aa84e
UD
53192012-01-20 Ulrich Drepper <drepper@gmail.com>
5320
5321 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5322 transient errors.
5323 * nscd/grpcache.c (cache_addgr): Likewise.
5324 * nscd/hstcache.c (cache_addhst): Likewise.
5325 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5326 * nscd/pwdcache.c (cache_addpw): Likewise.
5327 * nscd/servicescache.c (cache_addserv): Likewise.
5328
400aa020
UD
53292012-01-16 Ulrich Drepper <drepper@gmail.com>
5330
d77e7869
UD
5331 * malloc/malloc.c: Various cleanups.
5332 * malloc/hooks.c: Likewise.
5333
400aa020
UD
5334 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5335 * stdlib/bug-fmtmsg1.c: New file.
5336
5337 * stdlib/fmtmsg.c (init): Add missing unlock.
5338 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5339
e0a309cf
MP
53402012-01-12 Marek Polacek <polacek@redhat.com>
5341
5342 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5343 and _GNU_SOURCE.
5344
929d11c7
WS
53452012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5346
5347 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5348 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5349 macro to ensure uniqueness of label name.
5350 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5351 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5352
41d0e869
UD
53532012-01-11 Ulrich Drepper <drepper@gmail.com>
5354
0cc5ed3b
UD
5355 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5356
41d0e869
UD
5357 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5358 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5359 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5361
a47a831a
UD
53622012-01-10 Ulrich Drepper <drepper@gmail.com>
5363
daa891c0
UD
5364 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5365
5366 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5367 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5368 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5369
e58ef0f2
UD
5370 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5371
a47a831a 5372 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5373 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5374 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5375 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5376
5377 * math/bits/math-finite.h: Add ldexp support.
5378
a0bfc9c7
MP
53792012-01-10 Marek Polacek <polacek@redhat.com>
5380
5381 * locale/programs/localedef.h (show_archive_content): Add noreturn
5382 attribute.
5383
d6e97a1d
UD
53842012-01-09 Ulrich Drepper <drepper@gmail.com>
5385
5386 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5387
d5835c26
UD
53882012-01-08 Ulrich Drepper <drepper@gmail.com>
5389
e5f484c6
UD
5390 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5391
d5835c26
UD
5392 * io/Makefile (headers): Add bits/poll2.h.
5393
d1f741e9
WS
53942011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5395
5396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5397 typo #include statement.
5398
ec09c1c4
UD
53992012-01-08 Ulrich Drepper <drepper@gmail.com>
5400
5401 * include/sys/cdefs.h: Define __attribute_alloc_size.
5402 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5403 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5404 * elf/pldd.c: Likewise.
5405 * iconv/iconv_charmap.c: Likewise.
5406 * iconv/iconvconfig.c: Likewise.
5407 * iconv/strtab.c: Likewise.
5408 * locale/programs/locale.c: Likewise.
5409 * locale/programs/localedef.h: Likewise.
5410 * locale/programs/simple-hash.c: Likewise.
5411 * nscd/nscd.h: Likewise.
5412 * nss/makedb.c: Likewise.
5413 * sysdeps/generic/ldconfig.h: Likewise.
5414 * locale/programs/localedef.c: Remove xmalloc prototype.
5415 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5416
20b38e03
PP
54172012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5418
5419 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5420 appropriate.
5421
a0da5fe1
UD
54222012-01-08 Ulrich Drepper <drepper@gmail.com>
5423
1d5a644a 5424 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5425 * math/tst-CMPLX.c: New file.
1d5a644a 5426
8784a6db
UD
5427 * math/complex.h (CMPLXL): Fix typo.
5428
d9a216c0
UD
5429 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5430 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5431 GLIBC_2.16.
5432 * debug/tst-chk1.c: Add poll and ppoll tests.
5433 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5434 * include/sys/poll.h: Add hidden proto for ppoll.
5435 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5436 * sysdeps/mach/hurd/ppoll.c: Likewise.
5437 * io/ppoll.c: Likewise.
5438 * debug/poll_chk.c: New file.
5439 * debug/ppoll_chk.c: New file.
5440 * include/bits/poll2.h: New file.
5441 * io/bits/poll2.h: New file.
5442
ac097f5c
UD
5443 [BZ #1350]
5444 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5445
2119dcfa
UD
5446 * configure.in: static is always set to yes. Remove.
5447 * config.make.in: Don't set build-static.
5448 * Makeconfig: Remove use of build-static.
5449 * dlfcn/Makefile: Likewise.
5450 * elf/Makefile: Likewise.
5451 * math/Makefile: Likewise.
5452 * misc/Makefile: Likewise.
5453 * nptl/Makefile: Likewise.
5454 * sysdeps/mach/hurd/Makefile: Likewise.
5455
121766a9
UD
5456 * configure.in: PWD_P is not used anymore.
5457 * config.make.in: Remove PWD_P entry.
5458
51a1d39c 5459 * configure.in: Remove last remnants of RANLIB.
8720d066 5460 No need to check for signed size_t anymore.
215f4bdc
UD
5461 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5462 and IA-64.
3857022a 5463 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
5464 * aclocal.m4: Likewise.
5465
d3ed7225
UD
5466 * wcsmbs/mbrtoc16.c: Implement using towc function.
5467 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5468 * wcsmbs/wcsmbsload.c: Likewise.
5469 * iconv/gconv_simple.c: Likewise.
5470 * iconv/gconv_int.h: Likewise.
5471 * iconv/gconv_builtin.h: Likewise.
5472 * iconv/iconv_prog.c: Remove CHAR16 handling.
5473
5474 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5475
5476 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5477
a0da5fe1
UD
5478 * configure.in: Remove --with-elf and --enable-bounded options.
5479 Dont set base_machine for ia64. More non-ELF conditions removed.
5480 Remove testing and setting of leading underscore information.
5481 * config.make.in (build-bounded): Set to no.
5482 * config.h.in: Remove NO_UNDERSCORES entry.
5483 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5484 them.
5485 * csu/start.c: Remove !NO_UNDERSCORE code.
5486 * locale/localeinfo.h: Likewise.
5487 * sysdeps/generic/machine-gmon.h: Likewise.
5488 * sysdeps/generic/sysdep.h: Likewise.
5489 * sysdeps/i386/sysdep.h: Likewise.
5490 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5491 * sysdeps/mach/sysdep.h: Likewise.
5492 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5493 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5494 * sysdeps/sh/sysdep.h: Likewise.
5495 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5496 * sysdeps/unix/i386/sysdep.S: Likewise.
5497 * sysdeps/unix/sparc/start.c: Likewise.
5498 * sysdeps/unix/sparc/sysdep.S: Likewise.
5499 * sysdeps/unix/sparc/sysdep.h: Likewise.
5500 * sysdeps/unix/start.c: Likewise.
5501 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5502 * sysdeps/x86_64/sysdep.h: Likewise.
5503
df78418a
UD
55042012-01-07 Ulrich Drepper <drepper@gmail.com>
5505
a784e502
UD
5506 [BZ #13553]
5507 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5508 for non-gcc.
5509 * argp/argp-fmtstream.h: Use const instead __const.
5510 * argp/argp.h: Likewise.
5511 * assert/assert.h: Likewise.
5512 * bits/fenv.h: Likewise.
5513 * bits/sched.h: Likewise.
5514 * bits/sigset.h: Likewise.
5515 * bits/sigthread.h: Likewise.
5516 * catgets/nl_types.h: Likewise.
5517 * conform/data/pthread.h-data: Likewise.
5518 * crypt/crypt-private.h: Likewise.
5519 * crypt/crypt.h: Likewise.
5520 * crypt/crypt_util.c: Likewise.
5521 * ctype/ctype.h: Likewise.
5522 * debug/execinfo.h: Likewise.
5523 * debug/mbsnrtowcs_chk.c: Likewise.
5524 * debug/mbsrtowcs_chk.c: Likewise.
5525 * debug/wcsnrtombs_chk.c: Likewise.
5526 * debug/wcsrtombs_chk.c: Likewise.
5527 * debug/wcstombs_chk.c: Likewise.
5528 * dirent/dirent.h: Likewise.
5529 * dlfcn/dlfcn.h: Likewise.
5530 * elf/neededtest4.c: Likewise.
5531 * grp/grp.h: Likewise.
5532 * gshadow/gshadow.h: Likewise.
5533 * iconv/gconv.h: Likewise.
5534 * iconv/gconv_int.h: Likewise.
5535 * iconv/gconv_simple.c: Likewise.
5536 * iconv/iconv.h: Likewise.
5537 * iconv/loop.c: Likewise.
5538 * iconv/skeleton.c: Likewise.
5539 * include/aio.h: Likewise.
5540 * include/aliases.h: Likewise.
5541 * include/argz.h: Likewise.
5542 * include/arpa/inet.h: Likewise.
5543 * include/assert.h: Likewise.
5544 * include/dirent.h: Likewise.
5545 * include/dlfcn.h: Likewise.
5546 * include/execinfo.h: Likewise.
5547 * include/fcntl.h: Likewise.
5548 * include/fenv.h: Likewise.
5549 * include/glob.h: Likewise.
5550 * include/grp.h: Likewise.
5551 * include/libintl.h: Likewise.
5552 * include/mntent.h: Likewise.
5553 * include/netdb.h: Likewise.
5554 * include/pwd.h: Likewise.
5555 * include/rpc/netdb.h: Likewise.
5556 * include/sched.h: Likewise.
5557 * include/search.h: Likewise.
5558 * include/shadow.h: Likewise.
5559 * include/signal.h: Likewise.
5560 * include/stdio.h: Likewise.
5561 * include/stdlib.h: Likewise.
5562 * include/string.h: Likewise.
5563 * include/sys/socket.h: Likewise.
5564 * include/sys/stat.h: Likewise.
5565 * include/sys/statfs.h: Likewise.
5566 * include/sys/statvfs.h: Likewise.
5567 * include/sys/syslog.h: Likewise.
5568 * include/sys/time.h: Likewise.
5569 * include/sys/uio.h: Likewise.
5570 * include/time.h: Likewise.
5571 * include/unistd.h: Likewise.
5572 * include/utmp.h: Likewise.
5573 * include/wchar.h: Likewise.
5574 * include/wctype.h: Likewise.
5575 * inet/aliases.h: Likewise.
5576 * inet/arpa/inet.h: Likewise.
5577 * inet/netinet/ether.h: Likewise.
5578 * inet/netinet/in.h: Likewise.
5579 * intl/libintl.h: Likewise.
5580 * io/bits/fcntl2.h: Likewise.
5581 * io/fcntl.h: Likewise.
5582 * io/ftw.h: Likewise.
5583 * io/sys/poll.h: Likewise.
5584 * io/sys/stat.h: Likewise.
5585 * io/sys/statfs.h: Likewise.
5586 * io/sys/statvfs.h: Likewise.
5587 * io/utime.h: Likewise.
5588 * libio/bits/stdio.h: Likewise.
5589 * libio/bits/stdio2.h: Likewise.
5590 * libio/libio.h: Likewise.
5591 * libio/libioP.h: Likewise.
5592 * libio/stdio.h: Likewise.
5593 * locale/lc-ctype.c: Likewise.
5594 * locale/locale.h: Likewise.
5595 * login/utmp.h: Likewise.
5596 * malloc/arena.c: Likewise.
5597 * malloc/malloc.c: Likewise.
5598 * malloc/malloc.h: Likewise.
5599 * malloc/mcheck.c: Likewise.
5600 * malloc/mtrace.c: Likewise.
5601 * math/bits/mathcalls.h: Likewise.
5602 * math/fenv.h: Likewise.
5603 * math/math_private.h: Likewise.
5604 * misc/bits/error.h: Likewise.
5605 * misc/bits/syslog.h: Likewise.
5606 * misc/err.h: Likewise.
5607 * misc/error.h: Likewise.
5608 * misc/fstab.h: Likewise.
5609 * misc/mntent.h: Likewise.
5610 * misc/regexp.h: Likewise.
5611 * misc/search.h: Likewise.
5612 * misc/sgtty.h: Likewise.
5613 * misc/sys/mman.h: Likewise.
5614 * misc/sys/syslog.h: Likewise.
5615 * misc/sys/uio.h: Likewise.
5616 * misc/sys/xattr.h: Likewise.
5617 * misc/ttyent.h: Likewise.
5618 * nis/rpcsvc/ypclnt.h: Likewise.
5619 * nss/nss.h: Likewise.
5620 * posix/bits/unistd.h: Likewise.
5621 * posix/fnmatch.h: Likewise.
5622 * posix/glob.h: Likewise.
5623 * posix/sched.h: Likewise.
5624 * posix/spawn.h: Likewise.
5625 * posix/sys/wait.h: Likewise.
5626 * posix/unistd.h: Likewise.
5627 * posix/wordexp.h: Likewise.
5628 * pwd/pwd.h: Likewise.
5629 * resolv/netdb.h: Likewise.
5630 * resource/sys/resource.h: Likewise.
5631 * rt/aio.h: Likewise.
5632 * rt/bits/mqueue2.h: Likewise.
5633 * rt/mqueue.h: Likewise.
5634 * shadow/shadow.h: Likewise.
5635 * signal/signal.h: Likewise.
5636 * socket/send.c: Likewise.
5637 * socket/sendto.c: Likewise.
5638 * socket/sys/socket.h: Likewise.
5639 * stdio-common/printf.h: Likewise.
5640 * stdlib/bits/stdlib.h: Likewise.
5641 * stdlib/fmtmsg.h: Likewise.
5642 * stdlib/monetary.h: Likewise.
5643 * stdlib/stdlib.h: Likewise.
5644 * stdlib/ucontext.h: Likewise.
5645 * streams/stropts.h: Likewise.
5646 * string/argz.h: Likewise.
5647 * string/bits/string2.h: Likewise.
5648 * string/string.h: Likewise.
5649 * string/strings.h: Likewise.
5650 * sunrpc/rpc/auth.h: Likewise.
5651 * sunrpc/rpc/auth_des.h: Likewise.
5652 * sunrpc/rpc/clnt.h: Likewise.
5653 * sunrpc/rpc/netdb.h: Likewise.
5654 * sunrpc/rpc/pmap_clnt.h: Likewise.
5655 * sunrpc/rpc/xdr.h: Likewise.
5656 * sysdeps/generic/inttypes.h: Likewise.
5657 * sysdeps/generic/net/if.h: Likewise.
5658 * sysdeps/generic/sys/swap.h: Likewise.
5659 * sysdeps/gnu/net/if.h: Likewise.
5660 * sysdeps/gnu/utmpx.h: Likewise.
5661 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5662 * sysdeps/i386/i486/bits/string.h: Likewise.
5663 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5664 * sysdeps/s390/bits/string.h: Likewise.
5665 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5666 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5667 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5668 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5669 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5670 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5671 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5672 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5673 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5674 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5675 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5676 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5677 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5678 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5679 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5680 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5681 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5683 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5684 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5685 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5686 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5687 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5688 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5689 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5690 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5691 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5692 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5693 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5694 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5695 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5696 * sysvipc/sys/ipc.h: Likewise.
5697 * sysvipc/sys/msg.h: Likewise.
5698 * sysvipc/sys/sem.h: Likewise.
5699 * sysvipc/sys/shm.h: Likewise.
5700 * termios/termios.h: Likewise.
5701 * time/sys/time.h: Likewise.
5702 * time/time.h: Likewise.
5703 * wcsmbs/bits/wchar2.h: Likewise.
5704 * wcsmbs/uchar.h: Likewise.
5705 * wcsmbs/wchar.h: Likewise.
5706 * wctype/wctype.h: Likewise.
5707
0269750c
UD
5708 [BZ #13551]
5709 * Makeconfig: Remove all but ELF support including AIX support.
5710 * Makerules: Likewise.
5711 * config.h.in: Likewise.
5712 * config.make.in: Likewise.
5713 * configure: Likewise.
5714 * configure.in: Likewise.
5715 * csu/Makefile: Likewise.
5716 * csu/version.c: Likewise.
5717 * debug/Makefile: Likewise.
5718 * dlfcn/Makefile: Likewise.
5719 * elf/Makefile: Likewise.
5720 * extra-lib.mk: Likewise.
5721 * iconv/Makefile: Likewise.
5722 * include/libc-symbols.h: Likewise.
5723 * include/shlib-compat.h: Likewise.
5724 * resolv/Makefile: Likewise.
5725 * resolv/res_libc.c: Likewise.
5726 * rt/Makefile: Likewise.
5727 * sysdeps/i386/asm-syntax.h: Likewise.
5728 * sysdeps/i386/sysdep.h: Likewise.
5729 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5730 * sysdeps/mach/sysdep.h: Likewise.
5731 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5732 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5733 * sysdeps/s390/asm-syntax.h: Likewise.
5734 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5735 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5736 * sysdeps/sh/sysdep.h: Likewise.
5737 * sysdeps/unix/sparc/sysdep.h: Likewise.
5738 * sysdeps/wordsize-32/divdi3.c: Likewise.
5739 * sysdeps/x86_64/sysdep.h: Likewise.
5740
00bbd29b
UD
5741 * argp/Versions: Remove _argp_unlock_xxx.
5742
5743 [BZ #13559]
5744 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5745 * abilist/libBrokenLocale.abilist: Likewise.
5746 * abilist/libanl.abilist: Likewise.
5747 * abilist/libc.abilist: Likewise.
5748 * abilist/libcrypt.abilist: Likewise.
5749 * abilist/libdl.abilist: Likewise.
5750 * abilist/libm.abilist: Likewise.
5751 * abilist/libnsl.abilist: Likewise.
5752 * abilist/libpthread.abilist: Likewise.
5753 * abilist/libresolv.abilist: Likewise.
5754 * abilist/librt.abilist: Likewise.
5755 * abilist/libthread_db.abilist: Likewise.
5756 * abilist/libutil.abilist: Likewise.
5757 * abilist/libnss_db.abilist: New file.
5758
5759 * scripts/abilist.awk: Add support for indirect functions.
5760
a2693a0e
UD
5761 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5762
3f05895f
UD
5763 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5764
ecb6fb48
UD
5765 * shlib-versions: Remove entries for ports architectures.
5766
664f8cb9
UD
5767 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5768 files in ports.
5769 * elf/stackguard-macros.h: Remove support for IA-64.
5770 * elf/tst-auditmod1.c: Likewise.
5771 * sysdeps/generic/ldsodefs.h: Likewise.
5772
7ae81d88
UD
5773 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5774 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5775 configure files.
5776
bdeba135
UD
5777 [BZ #13552]
5778 * configure.in: Remove --enable-omitfp support.
5779 * FAQ.in: Adjust.
5780 * config.make.in: Likewise.
5781 * Makeconfig: Likewise.
5782 * manual/install.texi: Likewise.
5783
d75a0a62
UD
5784 In case anyone cares, the IA-64 architecture could move to ports.
5785 * sysdeps/ia64/*: Removed.
5786 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 5787 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 5788
dcc9756b
UD
5789 [BZ #13555]
5790 * configure.in: Remove entries for unsupported architectures.
5791
d3761ebc 5792 [BZ #13533]
9954432e
UD
5793 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5794 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5795 routines.
5796 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5797 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5798 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5799 fall back to using wcrtomb.
5800 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5801 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5802 renaming.
5803 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5804 * wcsmbs/tst-c16c32-1.c: New file.
5805
5806 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5807 local variable.
5808
c3a87236
UD
5809 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5810
28926a1b
UD
5811 * elf/tst-unique3.cc: Add explicit declaration of gets.
5812 * elf/tst-unique3lib.cc: Likewise.
5813 * elf/tst-unique3lib2.cc: Likewise.
5814 * elf/tst-unique4.cc: Likewise.
5815
df78418a
UD
5816 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5817
8ecd6b2a
JM
58182012-01-06 Joseph Myers <joseph@codesourcery.com>
5819
5820 [BZ #13566]
5821 * assert/assert.h (static_assert): Don't define for C++.
5822 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5823 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5824
9f115170
UD
58252012-01-03 Ulrich Drepper <drepper@gmail.com>
5826
5e0d0300
UD
5827 * iconv/loop.c (single loop): Fix assertion in storing of
5828 remaining bytes.
5829
9f115170
UD
5830 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5831
81fb02b0
UD
58322012-01-01 Ulrich Drepper <drepper@gmail.com>
5833
5834 * posix/getconf.c: Update copyright year.
5835 * nss/getent.c: Likewise.
a316c1f6 5836 * nss/makedb.c: Likewise.
81fb02b0
UD
5837 * iconv/iconvconfig.c: Likewise.
5838 * iconv/iconv_prog.c: Likewise.
5839 * elf/ldconfig.c: Likewise.
a316c1f6
UD
5840 * elf/pldd.c: Likewise.
5841 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
5842 * catgets/gencat.c: Likewise.
5843 * csu/version.c: Likewise.
5844 * elf/ldd.bash.in: Likewise.
5845 * elf/sprof.c (print_version): Likewise.
5846 * locale/programs/locale.c: Likewise.
5847 * locale/programs/localedef.c: Likewise.
a316c1f6 5848 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
5849 * nscd/nscd.c (print_version): Likewise.
5850 * debug/xtrace.sh: Likewise.
5851 * malloc/memusage.sh: Likewise.
5852 * malloc/mtrace.pl: Likewise.
5853 * debug/catchsegv.sh: Likewise.
5854
2ba92745
JJ
58552011-12-30 Jakub Jelinek <jakub@redhat.com>
5856
5857 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5858 pure attribute.
5859
dadebdae
UD
58602011-12-24 Ulrich Drepper <drepper@gmail.com>
5861
d3761ebc 5862 [BZ #13533]
db6af3eb
UD
5863 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5864 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5865 transformations.
5866 * iconv/gconv_int.h: Likewise.
5867 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5868 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5869 from libc for GLIBC_2.16.
5870 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5871 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5872 * wcsmbs/uchar.h: Really define mbstate_t.
5873 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5874 * wcsmbs/c16rtomb.c: New file.
5875 * wcsmbs/mbrtoc16.c: New file.
5876 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5877 for C/POSIX locale.
5878 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5879 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5880
dadebdae
UD
5881 * wcsmbs/wchar.h: Add missing __restrict.
5882
67371b56
UD
58832011-12-23 Ulrich Drepper <drepper@gmail.com>
5884
74033a25
UD
5885 [BZ #13532]
5886 * time/Makefile (routines): Add timespec_get.
5887 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5888 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5889 timespec for ISO C11.
5890 * time/timespec_get.c: New file.
5891 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5892 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5893
380d7e87
UD
5894 [BZ #13531]
5895 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5896 * stdlib/stdlib.h: Declare aligned_alloc.
5897 * Versions.def: Add GLIBC_2.16 for libc.
5898 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5899
4e9e7a35
UD
5900 [BZ 13527]
5901 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5902 ISO C11.
5903
380d7e87 5904 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
5905 code.
5906
03a71829
UD
5907 [BZ #13528]
5908 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5909
839e283e
UD
5910 [BZ #13529]
5911 * assert/assert.h (static_assert): Define.
5912
ce5294e2 5913 * version.h: Update for 2.16 development version.
90fa7312 5914
8d44e150 5915 [BZ #13526]
d7809905
UD
5916 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5917 _ISOC11_SOURCE.
5918
c0da14cd
UD
5919 * version.h (RELEASE): Bump for 2.15 release.
5920 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5921
530a3249
MP
5922 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5923 Patch by Marek Polacek <mpolacek@redhat.com>.
5924
67371b56
UD
5925 * bits/byteswap.h: Protect long long constants with __extension__.
5926 * sysdeps/i386/bits/byteswap.h: Likewise.
5927 * sysdeps/ia64/bits/byteswap.h: Likewise.
5928 * sysdeps/s390/bits/byteswap.h: Likewise.
5929 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5930
15db4de1
LD
59312011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5932
5933 [BZ #13540]
bbe315ea
LD
5934 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5935 destination buffer.
15db4de1
LD
5936 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5937
2b2596b1
MP
59382011-12-23 Marek Polacek <polacek@redhat.com>
5939
5940 * elf/dl-addr.c (determine_info): Add inline keyword.
5941 * elf/tst-auditmod4b.c (check_avx): Likewise.
5942 * elf/tst-auditmod6b.c (check_avx): Likewise.
5943 * elf/tst-auditmod6c.c (check_avx): Likewise.
5944 * elf/tst-auditmod7b.c (check_avx): Likewise.
5945
70c6c246
UD
59462011-12-23 Ulrich Drepper <drepper@gmail.com>
5947
5948 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5949 !__SSE_MATH__.
5950
c044cf14
LD
59512011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5952
15db4de1 5953 [BZ #13540]
c044cf14
LD
5954 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5955 processing for last bytes.
5956
6b13d9d9
BH
59572011-08-06 Bruno Haible <bruno@clisp.org>
5958
d455f537
BH
5959 [BZ #13061]
5960 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5961 U+0385, not to U+1FEE.
5962
6b13d9d9
BH
5963 [BZ #13062]
5964 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5965 entry for U+00A5 U+0301.
5966
db910efd
UD
59672011-12-22 Ulrich Drepper <drepper@gmail.com>
5968
27deeafc
UD
5969 [BZ #13166]
5970 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5971 buffer for the output is too small.
5972
aed9d171
UD
5973 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5974 optimization.
5975
db910efd
UD
5976 [BZ #13185]
5977 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5978 SSE flags if possible.
5979
2bd779ae
LD
59802011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5981
e7f9dac3 5982 [BZ #13540]
2bd779ae
LD
5983 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5984 processing for last bytes.
5985
154bfc16
JM
59862011-12-22 Joseph Myers <joseph@codesourcery.com>
5987
5988 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5989 (syscall-list-default-options, syscall-list-default-condition)
5990 (syscall-list-includes): Define.
5991 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5992 list of ABIs and options and #if conditions for each ABI. Do not
5993 handle common syscalls between ABIs specially.
5994 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5995 Remove.
5996 (syscall-list-variants, syscall-list-32bit-options)
5997 (syscall-list-32bit-condition, syscall-list-64bit-options)
5998 (syscall-list-64bit-condition): Define.
5999 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6000 (syscall-list-variants, syscall-list-32bit-options)
6001 (syscall-list-32bit-condition, syscall-list-64bit-options)
6002 (syscall-list-64bit-condition): Define.
6003 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6004 Remove.
6005 (syscall-list-variants, syscall-list-32bit-options)
6006 (syscall-list-32bit-condition, syscall-list-64bit-options)
6007 (syscall-list-64bit-condition): Define.
6008 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6009 Remove.
6010 (syscall-list-variants, syscall-list-32bit-options)
6011 (syscall-list-32bit-condition, syscall-list-64bit-options)
6012 (syscall-list-64bit-condition): Define.
6013
21eaf3a5
UD
60142011-12-22 Ulrich Drepper <drepper@gmail.com>
6015
16c6f992
UD
6016 * locale/iso-639.def: Add brx entry.
6017
41043168
UD
6018 [BZ #13328]
6019 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6020 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6021
21eaf3a5
UD
6022 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6023 __feraiseexcept_renamed.
6024
e3a851a2
UD
60252011-12-21 Ulrich Drepper <drepper@gmail.com>
6026
4920765e
UD
6027 [BZ #13538]
6028 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6029 EPOLLET with unsigned values.
6030 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6031 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6032
e3a851a2
UD
6033 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6034 to large cancellation.
6035 * math/s_cacoshf.c: Likewise.
6036 * math/s_cacoshl.c: Likewise.
6037
b27e24b8
RK
60382011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6039
6040 [BZ #13305]
aebefeee 6041 [BZ #12786]
b27e24b8
RK
6042 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6043 * math/s_cacoshf.c: Likewise.
6044 * math/s_cacoshl.c: Likewise.
6045
ee190f67
UD
60462011-12-21 Ulrich Drepper <drepper@gmail.com>
6047
6048 [BZ #13439]
6049 * iconv/gconv.h: Define __GCONV_SWAP.
6050 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6051 * iconvdata/utf-16.c: Likewise.
6052 * iconvdata/utf-32.c: Likewise.
6053
707f25df
AS
60542011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6055
6056 [BZ #13524]
6057 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6058 numerator after shifting it by one limb.
6059
d2daaa1e
RÁE
60602011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6061
6062 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6063 under [__USE_EXTERN_INLINES].
6064
a4647e72
UD
60652011-12-17 Ulrich Drepper <drepper@gmail.com>
6066
6067 [BZ #13446]
6068 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6069
f0b264f1
AZ
60702011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6071
6072 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6073 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6074 optimized code.
6075 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6076 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6077 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6078 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6079 for strncasecmp/strncasecmp_l compilation.
6080 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6081 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6082
8ef4f244
MP
60832011-12-08 Marek Polacek <mpolacek@redhat.com>
6084
6085 [BZ #13484]
6086 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6087 of __asm__.
6088
97ac2654
UD
60892011-12-17 Ulrich Drepper <drepper@gmail.com>
6090
6091 [BZ #13506]
6092 * time/tzfile.c (__tzfile_read): Check values from file header.
6093
91d2a845
WS
60942011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6095
6096 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6097 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6098 * powerpc/powerpc32/dl-start.S: Likewise.
6099 * powerpc/powerpc32/elf/start.S: Likewise.
6100 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6101 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6102 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6103 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6104 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6105 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6106 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6107 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6108 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6109 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6110 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6111 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6112 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6113 * powerpc/powerpc32/memset.S: Likewise.
6114 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6115 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6116 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6117 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6118 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6119 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6120 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6121 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6122 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6123 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6124 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6125 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6126 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6127
a1267ba1
AZ
61282011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6129
6130 * math/libm-test.inc: Added more nearbyint tests.
6131 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6132 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6133 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6134 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6135
ad8ac1bd
RL
61362011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6137
6138 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6139 FD_CLOEXEC.
6140
1d3e4b61
UD
61412011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6142
6143 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6144 Add wcscpy-ssse3 wcscpy-c.
6145 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6146 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6147 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6148 * sysdeps/x86_64/wcschr.S: New file.
6149 * sysdeps/x86_64/wcsrchr.S: New file.
6150 * string/test-strcmp.c: Remove checking of wcscmp function for
6151 wrong alignments.
6152 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6153 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6154 wcsrchr-sse2 wcsrchr-c.
6155 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6156 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6157 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6158 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6159 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6160 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6161 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6162 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6163 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6164 * wcsmbc/wcschr.c (WCSCHR): New macro.
6165
5b330a2d
UD
61662011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6167
6168 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6169 * wcsmbs/test-wcsrchr.c: New file.
6170 * string/test-strrchr.c: Add wcsrchr support.
6171 (WIDE): New macro.
6172 * wcsmbs/test-wcscpy.c: New file.
6173 * string/test-strcpy.c: Add wcscpy support.
6174 (WIDE): New macro.
26428b7c 6175
f039c043
UD
61762011-12-10 Ulrich Drepper <drepper@gmail.com>
6177
6178 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6179 the inner loop.
6180
850fb039
AS
61812011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6182
6183 [BZ #13472]
6184 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6185
4efbd5cb
UD
61862011-12-04 Ulrich Drepper <drepper@gmail.com>
6187
52ff5dd0 6188 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6189 Minor optimizations.
52ff5dd0 6190
4efbd5cb
UD
6191 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6192 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6193 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6194
8a426e12
UD
61952011-12-03 Ulrich Drepper <drepper@gmail.com>
6196
aff2453d
UD
6197 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6198 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6199 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6200 for gcc to avoid warnings.
6201 * inet/Makefile (tests): Add tst-checks.
6202 * inet/tst-checks.c: New file.
6203
6204 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6205 warning.
6206
6207 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6208 __wmemcmp_sse2.
6209
6210 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6211 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6212
8a426e12
UD
6213 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6214
9bea3473
UD
62152011-12-02 Ulrich Drepper <drepper@gmail.com>
6216
3a965496
UD
6217 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6218 problem.
6219
9bea3473
UD
6220 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6221
f101631b
UD
62222011-11-29 Joseph Myers <joseph@codesourcery.com>
6223
6224 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6225 conditional on GCC version.
6226 (__arch_compare_and_exchange_val_8_acq)
6227 (__arch_compare_and_exchange_val_16_acq)
6228 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6229 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6230 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6231
a98275aa
UD
62322011-12-02 Joseph Myers <joseph@codesourcery.com>
6233
6234 * sysdeps/sh/backtrace.c: New file.
6235
d4cc29a2
AS
62362011-12-02 Andreas Schwab <schwab@redhat.com>
6237
6238 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6239 parenthesis.
6240
6257af2d
AS
62412011-12-01 Andreas Schwab <schwab@redhat.com>
6242
6243 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6244 falling back to utime.
6245
b5f44c1a
AS
62462011-11-30 Andreas Schwab <schwab@redhat.com>
6247
6248 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6249 expectations for float.
6250
f3a6cc0a
AS
62512011-11-29 Andreas Schwab <schwab@redhat.com>
6252
6253 * locale/weight.h (findidx): Add parameter len.
6254 * locale/weightwc.h (findidx): Likewise.
6255 * posix/fnmatch_loop.c (FCT): Adjust caller.
6256 * posix/regcomp.c (build_equiv_class): Likewise.
6257 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6258 * posix/regexec.c (check_node_accept_bytes): Likewise.
6259 * string/strcoll_l.c (STRCOLL): Likewise.
6260 * string/strxfrm_l.c (STRXFRM): Likewise.
6261
9d65ea3a
UD
62622011-11-17 Ulrich Drepper <drepper@gmail.com>
6263
6264 * Makefile.in: Remove CVSOPT handling.
6265 * configure.in: Remove use of AC_REVISION.
6266 * iconvdata/Makefile (distribute): No need to filter out CVS.
6267 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6268 handling.
6269
5583a086
AS
62702011-11-16 Andreas Schwab <schwab@redhat.com>
6271
6272 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6273 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6274 [USE_AS_STRNCASECMP_L]: Likewise.
6275 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6276 NO_TLS_DIRECT_SEG_REFS.
6277 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6278 Fix argument offsets for non-PIC.
6279 [USE_AS_STRNCASECMP_L]: Likewise.
6280 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6281 NO_TLS_DIRECT_SEG_REFS.
6282
d62a8200
UD
62832011-11-15 Ulrich Drepper <drepper@gmail.com>
6284
9d65ea3a 6285 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6286 O_CLOEXEC.
6287 * locale/loadlocale.c (_nl_load_locale): Likewise.
6288
09f93bd3
AS
62892011-11-15 Andreas Schwab <schwab@redhat.com>
6290
446514f9
AS
6291 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6292 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6293 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6294 (SYSCALL_GETTIME): Set errno on error.
6295
09f93bd3
AS
6296 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6297 count references to noai6ai_cached.
6298
312be3f9
UD
62992011-11-15 Ulrich Drepper <drepper@gmail.com>
6300
6301 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6302
6303 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6304 FD_CLOEXEC for /proc/self/maps.
6305
6306 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6307 FD_CLOEXEC for /proc/meminfo.
6308
6309 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6310 gai.conf.
6311
6312 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6313 FD_CLOEXEC for given file.
6314
6315 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6316
6317 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6318 FD_CLOEXEC for /etc/hosts.
6319 (_gethtent): Likewise.
6320
6321 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6322
6323 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6324 cancellation and set FD_CLOEXEC for /etc/netgroup.
6325
6326 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6327 reading /etc/publickey.
6328
6329 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6330 allow cancellation when reading /etc/group.
6331
6332 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6333 cancellation.
6334 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6335
6336 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6337 when using data file.
6338
6339 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6340
6341 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6342 (write_nis_obj): Use "c" and "e" in fopen.
6343
6344 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6345
6346 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6347
6348 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6349
6350 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6351
6352 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6353 locale.alias.
6354
6355 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6356
6357 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6358
6359 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6360
6361 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6362 file parsing and set FD_CLOEXEC.
6363
82af0fa8
UD
63642011-11-14 Ulrich Drepper <drepper@gmail.com>
6365
6366 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6367
a5fb313c
AS
63682011-11-14 Andreas Schwab <schwab@redhat.com>
6369
6370 * malloc/arena.c (arena_get2): Don't call reused_arena when
6371 _int_new_arena failed.
6372
6abf3465
UD
63732011-11-14 Ulrich Drepper <drepper@gmail.com>
6374
6375 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6376 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6377 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6378 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6379 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6380 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6381 to compile strcasecmp and strncasecmp.
6382 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6383 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6384
6385 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6386
76e3966e
UD
63872011-11-13 Ulrich Drepper <drepper@gmail.com>
6388
6389 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6390 locale-defines.sym to gen-as-const-headers.
6391 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6392 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6393 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6394 to compile strcasecmp and strncasecmp.
6395 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6396 strcasecmp_l and strncasecmp_l.
6397 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6398 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6399 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6400 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6401 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6402 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6403 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6404 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6405 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6406 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6407 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6408
ab26144e
UD
64092011-11-12 Ulrich Drepper <drepper@gmail.com>
6410
7edb22ef
UD
6411 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6412 result of SYSDEP_GETTIME_CPU to retval.
6413 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6414 parameter list to macro. Remove trailing semicolon. Adjust users.
6415
9694fc44
UD
6416 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6417 variable.
6418
8ad89ef8
UD
6419 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6420 mantissa words.
6421 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6422
0c822ef9
UD
6423 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6424 from unused variable.
6425
874e0564
UD
6426 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6427 DWARF definitions.
6428 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6429 for assembling.
6430
3a2edc79
UD
6431 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6432 over namespaces.
6433
f3c2577f
UD
6434 * sunrpc/rpc_prot.c (rejected): Fix case value.
6435
294ce126
UD
6436 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6437 unsigned long long int to avoid warnings in shift.
6438
5e2b63c6
UD
6439 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6440 of use of trans.
6441 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6442 variable tmp.
6443
e7f4b08e
UD
6444 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6445 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6446 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6447
ab26144e
UD
6448 * nis/nis_table.c (nis_list): Use variable of correct type for
6449 result of __follow_path call.
6450
8a6d5255
AZ
64512011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6452
6453 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6454 of math functions ceil, trunc, floor, round, and sqrt, when
6455 avaliable on the platform.
6456 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6457 name clash.
6458 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6459 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6460 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6461
aaddc98c
MP
64622011-10-30 Marek Polacek <mpolacek@redhat.com>
6463
6464 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6465 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6466
95b7042b
RM
64672011-11-11 Roland McGrath <roland@hack.frob.com>
6468
6469 * include/unistd.h: Fix __readlink return type.
6470 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6471
57769839
UD
64722011-11-11 Ulrich Drepper <drepper@gmail.com>
6473
6474 * stdlib/ucontext.h: Undo last change for makecontext.
6475
edc5984d
AS
64762011-11-11 Andreas Schwab <schwab@redhat.com>
6477
98591e58
AS
6478 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6479
edc5984d
AS
6480 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6481 * setjmp/setjmp.h: Mark functions as non-leaf.
6482 * setjmp/bits/setjmp2.h: Likewise.
6483 * stdlib/ucontext.h: Likewise.
6484
77cdc054
AS
64852011-11-10 Andreas Schwab <schwab@redhat.com>
6486
6487 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6488 (reused_arena): Don't check arena limit.
6489 (arena_get2): Atomically check arena limit.
6490
fe72eebd
UD
64912011-11-08 Ulrich Drepper <drepper@gmail.com>
6492
5f078c32
UD
6493 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6494 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6495
fe72eebd
UD
6496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6497 instructions.
6498
ae1bc2fa
AS
64992011-11-07 Andreas Schwab <schwab@redhat.com>
6500
7583a88d
AS
6501 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6502 handler when locking.
6503
ae1bc2fa
AS
6504 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6505 Fix size of allocated buffer.
6506
10fb0bfa
AS
65072011-11-04 Andreas Schwab <schwab@redhat.com>
6508
998832a4
AS
6509 [BZ #10103]
6510 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6511 declarations for long double functions.
6512 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6513
10fb0bfa
AS
6514 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6515
3d7ba52b
AS
65162011-11-03 Andreas Schwab <schwab@redhat.com>
6517
a9ae54a1
AS
6518 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6519 installed.
6520
3d7ba52b
AS
6521 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6522 is disabled.
6523
bc8db248
ST
65242011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6525
6526 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6527
45b96dd6
AS
65282011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6529
647776f6
AS
6530 * include/alloca.h (stackinfo_alloca_round): Define.
6531 (extend_alloca): Use it.
6532 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6533 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6534 here.
6535
d91a8b93
AS
6536 * scripts/check-local-headers.sh: Ignore libaudit.h.
6537
45b96dd6
AS
6538 * nscd/Makefile (extra-objs): Make recursively expanded.
6539
432d41ce
UD
65402011-11-01 Ulrich Drepper <drepper@gmail.com>
6541
34372fc6
UD
6542 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6543 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6544
fadb59f8
UD
6545 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6546 * posix/tst-rfc3484-2.c: Likewise.
6547 * posix/tst-rfc3484-3.c: Likewise.
6548
78239589
UD
6549 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6550 process_vm_writev.
6551 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6552 process_vm_writev.
6553 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6554 process_vm_writev from libc using GLIBC_2.15 version.
6555
432d41ce
UD
6556 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6557
02f9c6cf
PP
65582011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6559
6560 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6561 stack usage.
6562
3a2c0242
UD
65632011-10-31 Ulrich Drepper <drepper@gmail.com>
6564
f4ec4833
UD
6565 [BZ #13367]
6566 * nss/getent.c (initgroups_keys): Show error message in case no group
6567 names are given.
6568
3a2c0242
UD
6569 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6570 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6571 __bump_nl_timestamp.
6572 * nscd/connections (nscd_init): When host database is served open
6573 netlink socket and request notification about configuration changes.
6574 (main_loop_poll): Track netlink file descriptor and bump timestamp
6575 in case data becomes available.
6576 (main_loop_epoll): Likewise.
6577 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6578 (database_pers_head): Add extra_data fileds.
6579 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6580 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6581 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6582 Adjust caller.
6583 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6584 in6ai data, call __free_in6ai.
6585 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6586 Add -DHAVE_NETLINK.
6587 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6588 interface information. Reuse previous data if netlink timestamp
6589 is not changed.
6590 (__bump_nl_timestamp): New function.
6591 (__free_in6ai): New function.
6592
636064eb
UD
65932011-10-30 Ulrich Drepper <drepper@gmail.com>
6594
6595 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6596 close_not_cancel_no_status here.
6597 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6598
9beb2334
UD
65992011-10-29 Ulrich Drepper <drepper@gmail.com>
6600
6ef76f3b
UD
6601 [BZ #13276]
6602 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6603 return value.
6604
0ffc4f3e 6605 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
6606 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6607 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6608
cb95113e
UD
66092011-07-03 Andreas Jaeger <aj@suse.de>
6610
6611 [BZ #10709]
6612 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6613 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6614 * math/libm-test.inc (sin_test): Add test case.
6615
a1b560ff
UD
66162011-10-29 Ulrich Drepper <drepper@gmail.com>
6617
c9aaface
UD
6618 [BZ #13337]
6619 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6620 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6621
d272e7f1
UD
6622 * elf/chroot_canon.c (chroot_canon): Cleanups.
6623
1bc33071
UD
6624 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6625
1760874d
TJ
6626 [BZ #13335]
6627 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6628 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6629
51d91b18
UD
6630 * string/test-strchr.c: Make usable for strchrnul testing.
6631 * string/test-strchrnul.c: New file.
6632 * string/Makefile (strop-tests): Add strchrnul.
6633
a1b560ff 6634 * po/it.po: Update from translation team.
b611fb81 6635 * po/es.po: Likewise.
a1b560ff 6636
a5b81e1f
UD
66372011-10-28 Ulrich Drepper <drepper@gmail.com>
6638
fd52bc6d
UD
6639 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6640 the three constants needed as parameters. Drop the others.
6641 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6642 __m128i_strloadu_tolower.
52e4b9eb
UD
6643 Create and initialize variable zero and use it in all the places
6644 where _mm_setzero_si128 was used.
fd52bc6d 6645
a5b81e1f
UD
6646 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6647 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6648 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6649 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6650 anymore.
6651 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6652 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6653 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6654 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6655 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6656 __mpranred, __mptan.
6657 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6658 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6659 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6660 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6661 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6662 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6663 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6664 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6665 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6666
b4343346
AS
66672011-10-28 Andreas Schwab <schwab@redhat.com>
6668
0c92d8a8
AS
6669 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6670 redefine if SHARED.
6671 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6672
b4343346
AS
6673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6674 wide char related routines to wcsmbs subdir.
6675
3871f58f
AS
66762011-10-27 Andreas Schwab <schwab@redhat.com>
6677
6678 [BZ #13344]
6679 * misc/sys/cdefs.h (__THROWNL): Define.
6680 * posix/unistd.h: Use __THREADNL instead of __THREAD
6681 for memory synchronization functions.
6682
94d44d9f
RM
66832011-10-26 Roland McGrath <roland@hack.frob.com>
6684
21b64b15 6685 [BZ #13349]
94d44d9f
RM
6686 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6687 doesn't exist.
6688 * manual/stdio.texi (Obstack Streams): Node removed.
6689
f6ce9294
AS
66902011-10-26 Andreas Schwab <schwab@redhat.com>
6691
80479147
AS
6692 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6693 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6694 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6695
f6ce9294
AS
6696 * math/math_private.h (math_force_eval): Allow non-addressable
6697 arguments.
6698 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6699
618280a1
UD
67002011-10-25 Ulrich Drepper <drepper@gmail.com>
6701
e0016b11
UD
6702 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6703 file is not needed.
6704
6705 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6706 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6707 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6708 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6709 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6710 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6711 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6712 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6713 Add AVX variants.
6714 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6715 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6716 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6717 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6718 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6719 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6720 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6721 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6722 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6723 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6724 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6725 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6726 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6727 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6728 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6729 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6730 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6731 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6732 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6733
6734 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6735 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6736
618280a1
UD
6737 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6738 place. Use VEX encoding when compiling for AVX.
6739
37822576
AS
67402011-10-25 Andreas Schwab <schwab@redhat.com>
6741
1f1e1947
AS
6742 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6743 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6744
37822576
AS
6745 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6746
31ea014d
UD
67472011-10-25 Ulrich Drepper <drepper@gmail.com>
6748
d7826aa1 6749 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 6750 useless if() expression.
d7826aa1
UD
6751 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6752 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6753 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6754 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6755 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6756 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6757 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6758 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6759 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6760 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6761 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6762 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6763 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6764 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6765 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6766 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6767 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6768 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6769 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6770
31ea014d
UD
6771 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6772
16437fec
AS
67732011-10-25 Andreas Schwab <schwab@redhat.com>
6774
6775 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6776 condition.
6777 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6778
31d3cc00
UD
67792011-10-25 Ulrich Drepper <drepper@gmail.com>
6780
6781 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6782 .text section. Avoid duplicate constants.
6783 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6785 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6786 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6787 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6788 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6790 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6791 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6792 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6793 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6794 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6795 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6797 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6798 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6799 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6800 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6801 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6802 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6804 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6805 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6806 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6807 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6808 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6809 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6810 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6811 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6812 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6813 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6814 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6815 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6816 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6817 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6818 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6819 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6820 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6821 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6822 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6823 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6824 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6825 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6826 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6827 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6828
58985aa9
UD
68292011-10-24 Ulrich Drepper <drepper@gmail.com>
6830
202c9deb
UD
6831 * sysdeps/x86_64/dla.h: Move to ...
6832 * sysdeps/x86_64/fpu/dla.h: ...here.
6833 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6834 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 6835
af968f62
UD
6836 * config.make.in: Add have-mfma4 entry.
6837 * configure.in: Substitute libc_cv_cc_fma4.
6838 * math/Makefile (dbl-only-routines): Add sincostab.
6839 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6840 Use __sincostab not sincos.
6841 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6842 name is a macro.
6843 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6844 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6845 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6847 using __copysign.
6848 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6849 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6850 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6851 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6852 and __inv.
6853 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6854 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6855 __copysign.
6856 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6857 define aliases when function name is a macro.
6858 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6859 sysdeps/ieee754/dbl-64/sincos.tbl.
6860 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6861 fma4-enabled routines.
6862 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6863 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6864 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6865 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6866 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6867 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6868 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6869 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6870 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6871 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6872 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6873 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6874 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6875 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6876 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6877 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6878 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6879 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6880 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6881 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6882 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6883 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6884 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6885 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6886 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6887 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6888 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6889 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6890 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6891 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6892
58985aa9
UD
6893 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6894 rename.
6895 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6896 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6897 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6898 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6901 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6903
a201fbcf
AS
69042011-10-24 Andreas Schwab <schwab@redhat.com>
6905
6906 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6907
fc2ee42a
LD
69082011-10-23 Ulrich Drepper <drepper@gmail.com>
6909
bb3129bd
UD
6910 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6911
0275fff8
UD
6912 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6913 prediction.
6914 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6915
2fa2ae85
UD
6916 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6917 Remove unused variable magic_bits.
6918 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6919
fc2ee42a
LD
6920 * string/strnlen.c: Define and use STRNLEN macro.
6921 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6922 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6923 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6924 * wcsmbs/wcslen.c: Define and use WCSLEN.
6925 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6926 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6927 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6928 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6929 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6930 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6931 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6932
ce7dd29f
LD
69332011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6934
6935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6936 strnlen-sse2-no-bsf.
6937 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6938 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6939 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6940 Add strnlen support.
6941 (USE_AS_STRNLEN): New macro.
6942 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6943 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6944 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6945 * sysdeps/x86_64/wcslen.S: New file.
6946
979c70a3
MZ
69472011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6948
6949 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6950 XMM-moves are used for copying on small sizes.
6951
2d09f82f
LD
69522011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6953
6954 * wcsmbs/Makefile (strop-tests): Add wcschr.
6955 * wcsmbs/test-wcschr.c: New file.
6956 * string/test-strchr.c: Update.
6957 Add wcschr support.
6958 (WIDE): New macro.
6959
619fccca
LD
69602011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6961
2d09f82f 6962 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6963 * wcsmbs/test-wcslen.c: New file.
6964 * string/test-strlen.c: Update.
6965 Add wcslen support.
6966 (WIDE): New macro.
6967
09f699ea
UD
69682011-10-23 Ulrich Drepper <drepper@gmail.com>
6969
6970 * po/it.po: Update from translation team.
6971
95584d3b
LD
69722011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6973
6974 * sysdeps/x86_64/wcscmp.S: Update.
6975 Fix wrong comparison semantics.
6976 wcscmp shall use signed comparison not unsigned.
6977 Don't use substraction to avoid overflow bug.
6978 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6979 * wcsmbc/wcscmp.c: Likewise.
6980 * string/test-strcmp.c: Likewise.
6981 Add new tests to check cases with negative values.
6982
c8b3296b
UD
69832011-10-23 Ulrich Drepper <drepper@gmail.com>
6984
6985 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6986 * sysdeps/x86_64/dla.h: ...here. New file.
6987 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6988 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6989 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6992 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6996
246ad57a
AS
69972011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6998
6999 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7000 __ynl_finite aliases.
7001
a1a87169
UD
70022011-10-22 Ulrich Drepper <drepper@gmail.com>
7003
0d355eb7
UD
7004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7005
a1a87169
UD
7006 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7007 define DLA_FMA.
7008 [DLA_FMA] (EMULV): Use DLA_FMA.
7009 [DLA_FMA] (MUL12): Use EMULV.
7010 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7011 that are not needed.
7012 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7019
ee2aafe0
AS
70202011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7021
7022 * math/s_nan.c: Undef __nan.
7023 * math/s_nanf.c: Undef __nanf.
7024 * math/s_nanl.c: Undef __nanl.
7025 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7026 "math_private.h".
7027
bc62c2fb
UD
70282011-10-22 Ulrich Drepper <drepper@gmail.com>
7029
77425c63
UD
7030 * math/s_catan.c: Add branch predictions.
7031 * math/s_catanf.c: Likewise.
7032 * math/s_catanh.c: Likewise.
7033 * math/s_catanhf.c: Likewise.
7034 * math/s_catanhl.c: Likewise.
7035 * math/s_catanl.c: Likewise.
7036 * math/s_cexp.c: Likewise.
7037 * math/s_cexpf.c: Likewise.
7038 * math/s_cexpl.c: Likewise.
7039 * math/s_clog.c: Likewise.
7040 * math/s_clog10.c: Likewise.
7041 * math/s_clog10f.c: Likewise.
7042 * math/s_clog10l.c: Likewise.
7043 * math/s_clogf.c: Likewise.
7044 * math/s_clogl.c: Likewise.
7045 * math/s_csqrt.c: Likewise.
7046 * math/s_csqrtf.c: Likewise.
7047 * math/s_csqrtl.c: Likewise.
7048 * math/s_ctanf.c: Likewise.
7049 * math/s_ctanh.c: Likewise.
7050 * math/s_ctanhf.c: Likewise.
7051 * math/s_ctanhl.c: Likewise.
7052 * math/s_ctanl.c: Likewise.
7053
bc62c2fb
UD
7054 * math/math_private.h: Define __nan, __nanf, __nanl.
7055 * math/s_cacosh.c: Include <math_private.h>.
7056 * math/s_cacoshl.c: Likewise.
7057 * math/s_casinh.c: Likewise.
7058 * math/s_casinhf.c: Likewise.
7059 * math/s_casinhl.c: Likewise.
7060 * math/s_ccos.c: Rely entire on ccosh.
7061 * math/s_ccosf.c: Rely entire on ccoshf.
7062 * math/s_ccosl.c: Rely entirely on ccoshl.
7063 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7064 Remove tests for FE_INVALID.
7065 * math/s_ccoshf.c: Likewise.
7066 * math/s_ccoshl.c: Likewise.
7067 * math/s_csin.c: Likewise.
7068 * math/s_csinf.c: Likewise.
7069 * math/s_csinh.c Likewise.
7070 * math/s_csinhf.c: Likewise.
7071 * math/s_csinhl.c: Likewise.
7072 * math/s_csinl.c: Likewise.
7073 * math/s_ctan.c: Likewise.
7074 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7075 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7076 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7077
8ec250a4
UD
70782011-10-21 Ulrich Drepper <drepper@gmail.com>
7079
c196fed8
UD
7080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7081 compilation problems.
7082
8ec250a4
UD
7083 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7084 __builtin_expect.
7085
8d4f46c6
UD
70862011-10-20 Ulrich Drepper <drepper@gmail.com>
7087
ed72b654
UD
7088 * sysdeps/i386/configure.in: Test for -mfma4 option.
7089 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7090 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7091 COMMON_CPUID_INDEX_80000001.
7092 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7093 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7094 use it if FMA3 is not supported.
7095 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7096
8d4f46c6
UD
7097 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7098 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7099
d45c60c2
AS
71002011-10-20 Andreas Schwab <schwab@redhat.com>
7101
7102 [BZ #12892]
7103 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7104 it would create a cycle with a link time dependency.
7105
d9a4d2ab
UD
71062011-10-19 Ulrich Drepper <drepper@gmail.com>
7107
855d1560
UD
7108 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7109 instruction.
7110 * string/Makefile (strop-tests): Add rawmemchr.
7111 * string/test-rawmemchr.c: New file.
7112
d9a4d2ab
UD
7113 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7114 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7115 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7116 when compiling str{,n}casecmp and when AVX is available. Hook up
7117 new optimized code in initializers.
7118
8f3b1ffe
AS
71192011-10-19 Andreas Schwab <schwab@redhat.com>
7120
7121 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7122 __feraiseexcept instead of feraiseexcept.
7123
d38f1dba
UD
71242011-10-18 Ulrich Drepper <drepper@gmail.com>
7125
d9a8d0ab
UD
7126 * math/math_private.h: Define defaults for libc_fetestexcept and
7127 libc_feupdateenv.
7128 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7129 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7130 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7131 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7132 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7133 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7134 libc_fetestexcept and libc_feupdateenv.
7135
4855e3dd
UD
7136 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7137 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7138 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7139 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7140 libc_feholdexcept_setround.
7141
581d30e3
UD
7142 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7143 Add s_nearbyint-c and s_nearbyintf-c.
7144 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7145 nearbyintf inlines.
7146 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7147 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7148 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7149 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7150
d38f1dba
UD
7151 * math/math_private.h: Define defaults for libc_fegetround,
7152 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7153 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7154 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7155 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7156 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7157 standard functions.
7158 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7159 Remove comments and hacks for old compiler versions.
7160 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7161 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7162 libc_feholdexceptl.
7163
caa6c9d8
AS
71642011-10-18 Andreas Schwab <schwab@redhat.com>
7165
7166 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7167 (__feraiseexcept_renamed): Add __NTH.
7168 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7169 namespace violations.
7170
97c066e6
UD
71712011-10-17 Ulrich Drepper <drepper@gmail.com>
7172
99ce7b04
UD
7173 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7174
1004d182
UD
7175 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7176
228a984d
UD
7177 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7178 recently added interfaces.
7179 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7180
c8553a6a
UD
7181 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7182 about macro parameter expansion.
7183
ed22dcf6
UD
7184 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7185 __NO_MATH_INLINES is defined. Cleanups.
7186
7187 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7188 and __floorf is target has SSE4.1.
7189 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7190 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7191 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7192 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7193
b171c137
UD
7194 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7195 name.
7196 (floorf): Likewise.
7197
97c066e6
UD
7198 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7199
629f62ef
AS
72002011-10-17 Andreas Schwab <schwab@redhat.com>
7201
49a43d80
AS
7202 * misc/sys/cdefs.h: Fix last change.
7203
629f62ef
AS
7204 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7205 database lookup.
7206
e453f6cd
UD
72072011-10-16 Ulrich Drepper <drepper@gmail.com>
7208
aa78043a
UD
7209 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7210
ad0f5cad
UD
7211 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7212 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7213 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7214 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7215 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7216 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7217 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7218 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7219 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7220 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7221 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7222 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7223 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7224 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7225 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7226 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7227 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7228 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7229 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7230 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7231 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7232 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7233
7234 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7235 ceil, ceilf, floor, floorf.
7236
7237 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7238 Perform IRELATIVE relocations last.
7239
e453f6cd
UD
7240 * elf/do-rel.h: Add another parameter nrelative, replacing the
7241 local variable with the same name. Change name of the function
7242 to end in Rel or Rela (uppercase).
7243 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7244 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7245 elf_dynamic_do_##reloc function.
7246
fd5bdc09
UD
72472011-10-15 Ulrich Drepper <drepper@gmail.com>
7248
79b195b5
UD
7249 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7250 is sufficient, at least on modern CPUs.
7251
d4a28569
UD
7252 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7253
b61099b5
UD
7254 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7255 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7256
bcf01e6d
UD
7257 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7258 __expl_finite.
7259 * math/bits/math-finite.h: Add entries for exp.
7260 * math/e_expl.c: Add __*_finite alias.
7261 * sysdeps/i386/fpu/e_exp.S: Likewise.
7262 * sysdeps/i386/fpu/e_expf.S: Likewise.
7263 * sysdeps/i386/fpu/e_expl.c: Likewise.
7264 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7265 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7268 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7269 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7270 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7271
ba1a0d59
UD
7272 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7273 is sufficient, at least on modern CPUs.
7274
fd5bdc09
UD
7275 * ctype/ctype-info.c (__ctype_init): Define.
7276 * include/ctype.h (__ctype_init): Declare.
7277 (__ctype_b_loc): The variable is always initialized.
7278 (__ctype_toupper_loc): Likewise.
7279 (__ctype_tolower_loc): Likewise.
7280 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7281 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7282
7872cfb0
AS
72832011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7284
b468825a
AS
7285 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7286
7872cfb0
AS
7287 * configure.in: Also look in $cxxmachine/include for C++ system
7288 headers.
7289
be13f7bf
LD
72902011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7291
7292 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7293 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7294 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7295 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7296 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7297 (USE_AS_WMEMCMP): New macro.
7298 Fixing indents.
7299 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7300 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7301 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7302 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7304 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7305 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7306 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7307 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7308 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7309 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7310 (USE_AS_WMEMCMP): New macro.
7311 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7312 * sysdeps/string/test-memcmp.c: Update.
7313 Fix simple_wmemcmp.
7314 Add new tests.
7315 * wcsmbs/wmemcmp.c: Update.
7316 (WMEMCMP): New macro.
7317 Fix overflow bug.
7318
556a2007
AJ
73192011-10-12 Andreas Jaeger <aj@suse.de>
7320
7321 [BZ #13268]
7322 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7323
538faaa7
UD
73242011-10-15 Ulrich Drepper <drepper@gmail.com>
7325
ab6737ff
UD
7326 * libio/iofwide.c (do_length): Avoid warning.
7327
538faaa7
UD
7328 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7329
396a21b1
UD
73302011-10-14 Ulrich Drepper <drepper@gmail.com>
7331
cdf2901f
UD
7332 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7333
38ad40ce
UD
7334 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7335 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7336 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7337 * sysdeps/i386/i686/fpu/e_log.S: New file.
7338 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7339 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7340
396a21b1
UD
7341 * ctype/ctype.h: Add support for inlined isXXX functions when
7342 compiling C++ code.
7343
6b1f68c9
AS
73442011-10-14 Andreas Schwab <schwab@redhat.com>
7345
349290c0
AS
7346 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7347
6b1f68c9
AS
7348 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7349
f2282d42
RM
73502011-10-13 Roland McGrath <roland@hack.frob.com>
7351
7352 [BZ #13291]
7353 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7354
5298ffa8
AS
73552011-10-13 Andreas Schwab <schwab@redhat.com>
7356
714fad23
AS
7357 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7358 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7359 feraiseexcept.
7360
81dcc7fb
AS
7361 * sysdeps/x86_64/memrchr.S: Check for zero size.
7362
5298ffa8
AS
7363 * string/stratcliff.c: Add memrchr tests.
7364
951fbcec
LD
73652011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7366
7367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7368 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7369 rawmemchr-sse2 rawmemchr-sse2-bsf.
7370 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7371 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7372 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7373 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7374 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7375 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7376 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7377 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7378 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7379 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7380 * string/memrchr.c (MEMRCHR): New macro.
7381
0ac5ae23
UD
73822011-10-12 Ulrich Drepper <drepper@gmail.com>
7383
7384 Add integration with gcc's -ffinite-math-only and optimize wrapper
7385 functions in libm.
7386 * Versions.def: Define GLIBC_2.15 version for libm.
7387 * math/Makefile (headers): Add bits/math-finite.h.
7388 * math/bits/math-finite.h: New file.
7389 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7390 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7391 * math/e_acoshl.c: Add __*_finite alias.
7392 * math/e_acosl.c: Likewise.
7393 * math/e_asinl.c: Likewise.
7394 * math/e_atan2l.c: Likewise.
7395 * math/e_atanhl.c: Likewise.
7396 * math/e_coshl.c: Likewise.
7397 * math/e_exp10.c: Likewise.
7398 * math/e_exp10f.c: Likewise.
7399 * math/e_exp10l.c: Likewise.
7400 * math/e_exp2l.c: Likewise.
7401 * math/e_fmodl.c: Likewise.
7402 * math/e_gammal_r.c: Likewise.
7403 * math/e_hypotl.c: Likewise.
7404 * math/e_j0l.c: Likewise.
7405 * math/e_j1l.c: Likewise.
7406 * math/e_jnl.c: Likewise.
7407 * math/e_lgammal_r.c: Likewise.
7408 * math/e_log10l.c: Likewise.
7409 * math/e_log2l.c: Likewise.
7410 * math/e_logl.c: Likewise.
7411 * math/e_powl.c: Likewise.
7412 * math/e_sinhl.c: Likewise.
7413 * math/e_sqrtl.c: Likewise.
7414 * math/e_scalb.c: Completely rewritten and optimized.
7415 * math/e_scalbf.c: Likewise.
7416 * math/e_scalbl.c: Likewise.
7417 * math/w_acos.c: Likewise.
7418 * math/w_acosf.c: Likewise.
7419 * math/w_acosl.c: Likewise.
7420 * math/w_acosh.c: Likewise.
7421 * math/w_acoshf.c: Likewise.
7422 * math/w_acoshl.c: Likewise.
7423 * math/w_asin.c: Likewise.
7424 * math/w_asinf.c: Likewise.
7425 * math/w_asinl.c: Likewise.
7426 * math/w_atan2.c: Likewise.
7427 * math/w_atan2f.c: Likewise.
7428 * math/w_atan2l.c: Likewise.
7429 * math/w_atanh.c: Likewise.
7430 * math/w_atanhf.c: Likewise.
7431 * math/w_atanhl.c: Likewise.
7432 * math/w_exp10.c: Likewise.
7433 * math/w_exp10f.c: Likewise.
7434 * math/w_exp10l.c: Likewise.
7435 * math/w_fmod.c: Likewise.
7436 * math/w_fmodf.c: Likewise.
7437 * math/w_fmodl.c: Likewise.
7438 * math/w_j0.c: Likewise.
7439 * math/w_j0f.c: Likewise.
7440 * math/w_j0l.c: Likewise.
7441 * math/w_j1.c: Likewise.
7442 * math/w_j1f.c: Likewise.
7443 * math/w_j1l.c: Likewise.
7444 * math/w_jn.c: Likewise.
7445 * math/w_jnf.c: Likewise.
7446 * math/w_log.c: Likewise.
7447 * math/w_logf.c: Likewise.
7448 * math/w_logl.c: Likewise.
7449 * math/w_log10.c: Likewise.
7450 * math/w_log10f.c: Likewise.
7451 * math/w_log10l.c: Likewise.
7452 * math/w_log2.c: Likewise.
7453 * math/w_log2f.c: Likewise.
7454 * math/w_log2l.c: Likewise.
7455 * math/w_pow.c: Likewise.
7456 * math/w_powf.c: Likewise.
7457 * math/w_powl.c: Likewise.
7458 * math/w_remainder.c: Likewise.
7459 * math/w_remainderf.c: Likewise.
7460 * math/w_remainderl.c: Likewise.
7461 * math/w_scalb.c: Likewise.
7462 * math/w_scalbf.c: Likewise.
7463 * math/w_scalbl.c: Likewise.
7464 * math/w_sqrt.c: Likewise.
7465 * math/w_sqrtf.c: Likewise.
7466 * math/w_sqrtl.c: Likewise.
7467 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7468 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7469 used.
7470 * math/math_private.h: Declare __kernel_standard_f.
7471 * math/w_cosh.c: Remove cruft and optimize a bit.
7472 * math/w_coshf.c: Likewise.
7473 * math/w_coshl.c: Likewise.
7474 * math/w_exp2.c: Likewise.
7475 * math/w_exp2f.c: Likewise.
7476 * math/w_exp2l.c: Likewise.
7477 * math/w_hypot.c: Likewise.
7478 * math/w_hypotf.c: Likewise.
7479 * math/w_hypotl.c: Likewise.
7480 * math/w_lgamma.c: Likewise.
7481 * math/w_lgamma_r.c: Likewise.
7482 * math/w_lgammaf.c: Likewise.
7483 * math/w_lgammaf_r.c: Likewise.
7484 * math/w_lgammal.c: Likewise.
7485 * math/w_lgammal_r.c: Likewise.
7486 * math/w_sinh.c: Likewise.
7487 * math/w_sinhf.c: Likewise.
7488 * math/w_sinhl.c: Likewise.
7489 * math/w_tgamma.c: Likewise.
7490 * math/w_tgammaf.c: Likewise.
7491 * math/w_tgammal.c: Likewise.
7492 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7493 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7494 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7495 Minor optimizations. Pretty printing. Remove cruft.
7496 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7497 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7498 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7499 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7500 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7501 * sysdeps/i386/fpu/e_asin.S: Likewise.
7502 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7503 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7504 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7505 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7506 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7507 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7508 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7509 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7510 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7511 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7512 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7513 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7514 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7515 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7516 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7517 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7518 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7519 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7520 * sysdeps/i386/fpu/e_log.S: Likewise.
7521 * sysdeps/i386/fpu/e_log10.S: Likewise.
7522 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7523 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7524 * sysdeps/i386/fpu/e_log2.S: Likewise.
7525 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7526 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7527 * sysdeps/i386/fpu/e_logf.S: Likewise.
7528 * sysdeps/i386/fpu/e_logl.S: Likewise.
7529 * sysdeps/i386/fpu/e_pow.S: Likewise.
7530 * sysdeps/i386/fpu/e_powf.S: Likewise.
7531 * sysdeps/i386/fpu/e_powl.S: Likewise.
7532 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7533 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7534 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7535 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7536 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7537 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7538 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7539 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7540 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7559 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7562 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7563 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7564 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7565 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7566 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7567 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7568 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7569 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7570 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7571 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7572 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7573 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7574 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7575 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7576 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7577 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7578 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7579 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7580 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7581 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7582 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7583 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7596 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7620 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7621 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7624 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7626 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7627 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7629 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7632 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7633 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7634 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7635 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7636 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7637 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7638 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7639 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7640 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7641 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7642 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7643 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7644 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7645 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7646 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7647 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7648 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7649 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7650 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7651 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7652 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7653 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7654 (__isnanf): Likewise.
7655 (__isinf_ns): Likewise.
7656 (__isinf_nsf): Likewise.
7657 (__finite): Likewise.
7658 (__finitef): Likewise.
7659 (__ieee754_sqrt): Define as macro.
7660 (__ieee754_sqrtf): Define as macro.
7661 (__ieee754_sqrtl): Define as macro.
7662 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7663 inlined copy.
7664 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7665 __FINITE_MATH_ONLY__ consistent.
7666 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7667
12cc2fcd
AS
76682011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7669
a843a204
AS
7670 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7671 of rawmemchr.
7672
12cc2fcd
AS
7673 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7674
c853acd5
UD
76752011-10-09 Ulrich Drepper <drepper@gmail.com>
7676
7677 * po/ja.po: Update from translation team.
7678
c658d255
RM
76792011-10-08 Roland McGrath <roland@hack.frob.com>
7680
110946e4
RM
7681 * locale/programs/locarchive.c (prepare_address_space): New function.
7682 (create_archive, enlarge_archive, open_archive): Use it.
7683
50604220
RM
7684 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7685 inside [SHARED], where it is used.
7686
c658d255
RM
7687 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7688
7689 * nss/getent.c (netgroup_keys): Remove unused variable.
7690 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7691
6a621eb7
UD
76922011-10-08 Ulrich Drepper <drepper@gmail.com>
7693
7edb55ce
UD
7694 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7695 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7697 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7698 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7699 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7700 * math/Makefile (libm-calls): Add s_isinf_ns.
7701 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7702 * math/multc3.c: Likewise.
7703 * math/s_casin.c: Likewise.
7704 * math/s_casinf.c: Likewise.
7705 * math/s_casinl.c: Likewise.
7706 * math/s_ccos.c: Likewise.
7707 * math/s_ccosf.c: Likewise.
7708 * math/s_ccosl.c: Likewise.
7709 * math/s_ctan.c: Likewise.
7710 * math/s_ctanf.c: Likewise.
7711 * math/s_ctanh.c: Likewise.
7712 * math/s_ctanhf.c: Likewise.
7713 * math/s_ctanhl.c: Likewise.
7714 * math/s_ctanl.c: Likewise.
7715 * math/w_fmod.c: Likewise.
7716 * math/w_fmodf.c: Likewise.
7717 * math/w_fmodl.c: Likewise.
7718 * math/w_remainder.c: Likewise.
7719 * math/w_remainderf.c: Likewise.
7720 * math/w_remainderl.c: Likewise.
7721 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7722 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7723 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7724 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7725 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7726 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7727 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7728 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7729
187da0ae
UD
7730 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7731 of the number.
7732 * stdio-common/printf_fphex.c: Likewise.
7733 * stdio-common/printf_size.c: Likewise.
7734
9277c064
UD
7735 * math/e_exp10.c: Include math_private.h using <...> not "...".
7736 * math/e_exp10f.c: Likewise.
7737 * math/e_exp10l.c: Likewise.
7738 * math/e_exp2l.c: Likewise.
7739 * math/e_j0l.c: Likewise.
7740 * math/e_j1l.c: Likewise.
7741 * math/e_jnl.c: Likewise.
7742 * math/e_lgammal_r.c: Likewise.
7743 * math/e_rem_pio2l.c: Likewise.
7744 * math/e_scalb.c: Likewise.
7745 * math/e_scalbf.c: Likewise.
7746 * math/e_scalbl.c: Likewise.
7747 * math/k_cosl.c: Likewise.
7748 * math/k_sinl.c: Likewise.
7749 * math/k_tanl.c: Likewise.
7750 * math/s_cacoshf.c: Likewise.
7751 * math/s_catan.c: Likewise.
7752 * math/s_catanf.c: Likewise.
7753 * math/s_catanh.c: Likewise.
7754 * math/s_catanhf.c: Likewise.
7755 * math/s_catanhl.c: Likewise.
7756 * math/s_catanl.c: Likewise.
7757 * math/s_ccosh.c: Likewise.
7758 * math/s_ccoshf.c: Likewise.
7759 * math/s_ccoshl.c: Likewise.
7760 * math/s_cexp.c: Likewise.
7761 * math/s_cexpf.c: Likewise.
7762 * math/s_cexpl.c: Likewise.
7763 * math/s_clog.c: Likewise.
7764 * math/s_clog10.c: Likewise.
7765 * math/s_clog10f.c: Likewise.
7766 * math/s_clog10l.c: Likewise.
7767 * math/s_clogf.c: Likewise.
7768 * math/s_clogl.c: Likewise.
7769 * math/s_csin.c: Likewise.
7770 * math/s_csinf.c: Likewise.
7771 * math/s_csinh.c: Likewise.
7772 * math/s_csinhf.c: Likewise.
7773 * math/s_csinhl.c: Likewise.
7774 * math/s_csinl.c: Likewise.
7775 * math/s_csqrt.c: Likewise.
7776 * math/s_csqrtf.c: Likewise.
7777 * math/s_csqrtl.c: Likewise.
7778 * math/s_ctan.c: Likewise.
7779 * math/s_ctanf.c: Likewise.
7780 * math/s_ctanh.c: Likewise.
7781 * math/s_ctanhf.c: Likewise.
7782 * math/s_ctanhl.c: Likewise.
7783 * math/s_ctanl.c: Likewise.
7784 * math/s_ldexp.c: Likewise.
7785 * math/s_ldexpf.c: Likewise.
7786 * math/s_ldexpl.c: Likewise.
7787 * math/s_significand.c: Likewise.
7788 * math/s_significandf.c: Likewise.
7789 * math/s_significandl.c: Likewise.
7790 * math/w_acos.c: Likewise.
7791 * math/w_acosf.c: Likewise.
7792 * math/w_acosh.c: Likewise.
7793 * math/w_acoshf.c: Likewise.
7794 * math/w_acoshl.c: Likewise.
7795 * math/w_acosl.c: Likewise.
7796 * math/w_asin.c: Likewise.
7797 * math/w_asinf.c: Likewise.
7798 * math/w_asinl.c: Likewise.
7799 * math/w_atan2.c: Likewise.
7800 * math/w_atan2f.c: Likewise.
7801 * math/w_atan2l.c: Likewise.
7802 * math/w_atanh.c: Likewise.
7803 * math/w_atanhf.c: Likewise.
7804 * math/w_atanhl.c: Likewise.
7805 * math/w_cosh.c: Likewise.
7806 * math/w_coshf.c: Likewise.
7807 * math/w_coshl.c: Likewise.
7808 * math/w_dremf.c: Likewise.
7809 * math/w_exp10.c: Likewise.
7810 * math/w_exp10f.c: Likewise.
7811 * math/w_exp10l.c: Likewise.
7812 * math/w_exp2.c: Likewise.
7813 * math/w_exp2f.c: Likewise.
7814 * math/w_fmod.c: Likewise.
7815 * math/w_fmodf.c: Likewise.
7816 * math/w_fmodl.c: Likewise.
7817 * math/w_hypot.c: Likewise.
7818 * math/w_hypotf.c: Likewise.
7819 * math/w_hypotl.c: Likewise.
7820 * math/w_j0.c: Likewise.
7821 * math/w_j0f.c: Likewise.
7822 * math/w_j0l.c: Likewise.
7823 * math/w_j1.c: Likewise.
7824 * math/w_j1f.c: Likewise.
7825 * math/w_j1l.c: Likewise.
7826 * math/w_jn.c: Likewise.
7827 * math/w_jnf.c: Likewise.
7828 * math/w_jnl.c: Likewise.
7829 * math/w_lgamma.c: Likewise.
7830 * math/w_lgamma_r.c: Likewise.
7831 * math/w_lgammaf.c: Likewise.
7832 * math/w_lgammaf_r.c: Likewise.
7833 * math/w_lgammal.c: Likewise.
7834 * math/w_lgammal_r.c: Likewise.
7835 * math/w_log.c: Likewise.
7836 * math/w_log10.c: Likewise.
7837 * math/w_log10f.c: Likewise.
7838 * math/w_log10l.c: Likewise.
7839 * math/w_log2.c: Likewise.
7840 * math/w_log2f.c: Likewise.
7841 * math/w_log2l.c: Likewise.
7842 * math/w_logf.c: Likewise.
7843 * math/w_logl.c: Likewise.
7844 * math/w_pow.c: Likewise.
7845 * math/w_powf.c: Likewise.
7846 * math/w_powl.c: Likewise.
7847 * math/w_remainder.c: Likewise.
7848 * math/w_remainderf.c: Likewise.
7849 * math/w_remainderl.c: Likewise.
7850 * math/w_scalb.c: Likewise.
7851 * math/w_scalbf.c: Likewise.
7852 * math/w_scalbl.c: Likewise.
7853 * math/w_sinh.c: Likewise.
7854 * math/w_sinhf.c: Likewise.
7855 * math/w_sinhl.c: Likewise.
7856 * math/w_sqrt.c: Likewise.
7857 * math/w_sqrtf.c: Likewise.
7858 * math/w_sqrtl.c: Likewise.
7859 * math/w_tgamma.c: Likewise.
7860 * math/w_tgammaf.c: Likewise.
7861 * math/w_tgammal.c: Likewise.
7862
6a621eb7
UD
7863 * po/ja.po: Update from translation team.
7864
bf582445
AJ
78652011-09-29 Andreas Jaeger <aj@suse.de>
7866
f9efbf3a
AJ
7867 [BZ #13179]
7868 * sunrpc/netname.c (netname2host): Fix logic.
7869
bf582445
AJ
7870 [BZ #6779]
7871 [BZ #6783]
7872 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7873 correctly.
7874 * math/w_remainder.c (__remainder): Likewise.
7875 * math/w_remainderf.c (__remainderf): Likewise.
7876 * math/libm-test.inc (remainder_test): Add test cases.
7877
48693bea
AK
78782011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7879
7880 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7881 sdiv_qrnnd.
7882
42622229
LD
78832011-10-07 Ulrich Drepper <drepper@gmail.com>
7884
7885 * string/test-memcmp.c: Avoid unncessary #defines.
7886 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7887
093ecf92
LD
78882011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7889
7890 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7891 Use new sse2 version for core i3 - i7 as it's faster
7892 than sse42 version.
7893 (bit_Prefer_PMINUB_for_stringop): New.
7894 * sysdeps/x86_64/rawmemchr.S: Update.
7895 Replace with faster SSE2 version.
7896 * sysdeps/x86_64/memrchr.S: New file.
7897 * sysdeps/x86_64/memchr.S: Update.
7898 Replace with faster SSE2 version.
7899
fde56e5c
MP
79002011-09-12 Marek Polacek <mpolacek@redhat.com>
7901
7902 * elf/dl-load.c (lose): Add cast to avoid warning.
7903
21fd49a9
UD
79042011-10-07 Ulrich Drepper <drepper@gmail.com>
7905
5a06e643
UD
7906 * po/ca.po: Update from translation team.
7907
684ae515
UD
7908 * inet/getnetgrent_r.c: Hook up nscd.
7909 * nscd/Makefile (routines): Add nscd_netgroup.
7910 (nscd-modules): Add netgroupcache.
7911 (CFLAGS-netgroupcache.c): Define.
7912 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7913 (cache_search): Add const to second parameter.
7914 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7915 INNETGR.
7916 (dbs): Add netgrdb entry.
7917 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7918 (verify_persistent_db): Handle netgrdb.
7919 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7920 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7921 GETFDNETGR.
7922 (netgroup_response_header): Define.
7923 (innetgroup_response_header): Define.
7924 (datahead): Add netgroup_response_header and innetgroup_response_header
7925 elements.
7926 * nscd/nscd.conf: Add entries for netgroup cache.
7927 * nscd/nscd.h (dbtype): Add netgrdb.
7928 (_PATH_NSCD_NETGROUP_DB): Define.
7929 (netgroup_iov_disabled): Declare.
7930 (xmalloc, xcalloc, xrealloc): Move declarations here.
7931 (cache_search): Adjust prototype.
7932 Add netgroup-related prototypes.
7933 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7934 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7935 (__nscd_innetgr): Declare.
7936 * nscd/selinux.c (perms): Use access_vector_t as element type and
7937 add netgroup-related initializers.
7938 * nscd/netgroupcache.c: New file.
7939 * nscd/nscd_netgroup.c: New file.
7940 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7941 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7942 For four parameters use innetgr.
7943 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7944 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7945 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7946 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7947
21fd49a9
UD
7948 * nscd/connections.c (register_traced_file): Don't register file
7949 for disabled databases.
7950
054c0457
UD
79512011-10-06 Ulrich Drepper <drepper@gmail.com>
7952
32b63198
UD
7953 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7954
054c0457
UD
7955 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7956 from tree and freeing node.
7957
64031225
JO
79582011-09-25 Jiri Olsa <jolsa@redhat.com>
7959
7960 * nss/nsswitch.c (__nss_database_lookup): Handle
7961 nss_parse_service_list out of memory case.
7962
0490345c
JO
79632011-09-15 Jiri Olsa <jolsa@redhat.com>
7964
7965 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7966 out of memory case.
7967
3a62d00d
AS
79682011-10-04 Andreas Schwab <schwab@redhat.com>
7969
7970 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7971 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7972 pass it down.
7973 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7974 elf_machine_rela, elf_machine_lazy_rel.
7975 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7976 (ELF_DYNAMIC_DO_REL): Likewise.
7977 (ELF_DYNAMIC_DO_RELA): Likewise.
7978 (ELF_DYNAMIC_RELOCATE): Likewise.
7979 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7980 to ELF_DYNAMIC_DO_REL.
7981 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7982 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7983 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7984 elf_machine_rela.
7985 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7986 skip_ifunc, don't call ifunc function if non-zero.
7987 (elf_machine_rela): Likewise.
7988 (elf_machine_lazy_rel): Likewise.
7989 (elf_machine_lazy_rela): Likewise.
7990 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7991 (elf_machine_lazy_rel): Likewise.
7992 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7993 Likewise.
7994 (elf_machine_lazy_rel): Likewise.
7995 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7996 Likewise.
7997 (elf_machine_lazy_rel): Likewise.
7998 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7999 (elf_machine_lazy_rel): Likewise.
8000 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8001 (elf_machine_lazy_rel): Likewise.
8002 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8003 (elf_machine_lazy_rel): Likewise.
8004 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8005 (elf_machine_lazy_rel): Likewise.
8006 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8007 (elf_machine_lazy_rel): Likewise.
8008 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8009 (elf_machine_lazy_rel): Likewise.
8010
68577918
UD
80112011-09-28 Ulrich Drepper <drepper@gmail.com>
8012
8013 * nss/nss_files/files-init.c (_nss_files_init): Use static
8014 initialization for all the *_traced_file variables.
8015
68822d74
AS
80162011-09-28 Andreas Schwab <schwab@redhat.com>
8017
8018 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8019
2056100b
RM
80202011-09-27 Roland McGrath <roland@hack.frob.com>
8021
8022 [BZ #13226]
8023 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8024
32c76b63
AS
80252011-09-27 Andreas Schwab <schwab@redhat.com>
8026
8027 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8028 Reread the line before reparsing it.
8029
bf972c9d
AS
80302011-09-26 Andreas Schwab <schwab@redhat.com>
8031
8032 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8033
e057a1b5
JM
80342011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8035 Maxim Kuvyrkov <maxim@codesourcery.com>
8036 Joseph Myers <joseph@codesourcery.com>
8037
8038 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8039 if needed for __stack_chk_guard.
8040
bc7e1c36
RM
80412011-09-19 Roland McGrath <roland@hack.frob.com>
8042
ecb1482f
RM
8043 * sysdeps/posix/spawni.c (script_execute): Always define it.
8044 It will be optimized away if unused.
8045 (maybe_script_execute): New function.
8046 (__spawni): Call it.
8047
bc7e1c36
RM
8048 * Makerules: Don't include tls.make.
8049 (config-tls): Always set to thread.
8050 * tls.make.c: File removed.
8051
1c3b002b
MF
80522011-09-19 Mike Frysinger <vapier@gentoo.org>
8053
8054 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8055 * config.make.in (CPPFLAGS-config): New substituted variable.
8056
2840865d
UD
80572011-09-15 Ulrich Drepper <drepper@gmail.com>
8058
88738eb6
UD
8059 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8060
cbf645a6 8061 [BZ #13192]
2840865d
UD
8062 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8063 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8064
b402e91a
RM
80652011-09-15 Roland McGrath <roland@hack.frob.com>
8066
8067 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8068 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8069 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8070 (CALL_FAIL): Likewise.
8071 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8072 (CALL_FAIL): Macro removed.
8073 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8074
4c1a1f71
UD
80752011-09-15 Ulrich Drepper <drepper@gmail.com>
8076
8077 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8078 for __FINITE_MATH_ONLY__ == 1.
8079
edc121be
AS
80802011-09-15 Andreas Schwab <schwab@redhat.com>
8081
8082 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8083 __ieee754_sqrt instead of sqrt.
8084 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8085 __ieee754_sqrtf instead of sqrtf.
8086 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8087 __floorf instead of floorf.
8088 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8089 __floorf, __truncf instead of floorf, truncf.
8090
cd205654
UD
80912011-09-14 Ulrich Drepper <drepper@gmail.com>
8092
ee4d0315
UD
8093 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8094
cd205654
UD
8095 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8096 __extern_always_inline.
8097 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8098 32-bit.
8099
48b67d71
AS
81002011-09-14 Andreas Schwab <schwab@redhat.com>
8101
8102 * elf/rtld.c (dl_main): Also relocate in dependency order when
8103 doing symbol dependency testing.
8104
1ae12c75
AS
81052011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8106
8107 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8108 Always define `refsym'.
8109
995a80df
AS
81102011-09-13 Andreas Schwab <schwab@redhat.com>
8111
e529793b
AS
8112 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8113 (__FD_ELT): Renamed from __FDELT.
8114 * misc/bits/select2.h (__FD_ELT): Likewise.
8115 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8116 __FD_MASK instead of __FDELT, __FDMASK.
8117 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8118 Likewise.
8119 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8120 Likewise.
8121
52d4fef8
AS
8122 * elf/Makefile (gen-ldd): Fix pattern.
8123
995a80df
AS
8124 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8125 (init_tls): Likewise.
8126
8682f8b0
UD
81272011-09-12 Ulrich Drepper <drepper@gmail.com>
8128
8129 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8130
de82006d
AS
81312011-09-12 Andreas Schwab <schwab@redhat.com>
8132
a7c8e6a1
AS
8133 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8134 `struct cmsghdr *' instead of `void *'.
8135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8136 Likewise.
8137
0f31fe77
AS
81382011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8139
8140 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8141 if non-absolute.
8142 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8143 ldd_rewrite_script.
0f31fe77 8144
32b4c839
UD
81452011-09-11 Ulrich Drepper <drepper@gmail.com>
8146
83cd1420
UD
8147 * configure.in: Remove --with-tls option.
8148 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8149 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8150 out in case it is missing.
8151 * sysdeps/ia64/elf/configure.in: Likewise.
8152 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8153 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8154 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8155 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8156 * sysdeps/sh/elf/configure.in: Likewise.
8157 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8158 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8159 * sysdeps/x86_64/elf/configure.in: Likewise.
8160 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8161 * sysdeps/mach/hurd/tls.h: Likewise.
8162
633f745d
UD
8163 [BZ #13067]
8164 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8165
f318beb8
UD
8166 [BZ #13090]
8167 * configure.in: Fix use of AC_INIT.
8168
32b4c839
UD
8169 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8170
3ce1f295
UD
81712011-09-10 Ulrich Drepper <drepper@gmail.com>
8172
bb016596
UD
8173 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8174 __set_errno.
8e58439c
UD
8175 * malloc/hooks.c: Likewise.
8176
aebae053 8177 [BZ #11929]
02d46fc4
UD
8178 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8179 variables statically.
8180 (narenas): Initialize.
8181 (list_lock): Initialize.
bb016596
UD
8182 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8183 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8184 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8185 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8186 Add initializers to main_arena and mp_.
8187 (malloc_state): Remove pagesize member. Change all users to use
8188 GLRO(dl_pagesize).
8189
8190 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8191 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8192 is always initialized.
8193
22a89187
UD
8194 * malloc/malloc.c: Removed unused configurations and dead code.
8195 * malloc/arena.c: Likewise.
8196 * malloc/hooks.c: Likewise.
02d46fc4 8197 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8198
d063d164
UD
8199 * include/tls.h: Removed. USE___THREAD must always be defined.
8200 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8201 * elf/dl-libc.c: Likewise.
8202 * elf/dl-tsd.c: Likewise.
8203 * include/errno.h: Likewise.
8204 * include/netdb.h: Likewise.
8205 * include/resolv.h: Likewise.
8206 * inet/herrno-loc.c: Likewise.
8207 * inet/herrno.c: Likewise.
8208 * malloc/arena.c: Likewise.
8209 * malloc/hooks.c: Likewise.
8210 * malloc/malloc.c: Likewise.
8211 * resolv/res-state.c: Likewise.
8212 * resolv/res_libc.c: Likewise.
8213 * sysdeps/i386/dl-machine.h: Likewise.
8214 * sysdeps/ia64/dl-machine.h: Likewise.
8215 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8216 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8217 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8218 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8219 * sysdeps/sh/dl-machine.h: Likewise.
8220 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8221 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8222 * sysdeps/unix/i386/sysdep.S: Likewise.
8223 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8224 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8225 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8226 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8227 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8228 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8229 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8230 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8232 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8233 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8234 * sysdeps/x86_64/dl-machine.h: Likewise.
8235 * tls.make.c: Likewise.
8236
3ce1f295
UD
8237 * configure.in: Remove --with-__thread option. Make tests for
8238 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8239 tls_model attribute fail if no support is available. Remove
8240 USE_IN_LIBIO.
8241 * Makeconfig: Adjust for dropped configure option. All features are
8242 now mandatory.
8243 * Makerules: Likewise.
8244 * Versions.def: Likewise.
8245 * argp/argp-fmtstream.c: Likewise.
8246 * argp/argp-fmtstream.h: Likewise.
8247 * argp/argp-help.c: Likewise.
8248 * assert/assert.c: Likewise.
8249 * config.h.in: Likewise.
8250 * config.make.in: Likewise.
8251 * configure: Likewise.
8252 * configure.in: Likewise.
8253 * csu/Versions: Likewise.
8254 * csu/init.c: Likewise.
8255 * elf/tst-audit2.c: Likewise.
8256 * elf/tst-tls10.c: Likewise.
8257 * elf/tst-tls10.h: Likewise.
8258 * elf/tst-tls11.c: Likewise.
8259 * elf/tst-tls12.c: Likewise.
8260 * elf/tst-tls14.c: Likewise.
8261 * elf/tst-tlsmod11.c: Likewise.
8262 * elf/tst-tlsmod12.c: Likewise.
8263 * elf/tst-tlsmod13.c: Likewise.
8264 * elf/tst-tlsmod13a.c: Likewise.
8265 * elf/tst-tlsmod14a.c: Likewise.
8266 * elf/tst-tlsmod15b.c: Likewise.
8267 * elf/tst-tlsmod16a.c: Likewise.
8268 * elf/tst-tlsmod16b.c: Likewise.
8269 * elf/tst-tlsmod7.c: Likewise.
8270 * elf/tst-tlsmod8.c: Likewise.
8271 * elf/tst-tlsmod9.c: Likewise.
8272 * gmon/gmon.c: Likewise.
8273 * grp/fgetgrent_r.c: Likewise.
8274 * grp/putgrent.c: Likewise.
8275 * hurd/fopenport.c: Likewise.
8276 * include/libc-symbols.h: Likewise.
8277 * include/tls.h: Likewise.
8278 * intl/gettextP.h: Likewise.
8279 * intl/loadinfo.h: Likewise.
8280 * locale/global-locale.c: Likewise.
8281 * locale/localeinfo.h: Likewise.
8282 * mach/devstream.c: Likewise.
8283 * malloc/arena.c: Likewise.
8284 * malloc/set-freeres.c: Likewise.
8285 * misc/err.c: Likewise.
8286 * misc/getttyent.c: Likewise.
8287 * misc/mntent_r.c: Likewise.
8288 * posix/getopt.c: Likewise.
8289 * posix/wordexp.c: Likewise.
8290 * pwd/fgetpwent_r.c: Likewise.
8291 * resolv/Versions: Likewise.
8292 * resolv/res_hconf.c: Likewise.
8293 * shadow/fgetspent_r.c: Likewise.
8294 * shadow/putspent.c: Likewise.
8295 * stdio-common/printf_fphex.c: Likewise.
8296 * stdio-common/tmpfile.c: Likewise.
8297 * stdlib/abort.c: Likewise.
8298 * stdlib/fmtmsg.c: Likewise.
8299 * sunrpc/auth_unix.c: Likewise.
8300 * sunrpc/clnt_perr.c: Likewise.
8301 * sunrpc/clnt_tcp.c: Likewise.
8302 * sunrpc/clnt_udp.c: Likewise.
8303 * sunrpc/clnt_unix.c: Likewise.
8304 * sunrpc/openchild.c: Likewise.
8305 * sunrpc/svc_simple.c: Likewise.
8306 * sunrpc/svc_tcp.c: Likewise.
8307 * sunrpc/svc_udp.c: Likewise.
8308 * sunrpc/svc_unix.c: Likewise.
8309 * sunrpc/xdr.c: Likewise.
8310 * sunrpc/xdr_array.c: Likewise.
8311 * sunrpc/xdr_rec.c: Likewise.
8312 * sunrpc/xdr_ref.c: Likewise.
8313 * sunrpc/xdr_stdio.c: Likewise.
8314
1248c1c4
PB
83152011-09-09 Ulrich Drepper <drepper@gmail.com>
8316
8317 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8318
83192011-07-03 Andreas Jaeger <aj@suse.de>
8320
8321 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8322 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8323 regenerate with gen-libm-tests.pl.
8324
83252010-05-12 Petr Baudis <pasky@suse.cz>
8326
8327 [BZ #11589]
8328 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8329 around j0() zero points by switching to j1().
8330 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8334
f22e1074
UD
83352011-09-09 Ulrich Drepper <drepper@gmail.com>
8336
f19009c1
UD
8337 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8338 instead of 0.
8339 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8340 instead of 0. .
8341 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8342 Patch in part by Pavel Roskin <proski@gnu.org>.
8343
3f8cc204
UD
8344 [BZ #13138]
8345 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8346 realloc.
8347 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8348 Free memory block if necessary.
8349
f22e1074
UD
8350 [BZ #12847]
8351 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8352 be NULL. Don't lock in this case.
8353
0a2349f9
RM
83542011-09-09 Roland McGrath <roland@hack.frob.com>
8355
8356 * elf/elf.h (ELFOSABI_GNU): New macro.
8357 (ELFOSABI_LINUX): Define to that.
8358
f3cdd467
DZ
83592011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8360
8361 * string/strncat.c (strncat): Undef the symbol in case it has been
8362 defined in bits/string.h.
8363
74718d13
UD
83642011-09-09 Ulrich Drepper <drepper@gmail.com>
8365
633e9e0f
UD
8366 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8367
0a2349f9 8368 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8369 link map.
8370
f9924780
AJ
83712011-08-17 Andreas Jaeger <aj@suse.de>
8372
8373 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8374
7f5517aa
PP
83752011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8376 Ian Lance Taylor <iant@google.com>
8377
8378 * math/libm-test.inc (lround_test): New testcase.
8379 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8380
762011fe
UD
83812011-09-08 Ulrich Drepper <drepper@gmail.com>
8382
92963737
UD
8383 * Makefile: Remove support for automatic cvs check-ins.
8384 * Makerules: Likewise.
8385 * config.make.in: Likewise.
8386 * configure.in: Likewise.
8387 * intl/Makefile: Likewise.
8388 * locale/Makefile: Likewise.
8389 * po/Makefile: Likewise.
8390 * posix/Makefile: Likewise.
8391 * sysdeps/gnu/Makefile: Likewise.
8392 * sysdeps/mach/hurd/Makefile: Likewise.
8393 * sysdeps/sparc/sparc32/Makefile: Likewise.
8394
b0727fd8
JS
8395 [BZ #13118]
8396 * posix/Makefile (bug-regex32-ENV): Define.
8397 Patch by John Stanley <jpsinthemix@verizon.net>.
8398
a0f33f99
UD
8399 * misc/Makefile (headers): Add bits/select2.h.
8400 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8401 * misc/bits/select2.h: New file.
8402 * include/bits/select2.h: New file.
8403 * debug/Makefile (routines): Add fdelt_chk.
8404 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8405 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8406 FD_ISSET.
8407 * debug/fdelt_chk.c: New file.
8408
762011fe
UD
8409 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8410 * wcsmbs/test-wmemcmp.c: Likewise.
8411 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8412 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8413
84142011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8415
8416 * string/Makefile (strop-tests): Add memcmp.
8417 * string/test-wmemcmp.c: New file.
8418 * string/test-memcmp.c: Add wmemcmp support.
8419
7f513ec8
RM
84202011-09-08 Roland McGrath <roland@hack.frob.com>
8421
0442afb4
RM
8422 [BZ #13153]
8423 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8424 2011-07-19 change.
8425
7f513ec8
RM
8426 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8427 garbage value in a __mach_port_mod_refs call in the cases of the
8428 task-self and thread-self ports.
8429
a12b2239
ST
84302011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8431
8432 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8433
610f9ab4
AS
84342011-09-08 Andreas Schwab <schwab@redhat.com>
8435
7f513ec8 8436 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8437
48882a1a
LD
84382011-09-07 Ulrich Drepper <drepper@gmail.com>
8439
b49865be
UD
8440 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8441
fdc86bc9
UD
8442 * elf/dl-libc.c (dlerror_run): Pass back error code from
8443 dl_catch_error.
8444
c966526a
UD
8445 [BZ #13123]
8446 * elf/dl-load.c (lose): Free l_origin if it is valid.
8447
48882a1a
LD
8448 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8449 names.
8450 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8451 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8452 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8453 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8454 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8455 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8456
77a2a8b4
AZ
84572011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8458
8459 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8460 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8461 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8462 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8463 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8464 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8465 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8466 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8467 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8468 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8469
24f579d8
AM
84702011-08-15 Alan Modra <amodra@gmail.com>
8471
8472 [BZ #13092]
8473 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8474 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8475 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8476 ppc_mcount to static-only-routines.
8477 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8478 __mcount_internal.
8479 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8480 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8481
3d4837df
UD
84822011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8483
8484 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8485 for finite and infinity parameters.
8486
22700377
WS
84872011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8488
8489 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8490 and add nop instructions for throughput optimization.
8491 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8492
5025581e
WS
84932011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8494
8495 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8496 aligned copy for power7 with vector-scalar instructions.
8497 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8498
08a300c9
L
84992011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8500
8501 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8502 AVX check.
8503
59178ef9
AS
85042011-09-07 Andreas Schwab <schwab@redhat.com>
8505
8506 [BZ #13144]
8507 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8508 last change.
8509
e38ba7ab
UD
85102011-09-07 Ulrich Drepper <drepper@gmail.com>
8511
8512 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8513 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8514 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8515 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8516 clock_gettime.
8517
d53a73ac
UD
85182011-09-06 Ulrich Drepper <drepper@gmail.com>
8519
fc8bffcc
UD
8520 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8521 Forgot to demangle the pointer.
8522
ceaa0c5d
UD
8523 * sysdeps/i386/sysdep.h: Define atom_text_section.
8524 * sysdeps/x86_64/sysdep.h: Likewise.
8525 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8526 section with atom_text_section.
8527 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8528 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8529 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8531 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8532
a77d3c17
UD
8533 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8534 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8535 already be defined. Change to take two parameters and don't assign
8536 result to variable. Adjust all users.
8537 Define INTERNAL_GETTIME if not already defined.
8538 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8539 call.
8540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8541 HAVE_CLOCK_GETTIME_VSYSCALL.
8542 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8543
d53a73ac
UD
8544 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8545 gettimeofday vsyscall, just use time.
8546
a8f84144
AS
85472011-09-06 Andreas Schwab <schwab@redhat.com>
8548
8549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8550 <errno.h>.
8551
ef606249
UD
85522011-09-06 Ulrich Drepper <drepper@gmail.com>
8553
8554 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8555 syscall on x86-64.
8556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8557 syscall.
8558 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8559 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8560 syscall if possible.
8561
6585cb60
UD
85622011-09-05 Ulrich Drepper <drepper@gmail.com>
8563
8564 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8565 e_ident. Don't pass to find_mapsXX.
8566 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8567
a5f524e4
LD
85682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8569
8570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8571 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8572 * sysdeps/x86_64/multiarch/strchr.S: Update.
8573 Check bit_slow_BSF bit.
8574 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8575 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8576 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8577
554881ef
UD
85782011-09-05 Ulrich Drepper <drepper@gmail.com>
8579
d96de963
UD
8580 [BZ #13134]
8581 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8582 before glibc 2.15.
8583 (tryshell): Define.
8584 (__spawni): Change last parameter to be flag. Test
8585 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8586 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8587 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8588 * posix/spawni.c: Likewise.
8589 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8590 * posix/spawnp.c: Likewise. Change normal version to use
8591 SPAWN_XFLAGS_USE_PATH.
8592 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8593 SPAWN_XFLAGS_TRY_SHELL.
8594
d48e5868
UD
8595 [BZ #13150]
8596 * posix/glob.h: Remove gcc 1.x support.
8597
554881ef
UD
8598 [BZ #13068]
8599 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8600
693fb948
LD
86012011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8602
8603 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8604 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8605 strrchr-sse2-bsf
8606 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8607 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8608 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8609 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8610 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8611 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8612
1b48c537
UD
86132011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8614
49d42c37
UD
8615 * sysdeps/x86_64/wcscmp.S: New file.
8616
1b48c537
UD
8617 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8618 wcscmp-c wcscmp-sse2
8619 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8620 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8621 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8622 * wcsmbs/wcscmp.c: Allow renaming.
8623
15c95c5d
DM
86242011-09-05 David S. Miller <davem@davemloft.net>
8625
8626 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8627 stack slot, rather than the struct return pointer slot.
8628 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8629 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8631 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8632
2f0ad8f3
UD
86332011-09-05 Ulrich Drepper <drepper@gmail.com>
8634
d88ae418
UD
8635 * po/ja.po: Update from translation team.
8636
2f0ad8f3
UD
8637 [BZ #13144]
8638 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8639 kernel in 64-bit binaries.
8640
5f4318d1
DM
86412011-09-01 David S. Miller <davem@davemloft.net>
8642
8643 * elf/elf.h (HWCAP_SPARC_*): Move to..
8644 * sysdeps/sparc/sysdep.h: this new file and add new values.
8645 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8646 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8647 _DL_HWCAP_COUNT to 24.
8648 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8649 entries.
8650 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8651 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8652 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8653 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8654 instead of magic constants.
8655 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8656
3ba57516
DM
86572011-08-31 David S. Miller <davem@davemloft.net>
8658
8659 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8660 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8661 Reimplement to do errno handling inline.
8662 (SYSCALL_ERROR_HANDLER): New macro.
8663 (__SYSCALL_STRING): Do not do errno handling in asm.
8664 (__CLONE_SYSCALL_STRING): Delete.
8665 (__INTERNAL_SYSCALL_STRING): Delete.
8666 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8667 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8668 (PSEUDO): Reimplement to do errno handling inline.
8669 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8670 (SYSCALL_ERROR_HANDLER): New macro.
8671 (__SYSCALL_STRING): Do not do errno handling in asm.
8672 (__CLONE_SYSCALL_STRING): Delete.
8673 (__INTERNAL_SYSCALL_STRING): Delete.
8674 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8675 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8676 i386.
8677 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8678 (inline_syscall*): Add 'err' argument.
8679 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8680 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8681 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8682 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8683
8684 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8685 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8686
2bc17433
AS
86872011-08-30 Andreas Schwab <schwab@redhat.com>
8688
8689 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8690
fbeb5f4d
JO
86912011-08-29 Jiri Olsa <jolsa@redhat.com>
8692
8693 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8694 directive.
8695
ad69cc26
DM
86962011-08-24 David S. Miller <davem@davemloft.net>
8697
8698 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8699
39dd69df
AS
87002011-08-24 Andreas Schwab <schwab@redhat.com>
8701
8702 * elf/Makefile: Add rules to build and run unload8 test.
8703 * elf/unload8.c: New file.
8704 * elf/unload8mod1.c: New file.
8705 * elf/unload8mod1x.c: New file.
8706 * elf/unload8mod2.c: New file.
8707 * elf/unload8mod3.c: New file.
8708
8709 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8710 it wasn't used.
8711
2c0b250a
DM
87122011-08-23 David S. Miller <davem@davemloft.net>
8713
8714 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8715 subtract stack bias.
8716 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8717 %sp not %fp in calculations.
8718 (_JMPBUF_UNWINDS_ADJ): Likewise.
8719
22044b48
DM
8720 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8721 (aio_suspend): Call it to force an exception region around the
8722 AIO_MISC_WAIT() invocation.
8723
2cae4995
AS
87242011-08-23 Andreas Schwab <schwab@redhat.com>
8725
8726 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8727 backslash.
8728
873a772e
AJ
87292011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8730
8731 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8732 protection macro.
8733 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8734 and <dl-machine.h>.
8735 (Elf64_FuncDesc): Remove.
8736
25ad0df1
DM
87372011-08-22 David S. Miller <davem@davemloft.net>
8738
8739 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8740 sigaltstack check, add missing cfi directives.
8741 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8742 missing cfi directives, and sigaltstack handling.
8743
e888bcbe
AS
87442011-08-16 Andreas Schwab <schwab@redhat.com>
8745
8746 [BZ #11724]
8747 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8748 object is seen twice.
8749 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8750
8751 * elf/Makefile (distribute): Add tst-initorder2.c.
8752 (tests): Add tst-initorder2.
8753 (modules-names): Add tst-initorder2a tst-initorder2b
8754 tst-initorder2c tst-initorder2d. Add rules to build them.
8755 ($(objpfx)tst-initorder2.out): New rule.
8756 * elf/tst-initorder2.c: New file.
8757 * elf/tst-initorder2.exp: New file.
8758
87162f46
AS
87592011-08-22 Andreas Schwab <schwab@redhat.com>
8760
70538b7f
AS
8761 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8762
f55ffe58
AS
8763 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8764 dependencies back to end of function.
8765
87162f46
AS
8766 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8767 $(elfobjdir)/ld.so.
8768
91b392a4
UD
87692011-08-21 Ulrich Drepper <drepper@gmail.com>
8770
8771 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8772 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8773 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8774 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8775 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8776 of __vdso_gettimeofday.
8777 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8778 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8779 attribute_hidden.
8780 (_libc_vdso_platform_setup): Remove initialization of
8781 __vdso_gettimeofday and __vdso_time.
8782
5c43483f
UD
87832011-08-20 Ulrich Drepper <drepper@gmail.com>
8784
775a77e7
UD
8785 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8786 and fgetc_unlocked.
8787 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8788 getc_unlocked.
89f447ed 8789
49c74ba9
UD
8790 * elf/dl-open.c (add_to_global): Report additions to the global scope
8791 for LD_DEBUG=scopes.
8792 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 8793 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 8794
5c43483f
UD
8795 [BZ #13114]
8796 * stdio-common/Makefile (tests): Add bug24.
8797 * stdio-common/bug24.c: New file.
8798
a101b025
AJ
87992011-08-19 Andreas Jaeger <aj@suse.de>
8800
8801 [BZ #13114]
8802 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8803 non-existant file when using close-on-exec mode.
8804
c88f1766
UD
88052011-08-20 Ulrich Drepper <drepper@gmail.com>
8806
0276a718
UD
8807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8808 the very first instruction.
8809
c88f1766
UD
8810 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8811 the CFI state in the end.
8812 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8813 inclusion of dl-trampoline.h.
8814 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8815
51ccffa0
AS
88162011-08-19 Andreas Schwab <schwab@redhat.com>
8817
94d7165f
AS
8818 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8819 expectations for long double.
8820
51ccffa0
AS
8821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8822 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8823
fd708658 88242011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
8825
8826 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8827 artificual limit depends upon the system page size.
8828
44f0a71e
UD
88292011-08-17 Ulrich Drepper <drepper@gmail.com>
8830
8831 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8832 * resolv/Makefile: Define CFLAGS-libresolv.
8833
8de79a24
AS
88342011-08-17 Andreas Schwab <schwab@redhat.com>
8835
8836 * nss/makedb.c (compute_tables): Make variables used in nested
8837 function static.
8838
27724598
UD
88392011-08-17 Ulrich Drepper <drepper@gmail.com>
8840
c5305d88
UD
8841 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8842 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8843 if buffer was too small.
8844
27724598
UD
8845 * elf/pldd.c (main): Attach to all threads in the process.
8846 Rewrite /proc handling to use *at functions.
8847
076fe015
UD
88482011-08-16 Ulrich Drepper <drepper@gmail.com>
8849
174baab3
UD
8850 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8851 specifies first scope to show.
8852 (dl_open_worker): Update callers. Move printing scope of new
8853 object to before the relocation.
44f0a71e 8854 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
8855 * sysdeps/generic/ldsodefs.h: Update declaration.
8856
076fe015
UD
8857 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8858 string for the scope number.
8859
a60df2c3
UD
88602011-08-14 Ulrich Drepper <drepper@gmail.com>
8861
8862 * nscd/servicescache.c (cache_addserv): Make sure written is always
8863 initialized.
8864
5e4287d1
RM
88652011-08-14 Roland McGrath <roland@hack.frob.com>
8866
85ae0589
RM
8867 * sysdeps/i386/i486/bits/atomic.h
8868 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8869 statement expression, so as to suppress "set but not used" warning.
8870 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8871
69f63097
RM
8872 * string/strncat.c (STRNCAT): Use prototype definition.
8873
675456ef
RM
8874 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8875 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8876 -Iprograms here.
8877 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8878 (localedef-modules): Add localedef.
8879 (locale-modules): Add locale.
8880
5e4287d1
RM
8881 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8882 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8883 to avoid a warning.
8884
9c96ff23
DM
88852011-08-14 David S. Miller <davem@davemloft.net>
8886
8887 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8888 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8889
f9ddf089
UD
88902011-08-13 Ulrich Drepper <drepper@gmail.com>
8891
44f0a71e 8892 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
8893 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8894 * elf/rtld.c (dl_main): Set l_name of vDSO.
8895 Call _dl_show_scope when DL_DEBUG_SCOPES.
8896 (process_dl_debug): Recognize scopes flag and also set it for all.
8897 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8898 Declare _dl_show_scope.
8899
1dc27704
UD
8900 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8901 (do_dlopen): Pass caller_dlopen to dl_open.
8902 (__libc_dlopen_mode): Initialize caller_dlopen.
8903
f9ddf089
UD
8904 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8905 of libc. Make tolower call locale-independent. Optimize a bit by
8906 using isdigit instead of isalnum.
8907 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8908
9ac533d3
UD
89092011-08-12 Ulrich Drepper <drepper@gmail.com>
8910
8911 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8912 was a dependency or dynamically loaded.
8913
89edf2e9
UD
89142011-08-11 Ulrich Drepper <drepper@gmail.com>
8915
8e999d29
UD
8916 * intl/l10nflist.c: Allow architecture-specific pop function.
8917 * sysdeps/x86_64/l10nflist.c: New file.
8918
89edf2e9
UD
8919 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8920 classification.
8921
14d96785
AS
89222011-08-10 Andreas Schwab <schwab@redhat.com>
8923
8924 * include/dirent.h: Add libc_hidden_proto for scandirat and
8925 scandirat64. Don't declare __scandirat64.
8926 * dirent/scandirat.c: Add libc_hidden_def.
8927 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8928 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8929
6761ac04
DM
89302011-08-10 David S. Miller <davem@davemloft.net>
8931
8932 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8933 enum.
8934 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8935 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8936 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8937
c55fbd1e
UD
89382011-08-09 Ulrich Drepper <drepper@gmail.com>
8939
8940 * Versions.def [libc]: Add GLIBC_2.15.
8941 * dirent/Makefile (routines): Add scandirat and scandirat64.
8942 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8943 GLIBC_2.15.
8944 * dirent/dirent.h: Declare scandirat and scandirat64.
8945 * dirent/scandirat.c: New file.
8946 * dirent/scandirat64.c: New file.
8947 * sysdeps/wordsize-64/scandirat.c: New file.
8948 * sysdeps/wordsize-64/scandirat64.c: New file.
8949 * dirent/opendir.c: Define opendirat.
8950 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8951 using scandirat.
8952 * dirent/scandir64.c: Adjust for scandir.c change.
8953 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8954 __scandirat64, and __scandir_cancel_handler.
8955 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8956 additional parameter and use openat instead of open (outside of ld.so).
8957 Add new __opendir as wrapper around __opendirat.
8958 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8959 here without requiring old scandirat implementation.
8960
879165f2
UD
89612011-08-08 Ulrich Drepper <drepper@gmail.com>
8962
8963 * dirent/scandir.c (cancel_handler): Renamed to
8964 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8965 defined. Adjust users.
8966 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8967 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8968
cb7e923b
UD
89692011-08-04 Ulrich Drepper <drepper@gmail.com>
8970
16292edd
UD
8971 * string/test-string.h (IMPL): Use __STRING to expand name and then
8972 stringify it.
8973
cb7e923b
UD
8974 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8975 of cleanups.
8976
cff82933
LD
89772011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8978
8979 * string/Makefile: Update.
8980 (strop-tests): Append strncat.
8981 * string/test-wcscmp.c: New file.
8982 New comprehensive test for wcscmp.
8983 * string/test-strcmp.c: Update.
8984 (WIDE): New define.
8985
9be9bfcc
AS
89862011-07-22 Andreas Schwab <schwab@redhat.com>
8987
8988 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8989 line.
8990
2e96f1c7
AS
89912011-07-26 Andreas Schwab <schwab@redhat.com>
8992
8993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8994 encoding to ACE if AI_IDN.
8995
85188888
JJ
89962011-08-01 Jakub Jelinek <jakub@redhat.com>
8997
8998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8999 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9000
5fa16e9b
LD
90012011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9002
9003 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9004 Fix overflow bug in strncat.
9005 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9006
9007 * string/test-strncat.c: Update.
9008 Add new tests for checking overflow bugs.
9009
90102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9011
9012 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9013 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9014 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9015 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9016 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9017 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9018 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9019 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9020 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9021
9022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9023 (USE_AS_STRCAT): Define.
9024 Add strcat and strncat support.
9025 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9026
8c1a459f
AS
90272011-07-25 Andreas Schwab <schwab@redhat.com>
9028
9029 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9030 __n bigger than INT_MAX+1.
9031 (__strncmp_g): Likewise.
9032
bba33c28
UD
90332011-07-23 Ulrich Drepper <drepper@gmail.com>
9034
798be72d
UD
9035 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9036 * libio/stido.h: Likewise.
9037
8accd4dc
UD
9038 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9039 (AF_NFC): Define.
9040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9041 (AF_NFC): Define.
9042
cbff0d96
UD
9043 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9044 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9045 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9046 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9048
9191c04a
UD
9049 [BZ #13021]
9050 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9051 installed.
9052
bba33c28
UD
9053 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9054 typo.
9055 (_dl_x86_64_save_sse): Likewise.
9056
90f139dd
UD
90572011-07-22 Ulrich Drepper <drepper@gmail.com>
9058
1aae088a
UD
9059 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9060 OSXSAVE.
9061 (_dl_x86_64_save_sse): Likewise.
9062
8e2045f5
UD
9063 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9064
90f139dd
UD
9065 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9066
1d002f25
AS
90672011-07-21 Andreas Schwab <schwab@redhat.com>
9068
9069 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9070 change.
9071 (_dl_x86_64_save_sse): Use correct AVX check.
9072
21137f89
UD
90732011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9074
9075 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9076 bug in strncpy/strncat.
9077 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9078
a65c0b7a
UD
90792011-07-21 Ulrich Drepper <drepper@gmail.com>
9080
9081 * string/tester.c (test_strcat): Add tests for different alignments
9082 of source and destination.
9083 (test_strncat): Likewise.
9084
6986b98a
UD
90852011-07-20 Ulrich Drepper <drepper@gmail.com>
9086
90bb2039
UD
9087 [BZ #12852]
9088 * posix/glob.c (glob): Check passed in values before using them in
9089 expressions to avoid some overflows.
9090 (glob_in_dir): Likewise.
9091
5644ef54
UD
9092 [BZ #13007]
9093 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9094 check for AVX enablement so that we don't crash with old kernels and
9095 new hardware.
9096 * elf/tst-audit4.c: Add same checks here.
9097 * elf/tst-audit6.c: Likewise.
9098
9099 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9100
bfc9dc9b
AS
91012011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9102
9103 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9104
702e64bb
UD
91052011-07-20 Ulrich Drepper <drepper@gmail.com>
9106
9107 * po/cs.po: Update from translation team.
9108 * po/bg.po: Likewise.
9109
295e904f
MP
91102011-07-12 Marek Polacek <mpolacek@redhat.com>
9111
9112 * misc/sys/cdefs.h: Add support for const attribute.
9113 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9114 to gnu_dev_{major,minor,makedev} functions.
9115
3ff94596
MP
91162011-07-20 Marek Polacek <mpolacek@redhat.com>
9117
9118 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9119
28b59fca
AS
91202011-07-20 Andreas Schwab <schwab@redhat.com>
9121
9122 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9123 strlen results.
9124
19df733e
AK
91252011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9126
9127 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9128 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9129 register in order to avoid conflicts with the soft frame pointer
9130 being held in r11 when necessary.
9131 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9132 (INTERNAL_VSYSCALL_NCS): Likewise.
9133
c8835729
MP
91342011-07-14 Marek Polacek <mpolacek@redhat.com>
9135
9136 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9137 * elf/dl-fini.c (_dl_fini): Adjust caller.
9138 * elf/dl-close.c (_dl_close_worker): Likewise.
9139 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9140
b902330c
MP
91412011-07-15 Marek Polacek <mpolacek@redhat.com>
9142
8991e135
MP
9143 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9144 "aux_cache->nlibs < 0".
9145
b902330c
MP
9146 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9147 in the reload-count case.
9148
99710781
LD
91492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9150
9151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9152 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9153 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9154 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9155 * sysdeps/x86_64/multiarch/strcat.S: New file.
9156 * sysdeps/x86_64/multiarch/strncat.S: New file.
9157 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9158 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9159 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9160 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9161 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9162 (USE_AS_STRCAT): Define.
9163 Add strcat and strncat support.
9164 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9165 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9166 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9167 * string/strncat.c: Update.
9168 (USE_AS_STRNCAT): Define.
9169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9170 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9171 and i7.
9172 * sysdeps/x86_64/multiarch/init-arch.h
9173 (bit_Prefer_PMINUB_for_stringop): New.
9174 (index_Prefer_PMINUB_for_stringop): Likewise.
9175 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9176 bit_Prefer_PMINUB_for_stringop.
9177
7dc6bd90
UD
91782011-07-19 Ulrich Drepper <drepper@gmail.com>
9179
9180 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9181 buffer64.
9182 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9183 of casting of buffer.
9184 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9185 buffer32 and buffer64.
9186 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9187 writes instead of casting of buffer.
9188 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9189 buffer32.
9190 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9191 casting of buffer.
9192
e0e72284
AS
91932011-07-19 Andreas Schwab <schwab@redhat.com>
9194
9195 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9196
feb1eb0b
UD
91972011-07-19 Ulrich Drepper <drepper@gmail.com>
9198
9199 * nscd/nscd.c (termination_handler): Don't do anything for a database
9200 if it has not yet been initialized.
9201
298711ff
UD
92022011-07-18 Ulrich Drepper <drepper@gmail.com>
9203
9204 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9205
92062011-07-15 Marek Polacek <mpolacek@redhat.com>
9207
9208 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9209
f9d68389
UD
92102011-07-18 Ulrich Drepper <drepper@gmail.com>
9211
9212 * po/nl.po: Update from translation team.
9213 * po/sv.po: Likewise.
9214
db290cf5
RM
92152011-07-16 Roland McGrath <roland@hack.frob.com>
9216
9217 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9218 now disallowed by GCC.
5c550700 9219
fd5e21c7
RM
9220 * configure.in (use-default-link): Default to yes if a test -shared
9221 link meets our qualifications.
9222 * configure: Regenerated.
9223
5c550700
RM
9224 * config.make.in (output-format): New variable.
9225 * configure.in: Check for ld --print-output-format support.
9226 * configure: Regenerated.
9227 * Makerules ($(common-objpfx)format.lds)
9228 [$(output-format) != unknown]: Just use $(output-format),
9229 instead of the linker-script munging.
9230
9fa2c032
RM
92312011-07-14 Roland McGrath <roland@hack.frob.com>
9232
a6928d51
RM
9233 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9234 of $(common-objpfx)shlib.lds.
9235 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9236
661607b3
RM
9237 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9238 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9239
9fa2c032
RM
9240 * configure.in (-z relro check): Adjust test code to add a large
9241 writable data section after it.
9242 * configure: Regenerated.
9243
defe9061
RM
92442011-07-11 Roland McGrath <roland@hack.frob.com>
9245
9246 * configure.in (-z relro check): Fix test code to make the variable
9247 truly const.
9248 * configure: Regenerated.
9249
319b9ad4
UD
92502011-07-11 Ulrich Drepper <drepper@gmail.com>
9251
9252 * nscd/nscd.h (struct traced_file): Define.
9253 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9254 elements. Add traced_files.
9255 (inotify_fd): Declare.
9256 (register_traced_file): Declare.
9257 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9258 (inotify_fd): Export.
9259 (resolv_conf_descr): Remove.
9260 (nscd_init): Move inotify descriptor creation to main.
9261 Don't register files for notification here.
9262 (register_traced_file): New function.
9263 (invalidate_cache): Don't use reset_res to determine whether to call
9264 res_init, go through the list of registered files.
9265 (main_loop_poll): The inotify descriptors are now stored in the
9266 structures for the traced files.
9267 (main_loop_epoll): Likewise
9268 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9269 to __nss_disable_nscd.
9270 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9271 for a database anymore. Check the records for all the registered
9272 files instead.
9273 * nss/Makefile (libnss_files-routines): Add files-init.
9274 (libnss_db-routines): Add db-init.
9275 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9276 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9277 * nss/nss_db/db-init.c: New file.
9278 * nss/nss_files/files-init.c: New file.
9279 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9280 __nss_lookup_function.
9281 (__nss_lookup_function): Call nss_load_library.
9282 (nss_load_all_libraries): New function.
9283 (__nss_disable_nscd): Take parameter with callback function for files
9284 to register. Set is_nscd. Load all the DSOs for the NSS modules
9285 used for the cached services.
9286 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9287 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9288 options for features to all the files in nscd.
9289
9290 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9291
23bee3e8
RM
92922011-07-10 Roland McGrath <roland@hack.frob.com>
9293
9294 * csu/elf-init.c (__libc_csu_init): Comment typo.
9295
46a5b7f0
UD
92962011-07-09 Ulrich Drepper <drepper@gmail.com>
9297
9298 * po/pl.po: Update from translation team.
9299 * po/ja.po: Likewise.
9300 * po/ru.po: Likewise.
9301 * po/ko.po: Likewise.
9302 * po/fr.po: Likewise.
9303
d30cf5bb
RM
93042011-07-09 Roland McGrath <roland@hack.frob.com>
9305
113ddea4
RM
9306 * configure.in (.ctors/.dtors header and trailer check):
9307 Use an empirical test on a built program.
9308 * configure: Regenerated.
9309
574920b4
RM
9310 * configure.in (-z relro check): Use an empirical test on a built DSO.
9311 Detect, but do not require, on ia64.
9312 * configure: Regenerated.
9313
d30cf5bb
RM
9314 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9315 Update tests that use readelf to use $READELF instead.
9316 * configure: Regenerated.
9317
8538fdb3
UD
93182011-07-08 Ulrich Drepper <drepper@gmail.com>
9319
9320 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9321 if the result is not used.
9322
04d08991
AJ
93232011-07-05 Andreas Jaeger <aj@suse.de>
9324
9325 [BZ#9696]
9326 * stdlib/tst-strtod.c: Add testcase.
9327
de283087
AD
93282011-07-07 Ulrich Drepper <drepper@gmail.com>
9329
4e5f31c8 9330 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9331 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9332 The latter has a higher limit. Take additional parameter to pass to
9333 the new function.
9334 (__pathconf): Pass file to __statfs_link_max.
9335 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9336 __statfs_link_max.
9337 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9338 __statfs_link_max.
9339
de283087
AD
9340 [BZ #12868]
9341 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9342 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9343 Handle Lustre.
9344 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9345 (__statfs_filesize_max): Likewise.
9346 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9347
c75fa153
AJ
93482011-07-05 Andreas Jaeger <aj@suse.de>
9349
9350 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9351
1a544854
UD
93522011-07-06 Marek Polacek <mpolacek@redhat.com>
9353
9354 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9355 `status' variable.
9356 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9357 Likewise.
9358
6f0eec67
UD
93592011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9360
9361 * Makefile (strop-tests): Add strncat.
9362 * string/test-strncat.c: New file.
9363
aae30307
UD
93642011-06-30 Marek Polacek <mpolacek@redhat.com>
9365
9366 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9367
c0cfb5eb
UD
93682011-06-21 Andreas Jaeger <aj@suse.de>
9369
9370 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9371 Copy rule from iconvdata/Makefile.
9372
01636b21
UD
93732011-07-06 Ulrich Drepper <drepper@gmail.com>
9374
9375 [BZ #12922]
9376 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9377 but no long options are defined, just return 'W'.
9378
9895c8bc
UD
93792011-06-22 Marek Polacek <mpolacek@redhat.com>
9380
9381 [BZ #9696]
9382 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9383
5d4cf042
UD
93842011-07-06 Ulrich Drepper <drepper@gmail.com>
9385
9386 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9387 netgroups to read.
960e5535 9388 (innetgr): Likewise.
5d4cf042 9389
751eb97e
RM
93902011-07-05 Roland McGrath <roland@hack.frob.com>
9391
9392 * config.make.in (install_root): Default to $(DESTDIR).
9393
f15f1e45
UD
93942011-07-05 Ulrich Drepper <drepper@gmail.com>
9395
9396 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9397
4e34ac6a
RM
93982011-07-02 Roland McGrath <roland@hack.frob.com>
9399
5e9b6af4
RM
9400 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9401
84f9ea0f
RM
9402 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9403 containing directory rather than embedding absolute directory names.
9404
ea5ee9f7
RM
9405 * scripts/check-local-headers.sh: Rewritten using awk.
9406 Match by word, not by line. Print error messages for matches.
9407 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9408
1b74661a
RM
9409 * Makerules [shlib-lds-flags empty]:
9410 ($(common-objpfx)libc_pic.opts): New target.
9411 ($(common-objpfx)libc_pic.os.clean): New target.
9412 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9413
9414 * config.make.in (OBJCOPY): New variable.
9415 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9416 * configure: Regenerated.
9417
f781ef40
RM
9418 * config.make.in (use-default-link): New variable.
9419 * configure.in (use_default_link): Grok --with-default-link to set it.
9420 * configure: Regenerated.
9421 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9422 (shlib-lds, shlib-lds-flags): Define to empty.
9423
2d4fa81e
RM
9424 * Makerules (shlib-lds): New variable.
9425 (shlib-lds-flags): New variable.
9426 (build-shlib, build-moduile, build-module-asneeded): Use it.
9427 ($(common-objpfx)libc.so): Use $(shlib-lds).
9428 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9429 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9430
31fffa6b
RM
9431 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9432 DT_FLAGS/DT_FLAGS_1 with zero flags.
9433
4e34ac6a
RM
9434 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9435 linker script munging.
9436
fcfc776b
UD
94372011-07-02 Ulrich Drepper <drepper@gmail.com>
9438
9439 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9440 as 128-bit value.
9441 * crypt/sha512.c (sha512_process_block): Perform total addition using
9442 128-bit if possible.
9443 (__sha512_finish_ctx): Likewise.
9444 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9445 as 64-bit value.
9446 * crypt/sha256.c (SWAP64): Define.
9447 (sha256_process_block): Perform total addition using 64-bit if
9448 possible.
9449 (__sha256_finish_ctx): Likewise.
9450
99231d9a
UD
94512011-07-01 Ulrich Drepper <drepper@gmail.com>
9452
9453 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9455 * nscd/hstcache.c (cache_addhst): Likewise.
9456 * nscd/grpcache.c (cache_addgr): Likewise.
9457 * nscd/aicache.c (addhstaiX): Likewise
9458 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9459
445b4a53
TK
94602011-07-01 Thorsten Kukuk <kukuk@suse.de>
9461
9462 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9463 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9464 * nscd/hstcache.c (cache_addhst): Likewise.
9465 * nscd/grpcache.c (cache_addgr): Likewise.
9466 * nscd/aicache.c (addhstaiX): Likewise
9467
6d4d8e8e
AS
94682011-07-01 Andreas Schwab <schwab@redhat.com>
9469
9470 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9471 domain only when needed.
9472
89f654c5
AS
94732011-06-30 Andreas Schwab <schwab@redhat.com>
9474
9475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9476 is always restored.
9477
cf3b23ff
UD
94782011-06-29 Ulrich Drepper <drepper@gmail.com>
9479
9480 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9481 are re-adding the entry.
9482 * nscd/servicescache.c (cache_addserv): Likewise.
9483
751626f9
AJ
94842011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9485
9486 * sysdeps/generic/dl-irel.h: fix protection against multiple
9487 inclusions.
9488 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9489
9113ea1f
UD
94902011-06-28 Ulrich Drepper <drepper@gmail.com>
9491
5c0b8d90
UD
9492 [BZ #12935]
9493 * malloc/memusage.sh: Fix quoting in message.
9494 * debug/xtrace.sh: Likewise.
9495
9113ea1f
UD
9496 * configure.in: Remove support for --experimental-malloc option, make
9497 it the default.
9498 * config.make.in: Likewise.
9499 * malloc/Makefile: Likewise.
9500
a4172181
AS
95012011-06-27 Andreas Schwab <schwab@redhat.com>
9502
9503 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9504 two-byte characters.
9505
78a7eee7
RM
95062011-06-27 Roland McGrath <roland@hack.frob.com>
9507
62bede13
RM
9508 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9509 AC_CACHE_CHECK invocation.
9510 * configure: Regenerated.
9511
78a7eee7
RM
9512 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9513
5ce33a62
UD
95142011-06-27 Ulrich Drepper <drepper@gmail.com>
9515
034807a9
UD
9516 [BZ #12350]
9517 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9518 bit from old_res_options.
9519
4902da17
UD
9520 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9521
5ce33a62
UD
9522 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9523 value type for setfct.
9524
c2344f56
L
95252011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9526
9527 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9528 __gettimeofday instead of gettimeofday.
9529
68468076
UD
95302011-06-26 Ulrich Drepper <drepper@gmail.com>
9531
9532 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9533
acb0d739
L
95342011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9535
9536 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9537
9538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9539 info.
9540
8912479f
L
95412011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9542
9543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9544 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9545 strcpy-sse2-unaligned strncpy-sse2-unaligned
9546 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9547 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9548 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9549 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9550 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9551 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9552 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9553 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9554 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9555 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9556 (STRCPY): Support SSE2 and SSSE3 versions.
9557
d5495a11
UD
95582011-06-24 Ulrich Drepper <drepper@gmail.com>
9559
9560 [BZ #12874]
9561 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9562 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9563 kernels which artificially limit size of requests.
9564
0b1cbaae
L
95652011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9566
9567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9568 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9569 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9570 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9571 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9572 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9573 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9574 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9575 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9576 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9577 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9578 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9579 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9580 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9581 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9583 Enable unaligned load optimization for Intel Core i3, i5 and i7
9584 processors.
9585 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9586 Define.
9587 (index_Fast_Unaligned_Load): Define.
9588 (HAS_FAST_UNALIGNED_LOAD): Define.
9589
07f494a0
MP
95902011-06-23 Marek Polacek <mpolacek@redhat.com>
9591
9592 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9593
fa3fc0fe
UD
95942011-06-22 Ulrich Drepper <drepper@gmail.com>
9595
9596 [BZ #12907]
9597 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9598 until it is clear that the information is realy needed.
9599 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9600
e12df166
AS
96012011-06-22 Andreas Schwab <schwab@redhat.com>
9602
9603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9604
852eb34d
UD
96052011-06-22 Ulrich Drepper <drepper@gmail.com>
9606
84e2a551
UD
9607 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9608 /sys/devices/system/cpu/online if it is usable.
9609
852eb34d
UD
9610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9611 reading the information from the /proc filesystem to once a second.
9612
6e502e19
UD
96132011-06-21 Andreas Jaeger <aj@suse.de>
9614
9615 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9616 NULL after inclusion of kernel headers.
9617
75d39ff2
UD
96182011-06-21 Ulrich Drepper <drepper@gmail.com>
9619
51f9aa6a
UD
9620 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9621 calls to internal_setent.
9622
c0244a9d
UD
9623 [BZ #12885]
9624 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9625 addresses using gethostbyname4_r ignore IPv4 addresses.
9626
c5e3c2ae
UD
9627 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9628 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9629
75d39ff2
UD
9630 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9631
42675c6f
DM
96322011-06-20 David S. Miller <davem@davemloft.net>
9633
9634 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9635 inclusions.
9636 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9637
9638 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9639 (elf_irel): Use it.
9640 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9641 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9642 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9643 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9644 * sysdeps/x86_64/dl-irel.h: Likewise.
9645
9646 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9647 * elf/dl-sym.c: Likewise.
9648
57912a71
UD
96492011-06-15 Ulrich Drepper <drepper@gmail.com>
9650
9651 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9652 need to dereference resplen2.
9653
ee22793d
AS
96542011-06-14 Andreas Schwab <schwab@redhat.com>
9655
9656 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9657
a9e836b0
UD
96582011-06-15 Ulrich Drepper <drepper@gmail.com>
9659
77fb9117
UD
9660 * Makeconfig: Define vardbdir and inst_vardbdir.
9661 * nss/Makefile: Add rules to install db-Makefile.
9662
40c1b22c
UD
9663 * nss/nss_db/db-XXX.c: Cleanup.
9664
9f2da732
UD
9665 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9666 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9667 GLIBC_PRIVATE.
9668 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9669 * nss/makedb.c: Implement -g option to specify that value strings
9670 are generated and should not be added to table iterated over for
9671 get*ent calls.
9672 * nss/nss_db/db-initgroups.c: New file.
9673
82e9a1f7
UD
9674 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9675 interface.
9676
c41af17e
UD
9677 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9678 (internal_getgrouplist): Adjust to name change.
9679 Update use_initgroups_entry if this is not the first call.
9680 * nss/databases.def: Add initgroups entry.
9681
a9e836b0
UD
9682 * nss/makedb.c (compute_tables): Check result of multiple hash table
9683 sizes to minimize maximum chain length.
9684
2666d441
UD
96852011-06-14 Ulrich Drepper <drepper@gmail.com>
9686
9687 * Versions.def: Add entry for libnss_db.
9688 * shlib-versions: Likewise.
9689 * nss/Makefile: Add rules to build libnss_db.
9690 * nss/Versions: Add libnss_db information. Organize libnss_files
9691 entries better.
9692 * nss/db-Makefile: Add gshadow support. Change rules for the new
9693 makedb progra. Some minor improvements to generate smaller files.
9694 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9695 here from...
9696 * nss/makedb.c: ...here.
9697 Improve database format to be smaller and require less memory at
9698 runtime.
9699 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9700 db anymore.
9701 * nss/nss_db/db-netgrp.c: Likewise.
9702 * nss/nss_db/db-open.c: Likewise.
9703 * nss/nss_files/flies-XXX.x: Adjust comments.
9704 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9705 * nss/nss_files/files-grp.c: Likewise.
9706 * nss/nss_files/files-hosts.c: Likewise.
9707 * nss/nss_files/files-network.c: Likewise.
9708 * nss/nss_files/files-proto.c: Likewise.
9709 * nss/nss_files/files-pwd.c: Likewise.
9710 * nss/nss_files/files-rpc.c: Likewise.
9711 * nss/nss_files/files-service.c: Likewise.
9712 * nss/nss_files/files-sgrp.c: Likewise.
9713 * nss/nss_files/files-spwd.c: Likewise.
9714 * nss/nss_db/db-alias.c: Removed.
9715 * nss/nss_db/dummy-db.h: Removed.
9716
9ee76b5a
UD
97172011-06-02 Ulrich Drepper <drepper@gmail.com>
9718
9719 * nss/makedb.c: Rewritten to not use database library.
9720 * nss/Makefile: Update to build new makedb program.
9721
c71ca1f8
AJ
97222011-06-14 Andreas Jaeger <aj@suse.de>
9723
9724 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9725 memset declaration.
9726
3154bfb8
UD
97272011-06-10 Andreas Schwab <schwab@redhat.com>
9728
9729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9730 tmpbuf.
9731
b350afab
RM
97322011-06-10 Roland McGrath <roland@hack.frob.com>
9733
decd4e50
RM
9734 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9735 * elf/Makefile ($(objpfx)ld.so): Likewise.
9736
5615eaf2
RM
9737 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9738 Don't list ld.so twice in dependencies.
9739
9740 * posix/bug-regex31.c: Include <stdlib.h>.
9741
9742 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9743
9744 * nis/nss_compat/compat-spwd.c
9745 (getspent_next_nss_netgr): Remove unused variable.
9746 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9747
9748 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9749 nonmembers" output to use the right array.
9750
9751 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9752
9753 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9754
9755 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9756 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9757 * catgets/gencat.c (read_input_file): Likewise.
9758 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9759
9760 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9761 variable definition inside #if's controlling its use.
9762
9763 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9764
9765 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9766
9767 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9768
9769 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9770 unreachable code.
9771
9772 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9773
b68e08db
RM
9774 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9775 * configure: Regenerated.
9776
b350afab
RM
9777 * Makerules: Revert last change.
9778 * elf/Makefile: Likewise.
9779
28368601
RM
97802011-06-09 Roland McGrath <roland@hack.frob.com>
9781
9782 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9783 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9784 (reloc-link): Likewise.
9785
11988f8f
UD
97862011-06-09 Ulrich Drepper <drepper@gmail.com>
9787
9788 * elf/Makefile: Add rules to build pldd.
9789 * elf/pldd.c: New file.
9790 * elf/pldd-xx.c: New file.
9791
e80fab37
UD
97922011-06-07 Ulrich Drepper <drepper@gmail.com>
9793
9794 * version.h: Update for 2.15 development version.
9795
9b849836
DM
97962011-06-07 David S. Miller <davem@davemloft.net>
9797
9798 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9799 ifuncs.
9800 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9801 elf_machine_lazy_rel): Likewise.
9802 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9803 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9804 elf_machine_lazy_rel): Likewise.
9805 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9806 dl_hwcap via passed in argument.
9807 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9808 Likewise.
9809
5a31b283
AK
98102011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9811
9812 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9813
069e52f8
RM
98142011-06-06 Roland McGrath <roland@hack.frob.com>
9815
9816 [BZ #12849]
9817 * manual/fdl-1.1.texi: New file, verbatim from:
9818 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9819 * manual/lgpl-2.1.texi: New file, verbatim from:
9820 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9821 * manual/Makefile (licenses): New variable, list those new file names.
9822 (texis): Use it.
9823 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9824
9825 * manual/fdl.texi: File removed.
9826 * manual/lesser.texi: File removed.
9827 * manual/libc.texinfo (Copying, Documentation License):
9828 Use new @include file names, put @appendix directive before @include.
9829
f16846a5
JJ
98302011-06-04 Jakub Jelinek <jakub@redhat.com>
9831
9832 [BZ #12841]
9833 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9834 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9835 (mq_open): Add __NTH.
9836
3d29045b
L
98372011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9838
9839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9840 Assume Intel Core i3/i5/i7 processor if AVX is available.
9841
8c297311
UD
98422011-05-31 Ulrich Drepper <drepper@gmail.com>
9843
9844 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9845 typo.
9846
c8fc0c91
UD
98472011-05-31 Andreas Schwab <schwab@redhat.com>
9848
9849 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9850 memory. Use alloca_account. Fix memory leak when retrying.
9851
5b27a807
UD
98522011-05-31 Ulrich Drepper <drepper@gmail.com>
9853
356f8bc6
UD
9854 * version.h (RELEASE): Bump for 2.14 release.
9855 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9856
5b27a807
UD
9857 * config.make.in (RANLIB): Remove entry.
9858
01f16ab0
UD
98592011-05-30 Ulrich Drepper <drepper@gmail.com>
9860
41fce8bd
UD
9861 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9862 (libc.pot): Work around missing support for .ksh extension in xgettext.
9863
4769ae77
UD
9864 [BZ #12684]
9865 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9866 if both request failed.
9867 (send_dg): In case of server errors clear resplen or *resplen2.
9868
6b1e7d19
UD
9869 [BZ #12454]
9870 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9871 when there are multiple maps.
9872 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9873 (_dl_fini): Remove test here.
9874
01f16ab0
UD
9875 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9876
b1ebd700
UD
98772011-05-29 Ulrich Drepper <drepper@gmail.com>
9878
7ae22829
UD
9879 [BZ #12350]
9880 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9881 bit from old_res_options.
9882 (gaih_inet): Likewise.
9883
553149f6 9884 [BZ #11099]
18a84741 9885 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
9886 as signed.
9887
652ffab1
UD
9888 * resolv/res_init.c (res_setoptions): Make the code more compact.
9889
16985fd0
UD
9890 [BZ #11558]
9891 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9892 set RES_USEVC.
9893
0464f746
UD
9894 [BZ #11634]
9895 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9896
7d17596c
UD
9897 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9898
cf6bbbd7
UD
9899 [BZ #11781]
9900 * malloc/malloc.h: Declare malloc hook variables as volatile.
9901
13f1ab36
UD
9902 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9903 in last patch.
9904
b1ebd700
UD
9905 [BZ #11799]
9906 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 9907 raise in the comment.
80e2212d
UD
9908 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9909 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9910 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 9911
ce67228d
UD
99122011-05-28 Ulrich Drepper <drepper@gmail.com>
9913
8887a920
UD
9914 [BZ #12811]
9915 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9916 grow the buffers more if it already has to be sufficient.
9917 (build_wcs_upper_buffer): Likewise.
9918 * posix/regexec.c (check_matching): Likewise.
9919 (clean_state_log_if_needed): Likewise.
9920 (extend_buffers): Don't enlarge buffers beyond size of the input
9921 buffer.
9922 Patches mostly by Emil Wojak <emil@wojak.eu>.
9923 * posix/bug-regex32.c: New file.
9924 * posix/Makefile (tests): Add bug-regex32.
9925
4f031072
UD
9926 * locale/findlocale.c (_nl_find_locale): Return right away if
9927 _nl_explode_name failed.
9928 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9929
d0478f0c
UD
9930 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9931
de81b246
UD
9932 * debug/xtrace.sh: Unify messages.
9933 * malloc/memusage.sh: Likewise.
9934
c738465a
UD
9935 [BZ #12813]
9936 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9937 time symbol from vDSO. Substitute with vsyscall if not available.
9938 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9939 __vdso_time.
9940
f1f929d7
UD
9941 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9942 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9943 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9944 Add sendmmsg and internal_sendmmsg.
9945 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9946 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9947 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9948
ce67228d
UD
9949 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9950 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9951 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9952
e57420c6
UD
99532011-05-27 Ulrich Drepper <drepper@gmail.com>
9954
a8509ca5
UD
9955 [BZ #12813]
9956 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9957 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9958 available.
9959 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9960 __vdso_getcpu.
9961
e57420c6
UD
9962 [BZ #12814]
9963 * iconvdata/Makefile (tests): Add bug-iconv9.
9964 * iconvdata/bug-iconv9.c: New file.
9965
4d07db15
AS
99662011-05-27 Andreas Schwab <schwab@redhat.com>
9967
9968 [BZ #12814]
9969 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9970
ea486f69
JJ
99712011-05-25 Jakub Jelinek <jakub@redhat.com>
9972
9973 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9974 (struct user_regs_struct): Change intcs field back to cs.
9975
6f038433
UD
99762011-05-25 Ulrich Drepper <drepper@gmail.com>
9977
9978 * po/ja.po: Update from translation team.
9979
67f86a25
UD
99802011-05-23 Ulrich Drepper <drepper@gmail.com>
9981
9982 [BZ #12795]
9983 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9984 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9985
def7fbd6
AS
99862011-05-20 Andreas Schwab <schwab@redhat.com>
9987
9988 * stdlib/longlong.h: Update from GCC.
9989
f50ef8f1
AS
99902011-05-23 Andreas Schwab <schwab@redhat.com>
9991
9992 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9993 parameter name.
9994 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9995 Add parameter name.
9996 (__sysconf): Pass it down.
9997
de7ce8f1
UD
99982011-05-22 Ulrich Drepper <drepper@gmail.com>
9999
f2962a71
UD
10000 [BZ #12671]
10001 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10002 some situations.
10003 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10004 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10005 add in in __libc_use_alloca calls. Adjust callers.
10006 (glob): Use malloc in some situations.
10007
de7ce8f1
UD
10008 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10009 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10010 pltexit.
10011
aec84f53
UD
100122011-05-21 Ulrich Drepper <drepper@gmail.com>
10013
05bb4a68
UD
10014 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10015 and CLOCK_BOOTTIME_ALARM.
10016
7ea72f99
UD
10017 [BZ #12782]
10018 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10019 is returned.
10020
7e4afad5
UD
10021 * string/_strerror.c (__strerror_r): Print negative errors as signed
10022 numbers.
10023
8e211fec
UD
10024 [BZ #12777]
10025 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10026 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10027 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10028
f7d82dc9
UD
10029 * configure.in: Fix typo in redirection and correct removal of test
10030 files in two cases.
10031
cc9e536d
UD
10032 [BZ #12788]
10033 * locale/setlocale.c (new_composite_name): Fix test to check for
10034 identical name of all categories.
10035
aec84f53
UD
10036 [BZ #12792]
10037 * libio/filedoalloc.c (local_isatty): New function.
10038 (_IO_file_doallocate): Use local_isatty.
10039 * stdio-common/perror.c (perror): In case a new stream is used
10040 forward the stream error.
10041 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10042 error flag.
10043
78e64fdc
RT
100442011-05-20 Ulrich Drepper <drepper@gmail.com>
10045
34a9094f
UD
10046 [BZ #11869]
10047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10048 alloca.
10049 * include/alloca.h (extend_alloca_account): Define.
10050
78e64fdc
RT
10051 [BZ #11857]
10052 * posix/regex.h: Fix comments with documentation of user-accessible
10053 fields after compilation and describe correct free'ing of pattern
10054 after re_compile_pattern.
10055 Patch by Reuben Thomas <rrt@sc3d.org>.
10056
457bddfc
RA
100572011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10058
10059 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10060 and -mno-altivec to prevent the compiler from using Altivec and/or
10061 VSX instructions when the corresponding registers are not available.
10062
a4527b51
AS
100632011-05-19 Andreas Schwab <schwab@redhat.com>
10064
10065 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10066
ed690b2f
UD
100672011-05-19 Ulrich Drepper <drepper@gmail.com>
10068
10069 * libio/freopen.c (freopen): Use __dup2, not dup2.
10070 * libio/freopen64.c (freopen64): Likewise.
10071
8db73634
L
100722011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10073
10074 [BZ #12775]
10075 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10076 * math/Makefile (tests): Add test-powl.
10077 (CFLAGS-test-powl.c): Define.
10078 * math/test-powl.c: New file.
10079
0a197a9d
L
100802011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10081
10082 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10083
ee30c380
UD
100842011-05-17 Ulrich Drepper <drepper@gmail.com>
10085
10086 [BZ #11837]
10087 * iconvdata/gb18030.c: Update to GB18020-2005.
10088
6ce75379
UD
100892011-05-16 Ulrich Drepper <drepper@gmail.com>
10090
a4b89fd8
AR
10091 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10092 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10093 Patch by Aharon Robbins <arnold@skeeve.com>.
10094
ea389b12
UD
10095 [BZ #11892]
10096 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10097 on the stack.
10098
68a3f91f
UD
10099 [BZ #11895]
10100 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10101 through underflows.
10102
15cc7dd1
UD
10103 [BZ #12766]
10104 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10105 point to strings before performing equality test for error_one_per_line
10106 mode.
10107
f3799213
UD
10108 [BZ #11697]
10109 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10110
d79a9c94
UD
10111 [BZ #11820]
10112 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10113 (struct user_fpregs_struct): Avoid __uint*_t types.
10114
56e5eb46
UD
10115 [BZ #6420]
10116 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10117 symbol info. Use it instead of calling _dl_addr locally.
10118 (lock_and_info): New function.
10119 (tr_freehook): Call lock_and_info and pass symbol info as additional
10120 parameter to tr_where.
10121 (tr_mallochook): Likewise.
10122 (tr_reallochook): Likewise.
10123 (tr_memalignhook): Likewise.
10124
6ce75379
UD
10125 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10126 used and couldn't be at all thread-safe.
10127
f8a3b5bf
UD
101282011-05-15 Ulrich Drepper <drepper@gmail.com>
10129
94b7cc37
UD
10130 * libio/freopen.c (freopen): Don't close old file descriptor
10131 before the new one is opened. Instead dup the new file descriptor
10132 to the old one after the new stream is created.
10133 * libio/freopen64.c (freopen64): Likewise.
10134 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10135 * libio/fileops.c (_IO_new_file_close_it): Handle new
10136 _IO_FLAGS2_NOCLOSE flag.
10137 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10138 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10139 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10140 _IO_FLAGS2_NOCLOSE flag.
10141 * include/unistd.h: Add hidden_proto for dup3.
10142 Define __have_dup3.
10143 * io/dup3.c: Define hidden symbol.
10144 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10145
bd25564e
UD
10146 [BZ #7101]
10147 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10148 when an incomplete long option is used.
10149 * posix/tst-getopt_long1.c: New file.
10150 * posix/Makefile (tests): Add tst-getopt_long1.
10151
c84cfef4
UD
10152 [BZ #10138]
10153 * scripts/config.guess: Update from autoconf-2.68.
10154 * scripts/config.sub: Likewise.
10155
3b85df27
UD
10156 [BZ #10157]
10157 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10158 tests into ...
10159 (has_cpuclock): ...this. New function.
10160 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10161 macro here based on has_cpuclock code.
10162
15a856b1
UD
10163 [BZ #10149]
10164 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10165 First byte (not low byte) is now always NUL.
10166 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10167
05f399e6
UD
10168 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10169 Use non-cancelable interfaces.
10170
10a52685 10171 [BZ #9809]
94ecc67d
UD
10172 * locale/iso-639.def: Add entry for Sorani.
10173
f8a3b5bf
UD
10174 [BZ #11901]
10175 * include/stdlib.h: Move include protection to the right place.
10176 Define abort_msg_s. Declare __abort_msg with it.
10177 * stdlib/abort.c (__abort_msg): Adjust type.
10178 * assert/assert.c (__assert_fail_base): New function. Majority
10179 of code from __assert_fail. Allocate memory for __abort_msg with
10180 mmap.
10181 (__assert_fail): Now call __assert_fail_base.
10182 * assert/assert-perr.c: Remove bulk of implementation. Use
10183 __assert_fail_base.
10184 * include/assert.hL Declare __assert_fail_base.
10185 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10186 mmap.
10187 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10188
1af4e298
UD
101892011-05-14 Ulrich Drepper <drepper@gmail.com>
10190
f8a3b5bf 10191 [BZ #11952]
d26dfc60
MG
10192 [BZ #12453]
10193 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10194 until all modules are registered in the DTV.
10195 * elf/Makefile: Add rules to build and run tst-tls19.
10196 * elf/tst-tls19.c: New file.
10197 * elf/tst-tls19mod1.c: New file.
10198 * elf/tst-tls19mod2.c: New file.
10199 * elf/tst-tls19mod3.c: New file.
10200 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10201
2fc54d6f
UD
10202 [BZ #12083]
10203 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10204 correctly.
10205
98d76b46
UD
10206 [BZ #12601]
10207 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10208 two-byte sequence errors.
10209 * iconvdata/Makefile (tests): Add bug-iconv8.
10210 * iconvdata/bug-iconv8.c: New file.
10211
da3c19ef
UD
10212 [BZ #12626]
10213 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10214 buf2 definition.
10215
ca408c15
UD
10216 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10217
d6f67f7d
UD
10218 [BZ #12432]
10219 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10220 (dummy_getcfa): New function.
10221 (init): Get _Unwind_GetCFA address, use dummy if not found.
10222 (backtrace_helper): In recursion check, also check whether CFA changes.
10223 (__backtrace): Completely initialize arg.
10224
1af4e298 10225 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10226 storing incomplete byte sequence in state object. Avoid testing for
10227 guaranteed too small input if we know there is enough data available.
1af4e298 10228
da62f81b
AS
102292011-05-11 Andreas Schwab <schwab@redhat.com>
10230
10231 * Makeconfig (+link-pie): Indent.
10232 * Rules (binaries-pie): Define if $(have-fpie) and
10233 $(build-shared).
10234 (binaries-shared): Also filter out $(binaries-pie).
10235 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10236 * nscd/Makefile (others-pie): Add nscd.
10237 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10238 ($(objpfx)nscd): Remove command override.
10239 * login/Makefile (others-pie): Add pt_chown.
10240 ($(objpfx)pt_chown): Remove command override.
10241 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10242 remove command overrides.
10243
fcabc0f8
UD
102442011-05-13 Ulrich Drepper <drepper@gmail.com>
10245
20030ae6
UD
10246 * libio/tst_putwc.c: Fix error messages.
10247
fcabc0f8
UD
10248 [BZ #12724]
10249 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10250 currently writing and seek to current position when not.
10251 * libio/Makefile (tests): Add bug-fclose1.
10252 * libio/bug-fclose1.c: New file.
10253
320a5dc0
PB
102542011-05-12 Ulrich Drepper <drepper@gmail.com>
10255
10256 [BZ #12511]
10257 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10258 don't set DF_1_NODELETE here.
10259 (do_lookup_x): When entering new entry test for copy relocation
10260 and if necessary set DF_1_NODELETE flag.
10261 * elf/tst-unique4.cc: New file.
10262 * elf/tst-unique4.h: New file.
10263 * elf/tst-unique4lib.cc: New file.
10264 * elf/Makefile: Add rules to build and run tst-unique4.
10265 Patch by Piotr Bury <pbury@goahead.com>.
10266
22836f52
UD
102672011-05-11 Ulrich Drepper <drepper@gmail.com>
10268
f574184a
UD
10269 [BZ #12052]
10270 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10271
e1fb097f
UD
10272 [BZ #12625]
10273 * misc/mntent_r.c (addmntent): Flush the stream after the output
10274
22836f52
UD
10275 [BZ #12393]
10276 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10277 (is_trusted_path_normalize): Skip initial colon. Append slash
10278 to empty buffer. Duplicate is_trusted_path code but allow
10279 constructed patch to be prefix.
10280 (is_dst): Allow $ORIGIN followed by /.
10281 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10282 Correct testing of result of is_trusted_path_normalize
10283 (decompose_rpath): Fix warning.
10284
7b3b0b2a
UD
102852011-05-10 Ulrich Drepper <drepper@gmail.com>
10286
10287 [BZ #11257]
10288 * grp/initgroups.c (internal_getgrouplist): When we found the service
10289 list through the initgroups entry in nsswitch.conf do not always
10290 continue on a successful lookup. Don't always use the
eac80ce2 10291 __nss_group_database value if it is set.
7b3b0b2a
UD
10292 * nss/nsswitch.conf (initgroups): Change action for successful db
10293 lookup to continue for compatibility.
10294
2a81eaa5
UD
102952011-05-09 Ulrich Drepper <drepper@gmail.com>
10296
be97a69e
UD
10297 [BZ #11532]
10298 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10299 and CP774 modules.
10300 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10301 and CP774 modules.
10302 * iconvdata/tst-tables.sh: Likewise.
10303 * iconvdata/cp770.c: New file.
10304 * iconvdata/cp771.c: New file.
10305 * iconvdata/cp772.c: New file.
10306 * iconvdata/cp773.c: New file.
10307 * iconvdata/cp774.c: New file.
10308 * iconvdata/testdata/CP770: New file.
10309 * iconvdata/testdata/CP770..UTF8: New file.
10310 * iconvdata/testdata/CP771: New file.
10311 * iconvdata/testdata/CP771..UTF8: New file.
10312 * iconvdata/testdata/CP772: New file.
10313 * iconvdata/testdata/CP772..UTF8: New file.
10314 * iconvdata/testdata/CP773: New file.
10315 * iconvdata/testdata/CP773..UTF8: New file.
10316 * iconvdata/testdata/CP774: New file.
10317 * iconvdata/testdata/CP774..UTF8: New file.
10318
10319 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10320 END CHARMAP line.
10321 * iconvdata/gen-8bit-gap.sh: Likewise.
10322 * iconvdata/gen-8bit.sh: Likewise.
10323
c1e9e399
UD
10324 * locale/iso-639.def: Add ary entry.
10325
24c55fb3 10326 [BZ #11258]
96b4b1b0
UD
10327 * locale/C-translit.h.in: Add U20A1 transliteration.
10328
bdc2f971
KB
10329 [BZ #12178]
10330 * locale/iso-639.def: Add wae entry.
10331 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10332
2952b117
UD
10333 [BZ #12545]
10334 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10335 for n.
10336
2a81eaa5
UD
10337 [BZ #12711]
10338 * locale/C-translit.h.in: Add entry for U20B9.
10339 Patch by pravin.d.s@gmail.com.
10340
28377d1b
UD
103412011-05-08 Ulrich Drepper <drepper@gmail.com>
10342
7fb90fb8
UD
10343 [BZ #12713]
10344 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10345 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10346 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10347 in rtld. Use *stat64.
7fb90fb8 10348 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10349 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10350 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10351 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10352 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10353 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10354 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10355 __fstatat64 macros.
7fb90fb8
UD
10356 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10357 * dirent/rewinddir.c: Add libc_hidden_def.
10358 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10359 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10360
28377d1b
UD
10361 * include/dirent.h (__alloc_dir): Add flags parameter.
10362 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10363 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10364 __alloc_dir.
10365 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10366 from fdopendir if O_CLOEXEC is already set.
10367
66bdbaa4
AM
103682011-03-15 Alan Modra <amodra@gmail.com>
10369
10370 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10371 l_tls_firstbyte_offset non-zero. Save padding offset in
10372 l_tls_firstbyte_offset for later use.
10373 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10374 freeing static tls block.
10375
95721191
JN
103762011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10377
10378 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10379 where #ifdef was intended. The intent is to prevent ARG_MAX from
10380 being defined by the kernel headers.
10381
f87dfb1f
UD
103822011-05-07 Ulrich Drepper <drepper@gmail.com>
10383
10384 [BZ #12734]
10385 * resolv/resolv.h: Define RES_NOTLDQUERY.
10386 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10387 no-tld-query and set RES_NOTLDQUERY.
10388 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10389 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10390 modern BIND to search name as TLD unless forbidden.
10391
47c3cd7a
UD
103922011-05-07 Petr Baudis <pasky@suse.cz>
10393 Ulrich Drepper <drepper@gmail.com>
10394
10395 [BZ #12393]
10396 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10397 (is_trusted_path): ...to here.
c1e9ea35 10398 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10399 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10400 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10401
8a35c912
PP
104022011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10403
10404 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10405 __BEGIN/__END_DECLS.
10406
acd41f47
UD
104072011-05-06 Ulrich Drepper <drepper@gmail.com>
10408
10409 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10410 NSS_STATUS_NOTFOUND if no record was found.
10411
597df647
AS
104122011-05-05 Andreas Schwab <schwab@redhat.com>
10413
10414 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10415 (headers-not-in-tirpc): Remove rpc/netdb.h
10416 * resolv/netdb.h: Revert last change.
10417
b9af1301
PP
104182011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10419
10420 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10421 circular dependency between libgcc.a and libc.a.
10422
4e34d5f5
AS
104232011-05-05 Andreas Schwab <schwab@redhat.com>
10424
10425 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10426 * nis/Makefile: Don't install rpcsvc/*.
10427 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10428 instead of <rpc/types.h>.
10429 (MAXHOSTNAMELEN): Define.
10430
00ee369c
AS
104312011-05-03 Andreas Schwab <schwab@redhat.com>
10432
10433 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10434
0b592a30
MB
104352011-04-28 Maciej Babinski <mbabinski@google.com>
10436
10437 [BZ #12714]
10438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10439 gethostbyname4_r when IPv6 results are possible.
10440
6e04cbbe
UD
104412011-05-02 Ulrich Drepper <drepper@gmail.com>
10442
10443 [BZ #12723]
10444 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10445 _PC_PIPE_BUF handling.
10446
e4ecafe0
BH
104472011-04-30 Bruno Haible <bruno@clisp.org>
10448
10449 [BZ #12717]
10450 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10451 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10452 to 'int'.
10453 * inet/getnameinfo.c (getnameinfo): Likewise.
10454
125ee683
UD
104552011-04-29 Ulrich Drepper <drepper@gmail.com>
10456
10457 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10458 to groups setting in database lookup.
10459 * nss/nsswitch.conf: Add initgroups entry.
10460
b722481a
EB
104612011-04-22 Ulrich Drepper <drepper@gmail.com>
10462
10463 [BZ #12685]
10464 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10465 mode string.
10466 Patch by Eric Blake <eblake@redhat.com>.
10467
4df46dbd
L
104682011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10469
10470 * sunrpc/Makefile (need-export-routines): Add svc_run.
10471 (routines): Remove svc_run.
10472 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10473 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10474 * sunrpc/svc_run.c (svc_run): Likewise.
10475 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10476
e84142d2
UD
104772011-04-21 Ulrich Drepper <drepper@gmail.com>
10478
10479 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10480 problem in reallocation in last patch.
10481
877175d8
UD
104822011-04-20 Ulrich Drepper <drepper@gmail.com>
10483
10484 * sunrpc/Makefile: Move inclusion of Rules.
10485
ab8eed78
UD
104862011-04-19 Ulrich Drepper <drepper@gmail.com>
10487
10488 * nss/nss_files/files-initgroups.c: New file.
10489 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10490 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10491 _nss_files_initgroups_dyn.
10492
e3d8f584
RS
104932011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10494
10495 * elf/elf.h (R_ARM_IRELATIVE): Define.
10496
af190f45
UD
104972011-04-19 Ulrich Drepper <drepper@gmail.com>
10498
10499 * po/ru.po: Update from translation team.
10500
53cf59ef
UD
105012011-04-17 Ulrich Drepper <drepper@gmail.com>
10502
10503 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10504 dependencies.
10505
4c559bcd
MF
105062011-02-06 Mike Frysinger <vapier@gentoo.org>
10507
10508 [BZ #12653]
10509 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10510 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10511 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10512 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10513 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10514
4420675c
AS
105152011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10516
10517 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10518 differing bytes.
10519 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10520 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10521 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10522
75ea32ab
UD
105232011-04-17 Ulrich Drepper <drepper@gmail.com>
10524
10525 [BZ #12420]
10526 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10527 storing it.
10528 * stdlib/bug-getcontext.c: New file.
10529 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10530
27390476
AK
105312011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10532
10533 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10534 instructions into .machine "z9-109".
10535 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10536 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10537
10442705
AK
105382011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10539
10540 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10541 between environment variables and auxiliary vector.
10542
7b57bfe5
UD
105432011-04-16 Ulrich Drepper <drepper@gmail.com>
10544
10545 * Makefile: Add rules to build linkobj/libc.so.
10546 * include/libc-symbols.h: Define libc_hidden_nolink.
10547 * include/rpc/auth.h: Mark functions which are to be hidden.
10548 * include/rpc/auth_des.h: Likewise.
10549 * include/rpc/auth_unix.h: Likewise.
10550 * include/rpc/clnt.h: Likewise.
10551 * include/rpc/des_crypt.h: Likewise.
10552 * include/rpc/key_prot.h: Likewise.
10553 * include/rpc/pmap_clnt.h: Likewise.
10554 * include/rpc/pmap_prot.h: Likewise.
10555 * include/rpc/pmap_rmt.h: Likewise.
10556 * include/rpc/rpc_msg.h: Likewise.
10557 * include/rpc/svc.h: Likewise.
10558 * include/rpc/svc_auth.h: Likewise.
10559 * include/rpc/xdr.h: Likewise.
10560 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10561 * nss/Makefile: Likewise.
10562 * sunrpc/Makefile: Don't install headers. Build library with normal
10563 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10564 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10565 for the compat linking library. Remove use of INTDEF/INTUSE.
10566 * sunrpc/auth_none.c: Likewise.
10567 * sunrpc/auth_unix.c: Likewise.
10568 * sunrpc/authdes_prot.c: Likewise.
10569 * sunrpc/authuxprot.c: Likewise.
10570 * sunrpc/clnt_gen.c: Likewise.
10571 * sunrpc/clnt_perr.c: Likewise.
10572 * sunrpc/clnt_raw.c: Likewise.
10573 * sunrpc/clnt_simp.c: Likewise.
10574 * sunrpc/clnt_tcp.c: Likewise.
10575 * sunrpc/clnt_udp.c: Likewise.
10576 * sunrpc/clnt_unix.c: Likewise.
10577 * sunrpc/des_crypt.c: Likewise.
10578 * sunrpc/des_soft.c: Likewise.
10579 * sunrpc/get_myaddr.c: Likewise.
10580 * sunrpc/key_call.c: Likewise.
10581 * sunrpc/key_prot.c: Likewise.
10582 * sunrpc/netname.c: Likewise.
10583 * sunrpc/pm_getmaps.c: Likewise.
10584 * sunrpc/pm_getport.c: Likewise.
10585 * sunrpc/pmap_clnt.c: Likewise.
10586 * sunrpc/pmap_prot.c: Likewise.
10587 * sunrpc/pmap_prot2.c: Likewise.
10588 * sunrpc/pmap_rmt.c: Likewise.
10589 * sunrpc/publickey.c: Likewise.
10590 * sunrpc/rpc_cmsg.c: Likewise.
10591 * sunrpc/rpc_common.c: Likewise.
10592 * sunrpc/rpc_dtable.c: Likewise.
10593 * sunrpc/rpc_prot.c: Likewise.
10594 * sunrpc/rpc_thread.c: Likewise.
10595 * sunrpc/rtime.c: Likewise.
10596 * sunrpc/svc.c: Likewise.
10597 * sunrpc/svc_auth.c: Likewise.
10598 * sunrpc/svc_authux.c: Likewise.
10599 * sunrpc/svc_raw.c: Likewise.
10600 * sunrpc/svc_run.c: Likewise.
10601 * sunrpc/svc_simple.c: Likewise.
10602 * sunrpc/svc_tcp.c: Likewise.
10603 * sunrpc/svc_udp.c: Likewise.
10604 * sunrpc/svc_unix.c: Likewise.
10605 * sunrpc/svcauth_des.c: Likewise.
10606 * sunrpc/xcrypt.c: Likewise.
10607 * sunrpc/xdr.c: Likewise.
10608 * sunrpc/xdr_array.c: Likewise.
10609 * sunrpc/xdr_float.c: Likewise.
10610 * sunrpc/xdr_intXX_t.c: Likewise.
10611 * sunrpc/xdr_mem.c: Likewise.
10612 * sunrpc/xdr_rec.c: Likewise.
10613 * sunrpc/xdr_ref.c: Likewise.
10614 * sunrpc/xdr_sizeof.c: Likewise.
10615 * sunrpc/xdr_stdio.c: Likewise.
10616
e6c61494
UD
106172011-04-10 Ulrich Drepper <drepper@gmail.com>
10618
10619 [BZ #12650]
10620 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10621 * sysdeps/ia64/dl-tls.h: Likewise.
10622 * sysdeps/powerpc/dl-tls.h: Likewise.
10623 * sysdeps/s390/dl-tls.h: Likewise.
10624 * sysdeps/sh/dl-tls.h: Likewise.
10625 * sysdeps/sparc/dl-tls.h: Likewise.
10626 * sysdeps/x86_64/dl-tls.h: Likewise.
10627 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10628
34fe483e
AS
106292011-03-14 Andreas Schwab <schwab@redhat.com>
10630
10631 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10632 rpath element also skip the following colon.
10633 (expand_dynamic_string_token): Add is_path parameter and pass
10634 down to DL_DST_REQUIRED and _dl_dst_substitute.
10635 (decompose_rpath): Call expand_dynamic_string_token with
10636 non-zero is_path. Ignore empty rpaths.
10637 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10638 with zero is_path.
10639
f12a32e6
AS
106402011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10641
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10643 Make cancelable.
10644
38a7d692
UD
106452011-04-09 Ulrich Drepper <drepper@gmail.com>
10646
10647 [BZ #12655]
10648 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10649 Patch by Filipe David Manana <fdmanana@apache.org>.
10650
e451d22b
AS
106512011-04-07 Andreas Schwab <schwab@redhat.com>
10652
10653 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10654 Maintain aligned stack.
10655 (CHECK_RSP): Remove unused macro.
10656
dedc7c7b
UD
106572011-04-03 Ulrich Drepper <drepper@gmail.com>
10658
10659 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10660 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10661
94521213
UD
106622011-04-02 Ulrich Drepper <drepper@gmail.com>
10663
10664 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10665
8cb700c0 10666 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 10667
0354e355
L
106682011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10669
10670 [BZ #12518]
10671 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10672 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10673 * sysdeps/x86_64/memmove.c: New file.
10674 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10675 (memcpy): Renamed to ...
10676 (__new_memcpy): This.
10677 (memcpy): Provide GLIBC_2_14 memcpy.
10678 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10679 (memcpy): Provide GLIBC_2_2_5 memcpy.
10680
8593482f
UD
106812011-04-01 Ulrich Drepper <drepper@gmail.com>
10682
10683 [BZ #12631]
10684 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10685
81a5726b
AS
106862011-03-30 Andreas Schwab <schwab@redhat.com>
10687
10688 * misc/syncfs.c: New file.
10689 * misc/Makefile (routines): Add syncfs.
10690 * posix/unistd.h: Declare syncfs.
10691 * sysdeps/unix/syscalls.list: Add syncfs.
10692
00e5419f
AS
106932011-04-01 Andreas Schwab <schwab@redhat.com>
10694
10695 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10696 open_by_handle_at.
10697 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10698 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10699 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10700 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10702 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10703 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10704
748876bf
UD
107052011-04-01 Ulrich Drepper <drepper@gmail.com>
10706
658e451d
UD
10707 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10708 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10709 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10710 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10711 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10713 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10714
748876bf
UD
10715 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10716 sync_file_range.c with -fexceptions.
10717 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10718 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10719 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10720 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10721 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10722 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10723 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
10724 sync_file_range as cancellation point
10725 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10726 now a wrapper around __call_sync_file_range with cancellation handling.
10727 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10728 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10729 function name to __call_sync_file_range.
10730 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10731 Add call_sync_file_range.
748876bf 10732
6e63d5e1
AS
107332011-04-01 Andreas Schwab <schwab@redhat.com>
10734
10735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 10736 bits/timex.h.
6e63d5e1 10737
46998f74
UD
107382011-04-01 Ulrich Drepper <drepper@gmail.com>
10739
4c1423ed
UD
10740 * iconv/iconv.h: Fix typo in comment.
10741 * io/fcntl.h: Likewise.
10742 * libio/stdio.h: Likewise.
10743 * posix/spawn.h: Likewise.
10744 * posix/unistd.h: Likewise.
10745 * stdlib/stdlib.h: Likewise.
10746 * time/time.h: Likewise.
10747 * wcsmbs/wchar.h: Likewise.
10748
158648c0
UD
10749 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10750 open_by_handle): Add.
10751 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10752 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10753 Augment a few comments.
10754 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10756 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10757 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10758 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10759 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10760 open_by_handle.
10761
46998f74
UD
10762 * io/fcntl.h (AT_EMPTY_PATH): Define.
10763
83fe108b
UD
107642011-03-30 Ulrich Drepper <drepper@gmail.com>
10765
10766 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10767 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10768 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10769 to...
10770 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
10771 * Versions.def: Add GLIBC_2.14.
10772 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10773 Export.
83fe108b 10774
bb242059
UD
107752011-03-22 Ulrich Drepper <drepper@gmail.com>
10776
10777 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10778 round counter.
10779 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10780
c97a1282
L
107812011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10782
10783 [BZ #12597]
10784 * string/test-strncmp.c (do_page_test): New function.
10785 (check2): Likewise.
10786 (test_main): Call check2.
10787 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10788
2a115601
UD
107892011-03-20 Ulrich Drepper <drepper@gmail.com>
10790
10791 [BZ #12587]
10792 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10793 Handle cache information in CPU leaf 4.
10794 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10795
8126d904
UD
107962011-03-18 Ulrich Drepper <drepper@gmail.com>
10797
042c49c6 10798 [BZ #12583]
8126d904
UD
10799 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10800 character representation.
10801 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10802
ccfe366e
RA
108032011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10804
10805 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10806 END(__isnan) to END(__isnanf) to match function entry point/label
10807 EALIGN(__isnanf,...).
10808
c6e13027
JJ
108092011-03-10 Jakub Jelinek <jakub@redhat.com>
10810
10811 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10812
33f85a3f
UD
108132011-03-10 Ulrich Drepper <drepper@gmail.com>
10814
028478fa
UD
10815 [BZ #12510]
10816 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10817 copy from the symbol referenced in the relocation to initialize the
10818 used variable.
10819 Patch by Piotr Bury <pbury@goahead.com>.
10820 * elf/Makefile: Add rules to build and tst-unique3.
10821 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10822 * elf/tst-unique3.cc: New file.
10823 * elf/tst-unique3.h: New file.
10824 * elf/tst-unique3lib.cc: New file.
10825 * elf/tst-unique3lib2.cc: New file.
10826
33f85a3f
UD
10827 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10828
03592fc7
MF
108292011-03-10 Mike Frysinger <vapier@gentoo.org>
10830
10831 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10832 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10833 to _start.
03592fc7 10834
6a5ee102
UD
108352011-03-06 Ulrich Drepper <drepper@gmail.com>
10836
10837 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10838 to-be-loaded object along a path to loader is ld.so.
10839
7e4ba49c
HJ
108402011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10841 Ulrich Drepper <drepper@gmail.com>
10842
10843 * sysdeps/x86_64/memset.S: After aligning destination, code
10844 branches to different locations depending on the value of
10845 misalignment, when multiarch is enabled. Fix this.
10846
108472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10848
10849 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10850 Set _x86_64_preferred_memory_instruction for AMD processsors.
10851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10852 Set bit_Prefer_SSE_for_memop for AMD processors.
10853
13a804de
UD
108542011-03-04 Ulrich Drepper <drepper@gmail.com>
10855
10856 * libio/fmemopen.c (fmemopen): Optimize a bit.
10857
9d25c392
AS
108582011-03-03 Andreas Schwab <schwab@redhat.com>
10859
10860 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10861
a5543c6a
RM
108622011-03-03 Roland McGrath <roland@redhat.com>
10863
10864 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10865
012d35f7
DM
108662011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10867
7e4ba49c 10868 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
10869 __bzero_ultra1 instead of __memset_ultra1.
10870
4bff6e01
AS
108712011-02-23 Andreas Schwab <schwab@redhat.com>
10872 Ulrich Drepper <drepper@gmail.com>
10873
10874 [BZ #12509]
10875 * include/link.h (struct link_map): Add l_orig_initfini.
10876 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10877 returning unsuccessfully.
10878 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10879 close of a file loaded at startup, restore the original l_initfini
10880 list.
10881 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10882 list, store the pointer.
10883 * elf/Makefile ($(objpfx)noload-mem): New rule.
10884 (noload-ENV): Define.
10885 (tests): Add $(objpfx)noload-mem.
10886 * elf/noload.c: Include <memcheck.h>.
10887 (main): Call mtrace. Close all opened handles.
10888
f2092faf
AS
108892011-02-17 Andreas Schwab <schwab@redhat.com>
10890
10891 [BZ #12454]
10892 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10893 dependencies are missing.
10894
6c8a2e88
ST
108952011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10896
f2092faf 10897 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
10898 Hurd needs munmap.
10899 * sysdeps/mach/hurd/ifreq.h: New file.
10900
84a42118
PB
109012011-01-27 Petr Baudis <pasky@suse.cz>
10902 Ulrich Drepper <drepper@gmail.com>
10903
071f805e 10904 [BZ 12445]#
84a42118
PB
10905 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10906 to extend_alloca().
10907 * stdio-common/bug23.c: New file.
10908 * stdio-common/Makefile (tests): Add bug23.
10909
e23fe25b
AS
109102010-09-28 Andreas Schwab <schwab@redhat.com>
10911 Ulrich Drepper <drepper@gmail.com>
10912
10913 [BZ #12489]
10914 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10915 before performing relro protection. At old place add assertion
10916 to make sure nothing changed.
10917
d3f02e10
NS
109182011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10919 Glauber de Oliveira Costa <glommer@gmail.com>
10920
10921 * elf/elf.h: Add new ARM TLS relocs.
10922
d55fd7a5
RA
109232011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10924
10925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10926 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10927 cast from r3.
10928 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10929 'tests' variable.
10930 * sysdeps/wordsize-64/tst-writev.c: New file.
10931
2206397e
RA
109322011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10933
10934 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10935 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10936 insns in _dl_start to prevent a TOC reference before relocs are
10937 resolved.
10938
e9433893
UD
109392011-02-15 Ulrich Drepper <drepper@gmail.com>
10940
10941 [BZ #12469]
10942 * Makeconfig: Remove RANLIB definition.
10943 * Makerules: Don't use RANLIB.
10944 * aclocal.m4: Remove ranlib test.
10945 * configure.in: No need to check for ranlib.
10946 * elf/rtld-Rules: Don't use RANLIB.
10947
f75286c6
ST
109482011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10949
8e31c82d
ST
10950 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10951 protection macro.
10952 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10953 inclusion protection macro.
10954
f75286c6
ST
10955 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10956 SIGRTMIN and SIGRTMAX and print information in that case only when
10957 SIGRTMIN is defined.
10958
c1d0e639
JJ
109592011-02-11 Jakub Jelinek <jakub@redhat.com>
10960
10961 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10962 arginfo fn returning -1.
10963
10964 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10965 and thousands string is zero terminated.
10966
edf9294e
AS
109672011-02-03 Andreas Schwab <schwab@redhat.com>
10968
10969 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10970 sysdeps/unix/sysv/linux/bits/socket.h.
10971
2b7e92df
ST
109722011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10973
edf9294e
AS
10974 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10975 (__CPU_COUNT): Remove old macros.
10976 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10977 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10978 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
10979 (__sched_cpualloc, __sched_cpufree): Add declarations.
10980
a4c7ea7b
UD
109812011-02-05 Ulrich Drepper <drepper@gmail.com>
10982
10983 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10984 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10985 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10986 (readdhstai): Return value of addhstaiX call.
10987 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10988 (addgrbyX): Return value returned by cache_addgr.
10989 (readdgrbyname): Return value returned by addgrbyX.
10990 (readdgrbygid): Likewise.
10991 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10992 (addpwbyX): Return value returned by cache_addpw.
10993 (readdpwbyname): Return value returned by addhstbyX.
10994 (readdpwbyuid): Likewise.
10995 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10996 (addservbyX): Return value returned by cache_addserv.
10997 (readdservbyname): Return value returned by addservbyX:
10998 (readdservbyport): Likewise.
10999 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11000 (addhstbyX): Return value returned by cache_addhst.
11001 (readdhstbyname): Return value returned by addhstbyX.
11002 (readdhstbyaddr): Likewise.
11003 (readdhstbynamev6): Likewise.
11004 (readdhstbyaddrv6): Likewise.
11005 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11006 (readdinitgroups): Return value returned by addinitgroupsX.
11007 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11008 (prune_cache): Keep track of timeout value of re-added entries.
11009 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11010 * nscd/nscd.h: Adjust prototypes of readd* functions.
11011
a0bf67cc
RM
110122011-02-04 Roland McGrath <roland@redhat.com>
11013
11014 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11015 (nis_stats): Likewise.
11016 * nis/nis_modify.c (nis_modify): Likewise.
11017 * nis/nis_remove.c (nis_remove): Likewise.
11018 * nis/nis_add.c (nis_add): Likewise.
11019
11020 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11021
11022 * posix/fnmatch_loop.c: Add some consts.
11023
11024 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11025
435b95eb
L
110262011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11027
11028 [BZ #12460]
11029 * config.make.in (config-cflags-novzeroupper): Define.
11030 * configure.in: Substitute libc_cv_cc_novzeroupper.
11031 * elf/Makefile (AVX-CFLAGS): Define.
11032 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11033 (CFLAGS-tst-auditmod4a.c): Likewise.
11034 (CFLAGS-tst-auditmod4b.c): Likewise.
11035 (CFLAGS-tst-auditmod6b.c): Likewise.
11036 (CFLAGS-tst-auditmod6c.c): Likewise.
11037 (CFLAGS-tst-auditmod7b.c): Likewise.
11038 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11039
8517b15e
UD
110402011-02-02 Ulrich Drepper <drepper@gmail.com>
11041
11042 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11043 function to the callback.
11044 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11045
10a656fe
AS
110462011-02-02 Andreas Schwab <schwab@redhat.com>
11047
11048 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11049 of errno.
11050
968dad0a
UD
110512011-01-19 Ulrich Drepper <drepper@gmail.com>
11052
9f94d2ea 11053 [BZ #11724]
968dad0a
UD
11054 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11055 of constructors.
11056 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11057 of destructors.
11058 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11059
11060 [BZ #11724]
11061 * elf/Makefile: Add rules to build and run new test.
11062 * elf/tst-initorder.c: New file.
11063 * elf/tst-initorder.exp: New file.
11064 * elf/tst-initordera1.c: New file.
11065 * elf/tst-initordera2.c: New file.
11066 * elf/tst-initordera3.c: New file.
11067 * elf/tst-initordera4.c: New file.
11068 * elf/tst-initorderb1.c: New file.
11069 * elf/tst-initorderb2.c: New file.
11070 * elf/tst-order-a1.c: New file.
11071 * elf/tst-order-a2.c: New file.
11072 * elf/tst-order-a3.c: New file.
11073 * elf/tst-order-a4.c: New file.
11074 * elf/tst-order-b1.c: New file.
11075 * elf/tst-order-b2.c: New file.
11076 * elf/tst-order-main.c: New file.
11077 New test case by George Gensure <werkt0@gmail.com>.
11078
86e92359
UD
110792010-10-01 Andreas Schwab <schwab@redhat.com>
11080
11081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11082 decoding ACE if AI_CANONIDN.
11083
5d5732b0
UD
110842011-01-18 Ulrich Drepper <drepper@gmail.com>
11085
11086 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11087
a77e8cbc
UD
110882011-01-17 Ulrich Drepper <drepper@gmail.com>
11089
6392473f
UD
11090 * version.h (RELEASE): Bump for 2.13 release.
11091 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11092
620a0529
UD
11093 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11094
18ba70a5
UD
11095 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11096 MADV_NOHUGEPAGE.
32465c3e
UD
11097 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11098 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11099 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11100 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11101 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11102 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11103
c0dafcf1
UD
11104 * posix/getconf.c: Update copyright year.
11105 * catgets/gencat.c: Likewise.
11106 * csu/version.c: Likewise.
11107 * debug/catchsegv.sh: Likewise.
11108 * debug/xtrace.sh: Likewise.
11109 * elf/ldconfig.c: Likewise.
11110 * elf/ldd.bash.in: Likewise.
11111 * elf/sprof.c (print_version): Likewise.
11112 * iconv/iconv_prog.c: Likewise.
11113 * iconv/iconvconfig.c: Likewise.
11114 * locale/programs/locale.c: Likewise.
11115 * locale/programs/localedef.c: Likewise.
11116 * malloc/memusage.sh: Likewise.
11117 * malloc/mtrace.pl: Likewise.
11118 * nscd/nscd.c (print_version): Likewise.
11119 * nss/getent.c: Likewise.
11120
a77e8cbc
UD
11121 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11122 PF_CAIF, and PF_ALG.
11123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11124
77e8bddf
AS
111252011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11126
1f20b93a
AS
11127 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11128 (modules-names): Use them.
11129 (ifunc-test-modules, ifunc-pie-tests): Define.
11130 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11131 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11132 (test-extras): Likewise.
11133 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11134 $(compile-command.c).
11135 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11136 (all-built-dso): Define.
11137 (check-textrel.out, check-execstack.out): Depend on it.
11138
77e8bddf
AS
11139 * configure.in: Don't override --enable-multi-arch.
11140
bc425b33
UD
111412011-01-15 Ulrich Drepper <drepper@gmail.com>
11142
11143 [BZ #6812]
11144 * nscd/hstcache.c (tryagain): Define.
11145 (cache_addhst): Return tryagain not notfound for temporary errors.
11146 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11147 failed.
11148
794c3ad3
UD
111492011-01-14 Ulrich Drepper <drepper@gmail.com>
11150
70181fdd
UD
11151 [BZ #10563]
11152 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11153 to make the syscall.
11154 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11155
794c3ad3
UD
11156 [BZ #12378]
11157 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11158 and fall back to matching as normal character if the string ends before
11159 the matching ']' is found. This is what POSIX requires.
11160 * posix/testfnm.c: Adjust test result.
11161 * posix/globtest.sh: Adjust test result. Add new test.
11162 * posix/tst-fnmatch.input: Likewise.
11163 * posix/tst-fnmatch2.c: Add new test.
11164
68dc9497
AS
111652010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11166
11167 * elf/Makefile (check-execstack): Revert last change. Depend on
11168 check-execstack.h.
11169 (check-execstack.h): New target.
11170 (generated): Add check-execstack.h.
11171 * elf/check-execstack.c: Include "check-execstack.h".
11172 (main): Revert last change.
11173 (handle_file): Return zero if GNU_STACK is absent and
11174 DEFAULT_STACK_PERMS doesn't include PF_X.
11175
451f001b
UD
111762011-01-13 Ulrich Drepper <drepper@gmail.com>
11177
cfa28e56
UD
11178 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11179 in child fails because the descriptor is already closed.
8cf8ce17
UD
11180 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11181 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11182 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11183
1086d70d
UD
11184 [BZ #12397]
11185 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11186 syscall.
11187
451f001b
UD
11188 [BZ #10484]
11189 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11190 temporary buffer used to handle multi lookups locally.
a85b5cb4 11191 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11192
08769175
UD
111932011-01-12 Ulrich Drepper <drepper@gmail.com>
11194
11195 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11196 loader is ld.so.
11197
5e49c52e
UD
111982011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11199
11200 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11201 alignment for SSE2.
11202
60522a5f
UD
112032011-01-12 Ulrich Drepper <drepper@gmail.com>
11204
11205 [BZ #12394]
11206 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11207 characters. When rounding increased number of integer digits recompute
11208 number of groups.
11209 * stdio-common/tst-grouping.c: New file.
11210 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11211
f257bbd7
UD
112122011-01-09 Ulrich Drepper <drepper@gmail.com>
11213
11214 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11215 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11216
11217 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11218 void.
11219 * bits/select.h: Likewise.
11220
fa9c15cb
UD
112212011-01-08 Ulrich Drepper <drepper@gmail.com>
11222
11223 * po/ja.po: Update from translation team.
11224
16c2895f
DM
112252011-01-04 David S. Miller <davem@sunset.davemloft.net>
11226
11227 [BZ #11155]
11228 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11229 implementation just like for lxstat, fxstatat, et al.
11230
2543fef2
JM
112312010-12-27 Jim Meyering <meyering@redhat.com>
11232
11233 [BZ #12348]
11234 * posix/regexec.c (build_trtable): Return failure indication upon
11235 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11236
98727dbe
UD
112372010-12-25 Ulrich Drepper <drepper@gmail.com>
11238
5bd6dc5c
UD
11239 [BZ #12201]
11240 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11241 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11242 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11243 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11244
97983464
UD
11245 [BZ #12207]
11246 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11247
98727dbe
UD
11248 [BZ #12204]
11249 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11250 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11251
4a531bb0
L
112522010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11253
11254 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11255 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11256 script has SORT_BY_INIT_PRIORITY.
11257 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11258 NO_CTORS_DTORS_SECTIONS is defined.
11259 * elf/soinit.c: Likewise.
11260 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11261 NO_CTORS_DTORS_SECTIONS is defined.
11262 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11263 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11264 * sysdeps/sh/init-first.c: Likewise.
11265 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11266
07eb4b71
UD
112672010-12-24 Ulrich Drepper <drepper@gmail.com>
11268
11269 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11270 always use the slow path.
11271
30950a5f
RA
112722010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11273
11274 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11275 similar rule which adds the sysdep directories to the header search in
11276 order to pick up the correct platform stackinfo.h.
11277 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11278 perform test if it is, otherwise return successfully without testing.
11279 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11280 DEFAULT_STACK_PERMS define in stackinfo.h.
11281 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11282 defined in stackinfo.h.
11283 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11284 DEFAULT_STACK_PERMS defined in stackinfo.h.
11285 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11286 * sysdeps/ia64/stackinfo.h: Likewise.
11287 * sysdeps/s390/stackinfo.h: Likewise.
11288 * sysdeps/sh/stackinfo.h: Likewise.
11289 * sysdeps/sparc/stackinfo.h: Likewise.
11290 * sysdeps/x86_64/stackinfo.h: Likewise.
11291 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11292 PF_X for powerpc64. Retain PF_X for powerpc32.
11293
db753e2c
UD
112942010-12-19 Ulrich Drepper <drepper@gmail.com>
11295
14b697f7
UD
11296 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11297 accurately.
db753e2c
UD
11298 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11299 GETDENTS_64BIT_ALIGNED.
11300
28300719
UD
113012010-12-14 Ulrich Drepper <dreper@gmail.com>
11302
14b697f7 11303 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11304
4f197237
AS
113052010-12-10 Andreas Schwab <schwab@redhat.com>
11306
dbb0472f
AS
11307 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11308 _GNU_SOURCE.
11309
4f197237
AS
11310 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11311 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11312 Remove __restrict.
11313 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11314 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11315
fb88ac72
UD
113162010-12-09 Ulrich Drepper <drepper@gmail.com>
11317
11318 [BZ #11655]
11319 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11320 are initialized.
11321
42acbb92
JJ
113222010-12-09 Jakub Jelinek <jakub@redhat.com>
11323
11324 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11325
c038d98d
UD
113262010-12-03 Ulrich Drepper <drepper@gmail.com>
11327
11328 * po/it.po: Update from translation team.
11329
3a4a2499
L
113302010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11331
11332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11333 unused codes.
11334
1e24cf6e
UD
113352010-11-30 Ulrich Drepper <drepper@gmail.com>
11336
11337 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11338
a7690819
AS
113392010-11-24 Andreas Schwab <schwab@redhat.com>
11340
11341 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11342 specially.
11343 (gaih_getanswer_slice): Likewise.
11344
3bf8d1b1
JJ
113452010-10-20 Jakub Jelinek <jakub@redhat.com>
11346
11347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11348
6db52fbb
PB
113492010-05-31 Petr Baudis <pasky@suse.cz>
11350
11351 [BZ #11149]
11352 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11353 silently even in the chroot mode.
11354
eaca7569
UD
113552010-11-22 Ulrich Drepper <drepper@gmail.com>
11356
11357 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11358 last patch a bit. Pretty printing
11359
3056dcdb
UD
113602010-05-31 Petr Baudis <pasky@suse.cz>
11361
11362 [BZ #10085]
11363 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11364 initialization of skip_initgroups_dyn.
11365
cf7c9078
UD
113662010-11-19 Ulrich Drepper <drepper@gmail.com>
11367
11368 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11369 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11370
a1fb5e3e
UD
113712010-11-16 Ulrich Drepper <drepper@gmail.com>
11372
11373 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11374
3540d66b
AS
113752010-11-11 Andreas Schwab <schwab@redhat.com>
11376
11377 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11378 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11379 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11380 ($(objpfx)tst-fnmatch-mem): New rule.
11381 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11382 * posix/tst-fnmatch.c (main): Call mtrace.
11383
13b69574
L
113842010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11385
11386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11387 Support Intel processor model 6 and model 0x2c.
11388
da93d214
LM
113892010-11-10 Luis Machado <luisgpm@br.ibm.com>
11390
11391 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11392 signed comparison.
11393
8ca52c6e
L
113942010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11395
11396 [BZ #12205]
11397 * string/test-strncasecmp.c (check_result): New function.
11398 (do_one_test): Use it.
11399 (check1): New function.
11400 (test_main): Use it.
11401 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11402 Support strcasecmp and strncasecmp.
11403
69da074d
UD
114042010-11-08 Ulrich Drepper <drepper@gmail.com>
11405
11406 [BZ #12194]
11407 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11408 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11409
ff02d528
L
114102010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11411
11412 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11413 IFUNC support.
11414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11415 memset-x86-64.
11416 * sysdeps/x86_64/multiarch/bzero.S: New file.
11417 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11418 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11419 * sysdeps/x86_64/multiarch/memset.S: New file.
11420 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11422 Set bit_Prefer_SSE_for_memop for Intel processors.
11423 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11424 Define.
11425 (index_Prefer_SSE_for_memop): Define.
11426 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11427
344d0b54
LM
114282010-11-04 Luis Machado <luisgpm@br.ibm.com>
11429
11430 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11431 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11432
c0dde15b
UD
114332010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11434
11435 [BZ #12191]
11436 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11437 (__x86_64_raw_data_cache_size_half): Likewise.
11438 (__x86_64_raw_shared_cache_size): Likewise.
11439 (__x86_64_raw_shared_cache_size_half): Likewise.
11440
11441 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11442 (__x86_64_raw_data_cache_size_half): Likewise.
11443 (__x86_64_raw_shared_cache_size): Likewise.
11444 (__x86_64_raw_shared_cache_size_half): Likewise.
11445 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11446 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11447 and __x86_64_raw_shared_cache_size_half. Round
11448 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11449 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11450 to multiple of 256 bytes.
11451
0e516e0e
MS
114522010-11-03 Ulrich Drepper <drepper@gmail.com>
11453
11454 [BZ #12167]
11455 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11456 of inacessible symlinks. Verify result of symlink before returning it.
11457 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11458 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11459
0e012e87
ER
114602010-10-28 Erich Ritz <erichritz@gmail.com>
11461
11462 * math/math.h (isinf): Fix typo in comment.
11463
de0ff7bc
UD
114642010-11-01 Ulrich Drepper <drepper@gmail.com>
11465
11466 * po/da.po: Update from translation team.
11467
fa41c84d
UD
114682010-10-26 Ulrich Drepper <drepper@gmail.com>
11469
11470 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11471 is added to the list.
11472
f0967738
AK
114732010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11474 Ulrich Drepper <drepper@gmail.com>
11475
11476 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11477 the global list here. Move code to...
11478 (_dl_add_to_namespace_list): ...here. New function.
11479 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11480 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11481 * elf/dl-load.c (lose): Don't remove the element from the list.
11482 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11483 (_dl_map_object): Likewise.
11484
114852010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
11486
11487 [BZ #12159]
11488 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11489 into all bytes of SSE register.
11490 Patch by Richard Li <richardpku@gmail.com>.
11491
f0967738 114922010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
11493
11494 [BZ #12140]
11495 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11496 perturbing.
11497
d0b9e94f
MB
114982010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11499
11500 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11501 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11502 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11503 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11505 submachine.
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11507
8e9f92e9
AS
115082010-10-22 Andreas Schwab <schwab@redhat.com>
11509
11510 * include/dlfcn.h (__RTLD_SECURE): Define.
11511 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11512 mode & __RTLD_SECURE instead.
11513 (open_path): Rename preloaded parameter to secure.
11514 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11515 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11516 * elf/dl-deps.c (openaux): Likewise.
11517 * elf/rtld.c (struct map_args): Remove is_preloaded.
11518 (map_doit): Don't use it.
11519 (dl_main): Likewise.
11520 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11521 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11522
bc96fbda
AS
115232010-09-09 Andreas Schwab <schwab@redhat.com>
11524
11525 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11526 (sysd-rules-targets): Remove duplicates.
11527 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11528 rtld-%.$o dependency.
11529
22cd1c9b
AS
115302010-10-18 Andreas Schwab <schwab@redhat.com>
11531
11532 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11533 _dl_map_object do it.
11534
18edac48
UD
115352010-10-19 Ulrich Drepper <drepper@gmail.com>
11536
11537 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11538 fast fma builtins, define the macros in the C99 standard.
11539 (FP_FAST_FMAF): Likewise.
11540 (FP_FAST_FMAL): Likewise.
11541 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11542
11543 * bits/mathdef.h: Update copyright year.
11544 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11545
d2050124
MM
115462010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11547
11548 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11549 builtins, define the macros in the C99 standard.
11550 (FP_FAST_FMAF): Likewise.
11551 (FP_FAST_FMAL): Likewise.
11552 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11553 multiply/add.
11554 (FP_FAST_FMAF): Likewise.
11555
475facd1
JJ
115562010-10-15 Jakub Jelinek <jakub@redhat.com>
11557
11558 [BZ #3268]
11559 * math/libm-test.inc (fma_test): Some new testcases.
11560 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11561 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11562 y and infinite z. Do multiplication by C already in long double.
11563 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11565 y and infinite z. Do bitwise or of inexact bit into u.d.
11566 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11567 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11568 * sysdeps/i386/fpu/s_fma.S: Removed.
11569 * sysdeps/i386/fpu/s_fmal.S: Removed.
11570
7c08a05c
JJ
115712010-10-16 Jakub Jelinek <jakub@redhat.com>
11572
11573 [BZ #3268]
11574 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11576 computation is not scheduled after fetestexcept. Fix value
11577 of minimum denormal long double.
11578
f3f7372d
JJ
115792010-10-14 Jakub Jelinek <jakub@redhat.com>
11580
11581 [BZ #3268]
11582 * math/libm-test.inc (fma_test): Add some more tests.
11583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11584 correctly.
11585
14d43591
AS
115862010-10-15 Andreas Schwab <schwab@redhat.com>
11587
11588 * scripts/data/localplt-s390-linux-gnu.data: New file.
11589 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11590
5e908464
JJ
115912010-10-13 Jakub Jelinek <jakub@redhat.com>
11592
11593 [BZ #3268]
11594 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11595 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11596 instead of dbl-64.
11597 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11598 inlines.
11599 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11601 if one of x and y is very large and the other is subnormal.
11602 * sysdeps/s390/fpu/s_fmaf.c: New file.
11603 * sysdeps/s390/fpu/s_fma.c: New file.
11604 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11605 * sysdeps/powerpc/fpu/s_fma.S: New file.
11606 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11607 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11608 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11609
116102010-10-12 Jakub Jelinek <jakub@redhat.com>
11611
11612 [BZ #3268]
11613 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11614 fma tests.
11615 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11616 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11617 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11618 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11619 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11620 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11621 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11622
b833d51f
UD
116232010-10-12 Ulrich Drepper <drepper@redhat.com>
11624
11625 [BZ #12078]
11626 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11627 * posix/bug-regex31.input: Add test case.
11628
1751705d
UD
116292010-10-11 Ulrich Drepper <drepper@gmail.com>
11630
e9b9cbf5
UD
11631 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11632 * posix/bug-regex31.input: New file.
11633
11634 [BZ #12078]
11635 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11636 (parse_sub_exp): Fix last change, use postorder.
11637
ef06edbe
UD
11638 * posix/bug-regex31.c: New file.
11639 * posix/Makefile: Add rules to build and run bug-regex31.
11640
a129c80d
UD
11641 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11642
11643 [BZ #12078]
11644 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11645
b76b818e
UD
11646 [BZ #12108]
11647 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11648 to have entries in sys_siglist.
11649
1751705d
UD
11650 [BZ #12093]
11651 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11652 be NULL.
11653
9ff8d36f
JJ
116542010-10-07 Jakub Jelinek <jakub@redhat.com>
11655
11656 [BZ #3268]
11657 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11658 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11659 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11660 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11661 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11662 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11663 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11664 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11665 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11666 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11667 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11668 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11669 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11670 * math/ftestexcept.c (fetestexcept): Likewise.
11671 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11672 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11673 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11674 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11675 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11676 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11677 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11678
af325969
UD
116792010-10-11 Ulrich Drepper <drepper@gmail.com>
11680
c579b202 11681 [BZ #12107]
af325969
UD
11682 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11683 newline.
11684
67a67b95
UD
116852010-10-06 Ulrich Drepper <drepper@gmail.com>
11686
11687 * string/bug-strstr1.c: New file.
11688 * string/Makefile: Add rules to build and run bug-strstr1.
11689
5fb308bc
EB
116902010-10-05 Eric Blake <eblake@redhat.com>
11691
11692 [BZ #12092]
11693 * string/str-two-way.h (two_way_long_needle): Always clear memory
11694 when skipping input due to the shift table.
11695
45db99c7
UD
116962010-10-03 Ulrich Drepper <drepper@gmail.com>
11697
3b111893
UD
11698 [BZ #12005]
11699 * malloc/mcheck.c: Handle large requests.
11700
45db99c7
UD
11701 [BZ #12077]
11702 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11703 for strncmp and strncasecmp.
11704 * string/stratcliff.c: Add tests for strcmp and strncmp.
11705 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11706
cf7a1eb8
NI
117072010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11708
11709 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11710 __set_fpscr.
11711
6484ba5e
AJ
117122010-09-30 Andreas Jaeger <aj@suse.de>
11713
11714 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11715 (CGROUP_SUPER_MAGIC): Define.
11716 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11717 Handle btrfs and cgroup file systems.
11718 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11719 Likewise.
11720
91c42559
LM
117212010-09-27 Luis Machado <luisgpm@br.ibm.com>
11722
11723 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11724 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11725
87a97932
AK
117262010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11727
11728 [BZ #12067]
11729 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11730 trying to locate the ELF header.
11731
c21cc9bc
AS
117322010-09-27 Andreas Schwab <schwab@redhat.com>
11733
11734 [BZ #11611]
11735 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11736 Mask out sign-bit copies when constructing f_fsid.
11737
315970f6
PB
117382010-09-24 Petr Baudis <pasky@suse.cz>
11739
11740 * debug/stack_chk_fail_local.c: Add missing licence exception.
11741 * debug/warning-nop.c: Likewise.
11742
1ac7a2c7
JM
117432010-09-15 Joseph Myers <joseph@codesourcery.com>
11744
11745 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11746 implementing getdents64 using getdents syscall, set d_type if
11747 __ASSUME_GETDENTS32_D_TYPE.
11748
56801c50
AS
117492010-09-16 Andreas Schwab <schwab@redhat.com>
11750
11751 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11752 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11753
dda51327
UD
117542010-09-21 Ulrich Drepper <drepper@redhat.com>
11755
11756 [BZ #12037]
11757 * posix/unistd.h: Undo change of feature selection for ftruncate from
11758 2010-01-11.
11759
8ffcee4a
UD
117602010-09-20 Ulrich Drepper <drepper@redhat.com>
11761
a545ecd9 11762 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
11763 detection.
11764
e24f0a8b
AS
117652010-09-20 Andreas Schwab <schwab@redhat.com>
11766
11767 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11768 fanotify_mark.
11769 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11770
7291c56f
AS
117712010-09-14 Andreas Schwab <schwab@redhat.com>
11772
11773 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11774 variables after CHECK_SP call.
11775 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11776
bc5fb037
AS
117772010-09-13 Andreas Schwab <schwab@redhat.com>
11778 Ulrich Drepper <drepper@redhat.com>
11779
11780 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11781 re-relocationg ld.so.
11782 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11783 _dl_init_paths call.
11784 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11785 here anymore.
11786
e66e7419
UD
117872010-09-14 Ulrich Drepper <drepper@redhat.com>
11788
11789 * resolv/res_init.c (__res_vinit): Count the default server we added.
11790
c044aa75
CLT
117912010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11792 Ulrich Drepper <drepper@redhat.com>
11793
11794 [BZ #11968]
11795 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11796 (____longjmp_chk): Use %ebx for saving value across system call.
11797 Add unwind info.
11798
32cf4069
AS
117992010-09-06 Andreas Schwab <schwab@redhat.com>
11800
11801 * manual/Makefile: Don't mix pattern rules with normal rules.
11802
817328ee
AS
118032010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11804
11805 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11806 operation.
11807 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11808 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11809 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11810 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11811 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11812 Likewise.
11813
29fddf61
UD
118142010-09-04 Ulrich Drepper <drepper@redhat.com>
11815
11816 [BZ #11979]
11817 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11818 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11819
0959ffc9
UD
118202010-09-02 Ulrich Drepper <drepper@redhat.com>
11821
11822 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11823 * sysdeps/x86_64/addmul_1.S: Likewise.
11824 * sysdeps/x86_64/lshift.S: Likewise.
11825 * sysdeps/x86_64/mul_1.S: Likewise.
11826 * sysdeps/x86_64/rshift.S: Likewise.
11827 * sysdeps/x86_64/sub_n.S: Likewise.
11828 * sysdeps/x86_64/submul_1.S: Likewise.
11829
ece29840
ST
118302010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11831
0959ffc9
UD
11832 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11833 Define __sched_param instead of SCHED_* and sched_param when
ece29840 11834 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 11835 * bits/sched.h [__need_schedparam]
ece29840 11836 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
11837 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11838 (__defined_schedparam): Define to 1.
ece29840
ST
11839 (__sched_param): New structure, identical to sched_param.
11840 (__need_schedparam): Undefine.
11841
e53a31fe
MF
118422010-08-31 Mike Frysinger <vapier@gentoo.org>
11843
fdc0c10d
MF
11844 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11845 (epoll_create1): Declare.
11846
e53a31fe
MF
11847 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11848
a726d796
AS
118492010-08-31 Andreas Schwab <schwab@redhat.com>
11850
11851 [BZ #7066]
11852 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11853 shifting retval into place.
11854
2f3e3dc7
UD
118552010-09-01 Ulrich Drepper <drepper@redhat.com>
11856
f2933da9
UD
11857 * nis/rpcsvc/nis.h: Update copyright notice.
11858 * nis/rpcsvc/nis.x: Likewise.
11859 * nis/rpcsvc/nis_callback.h: Likewise.
11860 * nis/rpcsvc/nis_callback.x: Likewise.
11861 * nis/rpcsvc/nis_object.x: Likewise.
11862 * nis/rpcsvc/nis_tags.h: Likewise.
11863 * nis/rpcsvc/yp.h: Likewise.
11864 * nis/rpcsvc/yp.x: Likewise.
11865 * nis/rpcsvc/ypupd.h: Likewise.
11866 * nis/yp_xdr.c: Likewise.
11867 * nis/ypupdate_xdr.c: Likewise.
11868
2f3e3dc7
UD
11869 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11870 mainly the body of pmap_getport. Add parameters to specify timeouts.
11871 (pmap_getport): Use __libc_rpc_getport.
11872 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11873 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11874 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11875
f3dcc2f9
AS
118762010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11877
11878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11879 fanotify_mark.
11880
6d34eb5b
RM
118812010-08-27 Roland McGrath <roland@redhat.com>
11882
11883 * sysdeps/i386/i686/multiarch/Makefile
11884 (CFLAGS-varshift.c): New variable.
11885
9ea3de11
UD
118862010-08-27 Ulrich Drepper <drepper@redhat.com>
11887
c96d23fc
UD
11888 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11889 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11890
9ea3de11
UD
11891 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11892
11893 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11894
623aac7f
L
118952010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11896
11897 * sysdeps/x86_64/strlen.S: Unroll the loop.
11898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11899 strlen-sse2 strlen-sse2-bsf.
11900 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11901 __strlen_no_bsf if bit_Slow_BSF is set.
11902 (__strlen_sse42): Removed.
11903 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11904 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11905
8b2b7715
RM
119062010-08-25 Roland McGrath <roland@redhat.com>
11907
11908 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11909 * sysdeps/x86_64/multiarch/varshift.c: New file.
11910 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11911 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11912 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11913 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11914
e73015f2
L
119152010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11916
11917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11918 strlen-sse2 strlen-sse2-bsf.
11919 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11920 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11921 (__strlen_sse2): Removed.
11922 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11923 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11925 bit_Slow_BSF for Atom.
11926 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11927 (index_Slow_BSF): Define.
11928 (HAS_SLOW_BSF): Define.
11929
df24a73e
UD
119302010-08-25 Ulrich Drepper <drepper@redhat.com>
11931
11932 [BZ #10851]
11933 * resolv/res_init.c (__res_vinit): When no server address at all
11934 is given default to loopback.
11935
f2ac4868
RM
119362010-08-24 Roland McGrath <roland@redhat.com>
11937
09055553
RM
11938 * configure.in: Remove config-name.h generation.
11939 * configure: Regenerated.
11940 * config-name.in: File removed.
11941 * scripts/config-uname.sh: New file.
11942 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11943 ($(objdir)config-name.h): New target.
11944
f2ac4868
RM
11945 * sunrpc/rpc_parse.h: Avoid nested comment.
11946
73f27d5e
RH
119472010-08-24 Richard Henderson <rth@redhat.com>
11948 Ulrich Drepper <drepper@redhat.com>
11949 H.J. Lu <hongjiu.lu@intel.com>
11950
11951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11953 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11954 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11955 _mm_alignr_epi8 with _mm_loadu_si128.
11956 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11957 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11958 (__m128i_shift_right): Removed.
11959 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11960 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11961 * sysdeps/x86_64/multiarch/varshift.h: New file.
11962 * sysdeps/x86_64/multiarch/varshift.S: New file.
11963
84b9230c
MF
119642010-08-21 Mike Frysinger <vapier@gentoo.org>
11965
11966 * configure.in: Move assembler checks to before sysdep dir checking.
11967
9bbd0ddc
PB
119682010-08-20 Petr Baudis <pasky@suse.cz>
11969
11970 * LICENSES: Sync the sunrpc license.
11971
9da4bb31
UD
119722010-08-19 Ulrich Drepper <drepper@redhat.com>
11973
a7ab6ec8
UD
11974 * sunrpc/auth_des.c: Update copyright notice once again.
11975 * sunrpc/auth_none.c: Likewise.
11976 * sunrpc/auth_unix.c: Likewise.
11977 * sunrpc/authdes_prot.c: Likewise.
11978 * sunrpc/authuxprot.c: Likewise.
11979 * sunrpc/bindrsvprt.c: Likewise.
11980 * sunrpc/clnt_gen.c: Likewise.
11981 * sunrpc/clnt_perr.c: Likewise.
11982 * sunrpc/clnt_raw.c: Likewise.
11983 * sunrpc/clnt_simp.c: Likewise.
11984 * sunrpc/clnt_tcp.c: Likewise.
11985 * sunrpc/clnt_udp.c: Likewise.
11986 * sunrpc/clnt_unix.c: Likewise.
11987 * sunrpc/des_crypt.c: Likewise.
11988 * sunrpc/des_soft.c: Likewise.
11989 * sunrpc/get_myaddr.c: Likewise.
11990 * sunrpc/getrpcport.c: Likewise.
11991 * sunrpc/key_call.c: Likewise.
11992 * sunrpc/key_prot.c: Likewise.
11993 * sunrpc/openchild.c: Likewise.
11994 * sunrpc/pm_getmaps.c: Likewise.
11995 * sunrpc/pm_getport.c: Likewise.
11996 * sunrpc/pmap_clnt.c: Likewise.
11997 * sunrpc/pmap_prot.c: Likewise.
11998 * sunrpc/pmap_prot2.c: Likewise.
11999 * sunrpc/pmap_rmt.c: Likewise.
12000 * sunrpc/rpc/auth.h: Likewise.
12001 * sunrpc/rpc/auth_unix.h: Likewise.
12002 * sunrpc/rpc/clnt.h: Likewise.
12003 * sunrpc/rpc/des_crypt.h: Likewise.
12004 * sunrpc/rpc/key_prot.h: Likewise.
12005 * sunrpc/rpc/netdb.h: Likewise.
12006 * sunrpc/rpc/pmap_clnt.h: Likewise.
12007 * sunrpc/rpc/pmap_prot.h: Likewise.
12008 * sunrpc/rpc/pmap_rmt.h: Likewise.
12009 * sunrpc/rpc/rpc.h: Likewise.
12010 * sunrpc/rpc/rpc_des.h: Likewise.
12011 * sunrpc/rpc/rpc_msg.h: Likewise.
12012 * sunrpc/rpc/svc.h: Likewise.
12013 * sunrpc/rpc/svc_auth.h: Likewise.
12014 * sunrpc/rpc/types.h: Likewise.
12015 * sunrpc/rpc/xdr.h: Likewise.
12016 * sunrpc/rpc_clntout.c: Likewise.
12017 * sunrpc/rpc_cmsg.c: Likewise.
12018 * sunrpc/rpc_common.c: Likewise.
12019 * sunrpc/rpc_cout.c: Likewise.
12020 * sunrpc/rpc_dtable.c: Likewise.
12021 * sunrpc/rpc_hout.c: Likewise.
12022 * sunrpc/rpc_main.c: Likewise.
12023 * sunrpc/rpc_parse.c: Likewise.
12024 * sunrpc/rpc_parse.h: Likewise.
12025 * sunrpc/rpc_prot.c: Likewise.
12026 * sunrpc/rpc_sample.c: Likewise.
12027 * sunrpc/rpc_scan.c: Likewise.
12028 * sunrpc/rpc_scan.h: Likewise.
12029 * sunrpc/rpc_svcout.c: Likewise.
12030 * sunrpc/rpc_tblout.c: Likewise.
12031 * sunrpc/rpc_util.c: Likewise.
12032 * sunrpc/rpc_util.h: Likewise.
12033 * sunrpc/rpcinfo.c: Likewise.
12034 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12035 * sunrpc/rpcsvc/key_prot.x: Likewise.
12036 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12037 * sunrpc/rpcsvc/mount.x: Likewise.
12038 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12039 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12040 * sunrpc/rpcsvc/rex.x: Likewise.
12041 * sunrpc/rpcsvc/rstat.x: Likewise.
12042 * sunrpc/rpcsvc/rusers.x: Likewise.
12043 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12044 * sunrpc/rpcsvc/spray.x: Likewise.
12045 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12046 * sunrpc/rtime.c: Likewise.
12047 * sunrpc/svc.c: Likewise.
12048 * sunrpc/svc_auth.c: Likewise.
12049 * sunrpc/svc_authux.c: Likewise.
12050 * sunrpc/svc_raw.c: Likewise.
12051 * sunrpc/svc_run.c: Likewise.
12052 * sunrpc/svc_simple.c: Likewise.
12053 * sunrpc/svc_tcp.c: Likewise.
12054 * sunrpc/svc_udp.c: Likewise.
12055 * sunrpc/svc_unix.c: Likewise.
12056 * sunrpc/svcauth_des.c: Likewise.
12057 * sunrpc/xcrypt.c: Likewise.
12058 * sunrpc/xdr.c: Likewise.
12059 * sunrpc/xdr_array.c: Likewise.
12060 * sunrpc/xdr_float.c: Likewise.
12061 * sunrpc/xdr_mem.c: Likewise.
12062 * sunrpc/xdr_rec.c: Likewise.
12063 * sunrpc/xdr_ref.c: Likewise.
12064 * sunrpc/xdr_sizeof.c: Likewise.
12065 * sunrpc/xdr_stdio.c: Likewise.
12066
9da4bb31
UD
12067 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12068 handling.
12069
bdaa77bc
AS
120702010-08-19 Andreas Schwab <schwab@redhat.com>
12071
12072 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12073
fe2f79db
LM
120742010-08-19 Luis Machado <luisgpm@br.ibm.com>
12075
12076 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12077 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12078 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12079 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12080 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12081 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12082 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12083 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12084 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12085 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12086 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12087 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12088 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12089 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12090
b9b42ee0
AB
120912010-07-26 Anton Blanchard <anton@samba.org>
12092
12093 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12094 * malloc/arena.c (heap_trim): Likewise.
12095
1c06ba31
UD
120962010-08-16 Ulrich Drepper <drepper@redhat.com>
12097
12098 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12099 here. Not...
12100 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12101 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12102
f8392f40
L
121032010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12104
12105 * sysdeps/i386/elf/Makefile: New file.
12106
3162f12e
AS
121072010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12108
12109 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12110 from fanotify_init.
12111 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12112 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12113
28c90b2c
UD
121142010-08-15 Ulrich Drepper <drepper@redhat.com>
12115
12116 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12117 of strncasecmp_l.
1feccb6c 12118 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12119
ca6bb004
UD
121202010-08-14 Ulrich Drepper <drepper@redhat.com>
12121
e9f82e0d
UD
12122 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12123 strncase_l-nonascii.
12124 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12125 Add strncase_l-ssse3.
12126 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12127 * sysdeps/x86_64/strcmp.S: Likewise.
12128 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12129 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12130 * sysdeps/x86_64/strncase.S: New file.
12131 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12132 * sysdeps/x86_64/strncase_l.S: New file.
12133 * string/Makefile (strop-tests): Add strncasecmp.
12134 * string/test-strncasecmp.c: New file.
12135
12136 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12137 warning.
12138
ca6bb004
UD
12139 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12140 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12141
052fa7b3
AS
121422010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12143
12144 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12145
962dba78
UD
121462010-08-12 Ulrich Drepper <drepper@redhat.com>
12147
12148 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12149 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12150 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12151
bebff237
AM
121522010-05-01 Alan Modra <amodra@gmail.com>
12153
12154 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12155 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12156 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12157 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12158 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12159 tidying. Don't tail-call __sigjmp_save for static lib.
12160 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12161 save location.
12162 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12163 (CALL_MCOUNT): Add eh info, and nop after bl.
12164 (TAIL_CALL_SYSCALL_ERROR): New macro.
12165 (PSEUDO_RET): Use it.
12166 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12167 Correct save location of integer regs and cr.
12168 (_dl_profile_resolve): Correct cr save location. Delete nops
12169 after bl when SHARED. Reduce cfi size a little by better
12170 placement of cfi directives.
12171 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12172 make a stack frame. Instead use parm save area as a temp.
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12174 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12176 Don't make a stack frame for parent, use parm save area.
12177 Increase child stack frame to 112 bytes. Don't save unused reg,
12178 and adjust reg usage. Set up cfi on error recovery and
12179 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12181 (__makecontext): Add dummy nop after jump to exit.
12182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12183 Use correct parm save area and cr save, reduce stack frame.
12184 Correct cfi for possible PSEUDO_RET frame setup.
12185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12186 Branch to local label emitted by PSEUDO_RET rather than
12187 __syscall_error.
12188
02637374
AS
121892010-08-12 Andreas Schwab <schwab@redhat.com>
12190
12191 [BZ #11904]
12192 * locale/programs/locale.c (print_assignment): New function.
12193 (show_locale_vars): Use it.
12194
c3e2f19b
UD
121952010-08-11 Ulrich Drepper <drepper@redhat.com>
12196
3cdaa6ad
UD
12197 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12198 field.
12199 (struct statfs64): Likewise.
12200 (_STATFS_F_FLAGS): Define.
12201 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12202 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12203 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12204 (ST_VALID): Define locally.
12205 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12206 __statvfs_getflags, use the provided value.
12207 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12208 __ASSUME_STATFS_F_FLAGS.
12209
754f7da3
UD
12210 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12211
10b3bedc
UD
12212 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12213 Add sys/fanotify.h.
12214 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12215 fanotify_mask for GLIBC_2.13.
12216 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12217 fanotify_init and fanotify_mark.
12218 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12219 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12220
c08fb0d7
UD
12221 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12222 Add prlimit.
12223 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12224 prlimit64 for GLIBC_2.13.
12225 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12226 prlimit64.
12227 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12228 syscall.
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12230 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12231 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12232 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12233 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12234 add prlimit alias.
12235 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12236
15bac72b
UD
12237 [BZ #11903]
12238 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12239 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12240
c3e2f19b
UD
12241 * nss/Makefile: Add rules to build and run tst-nss-test1.
12242 * shlib-versions: Add entry for libnss_test1.
12243 * nss/nss_test1.c: New file.
12244 * nss/tst-nss-test1.c: New file.
12245
12246 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12247 (__nss_configure_lookup): Set appropriate entry in
12248 __nss_configure_lookup to true.
12249 * nss/nsswitch.h: Define enum with indeces of databases in
12250 databases and __nss_database_custom arrays. Declare
12251 __nss_database_custom.
12252 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12253 to avoid using nscd when custom rules are installed.
12254 * nss/getXXbyYY_r.c: Likewise.
12255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12256
12257 * nss/nss_files/files-parse.c: Whitespace fixes.
12258
f15ce4d8
UD
122592010-08-09 Ulrich Drepper <drepper@redhat.com>
12260
12261 [BZ #11883]
12262 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12263 * posix/fnmatch_loop.c: Likewise.
12264
d22e4cc9
AK
122652010-07-17 Andi Kleen <ak@linux.intel.com>
12266
12267 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12268 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12269 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12270 * Versions.def [GLIBC_2.13]: Add.
12271
805bc17d
UD
122722010-08-06 Ulrich Drepper <drepper@redhat.com>
12273
12274 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12275 Also fail if tpwd after pwuid call is NULL.
12276
5a42321d
ST
122772010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12278
12279 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12280 when converting to ms.
12281
fd3ebeda
ST
122822010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12283
12284 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12285 EOPNOTSUPP errors with ENOTTY.
12286 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12287 EOPNOTSUPP errors with ENOTTY.
12288
73507d3a
UD
122892010-07-31 Ulrich Drepper <drepper@redhat.com>
12290
12291 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12292 Add strcasecmp_l-ssse3.
12293 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12294 strcasecmp.
12295 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12296 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12297 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12298
fe36dd02
UD
122992010-07-30 Ulrich Drepper <drepper@redhat.com>
12300
66f6765a
UD
12301 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12302
42e08a54
UD
12303 * string/Makefile (strop-tests): Add strcasecmp.
12304 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12305 strcasecmp_l-nonascii.
12306 (gen-as-const-headers): Add locale-defines.sym.
12307 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12308 * sysdeps/x86_64/strcasecmp.S: New file.
12309 * sysdeps/x86_64/strcasecmp_l.S: New file.
12310 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12311 * sysdeps/x86_64/locale-defines.sym: New file.
12312 * string/test-strcasecmp.c: New file.
12313
fe36dd02
UD
12314 * string/test-strcasestr.c: Test both ends of the range of characters.
12315 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12316
48cbc0d6
RM
123172010-07-29 Roland McGrath <roland@redhat.com>
12318
76e6d6bc 12319 [BZ #11856]
48cbc0d6
RM
12320 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12321
880113d9
UD
123222010-07-27 Ulrich Drepper <drepper@redhat.com>
12323
12324 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12325 for ld.so.
12326
deb9cabb
AS
123272010-07-27 Andreas Schwab <schwab@redhat.com>
12328
12329 * manual/memory.texi (Malloc Tunable Parameters): Document
12330 M_PERTURB.
12331
1c7570ff
RM
123322010-07-26 Roland McGrath <roland@redhat.com>
12333
12334 [BZ #11840]
12335 * configure.in (-fgnu89-inline check): Set and substitute
12336 gnu89_inline, not libc_cv_gnu89_inline.
12337 * configure: Regenerated.
12338 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12339
24fb0f88
UD
123402010-07-26 Ulrich Drepper <drepper@redhat.com>
12341
12342 * string/test-strnlen.c: New file.
12343 * string/Makefile (strop-tests): Add strnlen.
12344 * string/tester.c (test_strnlen): Add a few more test cases.
12345 * string/tst-strlen.c: Better error reporting.
12346
12347 * sysdeps/x86_64/strnlen.S: New file.
12348
8e96b93a
UD
123492010-07-24 Ulrich Drepper <drepper@redhat.com>
12350
12351 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12352 lower-latency instructions.
12353
dbc676d4
UD
123542010-07-23 Ulrich Drepper <drepper@redhat.com>
12355
12356 * string/test-strcasestr.c: New file.
12357 * string/test-strstr.c: New file.
12358 * string/Makefile (strop-tests): Add strstr and strcasestr.
12359 * string/str-two-way.h: Don't undefine MAX.
12360 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12361
f6a31e0e
AS
123622010-07-21 Andreas Schwab <schwab@redhat.com>
12363
12364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12365 strcasestr-nonascii.
12366 (CFLAGS-strcasestr-nonascii.c): Define.
12367 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12368 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12369 Remove unused attribute.
12370
5dbc3b6c
RM
123712010-07-20 Roland McGrath <roland@redhat.com>
12372
12373 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12374 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12375 ld.so.cache was broken. With it, there is no way to disable dsocaps
12376 like LD_HWCAP_MASK can disable hwcaps.
12377
23d101d8
EPM
123782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12379
12380 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12381
cc9f2e47
UD
123822010-07-16 Ulrich Drepper <drepper@redhat.com>
12383
12384 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12385 call in strcasestr.
12386 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12387 __strcasestr_sse42_nonascii.
12388 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12389 strcasestr-nonascii.c.
12390 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12391
77c1b069
LM
123922010-06-15 Luis Machado <luisgpm@br.ibm.com>
12393
12394 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12395 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12396 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12397 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12398
440566c3
UD
123992010-07-09 Ulrich Drepper <drepper@redhat.com>
12400
12401 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12402 fcntl.
12403
5be9d05d
AS
124042010-07-06 Andreas Schwab <schwab@redhat.com>
12405
c30b7ee2 12406 [BZ #11577]
5be9d05d
AS
12407 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12408 dl_signal_cerror.
12409
8a492a67
UD
124102010-07-06 Ulrich Drepper <drepper@redhat.com>
12411
12412 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12413 _PC_PIPE_BUF using F_GETPIPE_SZ.
12414
713df3d5
RM
124152010-07-05 Roland McGrath <roland@redhat.com>
12416
12417 * manual/arith.texi (Rounding Functions): Fix rint description
12418 implicit in round description.
12419
702e8f14
UD
124202010-07-02 Ulrich Drepper <drepper@redhat.com>
12421
12422 * elf/Makefile: Fix linking for a few tests to make recent linker
12423 happy.
12424
52ed8be9
AS
124252010-06-30 Andreas Schwab <schwab@redhat.com>
12426
12427 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12428 $(common-objpfx)libc_nonshared.a.
12429
f47c9a11
LM
124302010-06-21 Luis Machado <luisgpm@br.ibm.com>
12431
12432 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12433 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12434 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12435 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12436 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12437 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12438 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12439 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12454 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12455 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12456 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12457 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12458 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12459 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12460 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12461 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12462 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12463 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12464 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12465 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12480
6fb8cbcb
L
124812010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12482
12483 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12484 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12485 * string/memmove.c (memmove): Renamed to ...
12486 (MEMMOVE): ...this. Default to memmove.
12487 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12488 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12489 (END_CHK): Define.
12490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12491 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12492 mempcpy-ssse3-back memmove-ssse3-back.
12493 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12494 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12495 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12496 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12497 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12498 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12499 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12500 * sysdeps/x86_64/multiarch/memmove.c: New file.
12501 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12502 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12503 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12504 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12505 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12506 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12507 Define.
12508 (index_Fast_Copy_Backward): Define.
12509 (HAS_ARCH_FEATURE): Define.
12510 (HAS_FAST_REP_STRING): Define.
12511 (HAS_FAST_COPY_BACKWARD): Define.
12512
4e733bac 125132010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
12514
12515 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12516 Restore proper fallback handling.
12517
63c4ed22
UD
125182010-06-19 Ulrich Drepper <drepper@redhat.com>
12519
ac2b484c
UD
12520 [BZ #11701]
12521 * posix/group_member.c (__group_member): Correct checking loop.
12522
63c4ed22
UD
12523 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12524 OOM in getpwuid_r correctly. Return error number when the caller
12525 should return, otherwise -1.
12526 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12527 call returning > 0 value.
12528 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12529
765ade4b
AS
125302010-06-07 Andreas Schwab <schwab@redhat.com>
12531
12532 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12533 libc_nonshared.a from targets in modules-names.
12534
80da2e09
KS
125352010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12536
12537 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12538 requires it.
12539
158db122
LM
125402010-06-10 Luis Machado <luisgpm@br.ibm.com>
12541
12542 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12543 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12544 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12545 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12546
caa78cf8
AS
125472010-06-02 Andreas Schwab <schwab@redhat.com>
12548
12549 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12550
b2ef2c01
UD
125512010-06-14 Ulrich Drepper <drepper@redhat.com>
12552
12553 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12554 and F_GETPIPE_SZ.
12555 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12556 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12559 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12560 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12561
fbd643b6
RM
125622010-06-14 Roland McGrath <roland@redhat.com>
12563
12564 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12565
f32f2869
JJ
125662010-06-07 Jakub Jelinek <jakub@redhat.com>
12567
12568 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12569 __REDIRECT followed by __THROW.
12570 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12571 * posix/getopt.h (getopt): Likewise.
12572
2a50c078
EPM
125732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12574
12575 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12576 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12577 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12578 in AT_FLAGS.
12579 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12580 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12581
eb5ad2eb
LM
125822010-05-28 Luis Machado <luisgpm@br.ibm.com>
12583
12584 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12585
3c88fe1e
L
125862010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12587
12588 [BZ #11640]
12589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12590 Properly check family and model.
12591
d2f73151
TY
125922010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12593
12594 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12595
ebd2e13d
LM
125962010-05-24 Luis Machado <luisgpm@br.ibm.com>
12597
12598 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12599
b32b8b45
UD
126002010-05-21 Ulrich Drepper <drepper@redhat.com>
12601
12602 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12603 symbol reference.
12604
9acbe24d
AS
126052010-05-19 Andreas Schwab <schwab@redhat.com>
12606
12607 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12608 symbol reference.
12609
f0ccf6ea
AS
126102010-05-21 Andreas Schwab <schwab@redhat.com>
12611
3d04ff3a
AS
12612 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12613 and internal_recvmmsg.
12614 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12615 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12616 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12617 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12618
f0ccf6ea
AS
12619 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12620 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12621 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12622
5b08ac57
AS
126232010-05-20 Andreas Schwab <schwab@redhat.com>
12624
12625 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12626
4828935d
LM
126272010-05-17 Luis Machado <luisgpm@br.ibm.com>
12628
12629 POWER7 optimizations.
12630 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12631 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12632
373d545e
UD
126332010-05-19 Ulrich Drepper <drepper@redhat.com>
12634
12635 * version.h: Update for 2.13 development version.
12636
21a2b1ae
AS
126372010-05-12 Andrew Stubbs <ams@codesourcery.com>
12638
12639 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12640 exceptions. Return 0.
12641
3f7dcb2b
RM
126422010-05-07 Roland McGrath <roland@redhat.com>
12643
12644 * elf/ldconfig.c (main): Add a const.
12645
5f24d53a 126462010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 12647
a160f8d8
UD
12648 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12649 (args_options): Add no-idn option.
12650 (ahosts_keys_int): Add idn_flags to ai_flags.
12651 (parse_option): Handle 'i' option to clear idn_flags.
12652
5f24d53a
UD
12653 * malloc/malloc.c (_int_free): Possible race in the most recently
12654 added check. Only act on the data if no current modification
12655 happened.
265bb1ce
UD
12656
12657See ChangeLog.17 for earlier changes.