]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
conformtest: Unify variants of "constant" and "optional-constant".
[thirdparty/glibc.git] / ChangeLog
1 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2
3 * conform/conformtest.pl: Only accept expected constant or
4 optional-constant values with "==". Parse all "constant" lines in
5 one place. Parse all "optional-constant" lines in one place.
6 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7 * conform/data/fmtmsg.h-data: Likewise.
8 * conform/data/netinet/in.h-data: Likewise.
9 * conform/data/tar.h-data: Likewise.
10 * conform/data/limits.h-data: Use "==" form on "constant" and
11 "optional-constant" lines.
12
13 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14 Use -std=c99 for XOPEN2K.
15 (@knownproblems): Remove.
16 (newtoken): Don't check %isknown.
17
18 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19 Do not expect macro.
20 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
28 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
46 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50 [XPG3] (acosh): Likewise.
51 [XPG3] (asinh): Likewise.
52 [XPG3] (atanh): Likewise.
53 [XPG3] (cbrt): Likewise.
54 [XPG3] (expm1): Likewise.
55 [XPG3] (ilogb): Likewise.
56 [XPG3] (log1p): Likewise.
57 [XPG3] (logb): Likewise.
58 [XPG3] (nextafter): Likewise.
59 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
61 [XPG3] (remainder): Likewise.
62 [XPG3] (rint): Likewise.
63 [XPG3 || XPG4 || UNIX98] (round): Likewise.
64 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
69 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70 [UNIX98 || XOPEN2K] (scalb): Expect.
71 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
72 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
74 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
75 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
76 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
78 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
79 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
80 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
81 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
82 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
84 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
85 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
86 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
87 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
88 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
89 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
90 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
91 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
92 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
93 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
94 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
95 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
96 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
97 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
98 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
99 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
100 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
101 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
102 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
103 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
104 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
105 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
106 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
107 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
108 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
109 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
110 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
111 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
112 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
113 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
114 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
115 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
116 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
117 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
118 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
119 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
120 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
121 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
122 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
123 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
124 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
125 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
126 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
127 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
128 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
129 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
130 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
131 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
132 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
133 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
134 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
135 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
136 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
137 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
138 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
139 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
140 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
141 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
142 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
143 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
144 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
145 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
146 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
147 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
148 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
149 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
150 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
151 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
152 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
153 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
154 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
155 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
156 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
157 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
158 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
159 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
160 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
161 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
162 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
163 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
164 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
165 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
166 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
167 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
168 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
169 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
170 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
171 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
172 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
173 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
174 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
175 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
176 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
177 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
178 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
179 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
180 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
181 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
182 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
183 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
184 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
185 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
186 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
187 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
188 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
189 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
190 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
191 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
192 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
193 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
194 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
195 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
196 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
197 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
198 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
199 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
200 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
201 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
202 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
203 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
204 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
205 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
206 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
207 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
208
209 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
210 _XOPEN_SOURCE_EXTENDED for XPG4.
211
212 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
213
214 * Makeconfig (localtime): Remove variable.
215 (inst_localtime-file): Likewise.
216
217 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
218
219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
220 Update.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
222 Update.
223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
224 Update.
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
226 Update.
227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
228 Update.
229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
230 Update.
231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
232 Update.
233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
234 Update.
235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
236 Update.
237
238 2012-05-01 Joseph Myers <joseph@codesourcery.com>
239
240 [BZ #2550]
241 [BZ #2570]
242 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
243 comparisons to determine direction to adjust input.
244 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
245 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
246 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
247 Likewise.
248 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
249 Likewise.
250 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
251 Likewise.
252 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
253 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
254 Likewise.
255 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
256 Likewise.
257 * math/libm-test.inc (nexttoward_test): Add more tests.
258
259 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
260
261 [BZ #14040]
262 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
263 in version GLIBC_2.1, not GLIBC_2.0.
264 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
265 Likewise.
266
267 2012-04-30 Joseph Myers <joseph@codesourcery.com>
268
269 [BZ #13942]
270 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
271 (1 - x) * (1 + x).
272 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
273 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
274 * math/libm-test.inc (acos_test): Add more tests.
275 (asin_test): Likewise.
276 * sysdeps/i386/fpu/libm-test-ulps: Update.
277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
278
279 [BZ #14034]
280 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
281 of square root.
282 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
283 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
284 * math/libm-test.inc (acos_test_tonearest): New function.
285 (acos_test_towardzero): Likewise.
286 (acos_test_downward): Likewise.
287 (acos_test_upward): Likewise.
288 (asin_test_tonearest): Likewise.
289 (asin_test_towardzero): Likewise.
290 (asin_test_downward): Likewise.
291 (asin_test_upward): Likewise.
292 (main): Call the new functions.
293 * sysdeps/i386/fpu/libm-test-ulps: Update.
294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
295
296 [BZ #13884]
297 [BZ #13924]
298 * math/e_exp10.c: Include <float.h>.
299 (__ieee754_exp10): Handle underflow here rather than multiplying
300 large negative argument by M_LN10.
301 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
302 of __ieee754_expf.
303 * math/e_exp10l.c: Include <float.h>.
304 (__ieee754_exp10l): Handle underflow here rather than multiplying
305 large negative argument by M_LN10l.
306 * math/libm-test.inc (exp10_test): Add another test. Do not allow
307 spurious overflow exception on underflow.
308
309 2012-04-29 Marek Polacek <polacek@redhat.com>
310
311 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
312 (__fortify_function): New macro.
313 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
314 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
315 __extern_always_inline.
316 * libio/bits/stdio2.h: Likewise.
317 * libio/bits/stdio.h: Likewise.
318 * string/string.h: Likewise.
319 * string/bits/string3.h: Likewise.
320 * include/stdio.h: Likewise.
321 * stdlib/bits/stdlib.h: Likewise.
322 * stdlib/stdlib.h: Likewise.
323 * rt/bits/mqueue2.h: Likewise.
324 * rt/mqueue.h: Likewise.
325 * posix/bits/unistd.h: Likewise.
326 * posix/unistd.h: Likewise.
327 * io/bits/poll2.h: Likewise.
328 * io/bits/fcntl2.h: Likewise.
329 * io/fcntl.h: Likewise.
330 * io/sys/poll.h: Likewise.
331 * misc/bits/syslog.h: Likewise.
332 * misc/bits/syslog-ldbl.h: Likewise.
333 * misc/sys/syslog.h: Likewise.
334 * socket/bits/socket2.h: Likewise.
335 * socket/sys/socket.h: Likewise.
336 * debug/tst-chk1.c: Likewise.
337 * wcsmbs/bits/wchar2.h: Likewise.
338 * wcsmbs/bits/wchar-ldbl.h: Likewise.
339 * wcsmbs/wchar.h: Likewise.
340
341 2012-04-29 Andreas Jaeger <aj@suse.de>
342
343 * Makerules (tests): Remove enable-check-abi protection.
344 (check-abi-warn): Remove.
345 (check-abi-%): Remove check-abi-warn usage.
346
347 * configure.in: Remove check-abi configure option.
348 * configure: Regenerated.
349 * config.make.in (enable-check-abi): Remove.
350
351 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
352
353 [BZ #14033]
354 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
355 double functions to double *_finite functions.
356
357 [BZ #13941]
358 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
359 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
360 LDBL_MIN_EXP.
361 * stdio-common/Makefile (tests): Add tst-sprintf3.
362 * stdio-common/tst-sprintf3.c: New file.
363
364 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
365 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
366
367 2012-04-28 Joseph Myers <joseph@codesourcery.com>
368
369 * conform/conformtest.pl: Remove duplicate typed-constant
370 handling.
371
372 2012-04-28 David S. Miller <davem@davemloft.net>
373
374 * Makerules (%.abilist): Add vpath on sysdep_dirs.
375 (check-abi-%): Remove AWK script prerequisite and explicit
376 abilist directory.
377 (check-abi): Rewrite to just diff the symlist with the abilist.
378 (config-tls, config-abi-config): Delete, no longer used.
379 (update-abi-%): Remove AWK script and explicit abilist directory.
380 (update-abi): Rewrite to simply compare and conditionally copy the
381 symlist and the sysdep abilist file. Remove update-abi-config
382 checks.
383 * abilist/ld.abilist: Remove.
384 * abilist/libBrokenLocale.abilist: Remove.
385 * abilist/libanl.abilist: Remove.
386 * abilist/libcrypt.abilist: Remove.
387 * abilist/libdl.abilist: Remove.
388 * abilist/librt.abilist: Remove.
389 * abilist/libthread_db.abilist: Remove.
390 * abilist/libutil.abilist: Remove.
391 * scripts/extract-abilist.awk: Remove.
392 * scripts/merge-abilist.awk: Remove.
393 * sysdeps/generic/libcidn.abilist: New file.
394 * sysdeps/generic/libnss_compat.abilist: New file.
395 * sysdeps/generic/libnss_db.abilist: New file.
396 * sysdeps/generic/libnss_dns.abilist: New file.
397 * sysdeps/generic/libnss_files.abilist: New file.
398 * sysdeps/generic/libnss_hesiod.abilist: New file.
399 * sysdeps/generic/libnss_nis.abilist: New file.
400 * sysdeps/generic/libnss_nisplus.abilist: New file.
401 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
402 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
403 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
404 file.
405 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
406 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
407 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
408 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
409 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
410 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
411 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
412 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
413 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
414 file.
415 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
416 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
417 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
418 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
419 file.
420 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
421 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
422 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
423 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
424 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
425 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
426 file.
427 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
428 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
429 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
430 file.
431 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
433 New file.
434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
435 New file.
436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
437 New file.
438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
439 New file.
440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
441 New file.
442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
443 New file.
444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
445 New file.
446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
447 New file.
448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
449 New file.
450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
451 New file.
452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
453 New file.
454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
455 New file.
456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
457 New file.
458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
459 file.
460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
461 New file.
462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
463 New file.
464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
465 file.
466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
467 New file.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
469 New file.
470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
471 file.
472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
473 New file.
474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
475 New file.
476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
477 New file.
478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
479 New file.
480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
481 New file.
482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
483 New file.
484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
486 file.
487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
488 New file.
489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
490 file.
491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
492 file.
493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
494 file.
495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
496 file.
497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
498 file.
499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
500 New file.
501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
502 file.
503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
504 file.
505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
506 New file.
507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
508 file.
509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
511 file.
512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
513 New file.
514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
515 file.
516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
517 file.
518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
519 file.
520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
521 file.
522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
523 file.
524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
525 New file.
526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
527 file.
528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
529 file.
530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
531 New file.
532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
533 file.
534 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
535 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
536 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
537 file.
538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
539 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
540 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
541 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
542 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
543 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
544 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
545 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
546 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
547 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
550 file.
551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
552 New file.
553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
554 file.
555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
556 file.
557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
558 file.
559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
560 file.
561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
562 file.
563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
564 New file.
565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
566 New file.
567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
568 file.
569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
570 New file.
571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
572 file.
573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
575 file.
576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
577 New file.
578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
579 file.
580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
581 file.
582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
583 file.
584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
585 file.
586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
587 file.
588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
589 New file.
590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
591 New file.
592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
593 file.
594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
595 New file.
596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
597 file.
598
599 2012-04-28 Joseph Myers <joseph@codesourcery.com>
600
601 * conform/conformtest.pl: Fix typo in handling typed-constant from
602 allow-header.
603
604 2012-04-27 Joseph Myers <joseph@codesourcery.com>
605
606 * README: Cut down references to pre-2.6 Linux kernels and
607 Linuxthreads. Update lists of configurations in libc and ports
608 and sort alphabetically. Say "or newer" with Linux kernel version
609 requirements.
610
611 * config.h.in [IS_IN_build]: Allow compiling without optimization.
612
613 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
614
615 [BZ #887]
616 * math/libm-test.inc (logb_test_downward): New test to expose
617 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
618 rounding mode.
619
620 2012-04-27 Joseph Myers <joseph@codesourcery.com>
621
622 [BZ #14027]
623 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
624 to be done.
625 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
626 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
627
628 2012-04-26 Joseph Myers <joseph@codesourcery.com>
629
630 * sysdeps/unix/i386/brk.S: Remove file.
631 * sysdeps/unix/i386/dl-brk.S: Likewise.
632 * sysdeps/unix/i386/pipe.S: Likewise.
633 * sysdeps/unix/i386/sigreturn.S: Likewise.
634 * sysdeps/unix/i386/syscall.S: Likewise.
635 * sysdeps/unix/i386/vfork.S: Likewise.
636 * sysdeps/unix/i386/wait.S: Likewise.
637
638 * sysdeps/unix/common/tcsendbrk.c: Move to ...
639 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
640
641 * configure.in (arm*-none*): Do not allow without
642 --enable-hacker-mode.
643 (netbsd*): Remove case setting base_os.
644 (386bsd*): Likewise.
645 (freebsd*): Likewise.
646 (bsdi*): Likewise.
647 (osf*): Likewise.
648 (sunos*): Likewise.
649 (ultrix*): Likewise.
650 (newsos*): Likewise.
651 (dynix*): Likewise.
652 (*bsd*): Likewise.
653 (sysv*): Likewise.
654 (isc*): Likewise.
655 (esix*): Likewise.
656 (sco*): Likewise.
657 (minix*): Likewise.
658 (irix4*): Likewise.
659 (irix6*): Likewise.
660 (solaris[2-9]*): Likewise.
661 (none): Likewise.
662 * configure: Regenerated.
663
664 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
665
666 [BZ #11521]
667 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
668 overflow or cancellation in calculating denominator.
669 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
670 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
671 down expression to avoid unexpected rounding in newer GCCs.
672 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
673
674 2012-04-26 David S. Miller <davem@davemloft.net>
675
676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
677 long-double compat symbols.
678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
691
692 2012-04-25 David S. Miller <davem@davemloft.net>
693
694 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
695 HWCAP_* values only after the memory barriers have been defined.
696 (atomic_full_barrier): Define.
697 (atomic_read_barrier): Define.
698 (atomic_write_barrier): Define.
699
700 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
701
702 * shlib-versions: Add libgcc_s version information.
703 * sysdeps/generic/libgcc_s.h: Remove.
704 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
705 libgcc_s.h.
706 * sysdeps/gnu/unwind-resume.c: Likewise.
707 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
708
709 2012-04-25 David S. Miller <davem@davemloft.net>
710
711 * sysdeps/unix/sparc/brk.S: Delete.
712 * sysdeps/unix/sparc/dl-brk.S: Delete.
713 * sysdeps/unix/sparc/pipe.S: Delete.
714 * sysdeps/unix/sparc/sysdep.S: Delete.
715 * sysdeps/unix/sparc/sysdep.h: Delete.
716 * sysdeps/unix/sparc/vfork.S: Delete.
717 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
718 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
719 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
720 ret_ERRVAL, r0, r1, MOVE): Define.
721 (JUMPTARGET): Remove.
722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
723 sysdeps/unix/sparc/sysdep.h
724 (ENTRY, END): Remove.
725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
726
727 2012-04-25 Joseph Myers <joseph@codesourcery.com>
728
729 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
730 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
731 -DIS_IN_build.
732
733 * timezone/README: Update upstream location and email address for
734 tzcode and tzdata.
735 * timezone/zdump.c: Update from tzcode 2012b.
736 * timezone/zic.c: Likewise.
737
738 * configure.in (libc_cv_as_needed): Remove test.
739 * configure: Regenerated.
740 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
741 conditional definition.
742 [$(have-as-needed) != yes] (no-as-needed): Likewise.
743 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
744 * config.make.in (have-as-needed): Remove variable.
745
746 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
747 Paul Pluzhnikov <ppluzhnikov@google.com>
748
749 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
750 strings correctly.
751
752 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
753
754 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
755 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
756 * sysdeps/sh/strlen.S: Likewise.
757
758 2012-04-24 Joseph Myers <joseph@codesourcery.com>
759
760 * sysdeps/unix/fork.S: Remove file.
761 * sysdeps/unix/i386/fork.S: Likewise.
762 * sysdeps/unix/sparc/fork.S: Likewise.
763
764 * sysdeps/unix/system.c: Remove file.
765 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
766
767 * sysdeps/unix/getegid.S: Remove file.
768 * sysdeps/unix/geteuid.S: Likewise.
769
770 2012-04-24 Roland McGrath <roland@hack.frob.com>
771
772 * scripts/check-localplt.awk: New file.
773 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
774 of diff.
775 * scripts/data/localplt-generic.data: Add a comment.
776
777 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
778 NODE when __dir_mkfile failed.
779 * sysdeps/mach/hurd/symlinkat.c: Likewise.
780 Reported by Ludovic Courtès <ludo@gnu.org>.
781
782 2012-04-24 Andreas Jaeger <aj@suse.de>
783
784 * Makerules (common-clean): Also remove gen-as-const-headers
785 files.
786
787 2012-04-24 Joseph Myers <joseph@codesourcery.com>
788
789 * Makerules (native-compile): Do not change working directory for
790 build. Use $(OUTPUT_OPTION) in command.
791 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
792
793 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
794
795 [BZ #13886]
796 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
797 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
798 * math/libm-test.inc (floor_test): Add more tests.
799 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
800
801 2012-04-24 Joseph Myers <joseph@codesourcery.com>
802
803 * sysdeps/unix/getdents.c: Remove file.
804 * sysdeps/unix/sysv/getdents.c: Likewise.
805 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
806
807 * sysdeps/unix/syscalls.list (madvise): Add syscall from
808 sysdeps/unix/mman/syscalls.list.
809 (mmap): Likewise.
810 (mprotect): Likewise.
811 (msync): Likewise.
812 (munmap): Likewise.
813 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
814 * sysdeps/unix/mman/syscalls.list: Remove.
815 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
816
817 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
818 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
819 * configure: Regenerated.
820 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
821 $(libgcc_s_suffix).
822 * config.make.in (libgcc_s_suffix): Remove variable.
823
824 2012-04-23 Joseph Myers <joseph@codesourcery.com>
825
826 * sysdeps/unix/sysv/gethostname.c: Move to ...
827 * sysdeps/posix/gethostname.c: ... here.
828
829 * sysdeps/unix/execve.S: Remove file.
830
831 * sysdeps/unix/_exit.S: Remove file.
832
833 2012-04-23 Andreas Jaeger <aj@suse.de>
834
835 [BZ #13739]
836 * manual/Makefile: Remove make dist support, there's no
837 need for a stand-alone documentation tar ball.
838 (TEXI2DVI): Define always, it's not in Makeconfig.
839 (dist): Removed.
840 (tar-it): Removed.
841 (edition): Removed.
842 (glibc-doc-$(edition).tar): Removed
843 (%.Z): Removed.
844 (%.gz): Removed.
845 (%.uu): Removed.
846 (ETAGS): Remove, it's in Makeconfig.
847 (move-if-change): Remove, it's in Makeconfig.
848
849 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
850
851 [BZ #13970]
852 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
853 (strtod, strtof, strtold, strtol, strtoul, strtoq)
854 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
855 (strtod_l, strtof_l, strtold_l): Remove __wur.
856 It is not necessarily an error to ignore strtol's return value.
857 One can reliably look at the stored endptr to decide whether
858 the number had valid syntax.
859
860 2012-04-21 Andreas Jaeger <aj@suse.de>
861
862 [BZ #13739]
863 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
864
865 2012-04-21 Joseph Myers <joseph@codesourcery.com>
866
867 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
868 * sysdeps/unix/sysv/Versions: Remove file.
869
870 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
871
872 [BZ #13927]
873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
874
875 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
876
877 [BZ #7064]
878 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
879 version from __vm86.
880
881 2012-04-20 Joseph Myers <joseph@codesourcery.com>
882
883 * sysdeps/unix/common/lxstat.c: Remove file.
884 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
885
886 * sysdeps/unix/sysv/Makefile: Remove file.
887
888 * sysdeps/unix/sysv/direct.h: Remove file.
889
890 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
891 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
892 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
893 * sysdeps/unix/sysv/bits/signum.h: Likewise.
894 * sysdeps/unix/sysv/bits/stat.h: Likewise.
895 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
896 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
897
898 * sysdeps/unix/sysv/setrlimit.c: Remove file.
899
900 * sysdeps/unix/xmknod.c: Remove file.
901 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
902
903 * sysdeps/unix/sysv/settimeofday.c: Remove file.
904
905 * sysdeps/unix/sysv/i386/time.S: Remove file.
906
907 * sysdeps/unix/fxstat.c: Remove file.
908 * sysdeps/unix/xstat.c: Likewise.
909 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
910
911 * sysdeps/unix/sysv/sigaction.c: Remove file.
912
913 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
914 (sysdep_headers): Remove variable.
915 [termio.h not in sysdep_headers] (generated): Likewise.
916 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
917 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
918 * sysdeps/unix/sysv/tcdrain.c: Likewise.
919 * sysdeps/unix/sysv/tcflow.c: Likewise.
920 * sysdeps/unix/sysv/tcflush.c: Likewise.
921 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
922 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
923 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
924 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
925 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
926
927 * sysdeps/unix/siglist.c: Remove file.
928
929 * sysdeps/unix/getppid.S: Remove file.
930
931 * sysdeps/unix/mkdir.c: Remove file.
932 * sysdeps/unix/rmdir.c: Likewise.
933
934 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
935
936 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
937 ERR_MAX value.
938 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
939 errlist-compat value.
940
941 2012-04-18 David S. Miller <davem@davemloft.net>
942
943 * sysdeps/generic/memcopy.h (reg_char): Delete.
944 * debug/strcat_chk.c: Use char, not reg_char.
945 * debug/strcpy_chk.c: Likewise.
946 * debug/strncat_chk.c: Likewise.
947 * debug/strncpy_chk.c: Likewise.
948 * string/memchr.c: Likewise.
949 * string/memrchr.c: Likewise.
950 * string/rawmemchr.c: Likewise.
951 * string/strcat.c: Likewise.
952 * string/strchr.c: Likewise.
953 * string/strchrnul.c: Likewise.
954 * string/strcmp.c: Likewise.
955 * string/strcpy.c: Likewise.
956 * string/strncat.c: Likewise.
957 * string/strncmp.c: Likewise.
958 * string/strncpy.c: Likewise.
959
960 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
961
962 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
963 __builtin_memcopy is called when src and dest ranges are known to not
964 overlap.
965
966 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
967
968 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
969 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
970 fwd_align_merge macro call.
971 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
972 bwd_align_merge macro call.
973 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
974
975 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
976
977 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
978 bwd_align_merge macros.
979 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
980 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
981 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
982
983 2012-04-18 David S. Miller <davem@davemloft.net>
984
985 * sysdeps/sparc/sparc64/memcopy.h: Delete.
986
987 2012-04-18 Andreas Jaeger <aj@suse.de>
988
989 [BZ# 6794]
990 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
991 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
992 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
993
994 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
995 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
996 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
997
998 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
999 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1000 Adjust for changed ldbl-128 files.
1001
1002 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1003 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1004 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1005
1006 2012-04-17 David S. Miller <davem@davemloft.net>
1007
1008 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1009
1010 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1011
1012 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1013 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1014 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1015 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1016 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1017 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1018
1019 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1020
1021 [BZ #6794]
1022 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1023 * math/libm-test.inc: Add ilogb errno and exception tests.
1024 * math/w_ilogb.c: New file: ilogb wrapper.
1025 * math/w_ilogbf.c: New file: ilogbf wrapper.
1026 * math/w_ilogbl.c: New file: ilogbl wrapper.
1027 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1028 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1029 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1030 exception being thrown with 0.0 as argument.
1031 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1032 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1033 exception being thrown with 0.0 as argument.
1034 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1035 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1036 exception being thrown with 0.0 as argument.
1037 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1038 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1039 exception being thrown with 0.0 as argument.
1040 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1041 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1042 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1043 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1045 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1046 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1047 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1048 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1049
1050 2012-04-17 Petr Baudis <pasky@ucw.cz>
1051
1052 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1053 with altivec.
1054
1055 2012-04-16 Marek Polacek <polacek@redhat.com>
1056
1057 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1058
1059 2012-04-16 Marek Polacek <polacek@redhat.com>
1060
1061 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1062 operands of fdivp instruction.
1063
1064 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1067 * elf/tst-auditmod3b.c: Likewise.
1068 * elf/tst-auditmod4b.c: Likewise.
1069 * elf/tst-auditmod5b.c: Likewise.
1070 * elf/tst-auditmod6b.c: Likewise.
1071 * elf/tst-auditmod6c.c: Likewise.
1072 * elf/tst-auditmod7b.c: Likewise.
1073 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1074 * sysdeps/x86_64/preconfigure.in: Likewise.
1075 * sysdeps/x86_64/preconfigure: Regenerated.
1076
1077 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1080 __ILP32__.
1081
1082 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1083
1084 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1085 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1086
1087 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1088
1089 [BZ #13973]
1090 * locale/iso-639.def: Fix gl language name. Spotted by
1091 Yaron Shahrabani.
1092
1093 2012-04-12 Roland McGrath <roland@hack.frob.com>
1094
1095 [BZ #2074]
1096 * libio/libio.h (__io_write_fn): Update comment.
1097
1098 2012-04-12 Petr Baudis <pasky@ucw.cz>
1099
1100 [BZ #2074]
1101 * stdio.texi (Hook Functions): The user provided writer function
1102 is not allowed to return -1.
1103
1104 2012-04-11 David S. Miller <davem@davemloft.net>
1105
1106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1107
1108 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1109
1110 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1111 Add a leading slash to rtkaio.
1112
1113 2012-04-11 Jim Meyering <meyering@redhat.com>
1114
1115 [BZ #11959]
1116 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1117 It is not necessarily an error to ignore fwrite's return
1118 value. One can reliably use ferror to test for errors after
1119 the fact.
1120
1121 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1122
1123 * bits/types.h (__snseconds_t): New type.
1124 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1125
1126 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1128 (__SNSECONDS_T_TYPE): Likewise.
1129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1130 (__SNSECONDS_T_TYPE): Likewise.
1131 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1132 (__SNSECONDS_T_TYPE): Likewise.
1133
1134 2012-04-10 Andreas Jaeger <aj@suse.de>
1135
1136 [BZ #2636]
1137 * manual/time.texi (Processor Time): Return type of times is
1138 elapsed real time since an arbitrary point in the past.
1139 (CPU Time): Move CLK_TCK from here...
1140 (Processor Time): ...to here. Correct description.
1141 * manual/conf.texi (Constants for Sysconf): Correct description of
1142 _SC_CLK_TCK.
1143
1144 2012-04-10 David S. Miller <davem@davemloft.net>
1145
1146 [BZ #13967]
1147 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1148 where the is a gap between DT_REL(A) and DT_JMPREL.
1149
1150 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1151
1152 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1153 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1154 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1155
1156 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1157
1158 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1159 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1160 (dl_main): Handle --inhibit-cache.
1161 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1162 _dl_inhibit_cache.
1163 * elf/dl-load.c (_dl_map_object): Use it.
1164 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1165
1166 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1167
1168 [BZ #13872]
1169 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1170 (__ieee754_powl): Saturate large exponents rather than testing for
1171 overflow of y*log2(x).
1172 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1173 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1174 exceptions.
1175
1176 [BZ #11521]
1177 * math/s_ctan.c: Include <float.h>.
1178 (__ctan): Avoid internal overflow or cancellation in calculating
1179 denominator.
1180 * math/s_ctanf.c: Likewise.
1181 * math/s_ctanl.c: Likewise.
1182 * math/s_ctanh.c: Likewise.
1183 * math/s_ctanhf.c: Likewise.
1184 * math/s_ctanhl.c: Likewise.
1185 * math/libm-test.inc (ctan_test): Add more tests.
1186 (ctanh_test): Likewise.
1187 * sysdeps/i386/fpu/libm-test-ulps: Update.
1188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1189
1190 2012-04-09 Andreas Jaeger <aj@suse.de>
1191
1192 [BZ #6894]
1193 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1194 is an optional BSD extension.
1195
1196 [BZ #10254]
1197 * manual/stdio.texi (Opening Streams): Document additional fopen
1198 parameters.
1199
1200 2012-04-09 Roland McGrath <roland@hack.frob.com>
1201
1202 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1203 %eax without telling the compiler.
1204
1205 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1206
1207 [BZ # 13963]
1208 * manual/install.texi: Use sourceware.org.
1209
1210 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1211
1212 [BZ #13873]
1213 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1214 (__ieee754_pow): Generate overflow and underflow using huge*huge
1215 and tiny*tiny rather than just returning constant infinity or zero
1216 for large exponents.
1217 * math/libm-test.inc (pow_test): Require overflow exceptions for
1218 applicable cases of large exponents.
1219
1220 [BZ #706]
1221 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1222 (__ieee754_pow): Use iterative multiplication algorithm only for
1223 integer exponents with absolute value below 1024. Check for odd
1224 integer exponents when using algorithm for real exponents.
1225 * math/libm-test.inc (pow_test): Add more tests.
1226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1227
1228 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1229
1230 [BZ #13705]
1231 * math/libm-test.inc (exp_test): Do not allow overflow exception
1232 on underflow test.
1233
1234 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1235
1236 [BZ #13705]
1237 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1238 instead of __kernel_standard_f.
1239
1240 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1241
1242 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1243 * sysdeps/x86_64/memset_chk.S: Likewise.
1244
1245 2012-04-08 Andreas Jaeger <aj@suse.de>
1246
1247 [BZ #10153]
1248 * manual/startup.texi (Environment Access): Describe return value
1249 for putenv and setenv.
1250
1251 [BZ #6895]
1252 * manual/filesys.texi (Directory Entries): Add description for
1253 DT_LNK.
1254
1255 [BZ #6890]
1256 * manual/filesys.texi (Directory Entries): Clarify that it's file
1257 system not operating system in the description of DT_UNKNOWN.
1258
1259 [BZ #6578]
1260 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1261
1262 2012-04-08 Stephen Compall <s11@member.fsf.org>
1263
1264 [BZ #6649]
1265 * manual/llio.texi (Opening and Closing Files): Add cross
1266 reference to explain mode argument.
1267
1268 2012-04-07 Mike Frysinger <vapier@gentoo.org>
1269
1270 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1271 * sysdeps/x86_64/memset_chk.S: Likewise.
1272
1273 2012-04-07 David S. Miller <davem@davemloft.net>
1274
1275 * elf/elf.h (R_SPARC_WDISP10): Define.
1276 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1277 R_SPARC_SIZE32.
1278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1279 R_SPARC_SIZE64 and R_SPARC_H34.
1280
1281 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1282
1283 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1284 conditions and remove no longer applicable assertion.
1285
1286 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1287
1288 * bits/byteswap.h: Include <features.h>.
1289 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1290 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1291
1292 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1293
1294 * bits/byteswap.h (__bswap_16): Removed.
1295 Include <bits/byteswap-16.h> to get __bswap_16.
1296 * sysdeps/i386/bits/byteswap.h: Likewise.
1297 * sysdeps/s390/bits/byteswap.h: Likewise.
1298 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1299 * bits/byteswap-16.h: New file.
1300 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1301 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1302 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1303 * string/Makefile (headers): Add bits/byteswap-16.h.
1304
1305 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1306
1307 [BZ #13895]
1308 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1309 extra indirection.
1310 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1311 * nss/tst-nss-static.c: New.
1312
1313 2012-04-06 Robert Millan <rmh@gnu.org>
1314
1315 [BZ #6486]
1316 * manual/llio.texi (File Position Primitive): lseek
1317 refers to WHENCE when it really means OFFSET.
1318
1319 2012-04-06 Andreas Jaeger <aj@suse.de>
1320
1321 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1322 strncmp declarations.
1323
1324 * abilist/libc.abilist: Add __poll and __ppoll.
1325
1326 2012-04-05 David S. Miller <davem@davemloft.net>
1327
1328 * scripts/check-local-headers.sh: Accept a host triplet in the
1329 path matched by the exclude regexp.
1330
1331 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1332 definition.
1333 * sysdeps/powerpc/powerpc32/dl-machine.h
1334 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1335 * sysdeps/s390/s390-32/dl-machine.h
1336 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1337 * sysdeps/sparc/sparc32/dl-machine.h
1338 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1339 * sysdeps/sparc/sparc64/dl-machine.h
1340 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1341
1342 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1343 lazy binding.
1344 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1345 undefined symbol errors.
1346
1347 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1348 DT_NEEDED entries.
1349
1350 2012-04-05 Michael Matz <matz@suse.de>
1351
1352 [BZ #13592]
1353 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1354
1355 2012-04-05 Andreas Jaeger <aj@suse.de>
1356
1357 [BZ #13908]
1358 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1359 comment.
1360
1361 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1362
1363 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1364 which ROUND is no valid rounding mode.
1365
1366 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1367
1368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1369 read again.
1370 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1371
1372 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1373
1374 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1375 an exception using FPU order intentionally.
1376
1377 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1378
1379 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1380 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1381 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1382 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1383
1384 2012-04-05 Simon Josefsson <simon@josefsson.org>
1385
1386 [BZ #12340]
1387 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1388 EINVAL when BUFLEN is too smal.
1389
1390 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1391
1392 [BZ #13553]
1393 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1394 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1395
1396 2012-04-03 Andreas Jaeger <aj@suse.de>
1397
1398 [BZ #13938]
1399 * manual/setjmp.texi (System V contexts): Fix sentence.
1400
1401 [BZ #13926]
1402 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1403 New macro for this case.
1404 [!__GNUC__] (__bswap_64): New inline function for this case.
1405 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1406 * bits/byteswap.h: Likewise.
1407 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1408 ull, guard with __GLIBC_HAVE_LONG_LONG.
1409
1410 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1411 __GLIBC_HAVE_LONG_LONG.
1412
1413 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1414 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1415
1416 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1417
1418 [BZ #13691]
1419 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1420 inptr and inend, rather than using last_ch.
1421
1422 2012-04-02 David S. Miller <davem@davemloft.net>
1423
1424 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1425 * stdio-common/printf-parse.h (read_int): Change return type to
1426 'int', return -1 on INT_MAX overflow.
1427 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1428 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1429 overflows INT_MAX. Check for overflow of in-format-string precision
1430 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1431 SIZE_MAX not INT_MAX for integer overflow test.
1432 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1433 skip the construct in the format string but do not record anything.
1434 * stdio-common/bug22.c: Adjust to test both width/prevision
1435 INT_MAX overflow as well as total length INT_MAX overflow. Check
1436 explicitly for proper errno values.
1437
1438 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1439
1440 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1441 CHAR_MAX.
1442 * string/test-strcmp.c [! WIDE]: Likewise.
1443 * time/tst-mktime2.c: Likewise for INT_MAX.
1444 * string/test-string.h: #include <sys/param.h> for MIN.
1445
1446 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1447 * sysdeps/i386/init-first.c (init): Likewise.
1448 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1449 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1450 * sysdeps/sh/init-first.c (init): Likewise.
1451
1452 2012-04-01 Ulrich Drepper <drepper@gmail.com>
1453
1454 * po/ru.po: Update from translation team.
1455 * po/vi.po: Likewise.
1456
1457 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1458
1459 * resolv/nss_dns/dns-host.c: Merge copyright years.
1460
1461 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1462
1463 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1464 Optimize memcpy with prefetch if
1465 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1466 src, dst pointers have unequal 16 byte alignments.
1467
1468 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1469
1470 [BZ #13928]
1471 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1472 from a CNAME entry and return the minimum ttl for the query.
1473 (gaih_getanswer_slice): Likewise.
1474
1475 2012-03-30 Jeff Law <law@redhat.com>
1476
1477 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1478 due to long keys.
1479 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1480 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1481
1482 * resolv/nss_dns/dns-host.c: Update copyright year.
1483
1484 2012-03-30 Ulrich Drepper <drepper@gmail.com>
1485
1486 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1487 requests to save a system call. Fix check that all bytes are sent.
1488
1489 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1490 comments for sendmmsg.
1491
1492 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1493
1494 [BZ #13691]
1495 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1496 with only 1 character between 0x0041 and 0x01b0.
1497 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1498 * wcsmbs/tst-mbsnrtowcs.c: New file.
1499
1500 2012-03-29 David S. Miller <davem@davemloft.net>
1501
1502 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1503 small copies by hand.
1504
1505 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1506
1507 [BZ #13761]
1508 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1509 _nss_compat_initgroups_dyn): Fall back to malloc/free
1510 for large group memberships.
1511
1512 2012-03-28 David S. Miller <davem@davemloft.net>
1513
1514 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1515 that branches into memcpy.
1516 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1517 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1518 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1519 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1521 bits.
1522 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1523 implementation too.
1524 * sysdeps/sparc/mempcpy.S: New file.
1525
1526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1527 the IFUNC routine in the libc case.
1528 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1529
1530 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1531 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1532 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1533 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1534 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1535 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1536 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1537 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1538
1539 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1540 loop to 256 bytes instead of 64 bytes and fix test signedness.
1541
1542 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1543 * sysdeps/sparc/sparc32/Makefile: rather than here...
1544 * sysdeps/sparc/sparc64/Makefile: and here.
1545
1546 2012-03-28 Ulrich Drepper <drepper@gmail.com>
1547
1548 * malloc/mallocbug.c: Avoid warnings about unused variables.
1549
1550 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1551
1552 [BZ #13760]
1553 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1554 in the right place. Discard and retry query if response is
1555 larger than input buffer size.
1556
1557 2012-03-28 Joseph Myers <joseph@codesourcery.com>
1558
1559 [BZ #369]
1560 [BZ #2678]
1561 [BZ #3866]
1562 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1563 x for large integer exponent.
1564 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1565 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1566 sign of result as needed afterwards.
1567 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1568 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1569 result for underflowing pow the same as for overflow.
1570 (__kernel_standard_l): Handle powl overflow and underflow here
1571 rather than calling __kernel_standard.
1572 * math/libm-test.inc (pow_test): Add more tests.
1573
1574 [BZ #3868]
1575 [BZ #13879]
1576 [BZ #13910]
1577 [BZ #13911]
1578 [BZ #13912]
1579 [BZ #13913]
1580 [BZ #13915]
1581 [BZ #13916]
1582 [BZ #13917]
1583 [BZ #13918]
1584 [BZ #13919]
1585 [BZ #13920]
1586 [BZ #13921]
1587 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1588 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1589 (__kernel_standard_l): New function.
1590 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1591 __kernel_standard.
1592 * math/w_acosl.c (__acosl): Likewise.
1593 * math/w_asinl.c (__asinl): Likewise.
1594 * math/w_atan2l.c (__atan2l): Likewise.
1595 * math/w_atanhl.c (__atanhl): Likewise.
1596 * math/w_coshl.c (__coshl): Likewise.
1597 * math/w_exp10l.c (__exp10l): Likewise.
1598 * math/w_exp2l.c (__exp2l): Likewise.
1599 * math/w_fmodl.c (__fmodl): Likewise.
1600 * math/w_hypotl.c (__hypotl): Likewise.
1601 * math/w_j0l.c (__j0l, __y0l): Likewise.
1602 * math/w_j1l.c (__j1l, __y1l): Likewise.
1603 * math/w_jnl.c (__jnl, __ynl): Likewise.
1604 * math/w_lgammal.c (__lgammal): Likewise.
1605 * math/w_log10l.c (__log10l): Likewise.
1606 * math/w_log2l.c (__log2l): Likewise.
1607 * math/w_logl.c (__logl): Likewise.
1608 * math/w_powl.c (__powl): Likewise.
1609 * math/w_remainderl.c (__remainderl): Likewise.
1610 * math/w_scalbl.c (sysv_scalbl): Likewise.
1611 * math/w_sinhl.c (__sinhl): Likewise.
1612 * math/w_sqrtl.c (__sqrtl): Likewise.
1613 * math/w_tgammal.c (__tgammal): Likewise.
1614 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1615 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1616 * math/libm-test.inc (acos_test): Add more tests.
1617 (acosh_test): Likewise.
1618 (asin_test): Likewise.
1619 (atanh_test): Likewise.
1620 (exp_test): Likewise.
1621 (exp10_test): Likewise.
1622 (exp2_test): Likewise.
1623 (expm1_test): Likewise.
1624 (lgamma_test): Likewise.
1625 (log_test): Likewise.
1626 (log10_test): Likewise.
1627 (log1p_test): Likewise.
1628 (log2_test): Likewise.
1629 (pow_test): Do not allow some spurious overflow exceptions.
1630 (sqrt_test): Add more tests.
1631 (tgamma_test): Likewise.
1632 (y0_test): Likewise.
1633 (y1_test): Likewise.
1634 (yn_test): Likewise.
1635
1636 2012-03-27 Anton Blanchard <anton@samba.org>
1637
1638 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1639 MAP_HUGETLB.
1640 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1641 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1642 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1643
1644 2012-03-27 David S. Miller <davem@davemloft.net>
1645
1646 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1647
1648 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1649 have-as-vis3 check.
1650
1651 2012-03-27 Andreas Jaeger <aj@suse.de>
1652
1653 * sysdeps/x86_64/elf/configure.in: Moved to ...
1654 * sysdeps/x86_64/configure.in: ... here.
1655 * sysdeps/x86_64/elf/start.S: Moved to ...
1656 * sysdeps/x86_64/start.S: ... here.
1657 * sysdeps/x86_64/elf/configure: Delete.
1658
1659 * sysdeps/x86_64/configure.in: Merge contents from
1660 sysdeps/i386/configure.in (without i686 check).
1661
1662 * sysdeps/i386/elf/Versions: Merge into ...
1663 * sysdeps/i386/Versions: ... this.
1664 * sysdeps/i386/elf/Versions: Delete file.
1665 * sysdeps/i386/elf/start.S: Moved to ...
1666 * sysdeps/i386/start.S: ...here.
1667 * sysdeps/i386/elf/configure.in: Merge into...
1668 * sysdeps/i386/configure.in: ...here.
1669 * sysdeps/i386/elf/configure.in: Delete file.
1670 * sysdeps/i386/elf/configure: Delete file.
1671
1672 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1673 * debug/backtracesyms.c: ... here.
1674 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1675 * debug/backtracesymsfd.c: ... here.
1676 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1677 * sysdeps/generic/ifunc-sel.h: ... here.
1678
1679 * sysdeps/unix/i386/start.c: Delete file.
1680 * sysdeps/unix/sparc/start.c: Delete file.
1681 * sysdeps/unix/start.c: Delete file.
1682
1683 * sysdeps/sh/elf/configure.in: Moved to ...
1684 * sysdeps/sh/configure.in: ... here.
1685 * sysdeps/sh/elf/start.S: Moved to ...
1686 * sysdeps/sh/start.S: ... here.
1687 * sysdeps/sh/elf/configure: Delete file.
1688
1689 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1690 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1691 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1692 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1693 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1694 * sysdeps/powerpc/powerpc64/start.S: here.
1695 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1696 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1697 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1698 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1699 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1700
1701 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1702 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1703 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1704 * sysdeps/powerpc/powerpc32/start.S: ... here.
1705 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1706 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1707 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1708
1709 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1710 * sysdeps/powerpc/ifunc-sel.h: ... here.
1711 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1712 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1713
1714 * sysdeps/sparc/elf/configure.in: Moved to ...
1715 * sysdeps/sparc/configure.in: ... here.
1716 * sysdeps/sparc/elf/configure: Delete file.
1717 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1718 * sysdeps/sparc/sparc32/start.S: ... here.
1719 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1720 * sysdeps/sparc/sparc64/start.S: ... here.
1721 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1722 * sysdeps/sparc/sparc32/Makefile: ... this.
1723 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1724 * sysdeps/sparc/sparc64/Makefile: ... this.
1725
1726 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1727 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1728 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1729 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1730 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1731 * sysdeps/s390/s390-32/setjmp.S: ... here.
1732 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1733 * sysdeps/s390/s390-32/configure.in: ... here.
1734 * sysdeps/s390/s390-32/elf/configure: Delete file.
1735 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1736 * sysdeps/s390/s390-32/start.S: ... here.
1737
1738 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1739 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1740 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1741 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1742 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1743 * sysdeps/s390/s390-64/setjmp.S: ... here.
1744 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1745 * sysdeps/s390/s390-64/configure.in: ... here
1746 * sysdeps/s390/s390-64/elf/configure: Delete file.
1747 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1748 * sysdeps/s390/s390-64/start.S: ... here.
1749 * sysdeps/s390/s390-64/elf/configure: Delete.
1750
1751 * configure.in: Remove support for elf directories in sysdeps.
1752
1753 * configure: Regenerated.
1754 * sysdeps/i386/configure: Regenerated.
1755 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1756 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1757 * sysdeps/s390/s390-32/configure: Regenerated.
1758 * sysdeps/s390/s390-64/configure: Regenerated.
1759 * sysdeps/sh/configure: Regenerated.
1760 * sysdeps/sparc/configure: Regenerated.
1761 * sysdeps/x86_64/configure: Regenerated.
1762
1763 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1764
1765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1766
1767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1768 denormal result into account.
1769
1770 2012-03-25 Roland McGrath <roland@hack.frob.com>
1771
1772 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1773 Reported by Allan McRae <allan@archlinux.org>.
1774
1775 2012-03-23 Jeff Law <law@redhat.com>
1776
1777 * nss/getnssent.c (__nss_getent): Fix typo.
1778
1779 2012-03-23 David S. Miller <davem@davemloft.net>
1780
1781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1782
1783 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1784
1785 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1786 to pad to uint64_t for each field.
1787 (dl_tls_index): Replace unsigned long with uint64_t.
1788
1789 2012-03-23 Daniel Jacobowitz <dmj@google.com>
1790 Paul Pluzhnikov <ppluzhnikov@google.com>
1791
1792 [BZ #6528]
1793 * grp/Makefile (otherlibs): Don't set it.
1794 * inet/Makefile (otherlibs): Likewise.
1795 * login/Makefile (otherlibs): Likewise.
1796 * nscd/Makefile (otherlibs): Likewise.
1797 * posix/Makefile (otherlibs): Likewise.
1798 * pwd/Makefile (otherlibs): Likewise.
1799 * rt/Makefile (otherlibs): Likewise.
1800 * sunrpc/Makefile (otherlibs): Likewise.
1801 * nss/Makefile (otherlibs): Likewise.
1802 Add libnss_files to routines and static-only-routines.
1803 ($(objpfx)getent): Remove rule.
1804 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1805 static-only-routines.
1806
1807 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1808
1809 [BZ #13892]
1810 * math/s_cexp.c: Include <float.h>.
1811 (__cexp): Handle exp result overflowing not necessarily
1812 overflowing both real and imaginary parts of result.
1813 * math/s_cexpf.c: Likewise.
1814 * math/s_cexpl.c: Likewise.
1815 * math/libm-test.inc (cexp_test): Add more tests.
1816 * sysdeps/i386/fpu/libm-test-ulps: Update.
1817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1818
1819 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1820
1821 * include/link.h (ELFW): New macro.
1822 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1823 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1824
1825 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1826
1827 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1828 with uint64_t.
1829
1830 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1831
1832 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1833 declaration.
1834 (struct La_x32_retval): Likewise.
1835
1836 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1837
1838 * sysdeps/x86_64/preconfigure.in: New file.
1839 * sysdeps/x86_64/preconfigure: New generated file.
1840
1841 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1842
1843 [BZ #13824]
1844 * math/e_exp2l.c: Include <float.h>.
1845 (__ieee754_exp2l): Handle overflow and underflow cases
1846 separately. Only pass fractional part of argument to
1847 __ieee754_expl.
1848 * math/libm-test.inc (exp2_test): Add more tests.
1849
1850 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1851 negating x to take absolute value.
1852 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1853 Likewise.
1854 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1855 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1856 Likewise.
1857 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1858 computing low part if x was negated.
1859 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1860
1861 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1862
1863 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1864 la_x32_gnu_pltexit.
1865 (pltexit): Cast int_retval to ptrdiff_t.
1866 * elf/tst-auditmod3b.c: Likewise.
1867 * elf/tst-auditmod4b.c: Likewise.
1868 * elf/tst-auditmod5b.c: Likewise.
1869 * elf/tst-auditmod6b.c: Likewise.
1870 * elf/tst-auditmod6c.c: Likewise.
1871 * elf/tst-auditmod7b.c: Likewise.
1872
1873 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1874 and x32_gnu_pltexit.
1875
1876 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1877 __ELF_NATIVE_CLASS.
1878 (La_x32_regs): New macro.
1879 (La_x32_retval): Likewise.
1880 (la_x32_gnu_pltenter): New function prototype.
1881 (la_x32_gnu_pltexit): Likewise.
1882
1883 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1884
1885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1886 exponent.
1887
1888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1889
1890 * configure.in (libc_cv_cc_nofma): Check for option to disable
1891 generation of FMA instructions.
1892 * configure: Regenerate.
1893 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1894 * sysdeps/ieee754/dbl-64/Makefile: New file.
1895 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1896 Remove brandred-fma4.
1897 (CFLAGS-brandred-fma4.c): Remove.
1898 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1899 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1900 define.
1901 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1902 define.
1903
1904 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1905
1906 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1907 LLONG_MAX != LONG_MAX.
1908 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1909 (_fitoa_word): Likewise.
1910 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1911 LLONG_MAX != LONG_MAX.
1912 * stdio-common/_itowa.h: Include <_itoa.h>.
1913 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1914 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1915 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1916 only if not defined.
1917 (_ITOA_WORD_TYPE): Likewise.
1918 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1919 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1920
1921 2012-03-21 David S. Miller <davem@davemloft.net>
1922
1923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1924
1925 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1926
1927 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1928 of x86_64 when setting libc_cv_slibdir, libdir and
1929 libc_cv_localedir.
1930 * sysdeps/unix/sysv/linux/configure: Regenerated.
1931
1932 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1933
1934 * manual/lang.texi (Old Varargs): Remove section.
1935 (How Variadic): Update menu.
1936 (va_start): Do not mention varargs.h.
1937
1938 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1939 Joseph Myers <joseph@codesourcery.com>
1940
1941 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1942 link test.
1943 * configure: Regenerated.
1944
1945 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1946
1947 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1948 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1949 conformtest.pl
1950
1951 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1952
1953 * NOTES: Remove.
1954 * Makefile (files-for-dist): Remove NOTES.
1955 (NOTES): Remove rule.
1956 * README: Don't refer to NOTES.
1957 * manual/creature.texi: Don't include macros.texi.
1958 * manual/intro.texi (creature.texi): Remove comment referring to
1959 NOTES.
1960
1961 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1962 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1963 * configure: Regenerated.
1964 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1965 LIBC_TRY_CC_OPTION.
1966 (libc_cv_as_i686): Likewise.
1967 (libc_cv_cc_avx): Likewise.
1968 (libc_cv_cc_sse2avx): Likewise.
1969 (libc_cv_cc_fma4): Likewise.
1970 (libc_cv_cc_novzeroupper): Likewise.
1971 * sysdeps/i386/configure: Regenerated.
1972
1973 [BZ #13883]
1974 * sysdeps/i386/fpu/s_cexp.S: Remove.
1975 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1976 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1977 * math/libm-test.inc (cexp_test): Add more tests.
1978 * sysdeps/i386/fpu/libm-test-ulps: Update.
1979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1980
1981 2012-03-21 Allan McRae <allan@archlinux.org>
1982
1983 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1984
1985 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1986
1987 [BZ #13871]
1988 * math/w_exp2.c: Do not include <float.h>.
1989 (o_threshold, u_threshold): Remove.
1990 (__exp2): Calculate result before checking finiteness and calling
1991 __kernel_standard.
1992 * math/w_exp2f.c: Likewise.
1993 * math/w_exp2l.c: Likewise.
1994 * math/libm-test.inc (exp2_test): Require overflow exception for
1995 1e6 input.
1996
1997 [BZ #3866]
1998 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1999 range of signed 64-bit integers before using fistpll. Remove
2000 checks for whether integers fit in mantissa bits.
2001 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2002 the range of signed 32-bit integers before using fistpl. Remove
2003 checks for whether integers fit in mantissa bits.
2004 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2005 (__ieee754_powl): Test for y outside the range of signed 64-bit
2006 integers before using fistpll. Reduce 64-bit values to 63-bit
2007 ones as needed.
2008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2009 divide-by-zero is raised for zero to large negative powers.
2010 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2011 (__ieee754_powl): Test for y outside the range of signed 64-bit
2012 integers before using fistpll. Reduce 64-bit values to 63-bit
2013 ones as needed.
2014 * math/libm-test.inc (pow_test): Add more tests.
2015
2016 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2017
2018 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2019 <stdio-common/_itoa.h>.
2020 * debug/segfault.c: Likewise.
2021 * elf/dl-cache.c: Likewise.
2022 * elf/dl-minimal.c: Likewise.
2023 * elf/dl-misc.c: Likewise.
2024 * elf/dl-sysdep.c: Likewise.
2025 * elf/dl-version.c: Likewise.
2026 * elf/rtld.c: Likewise.
2027 * hurd/hurdsock.c: Likewise.
2028 * hurd/lookup-retry.c: Likewise.
2029 * malloc/malloc.c: Likewise.
2030 * malloc/mtrace.c: Likewise.
2031 * nscd/nscd_getgr_r.c: Likewise.
2032 * nscd/nscd_getpw_r.c: Likewise.
2033 * nscd/nscd_getserv_r.c: Likewise.
2034 * posix/getopt_init.c: Likewise.
2035 * posix/wordexp.c: Likewise.
2036 * stdio-common/_itoa.c: Likewise.
2037 * stdio-common/printf_fphex.c: Likewise.
2038 * stdio-common/vfprintf.c: Likewise.
2039 * string/_strerror.c: Likewise.
2040 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2041 * sysdeps/i386/i686/hp-timing.h: Likewise.
2042 * sysdeps/mach/_strerror.c: Likewise.
2043 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2044 * sysdeps/mach/hurd/sethostid.c: Likewise.
2045 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2046 * sysdeps/mach/xpg-strerror.c: Likewise.
2047 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2048 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2049 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2050 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2051 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2052 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2053 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2054 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2055 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2056 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2057 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2058 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2059 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2060 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2061 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2062 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2063 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2064 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2065 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2066 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2067 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2068
2069 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2070
2071 * stdio-common/_itoa.h: Moved to ...
2072 * sysdeps/generic/_itoa.h: Here.
2073
2074 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2075
2076 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2077 instead of "_itoa.h" and "_itowa.h".
2078 * stdio-common/vfprintf.: Likewise.
2079
2080 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2081
2082 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2083 <bits/wordsize.h>.
2084 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2085 (__signbit): Likwise.
2086 (llrintf): Likwise.
2087 (llrint): Likwise.
2088
2089 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2090
2091 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2092 __WORDSIZE != 64.
2093
2094 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2095
2096 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2097 OVERFLOW_EXCEPTION_OK.
2098 * math/libm-test.inc ("Philosophy"): Update comment about
2099 exception testing.
2100 (OVERFLOW_EXCEPTION): Define.
2101 (OVERFLOW_EXCEPTION_OK): Likewise.
2102 (INVALID_EXCEPTION_OK): Renumber.
2103 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2104 (IGNORE_ZERO_INF_SIGN): Likewise.
2105 (test_exceptions): Handle FE_OVERFLOW.
2106 (exp10_test): Expect overflow exceptions.
2107 (exp2_test): Likewise.
2108 (expm1_test): Likewise.
2109 (nextafter_test): Likewise.
2110 (pow_test): Likewise.
2111 (scalbn_test): Likewise.
2112 (scalbln_test): Likewise.
2113
2114 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2115
2116 * sysdeps/x86_64/bits/atomic.h
2117 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2118 64bit integer.
2119 (atomic_exchange_acq): Likewise.
2120 (__arch_exchange_and_add_body): Likewise.
2121 (__arch_add_body): Likewise.
2122 (atomic_add_negative): Likewise.
2123 (atomic_add_zero): Likewise.
2124
2125 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2126
2127 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2128 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2129
2130 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2131
2132 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2133 Check __x86_64__ instead of __WORDSIZE.
2134
2135 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2136
2137 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2138
2139 2012-03-19 David S. Miller <davem@davemloft.net>
2140
2141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2142
2143 * sysdeps/sparc/fpu/fenv_private.h: New file.
2144 * sysdeps/sparc/fpu/math_private.h: Use it.
2145 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2146 Remove.
2147 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2148 (libc_feholdexcept_setroundl): Remove.
2149 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2150 Remove.
2151 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2152 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2153
2154 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2155
2156 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2157 int64_t instead of long int.
2158 (INSERT_WORDS64): Likwise.
2159
2160 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2161
2162 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2163 _Unwind_GetCFA return to _Unwind_Ptr first.
2164
2165 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2166
2167 [BZ #13629]
2168 * math/s_clog.c: Include <float.h>.
2169 (__clog): Scale large or subnormal inputs.
2170 * math/s_clogf.c: Likewise.
2171 * math/s_clogl.c: Likewise.
2172 * math/s_clog10.c: Include <float.h>.
2173 (M_LOG10_2): Define.
2174 (__clog10): Scale large or subnormal inputs.
2175 * math/s_clog10f.c: Likewise.
2176 * math/s_clog10l.c: Likewise.
2177 * math/libm-test.inc (clog_test): Add more tests.
2178 (clog10_test): Likewise.
2179 * sysdeps/i386/fpu/libm-test-ulps: Update.
2180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2181
2182 [BZ #11451]
2183 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2184 x and y.
2185 * math/libm-test.inc (atan2_test): Add another test.
2186
2187 * Makerules (common-objdir-compile): Remove.
2188 * sysdeps/unix/Makefile (config-generated): Do not add
2189 $(unix-generated) to variable.
2190 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2191 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2192 Remove rule.
2193 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2194 Likewise.
2195 [generic bits/local_lim.h] (before-compile): Do not append to
2196 variable.
2197 [generic bits/local_lim.h] (common-generated): Likewise.
2198 [generic sys/param.h] (before-compile): Do not append to variable.
2199 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2200 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2201 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2202 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2203 include.
2204 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2205 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2206 [generic sys/param.h] ($(addprefix
2207 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2208 [generic sys/param.h] (common-generated): Do not append to
2209 variable.
2210 [generic sys/param.h] (sysdep_headers): Likewise.
2211 [generic bits/errno.h] (before-compile): Do not append to
2212 variable.
2213 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2214 rule.
2215 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2216 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2217 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2218 [generic bits/errno.h] (common-generated): Do not append to
2219 variable.
2220 [generic bits/ioctls.h] (before-compile): Do not append to
2221 variable.
2222 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2223 rule.
2224 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2225 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2226 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2227 rule.
2228 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2229 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2230 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2231 [generic bits/ioctls.h] (common-generated): Do not append to
2232 variable.
2233 [generic sys/syscall.h] (syscall.h): Remove variable.
2234 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2235 rule.
2236 [generic sys/syscall.h] (before-compile): Do not append to
2237 variable.
2238 [generic sys/syscall.h] (common-generated): Likewise.
2239 * sysdeps/unix/errnos-tmpl.c: Remove file.
2240 * sysdeps/unix/errnos.awk: Likewise.
2241 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2242 * sysdeps/unix/ioctls.awk: Likewise.
2243 * sysdeps/unix/mk-local_lim.c: Likewise.
2244 * sysdeps/unix/snarf-ioctls: Likewise.
2245
2246 2012-03-19 Richard Henderson <rth@twiddle.net>
2247
2248 * sysdeps/i386/fpu/fenv_private.h: New file.
2249 * sysdeps/i386/fpu/math_private.h: Use it.
2250 (math_opt_barrier, math_force_eval): Remove.
2251 (libc_feholdexcept_setround_53bit): Remove.
2252 (libc_feupdateenv_53bit): Remove.
2253 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2254 (math_opt_barrier, math_force_eval): Remove.
2255 (libc_feholdexcept): Remove.
2256 (libc_feholdexcept_setround): Remove.
2257 (libc_fetestexcept, libc_fesetenv): Remove.
2258 (libc_feupdateenv_test): Remove.
2259 (libc_feupdateenv, libc_feholdsetround): Remove.
2260 (libc_feresetround): Remove.
2261
2262 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2263 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2264
2265 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2266 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2267 (libc_feupdateenv_testl): New.
2268 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2269 (libc_feupdateenv_testf): New.
2270 (libc_feupdateenv): Use libc_feupdateenv_test.
2271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2272 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2273
2274 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2275 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2276 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2277 (libc_feresetround_noex): New.
2278 (libc_feresetround_noexf): New.
2279 (libc_feresetround_noexl): New.
2280 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2281 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2282 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2283 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2284 SET_RESTORE_ROUND.
2285 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2287 (__cos): Likewise.
2288 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2289 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2290 SET_RESTORE_ROUND_NOEX.
2291 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2292 SET_RESTORE_ROUND_NOEXF.
2293 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2294 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2295 (libc_feholdsetroundf): New.
2296 (libc_feresetround, libc_feresetroundf): New.
2297
2298 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2299 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2300 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2301
2302 * sysdeps/generic/math_private.h: Include <fenv.h>.
2303 (default_libc_feholdexcept): New.
2304 (default_libc_feholdexcept_setround): New.
2305 (default_libc_fesetenv, default_libc_feupdateenv): New.
2306 (libc_feholdexcept): Only define if undefined.
2307 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2308 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2309 (libc_feholdexcept_setroundl): Likewise.
2310 (libc_feholdexcept_setround_53bit): Likewise.
2311 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2312 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2313 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2314 (libc_feupdateenv_53bit): Likewise.
2315 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2316 (libc_feholdexcept): Convert from macro to inline function.
2317 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2318 (libc_fesetenv, libc_feupdateenv): Likewise.
2319
2320 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2321 not previously defined.
2322 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2323 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2324 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2325 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2326 * sysdeps/ieee754/flt-32/math_private.h: New file.
2327 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2328 math_private.h below SET_FLOAT_WORD.
2329 (__isnan, __isinf_ns, __finite): Remove.
2330 (__isnanf, __isinf_nsf, __finitef): Remove.
2331
2332 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2333
2334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2335
2336 2012-03-17 David S. Miller <davem@davemloft.net>
2337
2338 [BZ #6471]
2339 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2340 for 2.16.
2341
2342 2012-03-16 David S. Miller <davem@davemloft.net>
2343
2344 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2345 warnings.
2346
2347 [BZ #6471]
2348 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2349 properly.
2350 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2351 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2352 sysdep_routines when subdir is sysvipc.
2353 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2354 __getshmlba helper.
2355
2356 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2357
2358 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2359
2360 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2361 [__LP64__].
2362
2363 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2364
2365 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2366 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2367 (__lround): Renamed to ...
2368 (__llround): This. Replace long int with long long int.
2369 Define lround functions as aliases of llround functions.
2370 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2371
2372 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2373
2374 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2375 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2376 adresses to uintptr_t. Replace "long int" and "unsigned long
2377 int" with "greg_t" on va_arg.
2378
2379 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2380
2381 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2382 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2383
2384 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2385 Move e_machine check before EI_CLASS check. Handle x32
2386 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2387 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2388 SKIP_EM_IA_64 and include
2389 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2390
2391 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2392 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2393 (add_system_dir): New macro.
2394
2395 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2396 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2397
2398 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2399
2400 [BZ #2551]
2401 [BZ #2552]
2402 [BZ #2553]
2403 [BZ #2554]
2404 [BZ #2562]
2405 [BZ #2563]
2406 [BZ #2565]
2407 [BZ #2566]
2408 [BZ #2576]
2409 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2410 (y0): Likewise.
2411 * math/w_j0f.c (j0f): Likewise.
2412 (y0f): Likewise.
2413 * math/w_j0l.c (__j0l): Likewise.
2414 (__y0l): Likewise.
2415 * math/w_j1.c (j1): Likewise.
2416 (y1): Likewise.
2417 * math/w_j1f.c (j1f): Likewise.
2418 (y1f): Likewise.
2419 * math/w_j1l.c (__j1l): Likewise.
2420 (__y1l): Likewise.
2421 * math/w_jn.c (jn): Likewise.
2422 (yn): Likewise.
2423 * math/w_jnf.c (jnf): Likewise.
2424 (ynf): Likewise.
2425 * math/w_jnl.c (__jnl): Likewise.
2426 (__ynl): Likewise.
2427 * math/libm-test.inc (j0_test): Add more tests.
2428 (j1_test): Likewise.
2429 (jn_test): Likewise. Add trailing semicolon to existing test.
2430 (y0_test): Likewise.
2431 (y1_test): Likewise.
2432 * sysdeps/i386/fpu/libm-test-ulps: Update.
2433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2434
2435 [BZ #13851]
2436 [BZ #13854]
2437 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2438 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2439 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2440 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2441 (__tanl): Set errno for infinite argument.
2442 * sysdeps/i386/fpu/mptan.c: Remove.
2443 * sysdeps/i386/fpu/s_tan.S: Likewise.
2444 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2445 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2446 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2447 * math/libm-test.inc (tan_test): Add more tests and enable more
2448 tests for double and long double.
2449 * sysdeps/i386/fpu/libm-test-ulps: Update.
2450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2451
2452 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2453
2454 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2455 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2456
2457 2012-03-16 Roland McGrath <roland@hack.frob.com>
2458
2459 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2460 * configure.in: Use it for both main tree and add-ons.
2461 * configure: Regenerated.
2462
2463 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2464
2465 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2466
2467 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2468
2469 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2470 in comment.
2471
2472 [BZ #13851]
2473 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2474 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2475 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2476 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2477 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2478 infinite argument.
2479 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2481 != 0 for prec == 2.
2482 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2483 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2484 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2485 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2486 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2487 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2488 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2489 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2490 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2491 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2492 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2493 * math/libm-test.inc (cos_test): Add more tests and enable more
2494 tests for long double.
2495 (sin_test): Likewise.
2496 (sincos_test): Likewise.
2497 * sysdeps/i386/fpu/libm-test-ulps: Update.
2498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2499
2500 2012-03-16 David S. Miller <davem@davemloft.net>
2501
2502 * sysdeps/sparc/fpu/math_private.h: New file.
2503
2504 2012-03-15 David S. Miller <davem@davemloft.net>
2505
2506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2507 file.
2508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2510 file.
2511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2517 sysdep routines.
2518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2519
2520 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2521 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2522
2523 * sysdeps/sparc/sparc-ifunc.h: New file.
2524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2525 sparc-ifunc.h
2526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2528 Likewise.
2529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2530 Likewise.
2531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2535 Likewise.
2536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2541 Likewise.
2542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2543 Likewise.
2544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2550 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2551 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2562 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2564 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2565 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2566 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2568
2569 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2570
2571 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2572 scaling.
2573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2574
2575 2012-03-15 Andreas Jaeger <aj@suse.de>
2576
2577 [BZ #13852]
2578 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2579 ieee754/flt-32 implementation for sin, cos and sincos.
2580 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2581 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2582 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2583 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2584 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2585 ieee754/flt-32 implementation for tan.
2586
2587 * math/libm-test.inc (cos_test): Enable some large input tests for
2588 float as well
2589 (sin_test): Likewise.
2590 (sincos_test): Likewise.
2591 (tan_test): Add tests for large input.
2592
2593 * sysdeps/i386/fpu/libm-test-ulps: Update.
2594
2595 2012-03-15 Andreas Jaeger <aj@suse.de>
2596
2597 [BZ #13658]
2598 * math/libm-test.inc (cos_test): Add more test cases.
2599 (sin_test): Likewise.
2600 (sincos_test): Likewise.
2601
2602 2012-03-15 Andreas Jaeger <aj@suse.de>
2603
2604 [BZ #13837]
2605 * math/libm-test.inc (cos_test): Add a test case for large input
2606 value.
2607 (sin_test): Likewise.
2608 (sincos_test): Likewise.
2609
2610 2012-03-15 Andreas Jaeger <aj@suse.de>,
2611 Joseph Myers <joseph@codesourcery.com>
2612
2613 [BZ #13658]
2614 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2615 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2616 * sysdeps/i386/fpu/branred.c: Likewise.
2617 * sysdeps/i386/fpu/dosincos.c: Likewise.
2618 * sysdeps/i386/fpu/mpa.c: Likewise.
2619 * sysdeps/i386/fpu/s_cos.S: Likewise.
2620 * sysdeps/i386/fpu/s_sin.S: Likewise.
2621 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2622 * sysdeps/i386/fpu/sincos32.c: Likewise.
2623
2624 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2625 Define.
2626 (libc_feupdateenv_53bit): Define.
2627 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2628 Define.
2629 (libc_feupdateenv_53bit): Define.
2630
2631 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2632 53 bit (without extend i386 double precision).
2633
2634 * math/libm-test.inc (sincos_test): Add tests for large input.
2635 (sin): Likewise.
2636 (cos): Likewise.
2637
2638 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2639
2640 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2641
2642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2643
2644 2012-03-15 David S. Miller <davem@davemloft.net>
2645
2646 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2647 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2648 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2649 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2662 file.
2663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2665 file.
2666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2668 file.
2669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2671 file.
2672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2674 fmin/fmax sysdep routines.
2675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2676
2677 2012-03-14 David S. Miller <davem@davemloft.net>
2678
2679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2683 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2684 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2688 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2699 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2700 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2701 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2703 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2704 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2705 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2706 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2708 routines.
2709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2710 file.
2711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2713 file.
2714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2716 file.
2717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2719 file.
2720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2722 file.
2723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2725 file.
2726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2727 file.
2728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2729 file.
2730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2731 file.
2732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2733 New file.
2734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2735 file.
2736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2737 file.
2738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2740 file.
2741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2743 file.
2744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2746 file.
2747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2749 VIS3 routines.
2750
2751 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2752 New file.
2753
2754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2755
2756 * sysdeps/sparc/configure.in: New file.
2757 * sysdeps/sparc/configure: Generate.
2758 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2759 * configure: Regenerate.
2760 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2761 * config.make.in (have-as-vis3): New.
2762 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2763 available use -Av9d instead of -Av9a.
2764 * sysdeps/sparc/sparc64/Makefile: Likewise.
2765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2767 New file.
2768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2769 file.
2770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2771 New file.
2772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2773 file.
2774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2775 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2776 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2779
2780 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2781 fzeros/fnegs to load 0x80000000 into a float register instead of
2782 using the stack.
2783 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2784
2785 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2786
2787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2788 bits/syscall.h.
2789 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2790 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2791 ($(inst_includedir)/bits/syscall.h): Remove rule.
2792 ($(objpfx)bits/syscall.d): Include instead of
2793 $(objpfx)syscall-list.d.
2794 (generated): Change syscall-list.h and syscall-list.d to
2795 bits/syscall.h and bits/syscall.d.
2796
2797 2012-03-14 Roland McGrath <roland@hack.frob.com>
2798
2799 [BZ #13846]
2800 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2801
2802 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2803
2804 [BZ #13841]
2805 * math/s_csqrt.c: Include <float.h>.
2806 (__csqrt): Scale large or subnormal inputs.
2807 * math/s_csqrtf.c: Likewise.
2808 * math/s_csqrtl.c: Likewise.
2809 * math/libm-test.inc (csqrt_test): Add more tests.
2810 * sysdeps/i386/fpu/libm-test-ulps: Update.
2811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2812
2813 [BZ #13840]
2814 * math/libm-test.inc (hypot_test): Add more tests.
2815
2816 2012-03-13 David S. Miller <davem@davemloft.net>
2817
2818 [BZ #13840]
2819 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2820 double-precision for the calculation instead of scaling.
2821
2822 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2823
2824 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2825 manipulate bits before adding and subtracting TWO52[sx].
2826 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2827 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2828 Likewise.
2829 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2830
2831 2012-03-13 David S. Miller <davem@davemloft.net>
2832
2833 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2834 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2836 rtld-global-offsets.h
2837 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2838
2839 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2840 large parameters.
2841
2842 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2843
2844 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2845 'err' in the ifdef scope in which it is actually used.
2846
2847 * nss/nss_db/db-init.c: Include string.h
2848
2849 2012-03-12 David S. Miller <davem@davemloft.net>
2850
2851 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2852 masking out of the most significant byte of random value used.
2853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2854 Fix coding style in previous change.
2855
2856 * sysdeps/unix/sysv/linux/kernel-features.h
2857 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2858 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2859 expression.
2860 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2861 later.
2862
2863 2012-03-11 David S. Miller <davem@davemloft.net>
2864
2865 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2866 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2867 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2868 for 'resultvar' otherwise things get truncated on 64-bit.
2869
2870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2871 Fix masking out of the most significant byte of random value used.
2872
2873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2874
2875 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2876
2877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2878
2879 2012-03-09 David S. Miller <davem@davemloft.net>
2880
2881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2882 variables with appropriate CPP guards.
2883 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2884 frame pointer, not the stack pointer. Correct layout comments. Fix test
2885 on resulting framesize and the management of the outregs buffer for pltexit.
2886 Preserve floating point return values across _dl_call_pltexit call.
2887 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2888 framesize and the management of the outregs buffer for pltexit.
2889 Preserve floating point return values across _dl_call_pltexit
2890 call.
2891 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2892 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2893 (print_exit): Fix format string for return register value.
2894
2895 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2896
2897 * sunrpc/Makefile (others): Add rpcgen.
2898 ($(objpfx)rpcgen): Remove special build rule and dependency on
2899 libc.
2900 * sunrpc/rpcgen.c: New file.
2901
2902 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2903
2904 [BZ #13673]
2905 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2906 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2907 * sysdeps/i386/crti.S: Likewise.
2908 * sysdeps/i386/crtn.S: Likewise.
2909 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2910 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2911 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2912 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2913 * sysdeps/sh/crti.S: Likewise.
2914 * sysdeps/sh/crtn.S: Likewise.
2915 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2916
2917 [BZ #13673]
2918 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2919 with URL.
2920 * locale/programs/locfile-kw.gperf: Likewise.
2921 * locale/programs/charmap-kw.h: Regenerated.
2922 * locale/programs/locfile-kw.h: Likewise.
2923
2924 [BZ #13673]
2925 * intl/plural.y: Replace FSF snail mail address with URL.
2926 * intl/plural.c: Regenerated.
2927
2928 2012-03-09 Richard Henderson <rth@twiddle.net>
2929
2930 * include/math_private.h: Remove file.
2931 * math/math_private.h: Move file ...
2932 * sysdeps/generic/math_private.h: ... here.
2933
2934 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2935 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2936 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2937
2938 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2939 and <math_private.h>.
2940 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2941 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2942 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2943 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2944 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2945 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2946 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2947 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2948 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2949 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2951 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2952 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2954 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2955 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2956 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2957 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2958 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2959 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2961 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2962 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2964 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2965 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2966 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2967 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2970 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2972 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2973 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2974 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2978 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2979 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2983 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2984 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2985 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2986 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2987 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2988 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2989 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2990 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2991 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2992 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2993 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2994 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2995 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2996 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3003 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3013 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3014 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3015 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3018 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3019 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3020 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3021 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3022 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3023 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3024 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3025 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3026 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3027 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3028 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3029 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3030 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3031 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3032 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3033 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3034 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3035 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3036 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3037 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3038 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3039 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3040 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3041 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3042 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3043 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3044 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3045 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3046 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3047 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3048 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3049 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3050 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3051 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3052 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3053 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3054 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3055 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3056 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3057 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3058 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3059 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3060 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3061 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3062 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3063 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3064 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3065 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3066 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3067 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3068 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3069 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3070 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3071 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3072 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3073 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3074 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3075 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3076 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3077 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3078 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3079 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3080 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3081 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3082 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3083 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3084 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3085 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3086 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3087 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3088 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3089 * sysdeps/ieee754/k_standard.c: Likewise.
3090 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3091 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3092 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3093 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3094 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3095 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3096 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3097 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3098 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3099 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3100 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3101 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3102 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3103 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3104 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3105 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3106 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3107 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3108 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3109 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3111 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3112 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3113 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3114 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3115 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3116 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3117 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3119 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3120 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3121 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3122 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3123 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3124 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3125 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3126 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3127 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3129 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3130 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3131 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3132 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3133 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3134 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3135 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3136 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3137 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3138 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3139 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3140 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3141 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3142 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3143 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3144 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3145 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3146 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3147 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3148 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3149 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3150 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3151 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3152 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3153 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3156 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3157 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3158 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3159 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3162 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3163 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3164 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3165 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3166 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3167 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3168 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3169 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3171 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3172 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3173 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3177 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3179 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3181 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3182 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3183 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3185 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3186 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3187 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3188 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3189 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3192 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3193 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3194 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3195 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3196 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3197 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3198 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3201 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3202 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3203 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3204 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3205 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3206 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3207 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3208 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3209 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3210 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3211 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3212 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3213 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3214 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3215 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3216 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3217 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3218 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3219 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3220 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3221 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3222 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3223 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3224 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3225 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3226 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3230 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3231 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3232 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3233 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3234 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3235 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3237 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3238 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3239 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3240 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3241 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3242 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3243 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3244 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3245 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3246 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3247 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3248 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3249 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3250 * sysdeps/ieee754/s_lib_version.c: Likewise.
3251 * sysdeps/ieee754/s_matherr.c: Likewise.
3252 * sysdeps/ieee754/s_signgam.c: Likewise.
3253 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3254 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3255 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3256 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3257 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3258 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3259 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3260 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3261 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3262 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3263 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3264 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3265 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3266 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3267 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3268 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3269 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3270 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3271 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3272 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3273 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3274
3275 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3276
3277 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3278 * sunrpc/rpc_main.c: Likewise.
3279 * sunrpc/rpc_svcout.c: Likewise.
3280
3281 2012-03-09 David S. Miller <davem@davemloft.net>
3282
3283 * include/math_private.h: New file.
3284
3285 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3286
3287 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3288 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3289 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3290 from <bits/socket_type.h>.
3291 (enum __socket_type): Don't define here.
3292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3294 bits/socket_type.h.
3295
3296 [BZ #13566]
3297 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3298 checking __USE_GNU.
3299
3300 * Makerules ($(inst_includedir)/%.h): New rule.
3301 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3302 (install-others): Remove variable setting.
3303 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3304
3305 2012-03-08 Richard Henderson <rth@twiddle.net>
3306
3307 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3308 from macro to inline function; merge with the
3309 !__LIBC_INTERNAL_MATH_INLINES version.
3310 (__ieee754_sqrtf): Likewise.
3311
3312 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3313 to inline function.
3314 (__rintf, __floor, __floorf): Likewise.
3315
3316 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3317 macro to inline function.
3318 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3319
3320 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3321 not <math/math_private.h>.
3322
3323 2012-03-08 David S. Miller <davem@davemloft.net>
3324
3325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3326 copyright year.
3327 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3328
3329 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3330
3331 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3332 normalization.
3333 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3334 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3335
3336 2012-03-08 Ulrich Drepper <drepper@gmail.com>
3337
3338 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3339 be defined individually, they must be defined as a block. Define
3340 S for printing a string instead of hidint the different by using a
3341 macro for adding the 'l'.
3342 * stdio-common/tst-fphex-wide.c: Adjust.
3343
3344 2012-03-07 Marek Polacek <polacek@redhat.com>
3345
3346 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3347
3348 2012-03-08 Marek Polacek <polacek@redhat.com>
3349
3350 [BZ #13806]
3351 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3352 * stdio-common/tst-fphex.c: Define a few macros to make the
3353 test reusable. Use them.
3354 * stdio-common/tst-fphex-wide.c: New file.
3355
3356 2012-03-08 Joseph Myers <joseph@codesourcery.com>
3357
3358 [BZ #6911]
3359 * manual/macros.texi (gnusystems): New macro.
3360 (nongnusystems): Likewise.
3361 (gnulinuxhurdsystems): Likewise.
3362 (gnuhurdsystems): Likewise..
3363 (gnulinuxsystems): Likewise.
3364 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3365 variants of the GNU system, not "GNU system".
3366 * manual/conf.texi: Likewise.
3367 * manual/errno.texi: Likewise. Update example of errno macro
3368 expansion.
3369 * manual/filesys.texi: Likewise.
3370 (getumask): Document as specific to GNU/Hurd.
3371 * manual/install.texi: Likewise. Reword some references to
3372 GNU/Linux.
3373 * manual/intro.texi: Likewise.
3374 * manual/io.texi: Likewise.
3375 (File Name Portability): Detail which constraints are inapplicable
3376 to all GNU systems and which are only inapplicable to GNU/Hurd.
3377 * manual/job.texi: Likewise.
3378 * manual/llio.texi: Likewise.
3379 (O_NOCTTY): Document as present on GNU/Linux.
3380 * manual/maint.texi: Likewise.
3381 * manual/memory.texi: Likewise.
3382 * manual/pattern.texi: Likewise.
3383 * manual/pipe.texi: Likewise.
3384 * manual/process.texi: Likewise.
3385 * manual/resource.texi: Likewise.
3386 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3387 child on GNU/Hurd.
3388 * manual/setjmp.texi: Likewise.
3389 * manual/signal.texi: Likewise.
3390 * manual/startup.texi: Likewise.
3391 * manual/stdio.texi: Likewise.
3392 * manual/terminal.texi: Likewise.
3393 (ONLCR): Document as POSIX.
3394 (OXTABS): Document availability on GNU/Linux as XTABS.
3395 (ONOEOT): Document availability separately from other bits.
3396 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3397 * manual/time.texi: Likewise.
3398 * manual/users.texi: Likewise.
3399 * INSTALL: Regenerated.
3400 * sysdeps/gnu/errlist.c: Regenerated.
3401
3402 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3403 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3404 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3405 puts.
3406 * configure: Regenerated.
3407
3408 2012-03-07 Joseph Myers <joseph@codesourcery.com>
3409
3410 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3411 default includes instead of AC_HEADER_CHECK.
3412 * sysdeps/i386/configure: Regenerated.
3413
3414 [BZ #10716]
3415 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3416 * math/s_cacoshf.c (__cacoshf): Likewise.
3417 * math/s_cacoshl.c (__cacoshl): Likewise.
3418 * math/s_casinh.c (__casinh): Set signs of result from argument.
3419 * math/s_casinhf.c (__casinhf): Likewise.
3420 * math/s_casinhl.c (__casinhl): Likewise.
3421 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3422 (casinh_test): Add more tests.
3423 * sysdeps/i386/fpu/libm-test-ulps: Update.
3424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3425
3426 2012-03-07 Ulrich Drepper <drepper@gmail.com>
3427
3428 * po/zh_TW.po: Update from translation team.
3429
3430 * login/Makefile (distribute): Remove variable.
3431 * catgets/Makefile: Likewise.
3432 * mach/Makefile: Likewise.
3433 * malloc/Makefile: Likewise.
3434 * misc/Makefile: Likewise.
3435 * iconv/Makefile: Likewise.
3436 * nscd/Makefile: Likewise.
3437 * hurd/Makefile: Likewise.
3438 * manual/Makefile: Likewise.
3439 * locale/Makefile: Likewise.
3440 * intl/Makefile: Likewise.
3441 * conform/Makefile: Likewise.
3442 * nss/Makefile: Likewise.
3443 * time/Makefile: Likewise.
3444 * soft-fp/Makefile: Likewise.
3445 * dirent/Makefile: Likewise.
3446 * gmon/Makefile: Likewise.
3447 * po/Makefile: Likewise.
3448 * rt/Makefile: Likewise.
3449 * socket/Makefile: Likewise.
3450 * math/Makefile: Likewise.
3451 * signal/Makefile: Likewise.
3452 * debug/Makefile: Likewise.
3453 * elf/Makefile: Likewise.
3454 * timezone/Makefile: Likewise.
3455 * stdlib/Makefile: Likewise.
3456 * iconvdata/Makefile: Likewise.
3457 * sunrpc/Makefile: Likewise.
3458 * io/Makefile: Likewise.
3459 * argp/Makefile: Likewise.
3460 * inet/Makefile: Likewise.
3461 * hesiod/Makefile: Likewise.
3462 * grp/Makefile: Likewise.
3463 * csu/Makefile: Likewise.
3464 * wctype/Makefile: Likewise.
3465 * crypt/Makefile: Likewise.
3466 * libio/Makefile: Likewise.
3467 * string/Makefile: Likewise.
3468 * nis/Makefile: Likewise.
3469 * resolv/Makefile: Likewise.
3470 * stdio-common/Makefile: Likewise.
3471 * wcsmbs/Makefile: Likewise.
3472 * dlfcn/Makefile: Likewise.
3473 * posix/Makefile: Likewise.
3474
3475 [BZ #6959]
3476 * timezone/Makefile: Don't install timezone files, just the programs
3477 and scripts.
3478
3479 2012-03-06 Ulrich Drepper <drepper@gmail.com>
3480
3481 * nss/databases.def: Add missing gshadow entry.
3482
3483 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3484
3485 2012-03-06 Marek Polacek <polacek@redhat.com>
3486
3487 [BZ #13726]
3488 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3489 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3490 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3491 * stdio-common/tst-long-dbl-fphex.c: New file.
3492
3493 2012-03-06 David S. Miller <davem@davemloft.net>
3494
3495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3496 (set_obp_int): New function.
3497 (get_obp_int): New function.
3498 (__get_clockfreq_via_dev_openprom): Likewise.
3499 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3500 Avoid unused variable warnings on 'val' and use builtin_expect.
3501 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3502 __builtin_expect.
3503 (INLINE_CLONE_SYSCALL): Likewise.
3504
3505 2012-03-05 David S. Miller <davem@davemloft.net>
3506
3507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3508
3509 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3510
3511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3512
3513 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3514 only for |x| >= 40.
3515 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3516
3517 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
3518
3519 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3520 Replace gettimeofday with __vdso_gettimeofday.
3521
3522 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3523 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3524 __vdso_clock_gettime and __vdso_getcpu.
3525
3526 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3527 time with __vdso_time.
3528
3529 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3530
3531 * manual/lang.texi (size_t): Note types to which size_t may be
3532 equivalent with the GNU C Library, but do not describe when
3533 differences between them are significant.
3534
3535 2012-03-05 Andreas Jaeger <aj@suse.de>
3536
3537 * sysdeps/i386/fpu/libm-test-ulps: Update.
3538
3539 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3540
3541 [BZ #3976]
3542 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3543 (__ieee754_pow): Save and restore rounding mode and use
3544 round-to-nearest for main computations.
3545 * math/libm-test.inc (pow_test_tonearest): New function.
3546 (pow_test_towardzero): Likewise.
3547 (pow_test_downward): Likewise.
3548 (pow_test_upward): Likewise.
3549 (main): Call the new functions.
3550 * sysdeps/i386/fpu/libm-test-ulps: Update.
3551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3552
3553 [BZ #3976]
3554 * math/libm-test.inc (cosh_test_tonearest): New function.
3555 (cosh_test_towardzero): Likewise.
3556 (cosh_test_downward): Likewise.
3557 (cosh_test_upward): Likewise.
3558 (sinh_test_tonearest): Likewise.
3559 (sinh_test_towardzero): Likewise.
3560 (sinh_test_downward): Likewise.
3561 (sinh_test_upward): Likewise.
3562 (main): Call the new functions.
3563 * sysdeps/i386/fpu/libm-test-ulps: Update.
3564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3565
3566 2012-03-05 Tom de Vries <tom@codesourcery.com>
3567
3568 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3569 default stack guard is set in last bytes.
3570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3571
3572 2012-03-05 Kees Cook <keescook@chromium.org>
3573
3574 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3575
3576 [BZ #13656]
3577 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3578 possibly allocate from heap instead of stack.
3579 * stdio-common/bug-vfprintf-nargs.c: New file.
3580 * stdio-common/Makefile (tests): Add nargs overflow test.
3581
3582 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3583
3584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3585
3586 2012-03-03 Marek Polacek <polacek@redhat.com>
3587
3588 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3589 * math/math_private.h: Likewise.
3590 * stdlib/tst-strtod.c: Likewise.
3591 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3592 * sysdeps/x86_64/bits/atomic.h: Likewise.
3593
3594 2012-03-02 David S. Miller <davem@davemloft.net>
3595
3596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3600 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3601 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3602 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3603 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3604
3605 2012-03-02 Roland McGrath <roland@hack.frob.com>
3606
3607 [BZ #13792]
3608 * manual/examples/README: New file, says the example source files
3609 can be used under GPL>=2.
3610 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3611 line containing just "*/".
3612 * manual/examples/add.c: Add copyright header (GPL>=2).
3613 * manual/examples/argp-ex1.c: Likewise.
3614 * manual/examples/argp-ex2.c: Likewise.
3615 * manual/examples/argp-ex3.c: Likewise.
3616 * manual/examples/argp-ex4.c: Likewise.
3617 * manual/examples/atexit.c: Likewise.
3618 * manual/examples/db.c: Likewise.
3619 * manual/examples/dir.c: Likewise.
3620 * manual/examples/dir2.c: Likewise.
3621 * manual/examples/execinfo.c: Likewise.
3622 * manual/examples/filecli.c: Likewise.
3623 * manual/examples/filesrv.c: Likewise.
3624 * manual/examples/fmtmsgexpl.c: Likewise.
3625 * manual/examples/genpass.c: Likewise.
3626 * manual/examples/inetcli.c: Likewise.
3627 * manual/examples/inetsrv.c: Likewise.
3628 * manual/examples/isockad.c: Likewise.
3629 * manual/examples/longopt.c: Likewise.
3630 * manual/examples/memopen.c: Likewise.
3631 * manual/examples/memstrm.c: Likewise.
3632 * manual/examples/mkfsock.c: Likewise.
3633 * manual/examples/mkisock.c: Likewise.
3634 * manual/examples/mygetpass.c: Likewise.
3635 * manual/examples/pipe.c: Likewise.
3636 * manual/examples/popen.c: Likewise.
3637 * manual/examples/rprintf.c: Likewise.
3638 * manual/examples/search.c: Likewise.
3639 * manual/examples/select.c: Likewise.
3640 * manual/examples/setjmp.c: Likewise.
3641 * manual/examples/sigh1.c: Likewise.
3642 * manual/examples/sigusr.c: Likewise.
3643 * manual/examples/stpcpy.c: Likewise.
3644 * manual/examples/strdupa.c: Likewise.
3645 * manual/examples/strftim.c: Likewise.
3646 * manual/examples/strncat.c: Likewise.
3647 * manual/examples/subopt.c: Likewise.
3648 * manual/examples/swapcontext.c: Likewise.
3649 * manual/examples/termios.c: Likewise.
3650 * manual/examples/testopt.c: Likewise.
3651 * manual/examples/testpass.c: Likewise.
3652 * manual/examples/timeval_subtract.c: Likewise.
3653
3654 [BZ #13792]
3655 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3656 function to ...
3657 * manual/timeval_subtract.c.texi: ... here, new file.
3658
3659 2012-03-02 David S. Miller <davem@davemloft.net>
3660
3661 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3662
3663 2012-03-02 Joseph Myers <joseph@codesourcery.com>
3664
3665 [BZ #3976]
3666 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3667 (__sin): Save and restore rounding mode and use round-to-nearest
3668 for all computations.
3669 (__cos): Save and restore rounding mode and use round-to-nearest
3670 for all computations.
3671 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3672 <fenv.h>.
3673 (tan): Save and restore rounding mode and use round-to-nearest for
3674 all computations.
3675 * math/libm-test.inc (cos_test_tonearest): New function.
3676 (cos_test_towardzero): Likewise.
3677 (cos_test_downward): Likewise.
3678 (cos_test_upward): Likewise.
3679 (sin_test_tonearest): Likewise.
3680 (sin_test_towardzero): Likewise.
3681 (sin_test_downward): Likewise.
3682 (sin_test_upward): Likewise.
3683 (tan_test_tonearest): Likewise.
3684 (tan_test_towardzero): Likewise.
3685 (tan_test_downward): Likewise.
3686 (tan_test_upward): Likewise.
3687 (main): Call the new functions.
3688 * sysdeps/i386/fpu/libm-test-ulps: Update.
3689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3690
3691 [BZ #10135]
3692 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3693 small n, then large n, before computing and testing k+n.
3694 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3695 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3696 Likewise.
3697 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3698 Likewise.
3699 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3700 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3701 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3702 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3703 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3704 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3705 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3706 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3707 * math/libm-test.inc (scalbn_test): Add more tests.
3708 (scalbln_test): Likewise.
3709
3710 * manual/filesys.texi (mode_t): Describe constraints on size and
3711 signedness, not exact equivalence to a particular type.
3712 (ino_t): Likewise.
3713 (ino64_t): Likewise.
3714 (dev_t): Likewise.
3715 (nlink_t): Likewise.
3716 (blkcnt_t): Likewise.
3717 (blkcnt64_t): Likewise.
3718 * manual/llio.texi (off_t): Likewise.
3719
3720 [BZ #3976]
3721 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3722 (__ieee754_exp): Save and restore rounding mode and use
3723 round-to-nearest for all computations.
3724 * math/libm-test.inc (exp_test_tonearest): New function.
3725 (exp_test_towardzero): Likewise.
3726 (exp_test_downward): Likewise.
3727 (exp_test_upward): Likewise.
3728 (main): Call the new functions.
3729 * sysdeps/i386/fpu/libm-test-ulps: Update.
3730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3731
3732 2012-03-01 Chris Demetriou <cgd@google.com>
3733
3734 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3735 have predictable order.
3736
3737 2012-03-01 David S. Miller <davem@davemloft.net>
3738
3739 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3740
3741 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3742 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3743 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3744 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3745
3746 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3747 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3748 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3750 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3751 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3752 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3753 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3754 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3755
3756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3757
3758 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3759 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3760 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3761
3762 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3763 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3764 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3765 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3766 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3767 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3768 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3769 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3770 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3771 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3772 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3773 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3774 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3775 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3776 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3777 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3778 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3779 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3780 * sysdeps/sparc/elf/configure: Regenerated.
3781
3782 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3783
3784 * configure.in (AS, LD): Require binutils 2.20 or later.
3785 * configure: Regenerated.
3786 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3787 as required minimum version.
3788 * INSTALL: Regenerated.
3789
3790 [BZ #2541]
3791 [BZ #4108]
3792 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3793 before squaring exponent.
3794 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3795 bottom long double and 27 bits of top long double before squaring
3796 exponent.
3797 * math/libm-test.inc (erfc_test): Add more tests.
3798 * sysdeps/i386/fpu/libm-test-ulps: Update.
3799 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3801
3802 2012-03-01 Kai Tietz <ktietz@redhat.com>
3803
3804 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3805 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3806 containing bit-fields.
3807 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3808 * soft-fp/single.h (_FP_UNION_S): Likewise.
3809 * soft-fp/double.h (_FP_UNION_D): Likewise.
3810
3811 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3812
3813 [BZ #13786]
3814 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3815 not include ../strcmp.S.
3816 [USE_AS_STRNCASECMP_L]: Likewise.
3817 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3818 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3819 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3820 (__strncasecmp_l_ia32): Define as alias to
3821 __strncasecmp_l_nonascii.
3822
3823 [BZ #5794]
3824 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3825 * sysdeps/i386/fpu/libm-test-ulps: Update.
3826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3827
3828 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3830
3831 2012-02-29 Jeff Law <law@redhat.com>
3832
3833 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3834 out of bounds read.
3835
3836 2012-02-29 Marek Polacek <polacek@redhat.com>
3837
3838 [BZ #13706]
3839 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3840 * elf/Makefile: Add rules to run tst-unused-dep.out.
3841
3842 2012-02-28 David S. Miller <davem@davemloft.net>
3843
3844 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3845 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3846 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3847 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3848 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3849 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3850
3851 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3852
3853 * math/libm-test.inc (llround_test): Move one test from
3854 lround_test. Use TEST_f_L in moved test.
3855 (lround_test): Move misplaced test to llround_test. Add testcase
3856 from bug 2561.
3857
3858 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3859
3860 * sysdeps/x86_64/fpu/e_expf.S: New file.
3861 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3862
3863 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3864
3865 [BZ #13637]
3866 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3867 of remain_len that may cause incomplete multi-byte character and
3868 false match.
3869 * posix/bug-regex33.c: New file.
3870 * posix/Makefile (tests): Add bug-regex33.
3871
3872 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3873
3874 * manual/macros.texi: New file.
3875 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3876 * manual/libc.texinfo: Include macros.texi.
3877 * manual/creatute.texi: Likewise.
3878 * manual/install.texi: Likewise.
3879 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3880 @glibcadj{} in references to the GNU C Library.
3881 * manual/charset.texi: Likewise.
3882 * manual/conf.texi: Likewise.
3883 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3884 when not using those macros.
3885 * manual/creature.texi: Likewise.
3886 * manual/crypt.texi: Likewise.
3887 * manual/errno.texi: Likewise.
3888 * manual/filesys.texi: Likewise.
3889 * manual/header.texi: Likewise.
3890 * manual/install.texi: Likewise.
3891 * manual/intro.texi: Likewise.
3892 * manual/io.texi: Likewise.
3893 * manual/job.texi: Likewise.
3894 * manual/lang.texi: Likewise.
3895 * manual/libc.texiinfo: Likewise.
3896 * manual/llio.texi: Likewise.
3897 * manual/locale.texi: Likewise.
3898 * manual/maint.texi: Likewise.
3899 * manual/math.texi: Likewise.
3900 * manual/memory.texi: Likewise.
3901 * manual/message.texi: Likewise.
3902 * manual/nss.texi: Likewise.
3903 * manual/pattern.texi: Likewise.
3904 * manual/process.texi: Likewise.
3905 * manual/resource.texi: Likewise.
3906 * manual/search.texi: Likewise.
3907 * manual/setjmp.texi: Likewise.
3908 * manual/signal.texi: Likewise.
3909 * manual/socket.texi: Likewise.
3910 * manual/startup.texi: Likewise.
3911 * manual/stdio.texi: Likewise.
3912 * manual/string.texi: Likewise.
3913 * manual/sysinfo.texi: Likewise.
3914 * manual/syslog.texi: Likewise.
3915 * manual/terminal.texi: Likewise.
3916 * manual/time.texi: Likewise.
3917 * manual/users.texi: Likewise.
3918 * INSTALL: Regenerated.
3919 * NOTES: Regenerated.
3920 * sysdeps/gnu/errlist.c: Regenerated.
3921
3922 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3923
3924 * include/dirent.h: Include <dirstream.h> before
3925 <dirent/dirent.h>.
3926
3927 2012-02-28 David S. Miller <davem@davemloft.net>
3928
3929 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3930 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3931 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3932 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3933
3934 2012-02-27 David S. Miller <davem@davemloft.net>
3935
3936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3938 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3939 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3940
3941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3942 frame pointer instead of stack pointer relative arg slot.
3943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3944 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3945 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3946
3947 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3948
3949 [BZ #3992]
3950 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3951
3952 2012-02-27 David S. Miller <davem@davemloft.net>
3953
3954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3958 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3959 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3960 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3961 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3962
3963 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3964
3965 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3966 later. Allow versions 5-9.
3967 * configure: Regenerated.
3968 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3969 required minimum version and 4.6 as recommended version. Do not
3970 mention bugs in GCC 2.7 and 2.8.
3971 * INSTALL: Regenerated.
3972
3973 2012-02-27 David S. Miller <davem@davemloft.net>
3974
3975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3979 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3980 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3981 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3982 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3983
3984 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3985 manipulate bits before adding and subtracting TWO112[sx].
3986 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3987
3988 2012-02-27 Roland McGrath <roland@hack.frob.com>
3989
3990 [BZ #13775]
3991 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3992 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3993 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3994 being in POSIX, because they are in 1003.1-2008.
3995
3996 * rt/tst-aio.c: Include <fcntl.h>.
3997 * rt/tst-aio7.c: Likewise.
3998 * rt/tst-aio64.c: Likewise.
3999
4000 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4001
4002 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4003
4004 * manual/install.texi (--with-headers): Describe headers as
4005 interface headers, not private headers.
4006 (Specific advice for GNU/Linux systems): Describe use of headers
4007 from "make headers_install", not private headers from older
4008 kernels.
4009 * INSTALL: Regenerated.
4010 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4011 Change to 2.6.19.
4012 * sysdeps/unix/sysv/linux/configure: Regenerated.
4013
4014 * manual/llio.texi (fclean): Remove documentation.
4015
4016 * manual/Makefile (libc-texi-generated): New variable. Include
4017 version.texi.
4018 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4019 $(libc-texi-generated), not duplicated list of files.
4020 (version.texi, stamp-version): New rules.
4021 (realclean): Remove $(libc-texi-generated), not individual files
4022 from that list. Do not remove dir-add.texinfo.
4023 * manual/libc.texinfo: Comment out uses of edition numbers and
4024 references to printed manual. Remove last-updated dates.
4025 (EDITION): Comment out.
4026 (ISBN): Likewise.
4027 (VERSION, UPDATED): Remove.
4028 (version.texi): Include.
4029
4030 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4031
4032 * sysdeps/posix/spawni.c: Include <signal.h>.
4033 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4034 * sysdeps/pthread/aio_fsync.c: Likewise.
4035
4036 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4037
4038 * conform/Makefile (tests): Run only when not cross-compiling and
4039 when fast-check is not defined.
4040
4041 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4042 * conform/data/limits.h-data: Fixes for POSIX2008.
4043 * conform/run-conformtest.sh: Run all tests.
4044 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4045 headers.
4046 * include/bits/dlfcn.h: Likewise.
4047 * include/langinfo.h: Likewise.
4048 * include/monetary.h: Likewise.
4049 * include/sys/poll.h: Likewise.
4050
4051 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4052 for __USE_GNU.
4053 * posix/spawn.h: Define __need_sigset_t.
4054 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4055 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4056 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4057 to get sigevent_t only.
4058 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4059 only for __USE_GNU.
4060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4061 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4062 process_vm_writev only for __USE_GNU.
4063 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4064
4065 * conform/Makefile: For now ignore errors from run-conformtest.
4066 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4067 POSIX to avoid namespace pollution. Don't prepend headers.
4068 * conform/data/aio.h-data: Fixes for POSIX testing.
4069 * conform/data/fcntl.h-data: Likewise.
4070 * conform/data/glob.h-data: Likewise.
4071 * conform/data/grp.h-data: Likewise.
4072 * conform/data/pthread.h-data: Likewise.
4073 * conform/data/pwd.h-data: Likewise.
4074 * conform/data/signal.h-data: Likewise.
4075 * conform/data/spawn.h-data: Likewise.
4076 * conform/data/stdio.h-data: Likewise.
4077 * conform/data/stdlib.h-data: Likewise.
4078 * conform/data/stropts.h-data: Likewise.
4079 * conform/data/sys/mman.h-data: Likewise.
4080 * conform/data/sys/stat.h-data: Likewise.
4081 * conform/data/sys/types.h-data: Likewise.
4082 * conform/data/sys/wait.h-data: Likewise.
4083 * conform/data/time.h-data: Likewise.
4084 * conform/data/unistd.h-data: Likewise.
4085 * conform/data/utime.h-data: Likewise.
4086
4087 * io/sys/stat.h: fchmod was always in POSIX.
4088 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4089 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4090 * rt/aio.h: Define __need_timespec before including <time.h>.
4091 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4092 struct. Add forward declaration of pthread_attr_t and use it in
4093 sigevent.
4094 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4095 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4096 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4097 always remove CLK_TCK definition.
4098
4099 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4100
4101 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4102
4103 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4104
4105 * conform/run-conformtest.sh: New file.
4106 * conform/Makefile: Run run-conformtest for tests.
4107 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4108 support.
4109
4110 * conform/data/uchar.h-data: New file.
4111 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4112 * conform/data/arpa/inet.h-data: Likewise.
4113 * conform/data/assert.h-data: Likewise.
4114 * conform/data/complex.h-data: Likewise.
4115 * conform/data/cpio.h-data: Likewise.
4116 * conform/data/ctype.h-data: Likewise.
4117 * conform/data/dirent.h-data: Likewise.
4118 * conform/data/dlfcn.h-data: Likewise.
4119 * conform/data/errno.h-data: Likewise.
4120 * conform/data/fcntl.h-data: Likewise.
4121 * conform/data/float.h-data: Likewise.
4122 * conform/data/fmtmsg.h-data: Likewise.
4123 * conform/data/fnmatch.h-data: Likewise.
4124 * conform/data/ftw.h-data: Likewise.
4125 * conform/data/glob.h-data: Likewise.
4126 * conform/data/grp.h-data: Likewise.
4127 * conform/data/iconv.h-data: Likewise.
4128 * conform/data/inttypes.h-data: Likewise.
4129 * conform/data/langinfo.h-data: Likewise.
4130 * conform/data/libgen.h-data: Likewise.
4131 * conform/data/limits.h-data: Likewise.
4132 * conform/data/locale.h-data: Likewise.
4133 * conform/data/math.h-data: Likewise.
4134 * conform/data/monetary.h-data: Likewise.
4135 * conform/data/mqueue.h-data: Likewise.
4136 * conform/data/ndbm.h-data: Likewise.
4137 * conform/data/net/if.h-data: Likewise.
4138 * conform/data/netdb.h-data: Likewise.
4139 * conform/data/netinet/in.h-data: Likewise.
4140 * conform/data/nl_types.h-data: Likewise.
4141 * conform/data/poll.h-data: Likewise.
4142 * conform/data/pthread.h-data: Likewise.
4143 * conform/data/pwd.h-data: Likewise.
4144 * conform/data/regex.h-data: Likewise.
4145 * conform/data/sched.h-data: Likewise.
4146 * conform/data/search.h-data: Likewise.
4147 * conform/data/semaphore.h-data: Likewise.
4148 * conform/data/setjmp.h-data: Likewise.
4149 * conform/data/signal.h-data: Likewise.
4150 * conform/data/spawn.h-data: Likewise.
4151 * conform/data/stdarg.h-data: Likewise.
4152 * conform/data/stdio.h-data: Likewise.
4153 * conform/data/stdlib.h-data: Likewise.
4154 * conform/data/string.h-data: Likewise.
4155 * conform/data/strings.h-data: Likewise.
4156 * conform/data/stropts.h-data: Likewise.
4157 * conform/data/sys/ipc.h-data: Likewise.
4158 * conform/data/sys/mman.h-data: Likewise.
4159 * conform/data/sys/msg.h-data: Likewise.
4160 * conform/data/sys/resource.h-data: Likewise.
4161 * conform/data/sys/select.h-data: Likewise.
4162 * conform/data/sys/sem.h-data: Likewise.
4163 * conform/data/sys/shm.h-data: Likewise.
4164 * conform/data/sys/socket.h-data: Likewise.
4165 * conform/data/sys/stat.h-data: Likewise.
4166 * conform/data/sys/statvfs.h-data: Likewise.
4167 * conform/data/sys/time.h-data: Likewise.
4168 * conform/data/sys/timeb.h-data: Likewise.
4169 * conform/data/sys/times.h-data: Likewise.
4170 * conform/data/sys/types.h-data: Likewise.
4171 * conform/data/sys/uio.h-data: Likewise.
4172 * conform/data/sys/un.h-data: Likewise.
4173 * conform/data/sys/utsname.h-data: Likewise.
4174 * conform/data/sys/wait.h-data: Likewise.
4175 * conform/data/syslog.h-data: Likewise.
4176 * conform/data/tar.h-data: Likewise.
4177 * conform/data/termios.h-data: Likewise.
4178 * conform/data/utime.h-data: Likewise.
4179 * conform/data/utmpx.h-data: Likewise.
4180 * conform/data/varargs.h-data: Likewise.
4181 * conform/data/wchar.h-data: Likewise.
4182 * conform/data/wctype.h-data: Likewise.
4183 * conform/data/wordexp.h-data: Likewise.
4184
4185 * include/stropts.h: New file.
4186 * include/uchar.h: New file.
4187 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4188 * include/assert.h: Likewise.
4189 * include/ctype.h: Likewise.
4190 * include/dirent.h: Likewise.
4191 * include/dlfcn.h: Likewise.
4192 * include/fcntl.h: Likewise.
4193 * include/fnmatch.h: Likewise.
4194 * include/glob.h: Likewise.
4195 * include/grp.h: Likewise.
4196 * include/libio.h: Likewise.
4197 * include/locale.h: Likewise.
4198 * include/math.h: Likewise.
4199 * include/net/if.h: Likewise.
4200 * include/netdb.h: Likewise.
4201 * include/netinet/in.h: Likewise.
4202 * include/pthread.h: Likewise.
4203 * include/pwd.h: Likewise.
4204 * include/regex.h: Likewise.
4205 * include/sched.h: Likewise.
4206 * include/search.h: Likewise.
4207 * include/setjmp.h: Likewise.
4208 * include/signal.h: Likewise.
4209 * include/stdio.h: Likewise.
4210 * include/stdlib.h: Likewise.
4211 * include/string.h: Likewise.
4212 * include/sys/cdefs.h: Likewise.
4213 * include/sys/mman.h: Likewise.
4214 * include/sys/msg.h: Likewise.
4215 * include/sys/resource.h: Likewise.
4216 * include/sys/select.h: Likewise.
4217 * include/sys/socket.h: Likewise.
4218 * include/sys/stat.h: Likewise.
4219 * include/sys/statvfs.h: Likewise.
4220 * include/sys/time.h: Likewise.
4221 * include/sys/times.h: Likewise.
4222 * include/sys/uio.h: Likewise.
4223 * include/sys/utsname.h: Likewise.
4224 * include/sys/wait.h: Likewise.
4225 * include/termios.h: Likewise.
4226 * include/time.h: Likewise.
4227 * include/ulimit.h: Likewise.
4228 * include/unistd.h: Likewise.
4229 * include/utime.h: Likewise.
4230 * include/wchar.h: Likewise.
4231 * include/wctype.h: Likewise.
4232 * include/wordexp.h: Likewise.
4233
4234 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4235
4236 * time/time.h: TIME_UTC must be a macro.
4237 Make timespec_get available for ISO C11 only as well.
4238
4239 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4240
4241 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4242 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4243
4244 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4245
4246 * configure.in: Use -o not -a in test for unsupported multi-arch.
4247
4248 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4249
4250 * manual/texinfo.tex: Update to version 2012-01-19.16.
4251
4252 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4253
4254 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4255
4256 2012-02-24 Roland McGrath <roland@hack.frob.com>
4257
4258 [BZ #13738]
4259 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4260 * manual/fdl-1.3.texi: New file.
4261 * manual/fdl-1.1.texi: File removed.
4262
4263 [BZ #13738]
4264 * manual/libc.texinfo (FDL_VERSION): New @set.
4265 Use it for mention of FDL in cover text.
4266 (Documentation License): Use it in @include file name.
4267
4268 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4269 Roland McGrath <roland@hack.frob.com>
4270
4271 [BZ #5461]
4272 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4273 not LONG_LONG_MAX and LONG_LONG_MIN.
4274 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4275 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4276 name.
4277 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4278
4279 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4280
4281 [BZ #2547]
4282 [BZ #11365]
4283 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4284 manipulate bits before adding and subtracting TWO23[sx].
4285 * math/libm-test.inc (nearbyint_test): Add more tests.
4286
4287 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4288
4289 [BZ #2548]
4290 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4291 bits before adding and subtracting TWO23[sx].
4292 * math/libm-test.inc (rint_test): Add more tests.
4293 (rint_test_tonearest): Likewise.
4294 (rint_test_towardzero): Likewise.
4295 (rint_test_downward): Likewise.
4296 (rint_test_upward: Likewise.
4297
4298 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4299
4300 [BZ #10110]
4301 * include/stdc-predef.h: New file. Extracted from features.h.
4302 * include/features.h: Include stdc-predef.h.
4303 * Makefile (headers): Add stdc-predef.h.
4304 * CONFORMANCE (Compiler limitations): Update.
4305
4306 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4307
4308 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4309
4310 2012-02-21 David S. Miller <davem@davemloft.net>
4311
4312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4313 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4314
4315 2012-02-20 David S. Miller <davem@davemloft.net>
4316
4317 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4318 using a normal save/restore sequence, rather than allocating a
4319 dummy stack frame just to store a frame pointer and restore.
4320 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4321
4322 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4323
4324 * manual/install.texi: Fix stray word in line-wrapped comment.
4325
4326 2012-02-20 David S. Miller <davem@davemloft.net>
4327
4328 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4329 both binutils and gcc support GOTDATA.
4330
4331 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4332 "rd %pc" in the PIC register setup sequences.
4333
4334 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4335 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4337 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4338 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4339 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4340 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4341 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4343 (SYSCALL_ERROR_HANDLER): Likewise.
4344 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4345 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4346 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4347 (SYSCALL_ERROR_HANDLER): Likewise.
4348
4349 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4350 (HAVE_GCC_GOTDATA): New.
4351 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4352 relocation support in both binutils and gcc.
4353 * sysdeps/sparc/elf/configure: Regenerate.
4354
4355 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4356 * sysdeps/sparc/sparc32/elf/configure: Delete.
4357 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4358 * sysdeps/sparc/sparc64/elf/configure: Delete.
4359 * sysdeps/sparc/elf/configure.in: New file.
4360 * sysdeps/sparc/elf/configure: Generate.
4361
4362 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4363 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4364 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4365 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4366 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4367
4368 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4369
4370 * manual/install.texi: Do not mention specific glibc version
4371 numbers.
4372 * manual/libc.texinfo (VERSION, UPDATED): Update.
4373 (@copying): Use @copyright{} and range of years.
4374
4375 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4376
4377 [BZ #13695]
4378 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4379 [crti.S not in sysdirs] (generated): Do not append.
4380 [crti.S not in sysdirs] (omit-deps): Likewise.
4381 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4382 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4383 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4384 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4385 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4386 Likewise.
4387 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4388 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4389 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4390 * csu/defs.awk: Remove file.
4391 * sysdeps/generic/initfini.c: Likewise.
4392 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4393 variable.
4394 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4395 Likewise.
4396
4397 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4398
4399 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4400 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4401 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4402 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4403 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4404 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4405 <bits/epoll.h>.
4406 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4407 (__EPOLL_PACKED): Define to empty if not defined by
4408 <bits/epoll.h>.
4409 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4411 bits/epoll.h.
4412
4413 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4414
4415 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4416 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4417 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4418 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4419 <bits/timerfd.h>.
4420 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4421 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4422 bits/timerfd.h.
4423
4424 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4425
4426 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4427 in C locale.
4428 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4429 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4430 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4432
4433 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4434
4435 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4436 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4437
4438 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4439
4440 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4441 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4442 defined.
4443 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4444 Likewise.
4445 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4446 entry for 2.16.
4447
4448 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4449
4450 * math/w_acos.c: Use non-signaling floating-point comparisons.
4451 * math/w_acosf.c: Likewise.
4452 * math/w_acosh.c: Likewise.
4453 * math/w_acoshf.c: Likewise.
4454 * math/w_acoshl.c: Likewise.
4455 * math/w_acosl.c: Likewise.
4456 * math/w_asin.c: Likewise.
4457 * math/w_asinf.c: Likewise.
4458 * math/w_asinl.c: Likewise.
4459 * math/w_atanh.c: Likewise.
4460 * math/w_atanhf.c: Likewise.
4461 * math/w_atanhl.c: Likewise.
4462 * math/w_exp2.c: Likewise.
4463 * math/w_exp2f.c: Likewise.
4464 * math/w_exp2l.c: Likewise.
4465 * math/w_j0.c: Likewise.
4466 * math/w_j0f.c: Likewise.
4467 * math/w_j0l.c: Likewise.
4468 * math/w_j1.c: Likewise.
4469 * math/w_j1f.c: Likewise.
4470 * math/w_j1l.c: Likewise.
4471 * math/w_jn.c: Likewise.
4472 * math/w_jnf.c: Likewise.
4473 * math/w_log.c: Likewise.
4474 * math/w_log10.c: Likewise.
4475 * math/w_log10f.c: Likewise.
4476 * math/w_log10l.c: Likewise.
4477 * math/w_log2.c: Likewise.
4478 * math/w_log2f.c: Likewise.
4479 * math/w_log2l.c: Likewise.
4480 * math/w_logf.c: Likewise.
4481 * math/w_logl.c: Likewise.
4482 * math/w_sqrt.c: Likewise.
4483 * math/w_sqrtf.c: Likewise.
4484 * math/w_sqrtl.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4486 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4487 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4488 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4489 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4490
4491 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4492
4493 [BZ #9739]
4494 * manual/string.texi (strnlen): Use correct parameter name in
4495 equivalent expression.
4496
4497 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4498
4499 [BZ #11174]
4500 * manual/users.texi (seteuid): Consistently use neweuid for
4501 argument name.
4502
4503 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4504
4505 [BZ #13704]
4506 * manual/nss.texi (Services in the NSS configuration): Correct
4507 list of services in example configuration file.
4508
4509 2012-02-19 Nick Bowler <nbowler@draconx.ca>
4510
4511 [BZ #11322]
4512 * manual/arith.texi: Remove statements about negative zero
4513 behaving identically to zero.
4514
4515 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4516
4517 [BZ #5993]
4518 * manual/install.texi: Do not document upgrading from libc5.
4519
4520 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4521
4522 [BZ #4596]
4523 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4524
4525 2012-02-18 David S. Miller <davem@davemloft.net>
4526
4527 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4528 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4529 %o7 across the call.
4530 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4531 instead.
4532 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4533 SETUP_PIC_REG_LEAF.
4534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4535 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4536 * sysdeps/sparc/crtn.S: Likewise.
4537
4538 2012-02-17 Ulrich Drepper <drepper@gmail.com>
4539
4540 * aout/Makefile: Remove.
4541
4542 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4543
4544 [BZ #13058]
4545 * manual/examples/argp-ex1.c (main): Format definition in GNU
4546 style.
4547 * manual/examples/argp-ex2.c (main): Likewise.
4548 * manual/examples/argp-ex3.c (main): Likewise.
4549 * manual/examples/argp-ex4.c (main): Likewise.
4550 * manual/examples/longopt.c (main): Use new-style prototype
4551 definition.
4552 * manual/examples/strncat.c (main): Specify return type and use
4553 (void) for arguments.
4554 * manual/examples/subopt.c (main): Use char **argv argument.
4555
4556 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4557
4558 [BZ #5077]
4559 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4560 rounding modes.
4561
4562 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4563
4564 [BZ #6907]
4565 * manual/string.texi (strchr): Change when strchrnul is
4566 recommended.
4567
4568 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4569
4570 [BZ #174]
4571 * manual/locale.texi (setlocale): Document LOCPATH.
4572
4573 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4574
4575 [BZ #10210]
4576 * manual/process.texi (execle): Move @dots{} before last argument.
4577
4578 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
4579
4580 [BZ #12047]
4581 * manual/charset.texi (Generic Charset Conversion): Fix typo
4582 (LC_TYPE -> LC_CTYPE).
4583
4584 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4585
4586 [BZ #5805]
4587 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4588 (scalbnf): Likewise.
4589 (scalbnl): Likewise.
4590 (scalbln): Likewise.
4591 (scalblnf): Likewise.
4592 (scalblnl): Likewise.
4593 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4594 (vwarnx): Likewise.
4595 (verr): Likewise.
4596 (verrx): Likewise.
4597 * manual/filesys.texi (telldir): Use braces around return type.
4598 * manual/llio.texi (mmap): Add space after comma.
4599 (mmap64): Likewise.
4600 * manual/math.texi (jn): Use @var{} on parameter names.
4601 (jnf): Likewise.
4602 (jnl): Likewise.
4603 (yn): Likewise.
4604 (ynf): Likewise.
4605 (ynl): Likewise.
4606 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4607 line.
4608 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4609 "...".
4610 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4611 (sched_get_priority_max): Likewise.
4612 * manual/signal.texi (sigvec): Add space after comma.
4613 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4614 names.
4615 (if_indextoname): Likewise.
4616 (if_freenameindex): Likewise.
4617 (sendto): Use ',' instead of '.' in prototype.
4618 * manual/startup.texi (syscall): Use @dots{} instead of literal
4619 "...".
4620 * manual/stdio.texi (__fpending): Separate initial words of
4621 paragraph from @deftypefun line.
4622 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4623 "...".
4624 (vsyslog): Use @var{} on parameter names.
4625 * manual/terminal.texi (stty): Use @var{} on parameter names.
4626 * manual/users.texi (getutmp): Use @var{} on parameter names.
4627 (getutmpx): Likewise.
4628
4629 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4630
4631 [BZ #6884]
4632 * manual/stdio.texi (fopen): Fix typos in description of
4633 ",ccs=STRING".
4634
4635 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4636
4637 [BZ #4026]
4638 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4639 get clock_id definition.
4640
4641 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
4642
4643 [BZ #4822]
4644 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4645 (madvise): Cast every argument to void on its own.
4646
4647 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4648
4649 [BZ #9902]
4650 * manual/startup.texi (Exit Status): Fix typo.
4651
4652 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4653
4654 [BZ #10140]
4655 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4656 * manual/examples/argp-ex2.c: Likewise.
4657 * manual/examples/argp-ex3.c: Likewise.
4658
4659 2012-02-16 Richard Henderson <rth@redhat.com>
4660
4661 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4662 * sysdeps/s390/s390-32/initfini.c: Remove.
4663 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4664 * sysdeps/s390/s390-64/initfini.c: Remove.
4665
4666 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4667
4668 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4669 compiler output for sysdeps/generic/initfini.c.
4670 * sysdeps/sh/elf/initfini.c: Remove file.
4671
4672 2012-02-16 David S. Miller <davem@davemloft.net>
4673
4674 [BZ #11494]
4675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4676
4677 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4678 * sysdeps/sparc/crti.S: New file.
4679 * sysdeps/sparc/crtn.S: New file.
4680 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4681 * sysdeps/sparc/sparc64/Makefile: Likewise.
4682
4683 2012-02-15 Mike Frysinger <vapier@gentoo.org>
4684
4685 [BZ #3335]
4686 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4687
4688 2012-02-15 Roland McGrath <roland@hack.frob.com>
4689
4690 [BZ #4822]
4691 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4692
4693 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4694 (write, read, close): Likewise.
4695 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4696
4697 2012-02-15 Joseph Myers <joseph@codesourcery.com>
4698
4699 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4700 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4701 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4702 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4703 <bits/signalfd.h>.
4704 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4706 bits/signalfd.h.
4707
4708 2012-02-14 Marek Polacek <polacek@redhat.com>
4709
4710 * sysdeps/x86_64/crti.S: New file.
4711 * sysdeps/x86_64/crtn.S: New file.
4712 * sysdeps/x86_64/elf/initfini.c: Remove file.
4713
4714 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4715
4716 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4717 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4718 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4719 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4720 <bits/inotify.h>.
4721 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4723 bits/inotify.h.
4724
4725 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4726
4727 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4728 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4729 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4730 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4731 <bits/eventfd.h>.
4732 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4734 bits/eventfd.h.
4735
4736 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4737
4738 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4739 __feraiseexcept instead of feraiseexcept.
4740
4741 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4742 nanosleep invocations.
4743 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4744 strings, and add error checking for a nanosleep invocations.
4745
4746 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4747
4748 Replace FSF snail mail address with URLs, as per GNU coding standards.
4749 Most of the snail mail addresses were wrong anyway, and omitting
4750 them makes the source code easier to maintain. Almost all of the
4751 changes are to license notices and to locale LC_IDENTIFICATION
4752 addresses, except for this one:
4753 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4754 not its snail mail address.
4755
4756 2012-02-09 Richard Henderson <rth@twiddle.net>
4757
4758 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4759 of kernel-features.h.
4760
4761 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4762
4763 2012-02-08 Marek Polacek <polacek@redhat.com>
4764
4765 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4766 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4767 * sysdeps/gnu/_G_config.h: Likewise.
4768 * sysdeps/generic/_G_config.h: Likewise.
4769
4770 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4771
4772 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4773 tests.
4774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4775
4776 * sysdeps/powerpc/powerpc32/crti.S: New file.
4777 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4778 * sysdeps/powerpc/powerpc64/crti.S: New file.
4779 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4780
4781 * Makeconfig (have-initfini): Don't set.
4782 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4783 * configure.in (nopic_initfini): Don't substitute.
4784 * config.h.in (HAVE_INITFINI): Don't #undef.
4785 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4786 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4787
4788 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4789
4790 Support crti.S and crtn.S provided directly by architectures.
4791 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4792 [crti.S in sysdirs] (omit-deps): Likewise.
4793 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4794 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4795 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4796 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4797 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4798 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4799 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4800 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4801 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4802 compiler output for sysdeps/generic/initfini.c.
4803 * sysdeps/i386/elf/Makefile: Remove file.
4804 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4805
4806 2012-02-07 Marek Polacek <polacek@redhat.com>
4807
4808 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4809 * sysdeps/gnu/_G_config.h: Likewise.
4810 * sysdeps/mach/hurd/_G_config.h: Likewise.
4811
4812 2012-02-07 Marek Polacek <polacek@redhat.com>
4813
4814 * math/Makefile (tests): Add tst-CMPLX2.
4815 * math/tst-CMPLX2.c: New file.
4816
4817 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4818
4819 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4820
4821 * math/libm-test.inc (jn_test): Add missing L suffix.
4822
4823 2012-02-06 Marek Polacek <polacek@redhat.com>
4824
4825 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4826 * sysdeps/i386/fpu/e_powf.S: Likewise.
4827 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4828 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4829 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4830 * sysdeps/i386/fpu/e_pow.S: Likewise.
4831 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4832 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4833 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4834 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4835 * sysdeps/i386/fpu/e_log2.S: Likewise.
4836 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4837 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4838 * sysdeps/i386/fpu/e_powl.S: Likewise.
4839 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4840 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4841 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4842 * sysdeps/i386/fpu/e_logl.S: Likewise.
4843 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4844 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4845 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4846 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4847 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4848 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4849 * sysdeps/i386/fpu/e_log.S: Likewise.
4850 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4851 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4852 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4853 * sysdeps/i386/fpu/e_logf.S: Likewise.
4854 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4855 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4856 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4857 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4858 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4859 * sysdeps/i386/fpu/e_log10.S: Likewise.
4860 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4861 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4862 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4863 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4864 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4865 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4866 * sysdeps/i386/asm-syntax.h: Likewise.
4867 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4868 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4869 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4870 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4871 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4872 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4873 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4874 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4875 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4876 * sysdeps/powerpc/sysdep.h: Likewise.
4877 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4878 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4879
4880 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4881
4882 [BZ #411]
4883 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4884
4885 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4886
4887 * sysdeps/i386/sysdep.h: Include <features.h>.
4888 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4889 version.
4890
4891 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4892
4893 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4894 Define.
4895 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4896 LOAD_PIC_REG_STR.
4897
4898 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4899
4900 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4901 (SETUP_PIC_REG): Use GET_PC_THUNK.
4902 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4903 macro.
4904
4905 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4906
4907 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4908 for non-PIC compilation.
4909 (SETUP_PIC_REG): Add .p2align directive.
4910 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4911 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4912 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4913 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4914 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4915 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4916 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4917 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4918 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4919 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4920 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4921 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4922 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4923 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4924 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4925 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4926 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4927 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4928 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4929 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4930 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4931 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4932 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4933 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4934 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4936 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4937 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4938 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4939 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4940 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4941 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4942 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4947 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4951
4952 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4953
4954 * math/tst-CMPLX.c: Include <stdio.h>.
4955
4956 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4957
4958 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4959 float.
4960 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4961 * sysdeps/sparc/bits/mathdef.h: Likewise.
4962
4963 2012-01-31 Marek Polacek <polacek@redhat.com>
4964
4965 * libio/libio.h: Don't define _PARAMS.
4966 * locale/programs/config.h: Don't define PARAMS.
4967 * stdlib/strtol_l.c: Likewise.
4968 (__strtol_l): Remove PARAMS from the prototype.
4969
4970 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4971
4972 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4973 names. Just use the correct names. Remove unnecessary wrapper
4974 functions.
4975 * malloc/arena.c: Likewise.
4976 * malloc/hooks.c: Likewise.
4977
4978 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4979 ARENA_TEST says not to. Simplify test for creation of a new arena.
4980 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4981
4982 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4983
4984 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4985 into tail calls.
4986 (update_get_addr): New function.
4987 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4988 GET_ADDR_MODULE parameter.
4989
4990 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4991
4992 * crypt/cert.c: Remove __STDC__ conditionals.
4993 * crypt/crypt-entry.c: Likewise.
4994 * crypt/crypt_util.c: Likewise.
4995 * libio/filedoalloc.c: Likewise.
4996 * libio/fileops.c: Likewise.
4997 * libio/genops.c: Likewise.
4998 * libio/iofclose.c: Likewise.
4999 * libio/iofdopen.c: Likewise.
5000 * libio/iofopen.c: Likewise.
5001 * libio/iofopen64.c: Likewise.
5002 * libio/iogetdelim.c: Likewise.
5003 * libio/iopopen.c: Likewise.
5004 * libio/obprintf.c: Likewise.
5005 * libio/oldfileops.c: Likewise.
5006 * libio/oldiofclose.c: Likewise.
5007 * libio/oldiofdopen.c: Likewise.
5008 * libio/oldiofopen.c: Likewise.
5009 * libio/oldiopopen.c: Likewise.
5010 * libio/wfiledoalloc.c: Likewise.
5011 * libio/wgenops.c: Likewise.
5012 * locale/programs/xmalloc.c: Likewise.
5013 * misc/syslog.c: Likewise.
5014 * stdio-common/xbug.c: Likewise.
5015 * string/memchr.c: Likewise.
5016 * string/memcmp.c: Likewise.
5017 * string/memrchr.c: Likewise.
5018 * string/rawmemchr.c: Likewise.
5019 * sysdeps/posix/getcwd.c: Likewise.
5020 * time/strftime_l.c: Likewise.
5021
5022 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5023
5024 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5025 * config.make.in (config-cflags-sse2avx): Define.
5026 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5027 Fix typo.
5028
5029 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5030
5031 * scripts/config.guess: Update from upstream config git repository.
5032 * scripts/config.sub: Likewise.
5033
5034 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5035
5036 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5037 (EM_NUM): Update.
5038 (R_TILEPRO_*, R_TILEGX_*): New macros.
5039
5040 * scripts/firstversions.awk: Fix bug in version range handling.
5041
5042 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5043
5044 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5045
5046 * include/sys/epoll.h: New file.
5047 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5048 libc_hidden_def.
5049
5050 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5051
5052 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5053 Avoid unnecessary __WORDSIZE == 64 test.
5054 (fmaxf): Use VEX format if possible.
5055 (fmax): Likewise.
5056 (fminf): Likewise.
5057 (fmin): Likewise.
5058
5059 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5060 * math/math_private.h: Remove libc_fegetround* and
5061 libc_fesetround*.
5062 * sysdeps/i386/configure.in: Check for -msse2avx.
5063 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5064 also if SSE2AVX is defined.
5065 Remove libc_fegetround* and libc_fesetround*.
5066 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5067 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5068 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5069 of HAS_YMM_USABLE.
5070 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5071 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5072 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5073 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5074 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5075
5076 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5077
5078 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5079
5080 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5081 size is not set.
5082 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5083
5084 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5085
5086 [BZ #13618]
5087 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5088 relocation.
5089 * Makeconfig (libm): Define.
5090 * elf/Makefile: Add rules to build and run tst-relsort1.
5091 * elf/tst-relsort1.c: New file.
5092 * elf/tst-relsort1mod1.c: New file.
5093 * elf/tst-relsort1mod2.c: New file.
5094
5095 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5096
5097 * math/s_ldexp.c: Remove __STDC__ conditionals.
5098 * math/s_ldexpf.c: Likewise.
5099 * math/s_ldexpl.c: Likewise.
5100 * math/s_nextafter.c: Likewise.
5101 * math/s_nexttowardf.c: Likewise.
5102 * math/s_significand.c: Likewise.
5103 * math/s_significandf.c: Likewise.
5104 * math/s_significandl.c: Likewise.
5105 * math/w_jnl.c: Likewise.
5106 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5107 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5108 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5109 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5110 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5112 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5113 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5114 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5115 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5116 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5117 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5118 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5119 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5120 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5121 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5122 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5123 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5125 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5126 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5127 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5128 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5129 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5130 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5131 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5132 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5133 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5134 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5135 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5136 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5137 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5138 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5139 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5140 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5141 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5142 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5143 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5144 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5145 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5146 * sysdeps/ieee754/k_standard.c: Likewise.
5147 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5148 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5149 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5150 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5151 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5152 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5153 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5154 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5155 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5156 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5157 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5158 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5159 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5160 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5161 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5165 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5166 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5167 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5168 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5169 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5170 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5171 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5174 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5178 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5179 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5208 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5213 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5215 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5221 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5222 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5226 * sysdeps/ieee754/s_matherr.c: Likewise.
5227 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5228 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5229 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5230 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5231
5232 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5233
5234 * crypt/md5.h: Remove __STDC__ conditionals.
5235 * libio/libioP.h: Likewise.
5236 * locale/programs/config.h: Likewise.
5237 * sysdeps/generic/sysdep.h: Likewise.
5238 * sysdeps/i386/asm-syntax.h: Likewise.
5239 * sysdeps/s390/asm-syntax.h: Likewise.
5240 * sysdeps/unix/sysdep.h: Likewise.
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5243
5244 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5245
5246 * libio/libio.h: Remove __STDC__ conditionals.
5247 * malloc/obstack.h: Likewise.
5248 * math/complex.h: Likewise.
5249 * math/math.h: Likewise.
5250 * sysdeps/generic/_G_config.h: Likewise.
5251 * sysdeps/gnu/_G_config.h: Likewise.
5252 * sysdeps/mach/hurd/_G_config.h: Likewise.
5253 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5254 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5255 * sysdeps/sparc/bits/mathdef.h: Likewise.
5256
5257 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5258
5259 [BZ #13583]
5260 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5261 Clean up HAS_* macros.
5262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5263 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5264 possible.
5265 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5266 HAS_AVX.
5267 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5268 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5269 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5270 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5271 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5272
5273 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5274
5275 * elf/tst-unique3.cc (gets): Remove declaration.
5276 * elf/tst-unique3lib.cc (gets): Likewise.
5277 * elf/tst-unique3lib2.cc (gets): Likewise.
5278 * elf/tst-unique4.cc (gets): Likewise.
5279
5280 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5281
5282 * include/stdio.h: Add C++ protection. Add gets declarations and
5283 definitions.
5284 * debug/tst-chk1.c: Don't declare gets here.
5285 * stdio-common/tst-gets.c: Likewise.
5286
5287 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5288
5289 * posix/glob: Remove directory.
5290
5291 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5292
5293 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5294
5295 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5296
5297 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5298 of the non-standard EPFNOSUPPORT.
5299
5300 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5301
5302 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5303 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5304 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5305
5306 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5307
5308 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5309
5310 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5311
5312 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5313 transient errors.
5314 * nscd/grpcache.c (cache_addgr): Likewise.
5315 * nscd/hstcache.c (cache_addhst): Likewise.
5316 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5317 * nscd/pwdcache.c (cache_addpw): Likewise.
5318 * nscd/servicescache.c (cache_addserv): Likewise.
5319
5320 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5321
5322 * malloc/malloc.c: Various cleanups.
5323 * malloc/hooks.c: Likewise.
5324
5325 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5326 * stdlib/bug-fmtmsg1.c: New file.
5327
5328 * stdlib/fmtmsg.c (init): Add missing unlock.
5329 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5330
5331 2012-01-12 Marek Polacek <polacek@redhat.com>
5332
5333 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5334 and _GNU_SOURCE.
5335
5336 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5337
5338 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5339 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5340 macro to ensure uniqueness of label name.
5341 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5342 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5343
5344 2012-01-11 Ulrich Drepper <drepper@gmail.com>
5345
5346 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5347
5348 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5349 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5350 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5351 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5352
5353 2012-01-10 Ulrich Drepper <drepper@gmail.com>
5354
5355 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5356
5357 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5358 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5359 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5360
5361 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5362
5363 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5364 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5365 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5367
5368 * math/bits/math-finite.h: Add ldexp support.
5369
5370 2012-01-10 Marek Polacek <polacek@redhat.com>
5371
5372 * locale/programs/localedef.h (show_archive_content): Add noreturn
5373 attribute.
5374
5375 2012-01-09 Ulrich Drepper <drepper@gmail.com>
5376
5377 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5378
5379 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5380
5381 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5382
5383 * io/Makefile (headers): Add bits/poll2.h.
5384
5385 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5386
5387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5388 typo #include statement.
5389
5390 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5391
5392 * include/sys/cdefs.h: Define __attribute_alloc_size.
5393 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5394 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5395 * elf/pldd.c: Likewise.
5396 * iconv/iconv_charmap.c: Likewise.
5397 * iconv/iconvconfig.c: Likewise.
5398 * iconv/strtab.c: Likewise.
5399 * locale/programs/locale.c: Likewise.
5400 * locale/programs/localedef.h: Likewise.
5401 * locale/programs/simple-hash.c: Likewise.
5402 * nscd/nscd.h: Likewise.
5403 * nss/makedb.c: Likewise.
5404 * sysdeps/generic/ldconfig.h: Likewise.
5405 * locale/programs/localedef.c: Remove xmalloc prototype.
5406 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5407
5408 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5409
5410 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5411 appropriate.
5412
5413 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5414
5415 * math/Makefile (tests): Add tst-CMPLX.
5416 * math/tst-CMPLX.c: New file.
5417
5418 * math/complex.h (CMPLXL): Fix typo.
5419
5420 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5421 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5422 GLIBC_2.16.
5423 * debug/tst-chk1.c: Add poll and ppoll tests.
5424 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5425 * include/sys/poll.h: Add hidden proto for ppoll.
5426 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5427 * sysdeps/mach/hurd/ppoll.c: Likewise.
5428 * io/ppoll.c: Likewise.
5429 * debug/poll_chk.c: New file.
5430 * debug/ppoll_chk.c: New file.
5431 * include/bits/poll2.h: New file.
5432 * io/bits/poll2.h: New file.
5433
5434 [BZ #1350]
5435 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5436
5437 * configure.in: static is always set to yes. Remove.
5438 * config.make.in: Don't set build-static.
5439 * Makeconfig: Remove use of build-static.
5440 * dlfcn/Makefile: Likewise.
5441 * elf/Makefile: Likewise.
5442 * math/Makefile: Likewise.
5443 * misc/Makefile: Likewise.
5444 * nptl/Makefile: Likewise.
5445 * sysdeps/mach/hurd/Makefile: Likewise.
5446
5447 * configure.in: PWD_P is not used anymore.
5448 * config.make.in: Remove PWD_P entry.
5449
5450 * configure.in: Remove last remnants of RANLIB.
5451 No need to check for signed size_t anymore.
5452 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5453 and IA-64.
5454 Remove __builtin_expect test because we require at least gcc 3.4.
5455 * aclocal.m4: Likewise.
5456
5457 * wcsmbs/mbrtoc16.c: Implement using towc function.
5458 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5459 * wcsmbs/wcsmbsload.c: Likewise.
5460 * iconv/gconv_simple.c: Likewise.
5461 * iconv/gconv_int.h: Likewise.
5462 * iconv/gconv_builtin.h: Likewise.
5463 * iconv/iconv_prog.c: Remove CHAR16 handling.
5464
5465 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5466
5467 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5468
5469 * configure.in: Remove --with-elf and --enable-bounded options.
5470 Dont set base_machine for ia64. More non-ELF conditions removed.
5471 Remove testing and setting of leading underscore information.
5472 * config.make.in (build-bounded): Set to no.
5473 * config.h.in: Remove NO_UNDERSCORES entry.
5474 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5475 them.
5476 * csu/start.c: Remove !NO_UNDERSCORE code.
5477 * locale/localeinfo.h: Likewise.
5478 * sysdeps/generic/machine-gmon.h: Likewise.
5479 * sysdeps/generic/sysdep.h: Likewise.
5480 * sysdeps/i386/sysdep.h: Likewise.
5481 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5482 * sysdeps/mach/sysdep.h: Likewise.
5483 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5484 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5485 * sysdeps/sh/sysdep.h: Likewise.
5486 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5487 * sysdeps/unix/i386/sysdep.S: Likewise.
5488 * sysdeps/unix/sparc/start.c: Likewise.
5489 * sysdeps/unix/sparc/sysdep.S: Likewise.
5490 * sysdeps/unix/sparc/sysdep.h: Likewise.
5491 * sysdeps/unix/start.c: Likewise.
5492 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5493 * sysdeps/x86_64/sysdep.h: Likewise.
5494
5495 2012-01-07 Ulrich Drepper <drepper@gmail.com>
5496
5497 [BZ #13553]
5498 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5499 for non-gcc.
5500 * argp/argp-fmtstream.h: Use const instead __const.
5501 * argp/argp.h: Likewise.
5502 * assert/assert.h: Likewise.
5503 * bits/fenv.h: Likewise.
5504 * bits/sched.h: Likewise.
5505 * bits/sigset.h: Likewise.
5506 * bits/sigthread.h: Likewise.
5507 * catgets/nl_types.h: Likewise.
5508 * conform/data/pthread.h-data: Likewise.
5509 * crypt/crypt-private.h: Likewise.
5510 * crypt/crypt.h: Likewise.
5511 * crypt/crypt_util.c: Likewise.
5512 * ctype/ctype.h: Likewise.
5513 * debug/execinfo.h: Likewise.
5514 * debug/mbsnrtowcs_chk.c: Likewise.
5515 * debug/mbsrtowcs_chk.c: Likewise.
5516 * debug/wcsnrtombs_chk.c: Likewise.
5517 * debug/wcsrtombs_chk.c: Likewise.
5518 * debug/wcstombs_chk.c: Likewise.
5519 * dirent/dirent.h: Likewise.
5520 * dlfcn/dlfcn.h: Likewise.
5521 * elf/neededtest4.c: Likewise.
5522 * grp/grp.h: Likewise.
5523 * gshadow/gshadow.h: Likewise.
5524 * iconv/gconv.h: Likewise.
5525 * iconv/gconv_int.h: Likewise.
5526 * iconv/gconv_simple.c: Likewise.
5527 * iconv/iconv.h: Likewise.
5528 * iconv/loop.c: Likewise.
5529 * iconv/skeleton.c: Likewise.
5530 * include/aio.h: Likewise.
5531 * include/aliases.h: Likewise.
5532 * include/argz.h: Likewise.
5533 * include/arpa/inet.h: Likewise.
5534 * include/assert.h: Likewise.
5535 * include/dirent.h: Likewise.
5536 * include/dlfcn.h: Likewise.
5537 * include/execinfo.h: Likewise.
5538 * include/fcntl.h: Likewise.
5539 * include/fenv.h: Likewise.
5540 * include/glob.h: Likewise.
5541 * include/grp.h: Likewise.
5542 * include/libintl.h: Likewise.
5543 * include/mntent.h: Likewise.
5544 * include/netdb.h: Likewise.
5545 * include/pwd.h: Likewise.
5546 * include/rpc/netdb.h: Likewise.
5547 * include/sched.h: Likewise.
5548 * include/search.h: Likewise.
5549 * include/shadow.h: Likewise.
5550 * include/signal.h: Likewise.
5551 * include/stdio.h: Likewise.
5552 * include/stdlib.h: Likewise.
5553 * include/string.h: Likewise.
5554 * include/sys/socket.h: Likewise.
5555 * include/sys/stat.h: Likewise.
5556 * include/sys/statfs.h: Likewise.
5557 * include/sys/statvfs.h: Likewise.
5558 * include/sys/syslog.h: Likewise.
5559 * include/sys/time.h: Likewise.
5560 * include/sys/uio.h: Likewise.
5561 * include/time.h: Likewise.
5562 * include/unistd.h: Likewise.
5563 * include/utmp.h: Likewise.
5564 * include/wchar.h: Likewise.
5565 * include/wctype.h: Likewise.
5566 * inet/aliases.h: Likewise.
5567 * inet/arpa/inet.h: Likewise.
5568 * inet/netinet/ether.h: Likewise.
5569 * inet/netinet/in.h: Likewise.
5570 * intl/libintl.h: Likewise.
5571 * io/bits/fcntl2.h: Likewise.
5572 * io/fcntl.h: Likewise.
5573 * io/ftw.h: Likewise.
5574 * io/sys/poll.h: Likewise.
5575 * io/sys/stat.h: Likewise.
5576 * io/sys/statfs.h: Likewise.
5577 * io/sys/statvfs.h: Likewise.
5578 * io/utime.h: Likewise.
5579 * libio/bits/stdio.h: Likewise.
5580 * libio/bits/stdio2.h: Likewise.
5581 * libio/libio.h: Likewise.
5582 * libio/libioP.h: Likewise.
5583 * libio/stdio.h: Likewise.
5584 * locale/lc-ctype.c: Likewise.
5585 * locale/locale.h: Likewise.
5586 * login/utmp.h: Likewise.
5587 * malloc/arena.c: Likewise.
5588 * malloc/malloc.c: Likewise.
5589 * malloc/malloc.h: Likewise.
5590 * malloc/mcheck.c: Likewise.
5591 * malloc/mtrace.c: Likewise.
5592 * math/bits/mathcalls.h: Likewise.
5593 * math/fenv.h: Likewise.
5594 * math/math_private.h: Likewise.
5595 * misc/bits/error.h: Likewise.
5596 * misc/bits/syslog.h: Likewise.
5597 * misc/err.h: Likewise.
5598 * misc/error.h: Likewise.
5599 * misc/fstab.h: Likewise.
5600 * misc/mntent.h: Likewise.
5601 * misc/regexp.h: Likewise.
5602 * misc/search.h: Likewise.
5603 * misc/sgtty.h: Likewise.
5604 * misc/sys/mman.h: Likewise.
5605 * misc/sys/syslog.h: Likewise.
5606 * misc/sys/uio.h: Likewise.
5607 * misc/sys/xattr.h: Likewise.
5608 * misc/ttyent.h: Likewise.
5609 * nis/rpcsvc/ypclnt.h: Likewise.
5610 * nss/nss.h: Likewise.
5611 * posix/bits/unistd.h: Likewise.
5612 * posix/fnmatch.h: Likewise.
5613 * posix/glob.h: Likewise.
5614 * posix/sched.h: Likewise.
5615 * posix/spawn.h: Likewise.
5616 * posix/sys/wait.h: Likewise.
5617 * posix/unistd.h: Likewise.
5618 * posix/wordexp.h: Likewise.
5619 * pwd/pwd.h: Likewise.
5620 * resolv/netdb.h: Likewise.
5621 * resource/sys/resource.h: Likewise.
5622 * rt/aio.h: Likewise.
5623 * rt/bits/mqueue2.h: Likewise.
5624 * rt/mqueue.h: Likewise.
5625 * shadow/shadow.h: Likewise.
5626 * signal/signal.h: Likewise.
5627 * socket/send.c: Likewise.
5628 * socket/sendto.c: Likewise.
5629 * socket/sys/socket.h: Likewise.
5630 * stdio-common/printf.h: Likewise.
5631 * stdlib/bits/stdlib.h: Likewise.
5632 * stdlib/fmtmsg.h: Likewise.
5633 * stdlib/monetary.h: Likewise.
5634 * stdlib/stdlib.h: Likewise.
5635 * stdlib/ucontext.h: Likewise.
5636 * streams/stropts.h: Likewise.
5637 * string/argz.h: Likewise.
5638 * string/bits/string2.h: Likewise.
5639 * string/string.h: Likewise.
5640 * string/strings.h: Likewise.
5641 * sunrpc/rpc/auth.h: Likewise.
5642 * sunrpc/rpc/auth_des.h: Likewise.
5643 * sunrpc/rpc/clnt.h: Likewise.
5644 * sunrpc/rpc/netdb.h: Likewise.
5645 * sunrpc/rpc/pmap_clnt.h: Likewise.
5646 * sunrpc/rpc/xdr.h: Likewise.
5647 * sysdeps/generic/inttypes.h: Likewise.
5648 * sysdeps/generic/net/if.h: Likewise.
5649 * sysdeps/generic/sys/swap.h: Likewise.
5650 * sysdeps/gnu/net/if.h: Likewise.
5651 * sysdeps/gnu/utmpx.h: Likewise.
5652 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5653 * sysdeps/i386/i486/bits/string.h: Likewise.
5654 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5655 * sysdeps/s390/bits/string.h: Likewise.
5656 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5657 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5658 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5659 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5660 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5661 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5662 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5663 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5664 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5665 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5666 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5667 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5668 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5669 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5670 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5671 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5672 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5674 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5675 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5676 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5677 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5678 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5679 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5680 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5681 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5682 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5683 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5684 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5685 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5686 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5687 * sysvipc/sys/ipc.h: Likewise.
5688 * sysvipc/sys/msg.h: Likewise.
5689 * sysvipc/sys/sem.h: Likewise.
5690 * sysvipc/sys/shm.h: Likewise.
5691 * termios/termios.h: Likewise.
5692 * time/sys/time.h: Likewise.
5693 * time/time.h: Likewise.
5694 * wcsmbs/bits/wchar2.h: Likewise.
5695 * wcsmbs/uchar.h: Likewise.
5696 * wcsmbs/wchar.h: Likewise.
5697 * wctype/wctype.h: Likewise.
5698
5699 [BZ #13551]
5700 * Makeconfig: Remove all but ELF support including AIX support.
5701 * Makerules: Likewise.
5702 * config.h.in: Likewise.
5703 * config.make.in: Likewise.
5704 * configure: Likewise.
5705 * configure.in: Likewise.
5706 * csu/Makefile: Likewise.
5707 * csu/version.c: Likewise.
5708 * debug/Makefile: Likewise.
5709 * dlfcn/Makefile: Likewise.
5710 * elf/Makefile: Likewise.
5711 * extra-lib.mk: Likewise.
5712 * iconv/Makefile: Likewise.
5713 * include/libc-symbols.h: Likewise.
5714 * include/shlib-compat.h: Likewise.
5715 * resolv/Makefile: Likewise.
5716 * resolv/res_libc.c: Likewise.
5717 * rt/Makefile: Likewise.
5718 * sysdeps/i386/asm-syntax.h: Likewise.
5719 * sysdeps/i386/sysdep.h: Likewise.
5720 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5721 * sysdeps/mach/sysdep.h: Likewise.
5722 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5723 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5724 * sysdeps/s390/asm-syntax.h: Likewise.
5725 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5726 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5727 * sysdeps/sh/sysdep.h: Likewise.
5728 * sysdeps/unix/sparc/sysdep.h: Likewise.
5729 * sysdeps/wordsize-32/divdi3.c: Likewise.
5730 * sysdeps/x86_64/sysdep.h: Likewise.
5731
5732 * argp/Versions: Remove _argp_unlock_xxx.
5733
5734 [BZ #13559]
5735 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5736 * abilist/libBrokenLocale.abilist: Likewise.
5737 * abilist/libanl.abilist: Likewise.
5738 * abilist/libc.abilist: Likewise.
5739 * abilist/libcrypt.abilist: Likewise.
5740 * abilist/libdl.abilist: Likewise.
5741 * abilist/libm.abilist: Likewise.
5742 * abilist/libnsl.abilist: Likewise.
5743 * abilist/libpthread.abilist: Likewise.
5744 * abilist/libresolv.abilist: Likewise.
5745 * abilist/librt.abilist: Likewise.
5746 * abilist/libthread_db.abilist: Likewise.
5747 * abilist/libutil.abilist: Likewise.
5748 * abilist/libnss_db.abilist: New file.
5749
5750 * scripts/abilist.awk: Add support for indirect functions.
5751
5752 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5753
5754 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5755
5756 * shlib-versions: Remove entries for ports architectures.
5757
5758 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5759 files in ports.
5760 * elf/stackguard-macros.h: Remove support for IA-64.
5761 * elf/tst-auditmod1.c: Likewise.
5762 * sysdeps/generic/ldsodefs.h: Likewise.
5763
5764 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5765 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5766 configure files.
5767
5768 [BZ #13552]
5769 * configure.in: Remove --enable-omitfp support.
5770 * FAQ.in: Adjust.
5771 * config.make.in: Likewise.
5772 * Makeconfig: Likewise.
5773 * manual/install.texi: Likewise.
5774
5775 In case anyone cares, the IA-64 architecture could move to ports.
5776 * sysdeps/ia64/*: Removed.
5777 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5778 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5779
5780 [BZ #13555]
5781 * configure.in: Remove entries for unsupported architectures.
5782
5783 [BZ #13533]
5784 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5785 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5786 routines.
5787 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5788 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5789 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5790 fall back to using wcrtomb.
5791 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5792 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5793 renaming.
5794 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5795 * wcsmbs/tst-c16c32-1.c: New file.
5796
5797 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5798 local variable.
5799
5800 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5801
5802 * elf/tst-unique3.cc: Add explicit declaration of gets.
5803 * elf/tst-unique3lib.cc: Likewise.
5804 * elf/tst-unique3lib2.cc: Likewise.
5805 * elf/tst-unique4.cc: Likewise.
5806
5807 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5808
5809 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5810
5811 [BZ #13566]
5812 * assert/assert.h (static_assert): Don't define for C++.
5813 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5814 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5815
5816 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5817
5818 * iconv/loop.c (single loop): Fix assertion in storing of
5819 remaining bytes.
5820
5821 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5822
5823 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5824
5825 * posix/getconf.c: Update copyright year.
5826 * nss/getent.c: Likewise.
5827 * nss/makedb.c: Likewise.
5828 * iconv/iconvconfig.c: Likewise.
5829 * iconv/iconv_prog.c: Likewise.
5830 * elf/ldconfig.c: Likewise.
5831 * elf/pldd.c: Likewise.
5832 * elf/sotruss.ksh: Likewise.
5833 * catgets/gencat.c: Likewise.
5834 * csu/version.c: Likewise.
5835 * elf/ldd.bash.in: Likewise.
5836 * elf/sprof.c (print_version): Likewise.
5837 * locale/programs/locale.c: Likewise.
5838 * locale/programs/localedef.c: Likewise.
5839 * login/programs/pt_chown.c: Likewise.
5840 * nscd/nscd.c (print_version): Likewise.
5841 * debug/xtrace.sh: Likewise.
5842 * malloc/memusage.sh: Likewise.
5843 * malloc/mtrace.pl: Likewise.
5844 * debug/catchsegv.sh: Likewise.
5845
5846 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5847
5848 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5849 pure attribute.
5850
5851 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5852
5853 [BZ #13533]
5854 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5855 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5856 transformations.
5857 * iconv/gconv_int.h: Likewise.
5858 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5859 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5860 from libc for GLIBC_2.16.
5861 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5862 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5863 * wcsmbs/uchar.h: Really define mbstate_t.
5864 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5865 * wcsmbs/c16rtomb.c: New file.
5866 * wcsmbs/mbrtoc16.c: New file.
5867 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5868 for C/POSIX locale.
5869 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5870 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5871
5872 * wcsmbs/wchar.h: Add missing __restrict.
5873
5874 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5875
5876 [BZ #13532]
5877 * time/Makefile (routines): Add timespec_get.
5878 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5879 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5880 timespec for ISO C11.
5881 * time/timespec_get.c: New file.
5882 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5883 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5884
5885 [BZ #13531]
5886 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5887 * stdlib/stdlib.h: Declare aligned_alloc.
5888 * Versions.def: Add GLIBC_2.16 for libc.
5889 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5890
5891 [BZ 13527]
5892 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5893 ISO C11.
5894
5895 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5896 code.
5897
5898 [BZ #13528]
5899 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5900
5901 [BZ #13529]
5902 * assert/assert.h (static_assert): Define.
5903
5904 * version.h: Update for 2.16 development version.
5905
5906 [BZ #13526]
5907 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5908 _ISOC11_SOURCE.
5909
5910 * version.h (RELEASE): Bump for 2.15 release.
5911 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5912
5913 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5914 Patch by Marek Polacek <mpolacek@redhat.com>.
5915
5916 * bits/byteswap.h: Protect long long constants with __extension__.
5917 * sysdeps/i386/bits/byteswap.h: Likewise.
5918 * sysdeps/ia64/bits/byteswap.h: Likewise.
5919 * sysdeps/s390/bits/byteswap.h: Likewise.
5920 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5921
5922 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5923
5924 [BZ #13540]
5925 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5926 destination buffer.
5927 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5928
5929 2011-12-23 Marek Polacek <polacek@redhat.com>
5930
5931 * elf/dl-addr.c (determine_info): Add inline keyword.
5932 * elf/tst-auditmod4b.c (check_avx): Likewise.
5933 * elf/tst-auditmod6b.c (check_avx): Likewise.
5934 * elf/tst-auditmod6c.c (check_avx): Likewise.
5935 * elf/tst-auditmod7b.c (check_avx): Likewise.
5936
5937 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5938
5939 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5940 !__SSE_MATH__.
5941
5942 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5943
5944 [BZ #13540]
5945 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5946 processing for last bytes.
5947
5948 2011-08-06 Bruno Haible <bruno@clisp.org>
5949
5950 [BZ #13061]
5951 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5952 U+0385, not to U+1FEE.
5953
5954 [BZ #13062]
5955 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5956 entry for U+00A5 U+0301.
5957
5958 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5959
5960 [BZ #13166]
5961 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5962 buffer for the output is too small.
5963
5964 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5965 optimization.
5966
5967 [BZ #13185]
5968 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5969 SSE flags if possible.
5970
5971 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5972
5973 [BZ #13540]
5974 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5975 processing for last bytes.
5976
5977 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5978
5979 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5980 (syscall-list-default-options, syscall-list-default-condition)
5981 (syscall-list-includes): Define.
5982 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5983 list of ABIs and options and #if conditions for each ABI. Do not
5984 handle common syscalls between ABIs specially.
5985 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5986 Remove.
5987 (syscall-list-variants, syscall-list-32bit-options)
5988 (syscall-list-32bit-condition, syscall-list-64bit-options)
5989 (syscall-list-64bit-condition): Define.
5990 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5991 (syscall-list-variants, syscall-list-32bit-options)
5992 (syscall-list-32bit-condition, syscall-list-64bit-options)
5993 (syscall-list-64bit-condition): Define.
5994 * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
6000 Remove.
6001 (syscall-list-variants, syscall-list-32bit-options)
6002 (syscall-list-32bit-condition, syscall-list-64bit-options)
6003 (syscall-list-64bit-condition): Define.
6004
6005 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6006
6007 * locale/iso-639.def: Add brx entry.
6008
6009 [BZ #13328]
6010 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6011 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6012
6013 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6014 __feraiseexcept_renamed.
6015
6016 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6017
6018 [BZ #13538]
6019 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6020 EPOLLET with unsigned values.
6021 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6022 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6023
6024 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6025 to large cancellation.
6026 * math/s_cacoshf.c: Likewise.
6027 * math/s_cacoshl.c: Likewise.
6028
6029 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6030
6031 [BZ #13305]
6032 [BZ #12786]
6033 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6034 * math/s_cacoshf.c: Likewise.
6035 * math/s_cacoshl.c: Likewise.
6036
6037 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6038
6039 [BZ #13439]
6040 * iconv/gconv.h: Define __GCONV_SWAP.
6041 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6042 * iconvdata/utf-16.c: Likewise.
6043 * iconvdata/utf-32.c: Likewise.
6044
6045 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6046
6047 [BZ #13524]
6048 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6049 numerator after shifting it by one limb.
6050
6051 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6052
6053 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6054 under [__USE_EXTERN_INLINES].
6055
6056 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6057
6058 [BZ #13446]
6059 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6060
6061 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062
6063 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6064 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6065 optimized code.
6066 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6067 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6068 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6069 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6070 for strncasecmp/strncasecmp_l compilation.
6071 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6072 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6073
6074 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6075
6076 [BZ #13484]
6077 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6078 of __asm__.
6079
6080 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6081
6082 [BZ #13506]
6083 * time/tzfile.c (__tzfile_read): Check values from file header.
6084
6085 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6086
6087 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6088 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6089 * powerpc/powerpc32/dl-start.S: Likewise.
6090 * powerpc/powerpc32/elf/start.S: Likewise.
6091 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6092 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6093 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6094 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6095 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6096 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6097 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6098 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6099 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6100 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6101 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6102 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6103 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6104 * powerpc/powerpc32/memset.S: Likewise.
6105 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6106 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6107 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6108 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6109 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6110 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6111 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6112 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6113 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6114 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6115 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6116 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6117 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6118
6119 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6120
6121 * math/libm-test.inc: Added more nearbyint tests.
6122 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6123 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6124 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6125 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6126
6127 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6128
6129 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6130 FD_CLOEXEC.
6131
6132 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6133
6134 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6135 Add wcscpy-ssse3 wcscpy-c.
6136 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6137 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6138 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6139 * sysdeps/x86_64/wcschr.S: New file.
6140 * sysdeps/x86_64/wcsrchr.S: New file.
6141 * string/test-strcmp.c: Remove checking of wcscmp function for
6142 wrong alignments.
6143 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6144 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6145 wcsrchr-sse2 wcsrchr-c.
6146 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6147 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6148 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6149 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6150 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6151 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6152 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6153 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6154 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6155 * wcsmbc/wcschr.c (WCSCHR): New macro.
6156
6157 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6158
6159 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6160 * wcsmbs/test-wcsrchr.c: New file.
6161 * string/test-strrchr.c: Add wcsrchr support.
6162 (WIDE): New macro.
6163 * wcsmbs/test-wcscpy.c: New file.
6164 * string/test-strcpy.c: Add wcscpy support.
6165 (WIDE): New macro.
6166
6167 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6168
6169 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6170 the inner loop.
6171
6172 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6173
6174 [BZ #13472]
6175 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6176
6177 2011-12-04 Ulrich Drepper <drepper@gmail.com>
6178
6179 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6180 Minor optimizations.
6181
6182 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6183 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6184 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6185
6186 2011-12-03 Ulrich Drepper <drepper@gmail.com>
6187
6188 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6189 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6190 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6191 for gcc to avoid warnings.
6192 * inet/Makefile (tests): Add tst-checks.
6193 * inet/tst-checks.c: New file.
6194
6195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6196 warning.
6197
6198 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6199 __wmemcmp_sse2.
6200
6201 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6202 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6203
6204 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6205
6206 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6207
6208 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6209 problem.
6210
6211 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6212
6213 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6214
6215 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6216 conditional on GCC version.
6217 (__arch_compare_and_exchange_val_8_acq)
6218 (__arch_compare_and_exchange_val_16_acq)
6219 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6220 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6221 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6222
6223 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6224
6225 * sysdeps/sh/backtrace.c: New file.
6226
6227 2011-12-02 Andreas Schwab <schwab@redhat.com>
6228
6229 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6230 parenthesis.
6231
6232 2011-12-01 Andreas Schwab <schwab@redhat.com>
6233
6234 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6235 falling back to utime.
6236
6237 2011-11-30 Andreas Schwab <schwab@redhat.com>
6238
6239 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6240 expectations for float.
6241
6242 2011-11-29 Andreas Schwab <schwab@redhat.com>
6243
6244 * locale/weight.h (findidx): Add parameter len.
6245 * locale/weightwc.h (findidx): Likewise.
6246 * posix/fnmatch_loop.c (FCT): Adjust caller.
6247 * posix/regcomp.c (build_equiv_class): Likewise.
6248 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6249 * posix/regexec.c (check_node_accept_bytes): Likewise.
6250 * string/strcoll_l.c (STRCOLL): Likewise.
6251 * string/strxfrm_l.c (STRXFRM): Likewise.
6252
6253 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6254
6255 * Makefile.in: Remove CVSOPT handling.
6256 * configure.in: Remove use of AC_REVISION.
6257 * iconvdata/Makefile (distribute): No need to filter out CVS.
6258 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6259 handling.
6260
6261 2011-11-16 Andreas Schwab <schwab@redhat.com>
6262
6263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6264 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6265 [USE_AS_STRNCASECMP_L]: Likewise.
6266 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6267 NO_TLS_DIRECT_SEG_REFS.
6268 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6269 Fix argument offsets for non-PIC.
6270 [USE_AS_STRNCASECMP_L]: Likewise.
6271 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6272 NO_TLS_DIRECT_SEG_REFS.
6273
6274 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6275
6276 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6277 O_CLOEXEC.
6278 * locale/loadlocale.c (_nl_load_locale): Likewise.
6279
6280 2011-11-15 Andreas Schwab <schwab@redhat.com>
6281
6282 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6283 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6284 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6285 (SYSCALL_GETTIME): Set errno on error.
6286
6287 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6288 count references to noai6ai_cached.
6289
6290 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6291
6292 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6293
6294 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6295 FD_CLOEXEC for /proc/self/maps.
6296
6297 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6298 FD_CLOEXEC for /proc/meminfo.
6299
6300 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6301 gai.conf.
6302
6303 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6304 FD_CLOEXEC for given file.
6305
6306 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6307
6308 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6309 FD_CLOEXEC for /etc/hosts.
6310 (_gethtent): Likewise.
6311
6312 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6313
6314 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6315 cancellation and set FD_CLOEXEC for /etc/netgroup.
6316
6317 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6318 reading /etc/publickey.
6319
6320 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6321 allow cancellation when reading /etc/group.
6322
6323 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6324 cancellation.
6325 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6326
6327 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6328 when using data file.
6329
6330 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6331
6332 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6333 (write_nis_obj): Use "c" and "e" in fopen.
6334
6335 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6336
6337 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6338
6339 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6340
6341 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6342
6343 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6344 locale.alias.
6345
6346 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6347
6348 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6349
6350 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6351
6352 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6353 file parsing and set FD_CLOEXEC.
6354
6355 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6356
6357 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6358
6359 2011-11-14 Andreas Schwab <schwab@redhat.com>
6360
6361 * malloc/arena.c (arena_get2): Don't call reused_arena when
6362 _int_new_arena failed.
6363
6364 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6365
6366 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6367 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6368 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6369 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6370 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6371 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6372 to compile strcasecmp and strncasecmp.
6373 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6374 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6375
6376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6377
6378 2011-11-13 Ulrich Drepper <drepper@gmail.com>
6379
6380 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6381 locale-defines.sym to gen-as-const-headers.
6382 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6383 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6385 to compile strcasecmp and strncasecmp.
6386 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6387 strcasecmp_l and strncasecmp_l.
6388 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6389 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6390 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6391 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6392 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6393 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6394 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6395 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6396 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6397 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6398 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6399
6400 2011-11-12 Ulrich Drepper <drepper@gmail.com>
6401
6402 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6403 result of SYSDEP_GETTIME_CPU to retval.
6404 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6405 parameter list to macro. Remove trailing semicolon. Adjust users.
6406
6407 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6408 variable.
6409
6410 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6411 mantissa words.
6412 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6413
6414 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6415 from unused variable.
6416
6417 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6418 DWARF definitions.
6419 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6420 for assembling.
6421
6422 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6423 over namespaces.
6424
6425 * sunrpc/rpc_prot.c (rejected): Fix case value.
6426
6427 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6428 unsigned long long int to avoid warnings in shift.
6429
6430 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6431 of use of trans.
6432 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6433 variable tmp.
6434
6435 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6436 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6437 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6438
6439 * nis/nis_table.c (nis_list): Use variable of correct type for
6440 result of __follow_path call.
6441
6442 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6443
6444 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6445 of math functions ceil, trunc, floor, round, and sqrt, when
6446 avaliable on the platform.
6447 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6448 name clash.
6449 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6450 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6451 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6452
6453 2011-10-30 Marek Polacek <mpolacek@redhat.com>
6454
6455 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6456 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6457
6458 2011-11-11 Roland McGrath <roland@hack.frob.com>
6459
6460 * include/unistd.h: Fix __readlink return type.
6461 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6462
6463 2011-11-11 Ulrich Drepper <drepper@gmail.com>
6464
6465 * stdlib/ucontext.h: Undo last change for makecontext.
6466
6467 2011-11-11 Andreas Schwab <schwab@redhat.com>
6468
6469 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6470
6471 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6472 * setjmp/setjmp.h: Mark functions as non-leaf.
6473 * setjmp/bits/setjmp2.h: Likewise.
6474 * stdlib/ucontext.h: Likewise.
6475
6476 2011-11-10 Andreas Schwab <schwab@redhat.com>
6477
6478 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6479 (reused_arena): Don't check arena limit.
6480 (arena_get2): Atomically check arena limit.
6481
6482 2011-11-08 Ulrich Drepper <drepper@gmail.com>
6483
6484 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6485 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6486
6487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6488 instructions.
6489
6490 2011-11-07 Andreas Schwab <schwab@redhat.com>
6491
6492 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6493 handler when locking.
6494
6495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6496 Fix size of allocated buffer.
6497
6498 2011-11-04 Andreas Schwab <schwab@redhat.com>
6499
6500 [BZ #10103]
6501 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6502 declarations for long double functions.
6503 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6504
6505 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6506
6507 2011-11-03 Andreas Schwab <schwab@redhat.com>
6508
6509 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6510 installed.
6511
6512 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6513 is disabled.
6514
6515 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6516
6517 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6518
6519 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6520
6521 * include/alloca.h (stackinfo_alloca_round): Define.
6522 (extend_alloca): Use it.
6523 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6524 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6525 here.
6526
6527 * scripts/check-local-headers.sh: Ignore libaudit.h.
6528
6529 * nscd/Makefile (extra-objs): Make recursively expanded.
6530
6531 2011-11-01 Ulrich Drepper <drepper@gmail.com>
6532
6533 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6534 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6535
6536 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6537 * posix/tst-rfc3484-2.c: Likewise.
6538 * posix/tst-rfc3484-3.c: Likewise.
6539
6540 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6541 process_vm_writev.
6542 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6543 process_vm_writev.
6544 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6545 process_vm_writev from libc using GLIBC_2.15 version.
6546
6547 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6548
6549 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6550
6551 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6552 stack usage.
6553
6554 2011-10-31 Ulrich Drepper <drepper@gmail.com>
6555
6556 [BZ #13367]
6557 * nss/getent.c (initgroups_keys): Show error message in case no group
6558 names are given.
6559
6560 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6561 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6562 __bump_nl_timestamp.
6563 * nscd/connections (nscd_init): When host database is served open
6564 netlink socket and request notification about configuration changes.
6565 (main_loop_poll): Track netlink file descriptor and bump timestamp
6566 in case data becomes available.
6567 (main_loop_epoll): Likewise.
6568 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6569 (database_pers_head): Add extra_data fileds.
6570 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6571 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6572 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6573 Adjust caller.
6574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6575 in6ai data, call __free_in6ai.
6576 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6577 Add -DHAVE_NETLINK.
6578 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6579 interface information. Reuse previous data if netlink timestamp
6580 is not changed.
6581 (__bump_nl_timestamp): New function.
6582 (__free_in6ai): New function.
6583
6584 2011-10-30 Ulrich Drepper <drepper@gmail.com>
6585
6586 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6587 close_not_cancel_no_status here.
6588 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6589
6590 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6591
6592 [BZ #13276]
6593 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6594 return value.
6595
6596 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6597 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6598 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6599
6600 2011-07-03 Andreas Jaeger <aj@suse.de>
6601
6602 [BZ #10709]
6603 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6604 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6605 * math/libm-test.inc (sin_test): Add test case.
6606
6607 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6608
6609 [BZ #13337]
6610 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6611 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6612
6613 * elf/chroot_canon.c (chroot_canon): Cleanups.
6614
6615 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6616
6617 [BZ #13335]
6618 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6619 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6620
6621 * string/test-strchr.c: Make usable for strchrnul testing.
6622 * string/test-strchrnul.c: New file.
6623 * string/Makefile (strop-tests): Add strchrnul.
6624
6625 * po/it.po: Update from translation team.
6626 * po/es.po: Likewise.
6627
6628 2011-10-28 Ulrich Drepper <drepper@gmail.com>
6629
6630 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6631 the three constants needed as parameters. Drop the others.
6632 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6633 __m128i_strloadu_tolower.
6634 Create and initialize variable zero and use it in all the places
6635 where _mm_setzero_si128 was used.
6636
6637 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6638 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6639 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6640 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6641 anymore.
6642 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6643 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6644 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6645 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6646 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6647 __mpranred, __mptan.
6648 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6649 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6650 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6651 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6652 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6653 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6654 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6655 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6656 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6657
6658 2011-10-28 Andreas Schwab <schwab@redhat.com>
6659
6660 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6661 redefine if SHARED.
6662 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6663
6664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6665 wide char related routines to wcsmbs subdir.
6666
6667 2011-10-27 Andreas Schwab <schwab@redhat.com>
6668
6669 [BZ #13344]
6670 * misc/sys/cdefs.h (__THROWNL): Define.
6671 * posix/unistd.h: Use __THREADNL instead of __THREAD
6672 for memory synchronization functions.
6673
6674 2011-10-26 Roland McGrath <roland@hack.frob.com>
6675
6676 [BZ #13349]
6677 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6678 doesn't exist.
6679 * manual/stdio.texi (Obstack Streams): Node removed.
6680
6681 2011-10-26 Andreas Schwab <schwab@redhat.com>
6682
6683 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6684 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6685 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6686
6687 * math/math_private.h (math_force_eval): Allow non-addressable
6688 arguments.
6689 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6690
6691 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6692
6693 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6694 file is not needed.
6695
6696 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6697 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6698 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6699 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6700 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6701 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6702 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6703 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6704 Add AVX variants.
6705 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6706 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6707 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6708 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6709 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6710 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6711 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6712 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6713 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6714 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6715 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6716 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6717 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6718 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6719 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6720 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6721 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6722 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6723 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6724
6725 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6726 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6727
6728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6729 place. Use VEX encoding when compiling for AVX.
6730
6731 2011-10-25 Andreas Schwab <schwab@redhat.com>
6732
6733 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6734 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6735
6736 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6737
6738 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6739
6740 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6741 useless if() expression.
6742 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6750 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6751 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6752 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6753 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6754 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6755 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6756 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6758 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6760 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6761
6762 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6763
6764 2011-10-25 Andreas Schwab <schwab@redhat.com>
6765
6766 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6767 condition.
6768 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6769
6770 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6771
6772 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6773 .text section. Avoid duplicate constants.
6774 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6779 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6781 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6782 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6783 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6784 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6785 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6786 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6787 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6788 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6789 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6790 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6791 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6792 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6793 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6794 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6795 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6797 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6798 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6799 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6800 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6801 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6802 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6803 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6804 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6805 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6806 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6807 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6808 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6809 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6810 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6811 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6812 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6813 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6814 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6815 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6816 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6817 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6818 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6819
6820 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6821
6822 * sysdeps/x86_64/dla.h: Move to ...
6823 * sysdeps/x86_64/fpu/dla.h: ...here.
6824 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6825 situations. Use __builtin_fma only for gcc 4.6 and up.
6826
6827 * config.make.in: Add have-mfma4 entry.
6828 * configure.in: Substitute libc_cv_cc_fma4.
6829 * math/Makefile (dbl-only-routines): Add sincostab.
6830 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6831 Use __sincostab not sincos.
6832 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6833 name is a macro.
6834 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6838 using __copysign.
6839 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6840 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6841 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6842 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6843 and __inv.
6844 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6845 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6846 __copysign.
6847 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6848 define aliases when function name is a macro.
6849 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6850 sysdeps/ieee754/dbl-64/sincos.tbl.
6851 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6852 fma4-enabled routines.
6853 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6854 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6855 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6856 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6857 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6858 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6859 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6860 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6861 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6862 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6863 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6864 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6865 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6866 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6867 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6868 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6869 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6870 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6871 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6872 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6873 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6874 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6876 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6877 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6878 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6879 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6880 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6881 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6882 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6883
6884 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6885 rename.
6886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6891 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6894
6895 2011-10-24 Andreas Schwab <schwab@redhat.com>
6896
6897 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6898
6899 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6900
6901 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6902
6903 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6904 prediction.
6905 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6906
6907 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6908 Remove unused variable magic_bits.
6909 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6910
6911 * string/strnlen.c: Define and use STRNLEN macro.
6912 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6913 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6914 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6915 * wcsmbs/wcslen.c: Define and use WCSLEN.
6916 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6917 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6918 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6919 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6920 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6921 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6922 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6923
6924 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6925
6926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6927 strnlen-sse2-no-bsf.
6928 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6930 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6931 Add strnlen support.
6932 (USE_AS_STRNLEN): New macro.
6933 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6934 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6935 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6936 * sysdeps/x86_64/wcslen.S: New file.
6937
6938 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6939
6940 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6941 XMM-moves are used for copying on small sizes.
6942
6943 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6944
6945 * wcsmbs/Makefile (strop-tests): Add wcschr.
6946 * wcsmbs/test-wcschr.c: New file.
6947 * string/test-strchr.c: Update.
6948 Add wcschr support.
6949 (WIDE): New macro.
6950
6951 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6952
6953 * wcsmbs/Makefile (strop-tests): Add wcslen.
6954 * wcsmbs/test-wcslen.c: New file.
6955 * string/test-strlen.c: Update.
6956 Add wcslen support.
6957 (WIDE): New macro.
6958
6959 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6960
6961 * po/it.po: Update from translation team.
6962
6963 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6964
6965 * sysdeps/x86_64/wcscmp.S: Update.
6966 Fix wrong comparison semantics.
6967 wcscmp shall use signed comparison not unsigned.
6968 Don't use substraction to avoid overflow bug.
6969 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6970 * wcsmbc/wcscmp.c: Likewise.
6971 * string/test-strcmp.c: Likewise.
6972 Add new tests to check cases with negative values.
6973
6974 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6975
6976 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6977 * sysdeps/x86_64/dla.h: ...here. New file.
6978 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6981 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6982 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6983 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6985 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6987
6988 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6989
6990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6991 __ynl_finite aliases.
6992
6993 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6994
6995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6996
6997 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6998 define DLA_FMA.
6999 [DLA_FMA] (EMULV): Use DLA_FMA.
7000 [DLA_FMA] (MUL12): Use EMULV.
7001 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7002 that are not needed.
7003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7007 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7010
7011 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7012
7013 * math/s_nan.c: Undef __nan.
7014 * math/s_nanf.c: Undef __nanf.
7015 * math/s_nanl.c: Undef __nanl.
7016 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7017 "math_private.h".
7018
7019 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7020
7021 * math/s_catan.c: Add branch predictions.
7022 * math/s_catanf.c: Likewise.
7023 * math/s_catanh.c: Likewise.
7024 * math/s_catanhf.c: Likewise.
7025 * math/s_catanhl.c: Likewise.
7026 * math/s_catanl.c: Likewise.
7027 * math/s_cexp.c: Likewise.
7028 * math/s_cexpf.c: Likewise.
7029 * math/s_cexpl.c: Likewise.
7030 * math/s_clog.c: Likewise.
7031 * math/s_clog10.c: Likewise.
7032 * math/s_clog10f.c: Likewise.
7033 * math/s_clog10l.c: Likewise.
7034 * math/s_clogf.c: Likewise.
7035 * math/s_clogl.c: Likewise.
7036 * math/s_csqrt.c: Likewise.
7037 * math/s_csqrtf.c: Likewise.
7038 * math/s_csqrtl.c: Likewise.
7039 * math/s_ctanf.c: Likewise.
7040 * math/s_ctanh.c: Likewise.
7041 * math/s_ctanhf.c: Likewise.
7042 * math/s_ctanhl.c: Likewise.
7043 * math/s_ctanl.c: Likewise.
7044
7045 * math/math_private.h: Define __nan, __nanf, __nanl.
7046 * math/s_cacosh.c: Include <math_private.h>.
7047 * math/s_cacoshl.c: Likewise.
7048 * math/s_casinh.c: Likewise.
7049 * math/s_casinhf.c: Likewise.
7050 * math/s_casinhl.c: Likewise.
7051 * math/s_ccos.c: Rely entire on ccosh.
7052 * math/s_ccosf.c: Rely entire on ccoshf.
7053 * math/s_ccosl.c: Rely entirely on ccoshl.
7054 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7055 Remove tests for FE_INVALID.
7056 * math/s_ccoshf.c: Likewise.
7057 * math/s_ccoshl.c: Likewise.
7058 * math/s_csin.c: Likewise.
7059 * math/s_csinf.c: Likewise.
7060 * math/s_csinh.c Likewise.
7061 * math/s_csinhf.c: Likewise.
7062 * math/s_csinhl.c: Likewise.
7063 * math/s_csinl.c: Likewise.
7064 * math/s_ctan.c: Likewise.
7065 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7066 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7067 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7068
7069 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7070
7071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7072 compilation problems.
7073
7074 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7075 __builtin_expect.
7076
7077 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7078
7079 * sysdeps/i386/configure.in: Test for -mfma4 option.
7080 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7081 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7082 COMMON_CPUID_INDEX_80000001.
7083 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7084 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7085 use it if FMA3 is not supported.
7086 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7087
7088 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7089 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7090
7091 2011-10-20 Andreas Schwab <schwab@redhat.com>
7092
7093 [BZ #12892]
7094 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7095 it would create a cycle with a link time dependency.
7096
7097 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7098
7099 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7100 instruction.
7101 * string/Makefile (strop-tests): Add rawmemchr.
7102 * string/test-rawmemchr.c: New file.
7103
7104 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7106 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7107 when compiling str{,n}casecmp and when AVX is available. Hook up
7108 new optimized code in initializers.
7109
7110 2011-10-19 Andreas Schwab <schwab@redhat.com>
7111
7112 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7113 __feraiseexcept instead of feraiseexcept.
7114
7115 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7116
7117 * math/math_private.h: Define defaults for libc_fetestexcept and
7118 libc_feupdateenv.
7119 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7120 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7121 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7122 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7123 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7124 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7125 libc_fetestexcept and libc_feupdateenv.
7126
7127 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7128 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7129 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7130 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7131 libc_feholdexcept_setround.
7132
7133 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7134 Add s_nearbyint-c and s_nearbyintf-c.
7135 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7136 nearbyintf inlines.
7137 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7138 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7139 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7140 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7141
7142 * math/math_private.h: Define defaults for libc_fegetround,
7143 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7144 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7145 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7146 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7147 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7148 standard functions.
7149 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7150 Remove comments and hacks for old compiler versions.
7151 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7152 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7153 libc_feholdexceptl.
7154
7155 2011-10-18 Andreas Schwab <schwab@redhat.com>
7156
7157 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7158 (__feraiseexcept_renamed): Add __NTH.
7159 (feraiseexcept): Add __NTH. Rename local variables to fix
7160 namespace violations.
7161
7162 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7163
7164 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7165
7166 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7167
7168 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7169 recently added interfaces.
7170 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7171
7172 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7173 about macro parameter expansion.
7174
7175 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7176 __NO_MATH_INLINES is defined. Cleanups.
7177
7178 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7179 and __floorf is target has SSE4.1.
7180 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7181 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7182 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7183 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7184
7185 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7186 name.
7187 (floorf): Likewise.
7188
7189 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7190
7191 2011-10-17 Andreas Schwab <schwab@redhat.com>
7192
7193 * misc/sys/cdefs.h: Fix last change.
7194
7195 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7196 database lookup.
7197
7198 2011-10-16 Ulrich Drepper <drepper@gmail.com>
7199
7200 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7201
7202 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7203 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7204 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7205 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7206 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7207 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7208 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7209 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7210 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7211 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7212 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7213 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7214 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7215 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7216 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7217 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7218 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7219 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7220 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7221 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7222 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7223 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7224
7225 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7226 ceil, ceilf, floor, floorf.
7227
7228 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7229 Perform IRELATIVE relocations last.
7230
7231 * elf/do-rel.h: Add another parameter nrelative, replacing the
7232 local variable with the same name. Change name of the function
7233 to end in Rel or Rela (uppercase).
7234 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7235 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7236 elf_dynamic_do_##reloc function.
7237
7238 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7239
7240 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7241 is sufficient, at least on modern CPUs.
7242
7243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7244
7245 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7246 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7247
7248 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7249 __expl_finite.
7250 * math/bits/math-finite.h: Add entries for exp.
7251 * math/e_expl.c: Add __*_finite alias.
7252 * sysdeps/i386/fpu/e_exp.S: Likewise.
7253 * sysdeps/i386/fpu/e_expf.S: Likewise.
7254 * sysdeps/i386/fpu/e_expl.c: Likewise.
7255 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7256 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7259 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7260 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7261 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7262
7263 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7264 is sufficient, at least on modern CPUs.
7265
7266 * ctype/ctype-info.c (__ctype_init): Define.
7267 * include/ctype.h (__ctype_init): Declare.
7268 (__ctype_b_loc): The variable is always initialized.
7269 (__ctype_toupper_loc): Likewise.
7270 (__ctype_tolower_loc): Likewise.
7271 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7272 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7273
7274 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7275
7276 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7277
7278 * configure.in: Also look in $cxxmachine/include for C++ system
7279 headers.
7280
7281 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7282
7283 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7284 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7285 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7286 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7287 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7288 (USE_AS_WMEMCMP): New macro.
7289 Fixing indents.
7290 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7291 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7292 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7293 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7295 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7296 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7297 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7298 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7299 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7300 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7301 (USE_AS_WMEMCMP): New macro.
7302 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7303 * sysdeps/string/test-memcmp.c: Update.
7304 Fix simple_wmemcmp.
7305 Add new tests.
7306 * wcsmbs/wmemcmp.c: Update.
7307 (WMEMCMP): New macro.
7308 Fix overflow bug.
7309
7310 2011-10-12 Andreas Jaeger <aj@suse.de>
7311
7312 [BZ #13268]
7313 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7314
7315 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7316
7317 * libio/iofwide.c (do_length): Avoid warning.
7318
7319 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7320
7321 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7322
7323 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7324
7325 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7326 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7327 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7328 * sysdeps/i386/i686/fpu/e_log.S: New file.
7329 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7330 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7331
7332 * ctype/ctype.h: Add support for inlined isXXX functions when
7333 compiling C++ code.
7334
7335 2011-10-14 Andreas Schwab <schwab@redhat.com>
7336
7337 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7338
7339 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7340
7341 2011-10-13 Roland McGrath <roland@hack.frob.com>
7342
7343 [BZ #13291]
7344 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7345
7346 2011-10-13 Andreas Schwab <schwab@redhat.com>
7347
7348 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7349 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7350 feraiseexcept.
7351
7352 * sysdeps/x86_64/memrchr.S: Check for zero size.
7353
7354 * string/stratcliff.c: Add memrchr tests.
7355
7356 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7357
7358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7359 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7360 rawmemchr-sse2 rawmemchr-sse2-bsf.
7361 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7362 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7363 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7364 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7365 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7366 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7367 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7368 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7369 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7370 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7371 * string/memrchr.c (MEMRCHR): New macro.
7372
7373 2011-10-12 Ulrich Drepper <drepper@gmail.com>
7374
7375 Add integration with gcc's -ffinite-math-only and optimize wrapper
7376 functions in libm.
7377 * Versions.def: Define GLIBC_2.15 version for libm.
7378 * math/Makefile (headers): Add bits/math-finite.h.
7379 * math/bits/math-finite.h: New file.
7380 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7381 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7382 * math/e_acoshl.c: Add __*_finite alias.
7383 * math/e_acosl.c: Likewise.
7384 * math/e_asinl.c: Likewise.
7385 * math/e_atan2l.c: Likewise.
7386 * math/e_atanhl.c: Likewise.
7387 * math/e_coshl.c: Likewise.
7388 * math/e_exp10.c: Likewise.
7389 * math/e_exp10f.c: Likewise.
7390 * math/e_exp10l.c: Likewise.
7391 * math/e_exp2l.c: Likewise.
7392 * math/e_fmodl.c: Likewise.
7393 * math/e_gammal_r.c: Likewise.
7394 * math/e_hypotl.c: Likewise.
7395 * math/e_j0l.c: Likewise.
7396 * math/e_j1l.c: Likewise.
7397 * math/e_jnl.c: Likewise.
7398 * math/e_lgammal_r.c: Likewise.
7399 * math/e_log10l.c: Likewise.
7400 * math/e_log2l.c: Likewise.
7401 * math/e_logl.c: Likewise.
7402 * math/e_powl.c: Likewise.
7403 * math/e_sinhl.c: Likewise.
7404 * math/e_sqrtl.c: Likewise.
7405 * math/e_scalb.c: Completely rewritten and optimized.
7406 * math/e_scalbf.c: Likewise.
7407 * math/e_scalbl.c: Likewise.
7408 * math/w_acos.c: Likewise.
7409 * math/w_acosf.c: Likewise.
7410 * math/w_acosl.c: Likewise.
7411 * math/w_acosh.c: Likewise.
7412 * math/w_acoshf.c: Likewise.
7413 * math/w_acoshl.c: Likewise.
7414 * math/w_asin.c: Likewise.
7415 * math/w_asinf.c: Likewise.
7416 * math/w_asinl.c: Likewise.
7417 * math/w_atan2.c: Likewise.
7418 * math/w_atan2f.c: Likewise.
7419 * math/w_atan2l.c: Likewise.
7420 * math/w_atanh.c: Likewise.
7421 * math/w_atanhf.c: Likewise.
7422 * math/w_atanhl.c: Likewise.
7423 * math/w_exp10.c: Likewise.
7424 * math/w_exp10f.c: Likewise.
7425 * math/w_exp10l.c: Likewise.
7426 * math/w_fmod.c: Likewise.
7427 * math/w_fmodf.c: Likewise.
7428 * math/w_fmodl.c: Likewise.
7429 * math/w_j0.c: Likewise.
7430 * math/w_j0f.c: Likewise.
7431 * math/w_j0l.c: Likewise.
7432 * math/w_j1.c: Likewise.
7433 * math/w_j1f.c: Likewise.
7434 * math/w_j1l.c: Likewise.
7435 * math/w_jn.c: Likewise.
7436 * math/w_jnf.c: Likewise.
7437 * math/w_log.c: Likewise.
7438 * math/w_logf.c: Likewise.
7439 * math/w_logl.c: Likewise.
7440 * math/w_log10.c: Likewise.
7441 * math/w_log10f.c: Likewise.
7442 * math/w_log10l.c: Likewise.
7443 * math/w_log2.c: Likewise.
7444 * math/w_log2f.c: Likewise.
7445 * math/w_log2l.c: Likewise.
7446 * math/w_pow.c: Likewise.
7447 * math/w_powf.c: Likewise.
7448 * math/w_powl.c: Likewise.
7449 * math/w_remainder.c: Likewise.
7450 * math/w_remainderf.c: Likewise.
7451 * math/w_remainderl.c: Likewise.
7452 * math/w_scalb.c: Likewise.
7453 * math/w_scalbf.c: Likewise.
7454 * math/w_scalbl.c: Likewise.
7455 * math/w_sqrt.c: Likewise.
7456 * math/w_sqrtf.c: Likewise.
7457 * math/w_sqrtl.c: Likewise.
7458 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7459 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7460 used.
7461 * math/math_private.h: Declare __kernel_standard_f.
7462 * math/w_cosh.c: Remove cruft and optimize a bit.
7463 * math/w_coshf.c: Likewise.
7464 * math/w_coshl.c: Likewise.
7465 * math/w_exp2.c: Likewise.
7466 * math/w_exp2f.c: Likewise.
7467 * math/w_exp2l.c: Likewise.
7468 * math/w_hypot.c: Likewise.
7469 * math/w_hypotf.c: Likewise.
7470 * math/w_hypotl.c: Likewise.
7471 * math/w_lgamma.c: Likewise.
7472 * math/w_lgamma_r.c: Likewise.
7473 * math/w_lgammaf.c: Likewise.
7474 * math/w_lgammaf_r.c: Likewise.
7475 * math/w_lgammal.c: Likewise.
7476 * math/w_lgammal_r.c: Likewise.
7477 * math/w_sinh.c: Likewise.
7478 * math/w_sinhf.c: Likewise.
7479 * math/w_sinhl.c: Likewise.
7480 * math/w_tgamma.c: Likewise.
7481 * math/w_tgammaf.c: Likewise.
7482 * math/w_tgammal.c: Likewise.
7483 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7484 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7485 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7486 Minor optimizations. Pretty printing. Remove cruft.
7487 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7488 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7489 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7490 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7491 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7492 * sysdeps/i386/fpu/e_asin.S: Likewise.
7493 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7494 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7495 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7496 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7497 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7498 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7499 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7500 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7501 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7502 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7503 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7504 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7505 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7506 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7507 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7508 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7509 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7510 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7511 * sysdeps/i386/fpu/e_log.S: Likewise.
7512 * sysdeps/i386/fpu/e_log10.S: Likewise.
7513 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7514 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7515 * sysdeps/i386/fpu/e_log2.S: Likewise.
7516 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7517 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7518 * sysdeps/i386/fpu/e_logf.S: Likewise.
7519 * sysdeps/i386/fpu/e_logl.S: Likewise.
7520 * sysdeps/i386/fpu/e_pow.S: Likewise.
7521 * sysdeps/i386/fpu/e_powf.S: Likewise.
7522 * sysdeps/i386/fpu/e_powl.S: Likewise.
7523 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7524 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7525 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7526 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7527 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7528 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7529 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7530 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7531 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7532 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7533 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7535 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7537 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7553 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7554 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7555 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7556 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7557 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7558 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7559 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7560 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7561 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7562 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7563 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7564 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7565 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7566 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7567 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7568 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7569 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7570 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7571 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7572 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7573 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7582 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7615 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7617 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7618 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7620 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7623 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7624 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7625 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7626 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7627 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7628 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7629 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7630 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7631 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7632 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7633 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7634 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7635 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7636 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7637 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7638 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7639 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7640 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7641 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7642 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7643 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7644 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7645 (__isnanf): Likewise.
7646 (__isinf_ns): Likewise.
7647 (__isinf_nsf): Likewise.
7648 (__finite): Likewise.
7649 (__finitef): Likewise.
7650 (__ieee754_sqrt): Define as macro.
7651 (__ieee754_sqrtf): Define as macro.
7652 (__ieee754_sqrtl): Define as macro.
7653 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7654 inlined copy.
7655 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7656 __FINITE_MATH_ONLY__ consistent.
7657 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7658
7659 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7660
7661 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7662 of rawmemchr.
7663
7664 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7665
7666 2011-10-09 Ulrich Drepper <drepper@gmail.com>
7667
7668 * po/ja.po: Update from translation team.
7669
7670 2011-10-08 Roland McGrath <roland@hack.frob.com>
7671
7672 * locale/programs/locarchive.c (prepare_address_space): New function.
7673 (create_archive, enlarge_archive, open_archive): Use it.
7674
7675 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7676 inside [SHARED], where it is used.
7677
7678 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7679
7680 * nss/getent.c (netgroup_keys): Remove unused variable.
7681 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7682
7683 2011-10-08 Ulrich Drepper <drepper@gmail.com>
7684
7685 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7686 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7687 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7689 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7690 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7691 * math/Makefile (libm-calls): Add s_isinf_ns.
7692 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7693 * math/multc3.c: Likewise.
7694 * math/s_casin.c: Likewise.
7695 * math/s_casinf.c: Likewise.
7696 * math/s_casinl.c: Likewise.
7697 * math/s_ccos.c: Likewise.
7698 * math/s_ccosf.c: Likewise.
7699 * math/s_ccosl.c: Likewise.
7700 * math/s_ctan.c: Likewise.
7701 * math/s_ctanf.c: Likewise.
7702 * math/s_ctanh.c: Likewise.
7703 * math/s_ctanhf.c: Likewise.
7704 * math/s_ctanhl.c: Likewise.
7705 * math/s_ctanl.c: Likewise.
7706 * math/w_fmod.c: Likewise.
7707 * math/w_fmodf.c: Likewise.
7708 * math/w_fmodl.c: Likewise.
7709 * math/w_remainder.c: Likewise.
7710 * math/w_remainderf.c: Likewise.
7711 * math/w_remainderl.c: Likewise.
7712 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7713 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7714 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7715 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7716 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7717 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7718 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7719 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7720
7721 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7722 of the number.
7723 * stdio-common/printf_fphex.c: Likewise.
7724 * stdio-common/printf_size.c: Likewise.
7725
7726 * math/e_exp10.c: Include math_private.h using <...> not "...".
7727 * math/e_exp10f.c: Likewise.
7728 * math/e_exp10l.c: Likewise.
7729 * math/e_exp2l.c: Likewise.
7730 * math/e_j0l.c: Likewise.
7731 * math/e_j1l.c: Likewise.
7732 * math/e_jnl.c: Likewise.
7733 * math/e_lgammal_r.c: Likewise.
7734 * math/e_rem_pio2l.c: Likewise.
7735 * math/e_scalb.c: Likewise.
7736 * math/e_scalbf.c: Likewise.
7737 * math/e_scalbl.c: Likewise.
7738 * math/k_cosl.c: Likewise.
7739 * math/k_sinl.c: Likewise.
7740 * math/k_tanl.c: Likewise.
7741 * math/s_cacoshf.c: Likewise.
7742 * math/s_catan.c: Likewise.
7743 * math/s_catanf.c: Likewise.
7744 * math/s_catanh.c: Likewise.
7745 * math/s_catanhf.c: Likewise.
7746 * math/s_catanhl.c: Likewise.
7747 * math/s_catanl.c: Likewise.
7748 * math/s_ccosh.c: Likewise.
7749 * math/s_ccoshf.c: Likewise.
7750 * math/s_ccoshl.c: Likewise.
7751 * math/s_cexp.c: Likewise.
7752 * math/s_cexpf.c: Likewise.
7753 * math/s_cexpl.c: Likewise.
7754 * math/s_clog.c: Likewise.
7755 * math/s_clog10.c: Likewise.
7756 * math/s_clog10f.c: Likewise.
7757 * math/s_clog10l.c: Likewise.
7758 * math/s_clogf.c: Likewise.
7759 * math/s_clogl.c: Likewise.
7760 * math/s_csin.c: Likewise.
7761 * math/s_csinf.c: Likewise.
7762 * math/s_csinh.c: Likewise.
7763 * math/s_csinhf.c: Likewise.
7764 * math/s_csinhl.c: Likewise.
7765 * math/s_csinl.c: Likewise.
7766 * math/s_csqrt.c: Likewise.
7767 * math/s_csqrtf.c: Likewise.
7768 * math/s_csqrtl.c: Likewise.
7769 * math/s_ctan.c: Likewise.
7770 * math/s_ctanf.c: Likewise.
7771 * math/s_ctanh.c: Likewise.
7772 * math/s_ctanhf.c: Likewise.
7773 * math/s_ctanhl.c: Likewise.
7774 * math/s_ctanl.c: Likewise.
7775 * math/s_ldexp.c: Likewise.
7776 * math/s_ldexpf.c: Likewise.
7777 * math/s_ldexpl.c: Likewise.
7778 * math/s_significand.c: Likewise.
7779 * math/s_significandf.c: Likewise.
7780 * math/s_significandl.c: Likewise.
7781 * math/w_acos.c: Likewise.
7782 * math/w_acosf.c: Likewise.
7783 * math/w_acosh.c: Likewise.
7784 * math/w_acoshf.c: Likewise.
7785 * math/w_acoshl.c: Likewise.
7786 * math/w_acosl.c: Likewise.
7787 * math/w_asin.c: Likewise.
7788 * math/w_asinf.c: Likewise.
7789 * math/w_asinl.c: Likewise.
7790 * math/w_atan2.c: Likewise.
7791 * math/w_atan2f.c: Likewise.
7792 * math/w_atan2l.c: Likewise.
7793 * math/w_atanh.c: Likewise.
7794 * math/w_atanhf.c: Likewise.
7795 * math/w_atanhl.c: Likewise.
7796 * math/w_cosh.c: Likewise.
7797 * math/w_coshf.c: Likewise.
7798 * math/w_coshl.c: Likewise.
7799 * math/w_dremf.c: Likewise.
7800 * math/w_exp10.c: Likewise.
7801 * math/w_exp10f.c: Likewise.
7802 * math/w_exp10l.c: Likewise.
7803 * math/w_exp2.c: Likewise.
7804 * math/w_exp2f.c: Likewise.
7805 * math/w_fmod.c: Likewise.
7806 * math/w_fmodf.c: Likewise.
7807 * math/w_fmodl.c: Likewise.
7808 * math/w_hypot.c: Likewise.
7809 * math/w_hypotf.c: Likewise.
7810 * math/w_hypotl.c: Likewise.
7811 * math/w_j0.c: Likewise.
7812 * math/w_j0f.c: Likewise.
7813 * math/w_j0l.c: Likewise.
7814 * math/w_j1.c: Likewise.
7815 * math/w_j1f.c: Likewise.
7816 * math/w_j1l.c: Likewise.
7817 * math/w_jn.c: Likewise.
7818 * math/w_jnf.c: Likewise.
7819 * math/w_jnl.c: Likewise.
7820 * math/w_lgamma.c: Likewise.
7821 * math/w_lgamma_r.c: Likewise.
7822 * math/w_lgammaf.c: Likewise.
7823 * math/w_lgammaf_r.c: Likewise.
7824 * math/w_lgammal.c: Likewise.
7825 * math/w_lgammal_r.c: Likewise.
7826 * math/w_log.c: Likewise.
7827 * math/w_log10.c: Likewise.
7828 * math/w_log10f.c: Likewise.
7829 * math/w_log10l.c: Likewise.
7830 * math/w_log2.c: Likewise.
7831 * math/w_log2f.c: Likewise.
7832 * math/w_log2l.c: Likewise.
7833 * math/w_logf.c: Likewise.
7834 * math/w_logl.c: Likewise.
7835 * math/w_pow.c: Likewise.
7836 * math/w_powf.c: Likewise.
7837 * math/w_powl.c: Likewise.
7838 * math/w_remainder.c: Likewise.
7839 * math/w_remainderf.c: Likewise.
7840 * math/w_remainderl.c: Likewise.
7841 * math/w_scalb.c: Likewise.
7842 * math/w_scalbf.c: Likewise.
7843 * math/w_scalbl.c: Likewise.
7844 * math/w_sinh.c: Likewise.
7845 * math/w_sinhf.c: Likewise.
7846 * math/w_sinhl.c: Likewise.
7847 * math/w_sqrt.c: Likewise.
7848 * math/w_sqrtf.c: Likewise.
7849 * math/w_sqrtl.c: Likewise.
7850 * math/w_tgamma.c: Likewise.
7851 * math/w_tgammaf.c: Likewise.
7852 * math/w_tgammal.c: Likewise.
7853
7854 * po/ja.po: Update from translation team.
7855
7856 2011-09-29 Andreas Jaeger <aj@suse.de>
7857
7858 [BZ #13179]
7859 * sunrpc/netname.c (netname2host): Fix logic.
7860
7861 [BZ #6779]
7862 [BZ #6783]
7863 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7864 correctly.
7865 * math/w_remainder.c (__remainder): Likewise.
7866 * math/w_remainderf.c (__remainderf): Likewise.
7867 * math/libm-test.inc (remainder_test): Add test cases.
7868
7869 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7870
7871 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7872 sdiv_qrnnd.
7873
7874 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7875
7876 * string/test-memcmp.c: Avoid unncessary #defines.
7877 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7878
7879 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7880
7881 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7882 Use new sse2 version for core i3 - i7 as it's faster
7883 than sse42 version.
7884 (bit_Prefer_PMINUB_for_stringop): New.
7885 * sysdeps/x86_64/rawmemchr.S: Update.
7886 Replace with faster SSE2 version.
7887 * sysdeps/x86_64/memrchr.S: New file.
7888 * sysdeps/x86_64/memchr.S: Update.
7889 Replace with faster SSE2 version.
7890
7891 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7892
7893 * elf/dl-load.c (lose): Add cast to avoid warning.
7894
7895 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7896
7897 * po/ca.po: Update from translation team.
7898
7899 * inet/getnetgrent_r.c: Hook up nscd.
7900 * nscd/Makefile (routines): Add nscd_netgroup.
7901 (nscd-modules): Add netgroupcache.
7902 (CFLAGS-netgroupcache.c): Define.
7903 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7904 (cache_search): Add const to second parameter.
7905 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7906 INNETGR.
7907 (dbs): Add netgrdb entry.
7908 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7909 (verify_persistent_db): Handle netgrdb.
7910 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7911 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7912 GETFDNETGR.
7913 (netgroup_response_header): Define.
7914 (innetgroup_response_header): Define.
7915 (datahead): Add netgroup_response_header and innetgroup_response_header
7916 elements.
7917 * nscd/nscd.conf: Add entries for netgroup cache.
7918 * nscd/nscd.h (dbtype): Add netgrdb.
7919 (_PATH_NSCD_NETGROUP_DB): Define.
7920 (netgroup_iov_disabled): Declare.
7921 (xmalloc, xcalloc, xrealloc): Move declarations here.
7922 (cache_search): Adjust prototype.
7923 Add netgroup-related prototypes.
7924 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7925 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7926 (__nscd_innetgr): Declare.
7927 * nscd/selinux.c (perms): Use access_vector_t as element type and
7928 add netgroup-related initializers.
7929 * nscd/netgroupcache.c: New file.
7930 * nscd/nscd_netgroup.c: New file.
7931 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7932 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7933 For four parameters use innetgr.
7934 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7935 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7936 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7937 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7938
7939 * nscd/connections.c (register_traced_file): Don't register file
7940 for disabled databases.
7941
7942 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7943
7944 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7945
7946 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7947 from tree and freeing node.
7948
7949 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7950
7951 * nss/nsswitch.c (__nss_database_lookup): Handle
7952 nss_parse_service_list out of memory case.
7953
7954 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7955
7956 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7957 out of memory case.
7958
7959 2011-10-04 Andreas Schwab <schwab@redhat.com>
7960
7961 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7962 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7963 pass it down.
7964 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7965 elf_machine_rela, elf_machine_lazy_rel.
7966 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7967 (ELF_DYNAMIC_DO_REL): Likewise.
7968 (ELF_DYNAMIC_DO_RELA): Likewise.
7969 (ELF_DYNAMIC_RELOCATE): Likewise.
7970 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7971 to ELF_DYNAMIC_DO_REL.
7972 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7973 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7974 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7975 elf_machine_rela.
7976 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7977 skip_ifunc, don't call ifunc function if non-zero.
7978 (elf_machine_rela): Likewise.
7979 (elf_machine_lazy_rel): Likewise.
7980 (elf_machine_lazy_rela): Likewise.
7981 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7982 (elf_machine_lazy_rel): Likewise.
7983 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7984 Likewise.
7985 (elf_machine_lazy_rel): Likewise.
7986 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7987 Likewise.
7988 (elf_machine_lazy_rel): Likewise.
7989 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7990 (elf_machine_lazy_rel): Likewise.
7991 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7992 (elf_machine_lazy_rel): Likewise.
7993 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7994 (elf_machine_lazy_rel): Likewise.
7995 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7996 (elf_machine_lazy_rel): Likewise.
7997 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7998 (elf_machine_lazy_rel): Likewise.
7999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8000 (elf_machine_lazy_rel): Likewise.
8001
8002 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8003
8004 * nss/nss_files/files-init.c (_nss_files_init): Use static
8005 initialization for all the *_traced_file variables.
8006
8007 2011-09-28 Andreas Schwab <schwab@redhat.com>
8008
8009 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8010
8011 2011-09-27 Roland McGrath <roland@hack.frob.com>
8012
8013 [BZ #13226]
8014 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8015
8016 2011-09-27 Andreas Schwab <schwab@redhat.com>
8017
8018 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8019 Reread the line before reparsing it.
8020
8021 2011-09-26 Andreas Schwab <schwab@redhat.com>
8022
8023 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8024
8025 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8026 Maxim Kuvyrkov <maxim@codesourcery.com>
8027 Joseph Myers <joseph@codesourcery.com>
8028
8029 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8030 if needed for __stack_chk_guard.
8031
8032 2011-09-19 Roland McGrath <roland@hack.frob.com>
8033
8034 * sysdeps/posix/spawni.c (script_execute): Always define it.
8035 It will be optimized away if unused.
8036 (maybe_script_execute): New function.
8037 (__spawni): Call it.
8038
8039 * Makerules: Don't include tls.make.
8040 (config-tls): Always set to thread.
8041 * tls.make.c: File removed.
8042
8043 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8044
8045 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8046 * config.make.in (CPPFLAGS-config): New substituted variable.
8047
8048 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8049
8050 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8051
8052 [BZ #13192]
8053 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8054 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8055
8056 2011-09-15 Roland McGrath <roland@hack.frob.com>
8057
8058 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8059 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8060 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8061 (CALL_FAIL): Likewise.
8062 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8063 (CALL_FAIL): Macro removed.
8064 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8065
8066 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8067
8068 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8069 for __FINITE_MATH_ONLY__ == 1.
8070
8071 2011-09-15 Andreas Schwab <schwab@redhat.com>
8072
8073 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8074 __ieee754_sqrt instead of sqrt.
8075 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8076 __ieee754_sqrtf instead of sqrtf.
8077 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8078 __floorf instead of floorf.
8079 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8080 __floorf, __truncf instead of floorf, truncf.
8081
8082 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8083
8084 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8085
8086 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8087 __extern_always_inline.
8088 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8089 32-bit.
8090
8091 2011-09-14 Andreas Schwab <schwab@redhat.com>
8092
8093 * elf/rtld.c (dl_main): Also relocate in dependency order when
8094 doing symbol dependency testing.
8095
8096 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8097
8098 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8099 Always define `refsym'.
8100
8101 2011-09-13 Andreas Schwab <schwab@redhat.com>
8102
8103 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8104 (__FD_ELT): Renamed from __FDELT.
8105 * misc/bits/select2.h (__FD_ELT): Likewise.
8106 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8107 __FD_MASK instead of __FDELT, __FDMASK.
8108 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8109 Likewise.
8110 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8111 Likewise.
8112
8113 * elf/Makefile (gen-ldd): Fix pattern.
8114
8115 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8116 (init_tls): Likewise.
8117
8118 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8119
8120 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8121
8122 2011-09-12 Andreas Schwab <schwab@redhat.com>
8123
8124 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8125 `struct cmsghdr *' instead of `void *'.
8126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8127 Likewise.
8128
8129 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8130
8131 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8132 if non-absolute.
8133 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8134 ldd_rewrite_script.
8135
8136 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8137
8138 * configure.in: Remove --with-tls option.
8139 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8140 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8141 out in case it is missing.
8142 * sysdeps/ia64/elf/configure.in: Likewise.
8143 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8144 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8145 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8146 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8147 * sysdeps/sh/elf/configure.in: Likewise.
8148 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8149 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8150 * sysdeps/x86_64/elf/configure.in: Likewise.
8151 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8152 * sysdeps/mach/hurd/tls.h: Likewise.
8153
8154 [BZ #13067]
8155 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8156
8157 [BZ #13090]
8158 * configure.in: Fix use of AC_INIT.
8159
8160 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8161
8162 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8163
8164 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8165 __set_errno.
8166 * malloc/hooks.c: Likewise.
8167
8168 [BZ #11929]
8169 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8170 variables statically.
8171 (narenas): Initialize.
8172 (list_lock): Initialize.
8173 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8174 initializtion of main_arena and list_lock. Small cleanups.
8175 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8176 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8177 Add initializers to main_arena and mp_.
8178 (malloc_state): Remove pagesize member. Change all users to use
8179 GLRO(dl_pagesize).
8180
8181 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8182 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8183 is always initialized.
8184
8185 * malloc/malloc.c: Removed unused configurations and dead code.
8186 * malloc/arena.c: Likewise.
8187 * malloc/hooks.c: Likewise.
8188 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8189
8190 * include/tls.h: Removed. USE___THREAD must always be defined.
8191 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8192 * elf/dl-libc.c: Likewise.
8193 * elf/dl-tsd.c: Likewise.
8194 * include/errno.h: Likewise.
8195 * include/netdb.h: Likewise.
8196 * include/resolv.h: Likewise.
8197 * inet/herrno-loc.c: Likewise.
8198 * inet/herrno.c: Likewise.
8199 * malloc/arena.c: Likewise.
8200 * malloc/hooks.c: Likewise.
8201 * malloc/malloc.c: Likewise.
8202 * resolv/res-state.c: Likewise.
8203 * resolv/res_libc.c: Likewise.
8204 * sysdeps/i386/dl-machine.h: Likewise.
8205 * sysdeps/ia64/dl-machine.h: Likewise.
8206 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8207 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8208 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8209 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8210 * sysdeps/sh/dl-machine.h: Likewise.
8211 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8212 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8213 * sysdeps/unix/i386/sysdep.S: Likewise.
8214 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8215 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8219 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8220 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8224 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8225 * sysdeps/x86_64/dl-machine.h: Likewise.
8226 * tls.make.c: Likewise.
8227
8228 * configure.in: Remove --with-__thread option. Make tests for
8229 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8230 tls_model attribute fail if no support is available. Remove
8231 USE_IN_LIBIO.
8232 * Makeconfig: Adjust for dropped configure option. All features are
8233 now mandatory.
8234 * Makerules: Likewise.
8235 * Versions.def: Likewise.
8236 * argp/argp-fmtstream.c: Likewise.
8237 * argp/argp-fmtstream.h: Likewise.
8238 * argp/argp-help.c: Likewise.
8239 * assert/assert.c: Likewise.
8240 * config.h.in: Likewise.
8241 * config.make.in: Likewise.
8242 * configure: Likewise.
8243 * configure.in: Likewise.
8244 * csu/Versions: Likewise.
8245 * csu/init.c: Likewise.
8246 * elf/tst-audit2.c: Likewise.
8247 * elf/tst-tls10.c: Likewise.
8248 * elf/tst-tls10.h: Likewise.
8249 * elf/tst-tls11.c: Likewise.
8250 * elf/tst-tls12.c: Likewise.
8251 * elf/tst-tls14.c: Likewise.
8252 * elf/tst-tlsmod11.c: Likewise.
8253 * elf/tst-tlsmod12.c: Likewise.
8254 * elf/tst-tlsmod13.c: Likewise.
8255 * elf/tst-tlsmod13a.c: Likewise.
8256 * elf/tst-tlsmod14a.c: Likewise.
8257 * elf/tst-tlsmod15b.c: Likewise.
8258 * elf/tst-tlsmod16a.c: Likewise.
8259 * elf/tst-tlsmod16b.c: Likewise.
8260 * elf/tst-tlsmod7.c: Likewise.
8261 * elf/tst-tlsmod8.c: Likewise.
8262 * elf/tst-tlsmod9.c: Likewise.
8263 * gmon/gmon.c: Likewise.
8264 * grp/fgetgrent_r.c: Likewise.
8265 * grp/putgrent.c: Likewise.
8266 * hurd/fopenport.c: Likewise.
8267 * include/libc-symbols.h: Likewise.
8268 * include/tls.h: Likewise.
8269 * intl/gettextP.h: Likewise.
8270 * intl/loadinfo.h: Likewise.
8271 * locale/global-locale.c: Likewise.
8272 * locale/localeinfo.h: Likewise.
8273 * mach/devstream.c: Likewise.
8274 * malloc/arena.c: Likewise.
8275 * malloc/set-freeres.c: Likewise.
8276 * misc/err.c: Likewise.
8277 * misc/getttyent.c: Likewise.
8278 * misc/mntent_r.c: Likewise.
8279 * posix/getopt.c: Likewise.
8280 * posix/wordexp.c: Likewise.
8281 * pwd/fgetpwent_r.c: Likewise.
8282 * resolv/Versions: Likewise.
8283 * resolv/res_hconf.c: Likewise.
8284 * shadow/fgetspent_r.c: Likewise.
8285 * shadow/putspent.c: Likewise.
8286 * stdio-common/printf_fphex.c: Likewise.
8287 * stdio-common/tmpfile.c: Likewise.
8288 * stdlib/abort.c: Likewise.
8289 * stdlib/fmtmsg.c: Likewise.
8290 * sunrpc/auth_unix.c: Likewise.
8291 * sunrpc/clnt_perr.c: Likewise.
8292 * sunrpc/clnt_tcp.c: Likewise.
8293 * sunrpc/clnt_udp.c: Likewise.
8294 * sunrpc/clnt_unix.c: Likewise.
8295 * sunrpc/openchild.c: Likewise.
8296 * sunrpc/svc_simple.c: Likewise.
8297 * sunrpc/svc_tcp.c: Likewise.
8298 * sunrpc/svc_udp.c: Likewise.
8299 * sunrpc/svc_unix.c: Likewise.
8300 * sunrpc/xdr.c: Likewise.
8301 * sunrpc/xdr_array.c: Likewise.
8302 * sunrpc/xdr_rec.c: Likewise.
8303 * sunrpc/xdr_ref.c: Likewise.
8304 * sunrpc/xdr_stdio.c: Likewise.
8305
8306 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8307
8308 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8309
8310 2011-07-03 Andreas Jaeger <aj@suse.de>
8311
8312 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8313 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8314 regenerate with gen-libm-tests.pl.
8315
8316 2010-05-12 Petr Baudis <pasky@suse.cz>
8317
8318 [BZ #11589]
8319 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8320 around j0() zero points by switching to j1().
8321 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8325
8326 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8327
8328 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8329 instead of 0.
8330 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8331 instead of 0. .
8332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8333 Patch in part by Pavel Roskin <proski@gnu.org>.
8334
8335 [BZ #13138]
8336 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8337 realloc.
8338 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8339 Free memory block if necessary.
8340
8341 [BZ #12847]
8342 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8343 be NULL. Don't lock in this case.
8344
8345 2011-09-09 Roland McGrath <roland@hack.frob.com>
8346
8347 * elf/elf.h (ELFOSABI_GNU): New macro.
8348 (ELFOSABI_LINUX): Define to that.
8349
8350 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8351
8352 * string/strncat.c (strncat): Undef the symbol in case it has been
8353 defined in bits/string.h.
8354
8355 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8356
8357 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8358
8359 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8360 link map.
8361
8362 2011-08-17 Andreas Jaeger <aj@suse.de>
8363
8364 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8365
8366 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8367 Ian Lance Taylor <iant@google.com>
8368
8369 * math/libm-test.inc (lround_test): New testcase.
8370 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8371
8372 2011-09-08 Ulrich Drepper <drepper@gmail.com>
8373
8374 * Makefile: Remove support for automatic cvs check-ins.
8375 * Makerules: Likewise.
8376 * config.make.in: Likewise.
8377 * configure.in: Likewise.
8378 * intl/Makefile: Likewise.
8379 * locale/Makefile: Likewise.
8380 * po/Makefile: Likewise.
8381 * posix/Makefile: Likewise.
8382 * sysdeps/gnu/Makefile: Likewise.
8383 * sysdeps/mach/hurd/Makefile: Likewise.
8384 * sysdeps/sparc/sparc32/Makefile: Likewise.
8385
8386 [BZ #13118]
8387 * posix/Makefile (bug-regex32-ENV): Define.
8388 Patch by John Stanley <jpsinthemix@verizon.net>.
8389
8390 * misc/Makefile (headers): Add bits/select2.h.
8391 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8392 * misc/bits/select2.h: New file.
8393 * include/bits/select2.h: New file.
8394 * debug/Makefile (routines): Add fdelt_chk.
8395 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8396 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8397 FD_ISSET.
8398 * debug/fdelt_chk.c: New file.
8399
8400 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8401 * wcsmbs/test-wmemcmp.c: Likewise.
8402 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8403 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8404
8405 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8406
8407 * string/Makefile (strop-tests): Add memcmp.
8408 * string/test-wmemcmp.c: New file.
8409 * string/test-memcmp.c: Add wmemcmp support.
8410
8411 2011-09-08 Roland McGrath <roland@hack.frob.com>
8412
8413 [BZ #13153]
8414 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8415 2011-07-19 change.
8416
8417 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8418 garbage value in a __mach_port_mod_refs call in the cases of the
8419 task-self and thread-self ports.
8420
8421 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8422
8423 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8424
8425 2011-09-08 Andreas Schwab <schwab@redhat.com>
8426
8427 * elf/dl-load.c (lose): Check for non-null L.
8428
8429 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8430
8431 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8432
8433 * elf/dl-libc.c (dlerror_run): Pass back error code from
8434 dl_catch_error.
8435
8436 [BZ #13123]
8437 * elf/dl-load.c (lose): Free l_origin if it is valid.
8438
8439 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8440 names.
8441 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8442 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8443 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8444 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8446 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8447
8448 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8449
8450 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8451 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8452 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8453 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8454 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8455 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8456 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8457 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8458 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8459 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8460
8461 2011-08-15 Alan Modra <amodra@gmail.com>
8462
8463 [BZ #13092]
8464 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8465 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8466 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8467 ppc_mcount to static-only-routines.
8468 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8469 __mcount_internal.
8470 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8471 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8472
8473 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8474
8475 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8476 for finite and infinity parameters.
8477
8478 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8479
8480 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8481 and add nop instructions for throughput optimization.
8482 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8483
8484 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8485
8486 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8487 aligned copy for power7 with vector-scalar instructions.
8488 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8489
8490 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8491
8492 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8493 AVX check.
8494
8495 2011-09-07 Andreas Schwab <schwab@redhat.com>
8496
8497 [BZ #13144]
8498 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8499 last change.
8500
8501 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8502
8503 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8504 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8505 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8506 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8507 clock_gettime.
8508
8509 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8510
8511 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8512 Forgot to demangle the pointer.
8513
8514 * sysdeps/i386/sysdep.h: Define atom_text_section.
8515 * sysdeps/x86_64/sysdep.h: Likewise.
8516 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8517 section with atom_text_section.
8518 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8519 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8520 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8522 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8523
8524 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8525 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8526 already be defined. Change to take two parameters and don't assign
8527 result to variable. Adjust all users.
8528 Define INTERNAL_GETTIME if not already defined.
8529 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8530 call.
8531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8532 HAVE_CLOCK_GETTIME_VSYSCALL.
8533 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8534
8535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8536 gettimeofday vsyscall, just use time.
8537
8538 2011-09-06 Andreas Schwab <schwab@redhat.com>
8539
8540 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8541 <errno.h>.
8542
8543 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8544
8545 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8546 syscall on x86-64.
8547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8548 syscall.
8549 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8550 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8551 syscall if possible.
8552
8553 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8554
8555 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8556 e_ident. Don't pass to find_mapsXX.
8557 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8558
8559 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8560
8561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8562 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8563 * sysdeps/x86_64/multiarch/strchr.S: Update.
8564 Check bit_slow_BSF bit.
8565 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8566 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8567 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8568
8569 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8570
8571 [BZ #13134]
8572 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8573 before glibc 2.15.
8574 (tryshell): Define.
8575 (__spawni): Change last parameter to be flag. Test
8576 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8577 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8578 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8579 * posix/spawni.c: Likewise.
8580 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8581 * posix/spawnp.c: Likewise. Change normal version to use
8582 SPAWN_XFLAGS_USE_PATH.
8583 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8584 SPAWN_XFLAGS_TRY_SHELL.
8585
8586 [BZ #13150]
8587 * posix/glob.h: Remove gcc 1.x support.
8588
8589 [BZ #13068]
8590 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8591
8592 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8593
8594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8595 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8596 strrchr-sse2-bsf
8597 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8598 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8599 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8600 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8601 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8602 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8603
8604 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8605
8606 * sysdeps/x86_64/wcscmp.S: New file.
8607
8608 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8609 wcscmp-c wcscmp-sse2
8610 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8611 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8612 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8613 * wcsmbs/wcscmp.c: Allow renaming.
8614
8615 2011-09-05 David S. Miller <davem@davemloft.net>
8616
8617 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8618 stack slot, rather than the struct return pointer slot.
8619 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8620 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8622 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8623
8624 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8625
8626 * po/ja.po: Update from translation team.
8627
8628 [BZ #13144]
8629 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8630 kernel in 64-bit binaries.
8631
8632 2011-09-01 David S. Miller <davem@davemloft.net>
8633
8634 * elf/elf.h (HWCAP_SPARC_*): Move to..
8635 * sysdeps/sparc/sysdep.h: this new file and add new values.
8636 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8637 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8638 _DL_HWCAP_COUNT to 24.
8639 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8640 entries.
8641 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8642 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8643 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8645 instead of magic constants.
8646 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8647
8648 2011-08-31 David S. Miller <davem@davemloft.net>
8649
8650 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8652 Reimplement to do errno handling inline.
8653 (SYSCALL_ERROR_HANDLER): New macro.
8654 (__SYSCALL_STRING): Do not do errno handling in asm.
8655 (__CLONE_SYSCALL_STRING): Delete.
8656 (__INTERNAL_SYSCALL_STRING): Delete.
8657 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8658 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8659 (PSEUDO): Reimplement to do errno handling inline.
8660 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8661 (SYSCALL_ERROR_HANDLER): New macro.
8662 (__SYSCALL_STRING): Do not do errno handling in asm.
8663 (__CLONE_SYSCALL_STRING): Delete.
8664 (__INTERNAL_SYSCALL_STRING): Delete.
8665 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8666 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8667 i386.
8668 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8669 (inline_syscall*): Add 'err' argument.
8670 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8671 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8672 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8673 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8674
8675 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8676 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8677
8678 2011-08-30 Andreas Schwab <schwab@redhat.com>
8679
8680 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8681
8682 2011-08-29 Jiri Olsa <jolsa@redhat.com>
8683
8684 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8685 directive.
8686
8687 2011-08-24 David S. Miller <davem@davemloft.net>
8688
8689 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8690
8691 2011-08-24 Andreas Schwab <schwab@redhat.com>
8692
8693 * elf/Makefile: Add rules to build and run unload8 test.
8694 * elf/unload8.c: New file.
8695 * elf/unload8mod1.c: New file.
8696 * elf/unload8mod1x.c: New file.
8697 * elf/unload8mod2.c: New file.
8698 * elf/unload8mod3.c: New file.
8699
8700 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8701 it wasn't used.
8702
8703 2011-08-23 David S. Miller <davem@davemloft.net>
8704
8705 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8706 subtract stack bias.
8707 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8708 %sp not %fp in calculations.
8709 (_JMPBUF_UNWINDS_ADJ): Likewise.
8710
8711 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8712 (aio_suspend): Call it to force an exception region around the
8713 AIO_MISC_WAIT() invocation.
8714
8715 2011-08-23 Andreas Schwab <schwab@redhat.com>
8716
8717 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8718 backslash.
8719
8720 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8721
8722 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8723 protection macro.
8724 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8725 and <dl-machine.h>.
8726 (Elf64_FuncDesc): Remove.
8727
8728 2011-08-22 David S. Miller <davem@davemloft.net>
8729
8730 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8731 sigaltstack check, add missing cfi directives.
8732 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8733 missing cfi directives, and sigaltstack handling.
8734
8735 2011-08-16 Andreas Schwab <schwab@redhat.com>
8736
8737 [BZ #11724]
8738 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8739 object is seen twice.
8740 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8741
8742 * elf/Makefile (distribute): Add tst-initorder2.c.
8743 (tests): Add tst-initorder2.
8744 (modules-names): Add tst-initorder2a tst-initorder2b
8745 tst-initorder2c tst-initorder2d. Add rules to build them.
8746 ($(objpfx)tst-initorder2.out): New rule.
8747 * elf/tst-initorder2.c: New file.
8748 * elf/tst-initorder2.exp: New file.
8749
8750 2011-08-22 Andreas Schwab <schwab@redhat.com>
8751
8752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8753
8754 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8755 dependencies back to end of function.
8756
8757 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8758 $(elfobjdir)/ld.so.
8759
8760 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8761
8762 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8763 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8764 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8765 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8766 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8767 of __vdso_gettimeofday.
8768 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8769 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8770 attribute_hidden.
8771 (_libc_vdso_platform_setup): Remove initialization of
8772 __vdso_gettimeofday and __vdso_time.
8773
8774 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8775
8776 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8777 and fgetc_unlocked.
8778 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8779 getc_unlocked.
8780
8781 * elf/dl-open.c (add_to_global): Report additions to the global scope
8782 for LD_DEBUG=scopes.
8783 (dl_open_worker): Also print scope of newly loaded dependencies.
8784 (_dl_show_scope): Indicate if there is no scope.
8785
8786 [BZ #13114]
8787 * stdio-common/Makefile (tests): Add bug24.
8788 * stdio-common/bug24.c: New file.
8789
8790 2011-08-19 Andreas Jaeger <aj@suse.de>
8791
8792 [BZ #13114]
8793 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8794 non-existant file when using close-on-exec mode.
8795
8796 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8797
8798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8799 the very first instruction.
8800
8801 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8802 the CFI state in the end.
8803 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8804 inclusion of dl-trampoline.h.
8805 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8806
8807 2011-08-19 Andreas Schwab <schwab@redhat.com>
8808
8809 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8810 expectations for long double.
8811
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8813 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8814
8815 2011-08-14 David S. Miller <davem@davemloft.net>
8816
8817 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8818 artificual limit depends upon the system page size.
8819
8820 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8821
8822 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8823 * resolv/Makefile: Define CFLAGS-libresolv.
8824
8825 2011-08-17 Andreas Schwab <schwab@redhat.com>
8826
8827 * nss/makedb.c (compute_tables): Make variables used in nested
8828 function static.
8829
8830 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8831
8832 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8833 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8834 if buffer was too small.
8835
8836 * elf/pldd.c (main): Attach to all threads in the process.
8837 Rewrite /proc handling to use *at functions.
8838
8839 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8840
8841 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8842 specifies first scope to show.
8843 (dl_open_worker): Update callers. Move printing scope of new
8844 object to before the relocation.
8845 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8846 * sysdeps/generic/ldsodefs.h: Update declaration.
8847
8848 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8849 string for the scope number.
8850
8851 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8852
8853 * nscd/servicescache.c (cache_addserv): Make sure written is always
8854 initialized.
8855
8856 2011-08-14 Roland McGrath <roland@hack.frob.com>
8857
8858 * sysdeps/i386/i486/bits/atomic.h
8859 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8860 statement expression, so as to suppress "set but not used" warning.
8861 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8862
8863 * string/strncat.c (STRNCAT): Use prototype definition.
8864
8865 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8866 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8867 -Iprograms here.
8868 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8869 (localedef-modules): Add localedef.
8870 (locale-modules): Add locale.
8871
8872 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8873 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8874 to avoid a warning.
8875
8876 2011-08-14 David S. Miller <davem@davemloft.net>
8877
8878 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8879 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8880
8881 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8882
8883 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8884 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8885 * elf/rtld.c (dl_main): Set l_name of vDSO.
8886 Call _dl_show_scope when DL_DEBUG_SCOPES.
8887 (process_dl_debug): Recognize scopes flag and also set it for all.
8888 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8889 Declare _dl_show_scope.
8890
8891 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8892 (do_dlopen): Pass caller_dlopen to dl_open.
8893 (__libc_dlopen_mode): Initialize caller_dlopen.
8894
8895 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8896 of libc. Make tolower call locale-independent. Optimize a bit by
8897 using isdigit instead of isalnum.
8898 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8899
8900 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8901
8902 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8903 was a dependency or dynamically loaded.
8904
8905 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8906
8907 * intl/l10nflist.c: Allow architecture-specific pop function.
8908 * sysdeps/x86_64/l10nflist.c: New file.
8909
8910 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8911 classification.
8912
8913 2011-08-10 Andreas Schwab <schwab@redhat.com>
8914
8915 * include/dirent.h: Add libc_hidden_proto for scandirat and
8916 scandirat64. Don't declare __scandirat64.
8917 * dirent/scandirat.c: Add libc_hidden_def.
8918 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8919 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8920
8921 2011-08-10 David S. Miller <davem@davemloft.net>
8922
8923 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8924 enum.
8925 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8926 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8927 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8928
8929 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8930
8931 * Versions.def [libc]: Add GLIBC_2.15.
8932 * dirent/Makefile (routines): Add scandirat and scandirat64.
8933 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8934 GLIBC_2.15.
8935 * dirent/dirent.h: Declare scandirat and scandirat64.
8936 * dirent/scandirat.c: New file.
8937 * dirent/scandirat64.c: New file.
8938 * sysdeps/wordsize-64/scandirat.c: New file.
8939 * sysdeps/wordsize-64/scandirat64.c: New file.
8940 * dirent/opendir.c: Define opendirat.
8941 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8942 using scandirat.
8943 * dirent/scandir64.c: Adjust for scandir.c change.
8944 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8945 __scandirat64, and __scandir_cancel_handler.
8946 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8947 additional parameter and use openat instead of open (outside of ld.so).
8948 Add new __opendir as wrapper around __opendirat.
8949 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8950 here without requiring old scandirat implementation.
8951
8952 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8953
8954 * dirent/scandir.c (cancel_handler): Renamed to
8955 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8956 defined. Adjust users.
8957 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8958 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8959
8960 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8961
8962 * string/test-string.h (IMPL): Use __STRING to expand name and then
8963 stringify it.
8964
8965 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8966 of cleanups.
8967
8968 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8969
8970 * string/Makefile: Update.
8971 (strop-tests): Append strncat.
8972 * string/test-wcscmp.c: New file.
8973 New comprehensive test for wcscmp.
8974 * string/test-strcmp.c: Update.
8975 (WIDE): New define.
8976
8977 2011-07-22 Andreas Schwab <schwab@redhat.com>
8978
8979 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8980 line.
8981
8982 2011-07-26 Andreas Schwab <schwab@redhat.com>
8983
8984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8985 encoding to ACE if AI_IDN.
8986
8987 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8988
8989 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8990 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8991
8992 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8993
8994 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8995 Fix overflow bug in strncat.
8996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8997
8998 * string/test-strncat.c: Update.
8999 Add new tests for checking overflow bugs.
9000
9001 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9002
9003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9004 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9005 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9006 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9007 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9008 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9009 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9010 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9011 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9012
9013 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9014 (USE_AS_STRCAT): Define.
9015 Add strcat and strncat support.
9016 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9017
9018 2011-07-25 Andreas Schwab <schwab@redhat.com>
9019
9020 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9021 __n bigger than INT_MAX+1.
9022 (__strncmp_g): Likewise.
9023
9024 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9025
9026 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9027 * libio/stido.h: Likewise.
9028
9029 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9030 (AF_NFC): Define.
9031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9032 (AF_NFC): Define.
9033
9034 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9035 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9036 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9037 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9038 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9039
9040 [BZ #13021]
9041 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9042 installed.
9043
9044 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9045 typo.
9046 (_dl_x86_64_save_sse): Likewise.
9047
9048 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9049
9050 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9051 OSXSAVE.
9052 (_dl_x86_64_save_sse): Likewise.
9053
9054 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9055
9056 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9057
9058 2011-07-21 Andreas Schwab <schwab@redhat.com>
9059
9060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9061 change.
9062 (_dl_x86_64_save_sse): Use correct AVX check.
9063
9064 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9065
9066 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9067 bug in strncpy/strncat.
9068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9069
9070 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9071
9072 * string/tester.c (test_strcat): Add tests for different alignments
9073 of source and destination.
9074 (test_strncat): Likewise.
9075
9076 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9077
9078 [BZ #12852]
9079 * posix/glob.c (glob): Check passed in values before using them in
9080 expressions to avoid some overflows.
9081 (glob_in_dir): Likewise.
9082
9083 [BZ #13007]
9084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9085 check for AVX enablement so that we don't crash with old kernels and
9086 new hardware.
9087 * elf/tst-audit4.c: Add same checks here.
9088 * elf/tst-audit6.c: Likewise.
9089
9090 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9091
9092 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9093
9094 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9095
9096 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9097
9098 * po/cs.po: Update from translation team.
9099 * po/bg.po: Likewise.
9100
9101 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9102
9103 * misc/sys/cdefs.h: Add support for const attribute.
9104 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9105 to gnu_dev_{major,minor,makedev} functions.
9106
9107 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9108
9109 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9110
9111 2011-07-20 Andreas Schwab <schwab@redhat.com>
9112
9113 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9114 strlen results.
9115
9116 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9117
9118 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9119 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9120 register in order to avoid conflicts with the soft frame pointer
9121 being held in r11 when necessary.
9122 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9123 (INTERNAL_VSYSCALL_NCS): Likewise.
9124
9125 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9126
9127 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9128 * elf/dl-fini.c (_dl_fini): Adjust caller.
9129 * elf/dl-close.c (_dl_close_worker): Likewise.
9130 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9131
9132 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9133
9134 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9135 "aux_cache->nlibs < 0".
9136
9137 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9138 in the reload-count case.
9139
9140 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9141
9142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9143 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9144 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9145 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9146 * sysdeps/x86_64/multiarch/strcat.S: New file.
9147 * sysdeps/x86_64/multiarch/strncat.S: New file.
9148 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9149 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9150 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9151 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9152 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9153 (USE_AS_STRCAT): Define.
9154 Add strcat and strncat support.
9155 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9156 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9157 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9158 * string/strncat.c: Update.
9159 (USE_AS_STRNCAT): Define.
9160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9161 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9162 and i7.
9163 * sysdeps/x86_64/multiarch/init-arch.h
9164 (bit_Prefer_PMINUB_for_stringop): New.
9165 (index_Prefer_PMINUB_for_stringop): Likewise.
9166 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9167 bit_Prefer_PMINUB_for_stringop.
9168
9169 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9170
9171 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9172 buffer64.
9173 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9174 of casting of buffer.
9175 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9176 buffer32 and buffer64.
9177 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9178 writes instead of casting of buffer.
9179 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9180 buffer32.
9181 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9182 casting of buffer.
9183
9184 2011-07-19 Andreas Schwab <schwab@redhat.com>
9185
9186 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9187
9188 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9189
9190 * nscd/nscd.c (termination_handler): Don't do anything for a database
9191 if it has not yet been initialized.
9192
9193 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9194
9195 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9196
9197 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9198
9199 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9200
9201 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9202
9203 * po/nl.po: Update from translation team.
9204 * po/sv.po: Likewise.
9205
9206 2011-07-16 Roland McGrath <roland@hack.frob.com>
9207
9208 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9209 now disallowed by GCC.
9210
9211 * configure.in (use-default-link): Default to yes if a test -shared
9212 link meets our qualifications.
9213 * configure: Regenerated.
9214
9215 * config.make.in (output-format): New variable.
9216 * configure.in: Check for ld --print-output-format support.
9217 * configure: Regenerated.
9218 * Makerules ($(common-objpfx)format.lds)
9219 [$(output-format) != unknown]: Just use $(output-format),
9220 instead of the linker-script munging.
9221
9222 2011-07-14 Roland McGrath <roland@hack.frob.com>
9223
9224 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9225 of $(common-objpfx)shlib.lds.
9226 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9227
9228 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9229 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9230
9231 * configure.in (-z relro check): Adjust test code to add a large
9232 writable data section after it.
9233 * configure: Regenerated.
9234
9235 2011-07-11 Roland McGrath <roland@hack.frob.com>
9236
9237 * configure.in (-z relro check): Fix test code to make the variable
9238 truly const.
9239 * configure: Regenerated.
9240
9241 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9242
9243 * nscd/nscd.h (struct traced_file): Define.
9244 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9245 elements. Add traced_files.
9246 (inotify_fd): Declare.
9247 (register_traced_file): Declare.
9248 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9249 (inotify_fd): Export.
9250 (resolv_conf_descr): Remove.
9251 (nscd_init): Move inotify descriptor creation to main.
9252 Don't register files for notification here.
9253 (register_traced_file): New function.
9254 (invalidate_cache): Don't use reset_res to determine whether to call
9255 res_init, go through the list of registered files.
9256 (main_loop_poll): The inotify descriptors are now stored in the
9257 structures for the traced files.
9258 (main_loop_epoll): Likewise
9259 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9260 to __nss_disable_nscd.
9261 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9262 for a database anymore. Check the records for all the registered
9263 files instead.
9264 * nss/Makefile (libnss_files-routines): Add files-init.
9265 (libnss_db-routines): Add db-init.
9266 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9267 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9268 * nss/nss_db/db-init.c: New file.
9269 * nss/nss_files/files-init.c: New file.
9270 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9271 __nss_lookup_function.
9272 (__nss_lookup_function): Call nss_load_library.
9273 (nss_load_all_libraries): New function.
9274 (__nss_disable_nscd): Take parameter with callback function for files
9275 to register. Set is_nscd. Load all the DSOs for the NSS modules
9276 used for the cached services.
9277 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9278 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9279 options for features to all the files in nscd.
9280
9281 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9282
9283 2011-07-10 Roland McGrath <roland@hack.frob.com>
9284
9285 * csu/elf-init.c (__libc_csu_init): Comment typo.
9286
9287 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9288
9289 * po/pl.po: Update from translation team.
9290 * po/ja.po: Likewise.
9291 * po/ru.po: Likewise.
9292 * po/ko.po: Likewise.
9293 * po/fr.po: Likewise.
9294
9295 2011-07-09 Roland McGrath <roland@hack.frob.com>
9296
9297 * configure.in (.ctors/.dtors header and trailer check):
9298 Use an empirical test on a built program.
9299 * configure: Regenerated.
9300
9301 * configure.in (-z relro check): Use an empirical test on a built DSO.
9302 Detect, but do not require, on ia64.
9303 * configure: Regenerated.
9304
9305 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9306 Update tests that use readelf to use $READELF instead.
9307 * configure: Regenerated.
9308
9309 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9310
9311 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9312 if the result is not used.
9313
9314 2011-07-05 Andreas Jaeger <aj@suse.de>
9315
9316 [BZ#9696]
9317 * stdlib/tst-strtod.c: Add testcase.
9318
9319 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9320
9321 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9322 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9323 The latter has a higher limit. Take additional parameter to pass to
9324 the new function.
9325 (__pathconf): Pass file to __statfs_link_max.
9326 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9327 __statfs_link_max.
9328 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9329 __statfs_link_max.
9330
9331 [BZ #12868]
9332 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9333 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9334 Handle Lustre.
9335 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9336 (__statfs_filesize_max): Likewise.
9337 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9338
9339 2011-07-05 Andreas Jaeger <aj@suse.de>
9340
9341 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9342
9343 2011-07-06 Marek Polacek <mpolacek@redhat.com>
9344
9345 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9346 `status' variable.
9347 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9348 Likewise.
9349
9350 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9351
9352 * Makefile (strop-tests): Add strncat.
9353 * string/test-strncat.c: New file.
9354
9355 2011-06-30 Marek Polacek <mpolacek@redhat.com>
9356
9357 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9358
9359 2011-06-21 Andreas Jaeger <aj@suse.de>
9360
9361 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9362 Copy rule from iconvdata/Makefile.
9363
9364 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9365
9366 [BZ #12922]
9367 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9368 but no long options are defined, just return 'W'.
9369
9370 2011-06-22 Marek Polacek <mpolacek@redhat.com>
9371
9372 [BZ #9696]
9373 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9374
9375 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9376
9377 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9378 netgroups to read.
9379 (innetgr): Likewise.
9380
9381 2011-07-05 Roland McGrath <roland@hack.frob.com>
9382
9383 * config.make.in (install_root): Default to $(DESTDIR).
9384
9385 2011-07-05 Ulrich Drepper <drepper@gmail.com>
9386
9387 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9388
9389 2011-07-02 Roland McGrath <roland@hack.frob.com>
9390
9391 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9392
9393 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9394 containing directory rather than embedding absolute directory names.
9395
9396 * scripts/check-local-headers.sh: Rewritten using awk.
9397 Match by word, not by line. Print error messages for matches.
9398 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9399
9400 * Makerules [shlib-lds-flags empty]:
9401 ($(common-objpfx)libc_pic.opts): New target.
9402 ($(common-objpfx)libc_pic.os.clean): New target.
9403 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9404
9405 * config.make.in (OBJCOPY): New variable.
9406 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9407 * configure: Regenerated.
9408
9409 * config.make.in (use-default-link): New variable.
9410 * configure.in (use_default_link): Grok --with-default-link to set it.
9411 * configure: Regenerated.
9412 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9413 (shlib-lds, shlib-lds-flags): Define to empty.
9414
9415 * Makerules (shlib-lds): New variable.
9416 (shlib-lds-flags): New variable.
9417 (build-shlib, build-moduile, build-module-asneeded): Use it.
9418 ($(common-objpfx)libc.so): Use $(shlib-lds).
9419 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9420 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9421
9422 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9423 DT_FLAGS/DT_FLAGS_1 with zero flags.
9424
9425 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9426 linker script munging.
9427
9428 2011-07-02 Ulrich Drepper <drepper@gmail.com>
9429
9430 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9431 as 128-bit value.
9432 * crypt/sha512.c (sha512_process_block): Perform total addition using
9433 128-bit if possible.
9434 (__sha512_finish_ctx): Likewise.
9435 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9436 as 64-bit value.
9437 * crypt/sha256.c (SWAP64): Define.
9438 (sha256_process_block): Perform total addition using 64-bit if
9439 possible.
9440 (__sha256_finish_ctx): Likewise.
9441
9442 2011-07-01 Ulrich Drepper <drepper@gmail.com>
9443
9444 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9445 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9446 * nscd/hstcache.c (cache_addhst): Likewise.
9447 * nscd/grpcache.c (cache_addgr): Likewise.
9448 * nscd/aicache.c (addhstaiX): Likewise
9449 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9450
9451 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
9452
9453 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
9459 2011-07-01 Andreas Schwab <schwab@redhat.com>
9460
9461 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9462 domain only when needed.
9463
9464 2011-06-30 Andreas Schwab <schwab@redhat.com>
9465
9466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9467 is always restored.
9468
9469 2011-06-29 Ulrich Drepper <drepper@gmail.com>
9470
9471 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9472 are re-adding the entry.
9473 * nscd/servicescache.c (cache_addserv): Likewise.
9474
9475 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9476
9477 * sysdeps/generic/dl-irel.h: fix protection against multiple
9478 inclusions.
9479 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9480
9481 2011-06-28 Ulrich Drepper <drepper@gmail.com>
9482
9483 [BZ #12935]
9484 * malloc/memusage.sh: Fix quoting in message.
9485 * debug/xtrace.sh: Likewise.
9486
9487 * configure.in: Remove support for --experimental-malloc option, make
9488 it the default.
9489 * config.make.in: Likewise.
9490 * malloc/Makefile: Likewise.
9491
9492 2011-06-27 Andreas Schwab <schwab@redhat.com>
9493
9494 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9495 two-byte characters.
9496
9497 2011-06-27 Roland McGrath <roland@hack.frob.com>
9498
9499 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9500 AC_CACHE_CHECK invocation.
9501 * configure: Regenerated.
9502
9503 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9504
9505 2011-06-27 Ulrich Drepper <drepper@gmail.com>
9506
9507 [BZ #12350]
9508 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9509 bit from old_res_options.
9510
9511 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9512
9513 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9514 value type for setfct.
9515
9516 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9517
9518 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9519 __gettimeofday instead of gettimeofday.
9520
9521 2011-06-26 Ulrich Drepper <drepper@gmail.com>
9522
9523 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9524
9525 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9526
9527 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9528
9529 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9530 info.
9531
9532 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9533
9534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9535 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9536 strcpy-sse2-unaligned strncpy-sse2-unaligned
9537 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9538 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9539 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9540 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9541 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9542 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9543 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9544 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9545 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9546 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9547 (STRCPY): Support SSE2 and SSSE3 versions.
9548
9549 2011-06-24 Ulrich Drepper <drepper@gmail.com>
9550
9551 [BZ #12874]
9552 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9553 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9554 kernels which artificially limit size of requests.
9555
9556 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9557
9558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9559 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9560 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9561 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9562 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9563 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9564 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9565 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9566 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9568 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9569 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9570 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9571 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9572 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9574 Enable unaligned load optimization for Intel Core i3, i5 and i7
9575 processors.
9576 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9577 Define.
9578 (index_Fast_Unaligned_Load): Define.
9579 (HAS_FAST_UNALIGNED_LOAD): Define.
9580
9581 2011-06-23 Marek Polacek <mpolacek@redhat.com>
9582
9583 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9584
9585 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9586
9587 [BZ #12907]
9588 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9589 until it is clear that the information is realy needed.
9590 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9591
9592 2011-06-22 Andreas Schwab <schwab@redhat.com>
9593
9594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9595
9596 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9597
9598 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9599 /sys/devices/system/cpu/online if it is usable.
9600
9601 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9602 reading the information from the /proc filesystem to once a second.
9603
9604 2011-06-21 Andreas Jaeger <aj@suse.de>
9605
9606 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9607 NULL after inclusion of kernel headers.
9608
9609 2011-06-21 Ulrich Drepper <drepper@gmail.com>
9610
9611 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9612 calls to internal_setent.
9613
9614 [BZ #12885]
9615 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9616 addresses using gethostbyname4_r ignore IPv4 addresses.
9617
9618 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9619 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9620
9621 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9622
9623 2011-06-20 David S. Miller <davem@davemloft.net>
9624
9625 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9626 inclusions.
9627 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9628
9629 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9630 (elf_irel): Use it.
9631 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9632 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9633 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9634 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9635 * sysdeps/x86_64/dl-irel.h: Likewise.
9636
9637 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9638 * elf/dl-sym.c: Likewise.
9639
9640 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9641
9642 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9643 need to dereference resplen2.
9644
9645 2011-06-14 Andreas Schwab <schwab@redhat.com>
9646
9647 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9648
9649 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9650
9651 * Makeconfig: Define vardbdir and inst_vardbdir.
9652 * nss/Makefile: Add rules to install db-Makefile.
9653
9654 * nss/nss_db/db-XXX.c: Cleanup.
9655
9656 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9657 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9658 GLIBC_PRIVATE.
9659 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9660 * nss/makedb.c: Implement -g option to specify that value strings
9661 are generated and should not be added to table iterated over for
9662 get*ent calls.
9663 * nss/nss_db/db-initgroups.c: New file.
9664
9665 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9666 interface.
9667
9668 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9669 (internal_getgrouplist): Adjust to name change.
9670 Update use_initgroups_entry if this is not the first call.
9671 * nss/databases.def: Add initgroups entry.
9672
9673 * nss/makedb.c (compute_tables): Check result of multiple hash table
9674 sizes to minimize maximum chain length.
9675
9676 2011-06-14 Ulrich Drepper <drepper@gmail.com>
9677
9678 * Versions.def: Add entry for libnss_db.
9679 * shlib-versions: Likewise.
9680 * nss/Makefile: Add rules to build libnss_db.
9681 * nss/Versions: Add libnss_db information. Organize libnss_files
9682 entries better.
9683 * nss/db-Makefile: Add gshadow support. Change rules for the new
9684 makedb progra. Some minor improvements to generate smaller files.
9685 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9686 here from...
9687 * nss/makedb.c: ...here.
9688 Improve database format to be smaller and require less memory at
9689 runtime.
9690 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9691 db anymore.
9692 * nss/nss_db/db-netgrp.c: Likewise.
9693 * nss/nss_db/db-open.c: Likewise.
9694 * nss/nss_files/flies-XXX.x: Adjust comments.
9695 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9696 * nss/nss_files/files-grp.c: Likewise.
9697 * nss/nss_files/files-hosts.c: Likewise.
9698 * nss/nss_files/files-network.c: Likewise.
9699 * nss/nss_files/files-proto.c: Likewise.
9700 * nss/nss_files/files-pwd.c: Likewise.
9701 * nss/nss_files/files-rpc.c: Likewise.
9702 * nss/nss_files/files-service.c: Likewise.
9703 * nss/nss_files/files-sgrp.c: Likewise.
9704 * nss/nss_files/files-spwd.c: Likewise.
9705 * nss/nss_db/db-alias.c: Removed.
9706 * nss/nss_db/dummy-db.h: Removed.
9707
9708 2011-06-02 Ulrich Drepper <drepper@gmail.com>
9709
9710 * nss/makedb.c: Rewritten to not use database library.
9711 * nss/Makefile: Update to build new makedb program.
9712
9713 2011-06-14 Andreas Jaeger <aj@suse.de>
9714
9715 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9716 memset declaration.
9717
9718 2011-06-10 Andreas Schwab <schwab@redhat.com>
9719
9720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9721 tmpbuf.
9722
9723 2011-06-10 Roland McGrath <roland@hack.frob.com>
9724
9725 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9726 * elf/Makefile ($(objpfx)ld.so): Likewise.
9727
9728 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9729 Don't list ld.so twice in dependencies.
9730
9731 * posix/bug-regex31.c: Include <stdlib.h>.
9732
9733 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9734
9735 * nis/nss_compat/compat-spwd.c
9736 (getspent_next_nss_netgr): Remove unused variable.
9737 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9738
9739 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9740 nonmembers" output to use the right array.
9741
9742 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9743
9744 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9745
9746 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9747 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9748 * catgets/gencat.c (read_input_file): Likewise.
9749 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9750
9751 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9752 variable definition inside #if's controlling its use.
9753
9754 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9755
9756 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9757
9758 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9759
9760 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9761 unreachable code.
9762
9763 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9764
9765 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9766 * configure: Regenerated.
9767
9768 * Makerules: Revert last change.
9769 * elf/Makefile: Likewise.
9770
9771 2011-06-09 Roland McGrath <roland@hack.frob.com>
9772
9773 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9774 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9775 (reloc-link): Likewise.
9776
9777 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9778
9779 * elf/Makefile: Add rules to build pldd.
9780 * elf/pldd.c: New file.
9781 * elf/pldd-xx.c: New file.
9782
9783 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9784
9785 * version.h: Update for 2.15 development version.
9786
9787 2011-06-07 David S. Miller <davem@davemloft.net>
9788
9789 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9790 ifuncs.
9791 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9792 elf_machine_lazy_rel): Likewise.
9793 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9794 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9795 elf_machine_lazy_rel): Likewise.
9796 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9797 dl_hwcap via passed in argument.
9798 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9799 Likewise.
9800
9801 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9802
9803 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9804
9805 2011-06-06 Roland McGrath <roland@hack.frob.com>
9806
9807 [BZ #12849]
9808 * manual/fdl-1.1.texi: New file, verbatim from:
9809 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9810 * manual/lgpl-2.1.texi: New file, verbatim from:
9811 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9812 * manual/Makefile (licenses): New variable, list those new file names.
9813 (texis): Use it.
9814 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9815
9816 * manual/fdl.texi: File removed.
9817 * manual/lesser.texi: File removed.
9818 * manual/libc.texinfo (Copying, Documentation License):
9819 Use new @include file names, put @appendix directive before @include.
9820
9821 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9822
9823 [BZ #12841]
9824 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9825 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9826 (mq_open): Add __NTH.
9827
9828 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9829
9830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9831 Assume Intel Core i3/i5/i7 processor if AVX is available.
9832
9833 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9834
9835 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9836 typo.
9837
9838 2011-05-31 Andreas Schwab <schwab@redhat.com>
9839
9840 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9841 memory. Use alloca_account. Fix memory leak when retrying.
9842
9843 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9844
9845 * version.h (RELEASE): Bump for 2.14 release.
9846 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9847
9848 * config.make.in (RANLIB): Remove entry.
9849
9850 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9851
9852 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9853 (libc.pot): Work around missing support for .ksh extension in xgettext.
9854
9855 [BZ #12684]
9856 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9857 if both request failed.
9858 (send_dg): In case of server errors clear resplen or *resplen2.
9859
9860 [BZ #12454]
9861 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9862 when there are multiple maps.
9863 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9864 (_dl_fini): Remove test here.
9865
9866 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9867
9868 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9869
9870 [BZ #12350]
9871 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9872 bit from old_res_options.
9873 (gaih_inet): Likewise.
9874
9875 [BZ #11099]
9876 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9877 as signed.
9878
9879 * resolv/res_init.c (res_setoptions): Make the code more compact.
9880
9881 [BZ #11558]
9882 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9883 set RES_USEVC.
9884
9885 [BZ #11634]
9886 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9887
9888 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9889
9890 [BZ #11781]
9891 * malloc/malloc.h: Declare malloc hook variables as volatile.
9892
9893 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9894 in last patch.
9895
9896 [BZ #11799]
9897 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9898 raise in the comment.
9899 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9900 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9901 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9902
9903 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9904
9905 [BZ #12811]
9906 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9907 grow the buffers more if it already has to be sufficient.
9908 (build_wcs_upper_buffer): Likewise.
9909 * posix/regexec.c (check_matching): Likewise.
9910 (clean_state_log_if_needed): Likewise.
9911 (extend_buffers): Don't enlarge buffers beyond size of the input
9912 buffer.
9913 Patches mostly by Emil Wojak <emil@wojak.eu>.
9914 * posix/bug-regex32.c: New file.
9915 * posix/Makefile (tests): Add bug-regex32.
9916
9917 * locale/findlocale.c (_nl_find_locale): Return right away if
9918 _nl_explode_name failed.
9919 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9920
9921 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9922
9923 * debug/xtrace.sh: Unify messages.
9924 * malloc/memusage.sh: Likewise.
9925
9926 [BZ #12813]
9927 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9928 time symbol from vDSO. Substitute with vsyscall if not available.
9929 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9930 __vdso_time.
9931
9932 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9933 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9934 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9935 Add sendmmsg and internal_sendmmsg.
9936 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9937 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9938 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9939
9940 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9941 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9942 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9943
9944 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9945
9946 [BZ #12813]
9947 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9948 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9949 available.
9950 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9951 __vdso_getcpu.
9952
9953 [BZ #12814]
9954 * iconvdata/Makefile (tests): Add bug-iconv9.
9955 * iconvdata/bug-iconv9.c: New file.
9956
9957 2011-05-27 Andreas Schwab <schwab@redhat.com>
9958
9959 [BZ #12814]
9960 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9961
9962 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9963
9964 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9965 (struct user_regs_struct): Change intcs field back to cs.
9966
9967 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9968
9969 * po/ja.po: Update from translation team.
9970
9971 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9972
9973 [BZ #12795]
9974 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9975 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9976
9977 2011-05-20 Andreas Schwab <schwab@redhat.com>
9978
9979 * stdlib/longlong.h: Update from GCC.
9980
9981 2011-05-23 Andreas Schwab <schwab@redhat.com>
9982
9983 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9984 parameter name.
9985 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9986 Add parameter name.
9987 (__sysconf): Pass it down.
9988
9989 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9990
9991 [BZ #12671]
9992 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9993 some situations.
9994 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9995 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9996 add in in __libc_use_alloca calls. Adjust callers.
9997 (glob): Use malloc in some situations.
9998
9999 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10000 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10001 pltexit.
10002
10003 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10004
10005 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10006 and CLOCK_BOOTTIME_ALARM.
10007
10008 [BZ #12782]
10009 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10010 is returned.
10011
10012 * string/_strerror.c (__strerror_r): Print negative errors as signed
10013 numbers.
10014
10015 [BZ #12777]
10016 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10017 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10018 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10019
10020 * configure.in: Fix typo in redirection and correct removal of test
10021 files in two cases.
10022
10023 [BZ #12788]
10024 * locale/setlocale.c (new_composite_name): Fix test to check for
10025 identical name of all categories.
10026
10027 [BZ #12792]
10028 * libio/filedoalloc.c (local_isatty): New function.
10029 (_IO_file_doallocate): Use local_isatty.
10030 * stdio-common/perror.c (perror): In case a new stream is used
10031 forward the stream error.
10032 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10033 error flag.
10034
10035 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10036
10037 [BZ #11869]
10038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10039 alloca.
10040 * include/alloca.h (extend_alloca_account): Define.
10041
10042 [BZ #11857]
10043 * posix/regex.h: Fix comments with documentation of user-accessible
10044 fields after compilation and describe correct free'ing of pattern
10045 after re_compile_pattern.
10046 Patch by Reuben Thomas <rrt@sc3d.org>.
10047
10048 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10049
10050 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10051 and -mno-altivec to prevent the compiler from using Altivec and/or
10052 VSX instructions when the corresponding registers are not available.
10053
10054 2011-05-19 Andreas Schwab <schwab@redhat.com>
10055
10056 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10057
10058 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10059
10060 * libio/freopen.c (freopen): Use __dup2, not dup2.
10061 * libio/freopen64.c (freopen64): Likewise.
10062
10063 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10064
10065 [BZ #12775]
10066 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10067 * math/Makefile (tests): Add test-powl.
10068 (CFLAGS-test-powl.c): Define.
10069 * math/test-powl.c: New file.
10070
10071 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10072
10073 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10074
10075 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10076
10077 [BZ #11837]
10078 * iconvdata/gb18030.c: Update to GB18020-2005.
10079
10080 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10081
10082 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10083 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10084 Patch by Aharon Robbins <arnold@skeeve.com>.
10085
10086 [BZ #11892]
10087 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10088 on the stack.
10089
10090 [BZ #11895]
10091 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10092 through underflows.
10093
10094 [BZ #12766]
10095 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10096 point to strings before performing equality test for error_one_per_line
10097 mode.
10098
10099 [BZ #11697]
10100 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10101
10102 [BZ #11820]
10103 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10104 (struct user_fpregs_struct): Avoid __uint*_t types.
10105
10106 [BZ #6420]
10107 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10108 symbol info. Use it instead of calling _dl_addr locally.
10109 (lock_and_info): New function.
10110 (tr_freehook): Call lock_and_info and pass symbol info as additional
10111 parameter to tr_where.
10112 (tr_mallochook): Likewise.
10113 (tr_reallochook): Likewise.
10114 (tr_memalignhook): Likewise.
10115
10116 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10117 used and couldn't be at all thread-safe.
10118
10119 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10120
10121 * libio/freopen.c (freopen): Don't close old file descriptor
10122 before the new one is opened. Instead dup the new file descriptor
10123 to the old one after the new stream is created.
10124 * libio/freopen64.c (freopen64): Likewise.
10125 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10126 * libio/fileops.c (_IO_new_file_close_it): Handle new
10127 _IO_FLAGS2_NOCLOSE flag.
10128 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10129 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10130 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10131 _IO_FLAGS2_NOCLOSE flag.
10132 * include/unistd.h: Add hidden_proto for dup3.
10133 Define __have_dup3.
10134 * io/dup3.c: Define hidden symbol.
10135 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10136
10137 [BZ #7101]
10138 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10139 when an incomplete long option is used.
10140 * posix/tst-getopt_long1.c: New file.
10141 * posix/Makefile (tests): Add tst-getopt_long1.
10142
10143 [BZ #10138]
10144 * scripts/config.guess: Update from autoconf-2.68.
10145 * scripts/config.sub: Likewise.
10146
10147 [BZ #10157]
10148 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10149 tests into ...
10150 (has_cpuclock): ...this. New function.
10151 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10152 macro here based on has_cpuclock code.
10153
10154 [BZ #10149]
10155 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10156 First byte (not low byte) is now always NUL.
10157 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10158
10159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10160 Use non-cancelable interfaces.
10161
10162 [BZ #9809]
10163 * locale/iso-639.def: Add entry for Sorani.
10164
10165 [BZ #11901]
10166 * include/stdlib.h: Move include protection to the right place.
10167 Define abort_msg_s. Declare __abort_msg with it.
10168 * stdlib/abort.c (__abort_msg): Adjust type.
10169 * assert/assert.c (__assert_fail_base): New function. Majority
10170 of code from __assert_fail. Allocate memory for __abort_msg with
10171 mmap.
10172 (__assert_fail): Now call __assert_fail_base.
10173 * assert/assert-perr.c: Remove bulk of implementation. Use
10174 __assert_fail_base.
10175 * include/assert.hL Declare __assert_fail_base.
10176 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10177 mmap.
10178 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10179
10180 2011-05-14 Ulrich Drepper <drepper@gmail.com>
10181
10182 [BZ #11952]
10183 [BZ #12453]
10184 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10185 until all modules are registered in the DTV.
10186 * elf/Makefile: Add rules to build and run tst-tls19.
10187 * elf/tst-tls19.c: New file.
10188 * elf/tst-tls19mod1.c: New file.
10189 * elf/tst-tls19mod2.c: New file.
10190 * elf/tst-tls19mod3.c: New file.
10191 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10192
10193 [BZ #12083]
10194 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10195 correctly.
10196
10197 [BZ #12601]
10198 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10199 two-byte sequence errors.
10200 * iconvdata/Makefile (tests): Add bug-iconv8.
10201 * iconvdata/bug-iconv8.c: New file.
10202
10203 [BZ #12626]
10204 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10205 buf2 definition.
10206
10207 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10208
10209 [BZ #12432]
10210 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10211 (dummy_getcfa): New function.
10212 (init): Get _Unwind_GetCFA address, use dummy if not found.
10213 (backtrace_helper): In recursion check, also check whether CFA changes.
10214 (__backtrace): Completely initialize arg.
10215
10216 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10217 storing incomplete byte sequence in state object. Avoid testing for
10218 guaranteed too small input if we know there is enough data available.
10219
10220 2011-05-11 Andreas Schwab <schwab@redhat.com>
10221
10222 * Makeconfig (+link-pie): Indent.
10223 * Rules (binaries-pie): Define if $(have-fpie) and
10224 $(build-shared).
10225 (binaries-shared): Also filter out $(binaries-pie).
10226 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10227 * nscd/Makefile (others-pie): Add nscd.
10228 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10229 ($(objpfx)nscd): Remove command override.
10230 * login/Makefile (others-pie): Add pt_chown.
10231 ($(objpfx)pt_chown): Remove command override.
10232 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10233 remove command overrides.
10234
10235 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10236
10237 * libio/tst_putwc.c: Fix error messages.
10238
10239 [BZ #12724]
10240 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10241 currently writing and seek to current position when not.
10242 * libio/Makefile (tests): Add bug-fclose1.
10243 * libio/bug-fclose1.c: New file.
10244
10245 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10246
10247 [BZ #12511]
10248 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10249 don't set DF_1_NODELETE here.
10250 (do_lookup_x): When entering new entry test for copy relocation
10251 and if necessary set DF_1_NODELETE flag.
10252 * elf/tst-unique4.cc: New file.
10253 * elf/tst-unique4.h: New file.
10254 * elf/tst-unique4lib.cc: New file.
10255 * elf/Makefile: Add rules to build and run tst-unique4.
10256 Patch by Piotr Bury <pbury@goahead.com>.
10257
10258 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10259
10260 [BZ #12052]
10261 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10262
10263 [BZ #12625]
10264 * misc/mntent_r.c (addmntent): Flush the stream after the output
10265
10266 [BZ #12393]
10267 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10268 (is_trusted_path_normalize): Skip initial colon. Append slash
10269 to empty buffer. Duplicate is_trusted_path code but allow
10270 constructed patch to be prefix.
10271 (is_dst): Allow $ORIGIN followed by /.
10272 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10273 Correct testing of result of is_trusted_path_normalize
10274 (decompose_rpath): Fix warning.
10275
10276 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10277
10278 [BZ #11257]
10279 * grp/initgroups.c (internal_getgrouplist): When we found the service
10280 list through the initgroups entry in nsswitch.conf do not always
10281 continue on a successful lookup. Don't always use the
10282 __nss_group_database value if it is set.
10283 * nss/nsswitch.conf (initgroups): Change action for successful db
10284 lookup to continue for compatibility.
10285
10286 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10287
10288 [BZ #11532]
10289 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10290 and CP774 modules.
10291 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10292 and CP774 modules.
10293 * iconvdata/tst-tables.sh: Likewise.
10294 * iconvdata/cp770.c: New file.
10295 * iconvdata/cp771.c: New file.
10296 * iconvdata/cp772.c: New file.
10297 * iconvdata/cp773.c: New file.
10298 * iconvdata/cp774.c: New file.
10299 * iconvdata/testdata/CP770: New file.
10300 * iconvdata/testdata/CP770..UTF8: New file.
10301 * iconvdata/testdata/CP771: New file.
10302 * iconvdata/testdata/CP771..UTF8: New file.
10303 * iconvdata/testdata/CP772: New file.
10304 * iconvdata/testdata/CP772..UTF8: New file.
10305 * iconvdata/testdata/CP773: New file.
10306 * iconvdata/testdata/CP773..UTF8: New file.
10307 * iconvdata/testdata/CP774: New file.
10308 * iconvdata/testdata/CP774..UTF8: New file.
10309
10310 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10311 END CHARMAP line.
10312 * iconvdata/gen-8bit-gap.sh: Likewise.
10313 * iconvdata/gen-8bit.sh: Likewise.
10314
10315 * locale/iso-639.def: Add ary entry.
10316
10317 [BZ #11258]
10318 * locale/C-translit.h.in: Add U20A1 transliteration.
10319
10320 [BZ #12178]
10321 * locale/iso-639.def: Add wae entry.
10322 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10323
10324 [BZ #12545]
10325 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10326 for n.
10327
10328 [BZ #12711]
10329 * locale/C-translit.h.in: Add entry for U20B9.
10330 Patch by pravin.d.s@gmail.com.
10331
10332 2011-05-08 Ulrich Drepper <drepper@gmail.com>
10333
10334 [BZ #12713]
10335 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10336 ENAMETOOLONG use generic getcwd.
10337 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10338 in rtld. Use *stat64.
10339 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10340 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10341 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10342 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10343 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10344 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10345 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10346 __fstatat64 macros.
10347 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10348 * dirent/rewinddir.c: Add libc_hidden_def.
10349 * sysdeps/mach/hurd/rewinddir.c: Likewise.
10350 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
10351
10352 * include/dirent.h (__alloc_dir): Add flags parameter.
10353 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10354 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10355 __alloc_dir.
10356 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10357 from fdopendir if O_CLOEXEC is already set.
10358
10359 2011-03-15 Alan Modra <amodra@gmail.com>
10360
10361 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10362 l_tls_firstbyte_offset non-zero. Save padding offset in
10363 l_tls_firstbyte_offset for later use.
10364 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10365 freeing static tls block.
10366
10367 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10368
10369 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10370 where #ifdef was intended. The intent is to prevent ARG_MAX from
10371 being defined by the kernel headers.
10372
10373 2011-05-07 Ulrich Drepper <drepper@gmail.com>
10374
10375 [BZ #12734]
10376 * resolv/resolv.h: Define RES_NOTLDQUERY.
10377 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10378 no-tld-query and set RES_NOTLDQUERY.
10379 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10380 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10381 modern BIND to search name as TLD unless forbidden.
10382
10383 2011-05-07 Petr Baudis <pasky@suse.cz>
10384 Ulrich Drepper <drepper@gmail.com>
10385
10386 [BZ #12393]
10387 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10388 (is_trusted_path): ...to here.
10389 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10390 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10391 using is_trusted_path_normalize() in setuid scripts.
10392
10393 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10394
10395 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10396 __BEGIN/__END_DECLS.
10397
10398 2011-05-06 Ulrich Drepper <drepper@gmail.com>
10399
10400 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10401 NSS_STATUS_NOTFOUND if no record was found.
10402
10403 2011-05-05 Andreas Schwab <schwab@redhat.com>
10404
10405 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10406 (headers-not-in-tirpc): Remove rpc/netdb.h
10407 * resolv/netdb.h: Revert last change.
10408
10409 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10410
10411 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10412 circular dependency between libgcc.a and libc.a.
10413
10414 2011-05-05 Andreas Schwab <schwab@redhat.com>
10415
10416 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10417 * nis/Makefile: Don't install rpcsvc/*.
10418 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10419 instead of <rpc/types.h>.
10420 (MAXHOSTNAMELEN): Define.
10421
10422 2011-05-03 Andreas Schwab <schwab@redhat.com>
10423
10424 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10425
10426 2011-04-28 Maciej Babinski <mbabinski@google.com>
10427
10428 [BZ #12714]
10429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10430 gethostbyname4_r when IPv6 results are possible.
10431
10432 2011-05-02 Ulrich Drepper <drepper@gmail.com>
10433
10434 [BZ #12723]
10435 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10436 _PC_PIPE_BUF handling.
10437
10438 2011-04-30 Bruno Haible <bruno@clisp.org>
10439
10440 [BZ #12717]
10441 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10442 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10443 to 'int'.
10444 * inet/getnameinfo.c (getnameinfo): Likewise.
10445
10446 2011-04-29 Ulrich Drepper <drepper@gmail.com>
10447
10448 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10449 to groups setting in database lookup.
10450 * nss/nsswitch.conf: Add initgroups entry.
10451
10452 2011-04-22 Ulrich Drepper <drepper@gmail.com>
10453
10454 [BZ #12685]
10455 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10456 mode string.
10457 Patch by Eric Blake <eblake@redhat.com>.
10458
10459 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10460
10461 * sunrpc/Makefile (need-export-routines): Add svc_run.
10462 (routines): Remove svc_run.
10463 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10464 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10465 * sunrpc/svc_run.c (svc_run): Likewise.
10466 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10467
10468 2011-04-21 Ulrich Drepper <drepper@gmail.com>
10469
10470 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10471 problem in reallocation in last patch.
10472
10473 2011-04-20 Ulrich Drepper <drepper@gmail.com>
10474
10475 * sunrpc/Makefile: Move inclusion of Rules.
10476
10477 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10478
10479 * nss/nss_files/files-initgroups.c: New file.
10480 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10481 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10482 _nss_files_initgroups_dyn.
10483
10484 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10485
10486 * elf/elf.h (R_ARM_IRELATIVE): Define.
10487
10488 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10489
10490 * po/ru.po: Update from translation team.
10491
10492 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10493
10494 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10495 dependencies.
10496
10497 2011-02-06 Mike Frysinger <vapier@gentoo.org>
10498
10499 [BZ #12653]
10500 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10501 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10502 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10503 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10504 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10505
10506 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10507
10508 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10509 differing bytes.
10510 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10513
10514 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10515
10516 [BZ #12420]
10517 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10518 storing it.
10519 * stdlib/bug-getcontext.c: New file.
10520 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10521
10522 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10523
10524 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10525 instructions into .machine "z9-109".
10526 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10527 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10528
10529 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10530
10531 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10532 between environment variables and auxiliary vector.
10533
10534 2011-04-16 Ulrich Drepper <drepper@gmail.com>
10535
10536 * Makefile: Add rules to build linkobj/libc.so.
10537 * include/libc-symbols.h: Define libc_hidden_nolink.
10538 * include/rpc/auth.h: Mark functions which are to be hidden.
10539 * include/rpc/auth_des.h: Likewise.
10540 * include/rpc/auth_unix.h: Likewise.
10541 * include/rpc/clnt.h: Likewise.
10542 * include/rpc/des_crypt.h: Likewise.
10543 * include/rpc/key_prot.h: Likewise.
10544 * include/rpc/pmap_clnt.h: Likewise.
10545 * include/rpc/pmap_prot.h: Likewise.
10546 * include/rpc/pmap_rmt.h: Likewise.
10547 * include/rpc/rpc_msg.h: Likewise.
10548 * include/rpc/svc.h: Likewise.
10549 * include/rpc/svc_auth.h: Likewise.
10550 * include/rpc/xdr.h: Likewise.
10551 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10552 * nss/Makefile: Likewise.
10553 * sunrpc/Makefile: Don't install headers. Build library with normal
10554 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10555 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10556 for the compat linking library. Remove use of INTDEF/INTUSE.
10557 * sunrpc/auth_none.c: Likewise.
10558 * sunrpc/auth_unix.c: Likewise.
10559 * sunrpc/authdes_prot.c: Likewise.
10560 * sunrpc/authuxprot.c: Likewise.
10561 * sunrpc/clnt_gen.c: Likewise.
10562 * sunrpc/clnt_perr.c: Likewise.
10563 * sunrpc/clnt_raw.c: Likewise.
10564 * sunrpc/clnt_simp.c: Likewise.
10565 * sunrpc/clnt_tcp.c: Likewise.
10566 * sunrpc/clnt_udp.c: Likewise.
10567 * sunrpc/clnt_unix.c: Likewise.
10568 * sunrpc/des_crypt.c: Likewise.
10569 * sunrpc/des_soft.c: Likewise.
10570 * sunrpc/get_myaddr.c: Likewise.
10571 * sunrpc/key_call.c: Likewise.
10572 * sunrpc/key_prot.c: Likewise.
10573 * sunrpc/netname.c: Likewise.
10574 * sunrpc/pm_getmaps.c: Likewise.
10575 * sunrpc/pm_getport.c: Likewise.
10576 * sunrpc/pmap_clnt.c: Likewise.
10577 * sunrpc/pmap_prot.c: Likewise.
10578 * sunrpc/pmap_prot2.c: Likewise.
10579 * sunrpc/pmap_rmt.c: Likewise.
10580 * sunrpc/publickey.c: Likewise.
10581 * sunrpc/rpc_cmsg.c: Likewise.
10582 * sunrpc/rpc_common.c: Likewise.
10583 * sunrpc/rpc_dtable.c: Likewise.
10584 * sunrpc/rpc_prot.c: Likewise.
10585 * sunrpc/rpc_thread.c: Likewise.
10586 * sunrpc/rtime.c: Likewise.
10587 * sunrpc/svc.c: Likewise.
10588 * sunrpc/svc_auth.c: Likewise.
10589 * sunrpc/svc_authux.c: Likewise.
10590 * sunrpc/svc_raw.c: Likewise.
10591 * sunrpc/svc_run.c: Likewise.
10592 * sunrpc/svc_simple.c: Likewise.
10593 * sunrpc/svc_tcp.c: Likewise.
10594 * sunrpc/svc_udp.c: Likewise.
10595 * sunrpc/svc_unix.c: Likewise.
10596 * sunrpc/svcauth_des.c: Likewise.
10597 * sunrpc/xcrypt.c: Likewise.
10598 * sunrpc/xdr.c: Likewise.
10599 * sunrpc/xdr_array.c: Likewise.
10600 * sunrpc/xdr_float.c: Likewise.
10601 * sunrpc/xdr_intXX_t.c: Likewise.
10602 * sunrpc/xdr_mem.c: Likewise.
10603 * sunrpc/xdr_rec.c: Likewise.
10604 * sunrpc/xdr_ref.c: Likewise.
10605 * sunrpc/xdr_sizeof.c: Likewise.
10606 * sunrpc/xdr_stdio.c: Likewise.
10607
10608 2011-04-10 Ulrich Drepper <drepper@gmail.com>
10609
10610 [BZ #12650]
10611 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10612 * sysdeps/ia64/dl-tls.h: Likewise.
10613 * sysdeps/powerpc/dl-tls.h: Likewise.
10614 * sysdeps/s390/dl-tls.h: Likewise.
10615 * sysdeps/sh/dl-tls.h: Likewise.
10616 * sysdeps/sparc/dl-tls.h: Likewise.
10617 * sysdeps/x86_64/dl-tls.h: Likewise.
10618 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10619
10620 2011-03-14 Andreas Schwab <schwab@redhat.com>
10621
10622 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10623 rpath element also skip the following colon.
10624 (expand_dynamic_string_token): Add is_path parameter and pass
10625 down to DL_DST_REQUIRED and _dl_dst_substitute.
10626 (decompose_rpath): Call expand_dynamic_string_token with
10627 non-zero is_path. Ignore empty rpaths.
10628 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10629 with zero is_path.
10630
10631 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10632
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10634 Make cancelable.
10635
10636 2011-04-09 Ulrich Drepper <drepper@gmail.com>
10637
10638 [BZ #12655]
10639 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10640 Patch by Filipe David Manana <fdmanana@apache.org>.
10641
10642 2011-04-07 Andreas Schwab <schwab@redhat.com>
10643
10644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10645 Maintain aligned stack.
10646 (CHECK_RSP): Remove unused macro.
10647
10648 2011-04-03 Ulrich Drepper <drepper@gmail.com>
10649
10650 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10651 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10652
10653 2011-04-02 Ulrich Drepper <drepper@gmail.com>
10654
10655 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10656
10657 * include/features.h: Mention __USE_XOPEN2K8 in comment.
10658
10659 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10660
10661 [BZ #12518]
10662 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10663 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10664 * sysdeps/x86_64/memmove.c: New file.
10665 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10666 (memcpy): Renamed to ...
10667 (__new_memcpy): This.
10668 (memcpy): Provide GLIBC_2_14 memcpy.
10669 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10670 (memcpy): Provide GLIBC_2_2_5 memcpy.
10671
10672 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10673
10674 [BZ #12631]
10675 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10676
10677 2011-03-30 Andreas Schwab <schwab@redhat.com>
10678
10679 * misc/syncfs.c: New file.
10680 * misc/Makefile (routines): Add syncfs.
10681 * posix/unistd.h: Declare syncfs.
10682 * sysdeps/unix/syscalls.list: Add syncfs.
10683
10684 2011-04-01 Andreas Schwab <schwab@redhat.com>
10685
10686 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10687 open_by_handle_at.
10688 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10689 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10691 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10693 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10694 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10695
10696 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10697
10698 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10699 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10700 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10702 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10704 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10705
10706 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10707 sync_file_range.c with -fexceptions.
10708 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10709 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10710 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10711 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10712 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10713 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10714 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10715 sync_file_range as cancellation point
10716 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10717 now a wrapper around __call_sync_file_range with cancellation handling.
10718 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10719 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10720 function name to __call_sync_file_range.
10721 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10722 Add call_sync_file_range.
10723
10724 2011-04-01 Andreas Schwab <schwab@redhat.com>
10725
10726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10727 bits/timex.h.
10728
10729 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10730
10731 * iconv/iconv.h: Fix typo in comment.
10732 * io/fcntl.h: Likewise.
10733 * libio/stdio.h: Likewise.
10734 * posix/spawn.h: Likewise.
10735 * posix/unistd.h: Likewise.
10736 * stdlib/stdlib.h: Likewise.
10737 * time/time.h: Likewise.
10738 * wcsmbs/wchar.h: Likewise.
10739
10740 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10741 open_by_handle): Add.
10742 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10743 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10744 Augment a few comments.
10745 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10747 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10749 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10750 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10751 open_by_handle.
10752
10753 * io/fcntl.h (AT_EMPTY_PATH): Define.
10754
10755 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10756
10757 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10758 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10759 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10760 to...
10761 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10762 * Versions.def: Add GLIBC_2.14.
10763 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10764 Export.
10765
10766 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10767
10768 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10769 round counter.
10770 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10771
10772 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10773
10774 [BZ #12597]
10775 * string/test-strncmp.c (do_page_test): New function.
10776 (check2): Likewise.
10777 (test_main): Call check2.
10778 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10779
10780 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10781
10782 [BZ #12587]
10783 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10784 Handle cache information in CPU leaf 4.
10785 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10786
10787 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10788
10789 [BZ #12583]
10790 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10791 character representation.
10792 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10793
10794 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10795
10796 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10797 END(__isnan) to END(__isnanf) to match function entry point/label
10798 EALIGN(__isnanf,...).
10799
10800 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10801
10802 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10803
10804 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10805
10806 [BZ #12510]
10807 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10808 copy from the symbol referenced in the relocation to initialize the
10809 used variable.
10810 Patch by Piotr Bury <pbury@goahead.com>.
10811 * elf/Makefile: Add rules to build and tst-unique3.
10812 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10813 * elf/tst-unique3.cc: New file.
10814 * elf/tst-unique3.h: New file.
10815 * elf/tst-unique3lib.cc: New file.
10816 * elf/tst-unique3lib2.cc: New file.
10817
10818 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10819
10820 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10821
10822 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10823 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10824 to _start.
10825
10826 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10827
10828 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10829 to-be-loaded object along a path to loader is ld.so.
10830
10831 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10832 Ulrich Drepper <drepper@gmail.com>
10833
10834 * sysdeps/x86_64/memset.S: After aligning destination, code
10835 branches to different locations depending on the value of
10836 misalignment, when multiarch is enabled. Fix this.
10837
10838 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10839
10840 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10841 Set _x86_64_preferred_memory_instruction for AMD processsors.
10842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10843 Set bit_Prefer_SSE_for_memop for AMD processors.
10844
10845 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10846
10847 * libio/fmemopen.c (fmemopen): Optimize a bit.
10848
10849 2011-03-03 Andreas Schwab <schwab@redhat.com>
10850
10851 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10852
10853 2011-03-03 Roland McGrath <roland@redhat.com>
10854
10855 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10856
10857 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10858
10859 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10860 __bzero_ultra1 instead of __memset_ultra1.
10861
10862 2011-02-23 Andreas Schwab <schwab@redhat.com>
10863 Ulrich Drepper <drepper@gmail.com>
10864
10865 [BZ #12509]
10866 * include/link.h (struct link_map): Add l_orig_initfini.
10867 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10868 returning unsuccessfully.
10869 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10870 close of a file loaded at startup, restore the original l_initfini
10871 list.
10872 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10873 list, store the pointer.
10874 * elf/Makefile ($(objpfx)noload-mem): New rule.
10875 (noload-ENV): Define.
10876 (tests): Add $(objpfx)noload-mem.
10877 * elf/noload.c: Include <memcheck.h>.
10878 (main): Call mtrace. Close all opened handles.
10879
10880 2011-02-17 Andreas Schwab <schwab@redhat.com>
10881
10882 [BZ #12454]
10883 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10884 dependencies are missing.
10885
10886 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10887
10888 Fix __if_freereq crash: Unlike the generic version which uses free,
10889 Hurd needs munmap.
10890 * sysdeps/mach/hurd/ifreq.h: New file.
10891
10892 2011-01-27 Petr Baudis <pasky@suse.cz>
10893 Ulrich Drepper <drepper@gmail.com>
10894
10895 [BZ 12445]#
10896 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10897 to extend_alloca().
10898 * stdio-common/bug23.c: New file.
10899 * stdio-common/Makefile (tests): Add bug23.
10900
10901 2010-09-28 Andreas Schwab <schwab@redhat.com>
10902 Ulrich Drepper <drepper@gmail.com>
10903
10904 [BZ #12489]
10905 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10906 before performing relro protection. At old place add assertion
10907 to make sure nothing changed.
10908
10909 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10910 Glauber de Oliveira Costa <glommer@gmail.com>
10911
10912 * elf/elf.h: Add new ARM TLS relocs.
10913
10914 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10915
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10917 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10918 cast from r3.
10919 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10920 'tests' variable.
10921 * sysdeps/wordsize-64/tst-writev.c: New file.
10922
10923 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10924
10925 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10926 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10927 insns in _dl_start to prevent a TOC reference before relocs are
10928 resolved.
10929
10930 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10931
10932 [BZ #12469]
10933 * Makeconfig: Remove RANLIB definition.
10934 * Makerules: Don't use RANLIB.
10935 * aclocal.m4: Remove ranlib test.
10936 * configure.in: No need to check for ranlib.
10937 * elf/rtld-Rules: Don't use RANLIB.
10938
10939 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10940
10941 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10942 protection macro.
10943 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10944 inclusion protection macro.
10945
10946 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10947 SIGRTMIN and SIGRTMAX and print information in that case only when
10948 SIGRTMIN is defined.
10949
10950 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10951
10952 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10953 arginfo fn returning -1.
10954
10955 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10956 and thousands string is zero terminated.
10957
10958 2011-02-03 Andreas Schwab <schwab@redhat.com>
10959
10960 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10961 sysdeps/unix/sysv/linux/bits/socket.h.
10962
10963 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10964
10965 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10966 (__CPU_COUNT): Remove old macros.
10967 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10968 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10969 (__CPU_ALLOC, __CPU_FREE): Add macros.
10970 (__sched_cpualloc, __sched_cpufree): Add declarations.
10971
10972 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10973
10974 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10975 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10976 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10977 (readdhstai): Return value of addhstaiX call.
10978 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10979 (addgrbyX): Return value returned by cache_addgr.
10980 (readdgrbyname): Return value returned by addgrbyX.
10981 (readdgrbygid): Likewise.
10982 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10983 (addpwbyX): Return value returned by cache_addpw.
10984 (readdpwbyname): Return value returned by addhstbyX.
10985 (readdpwbyuid): Likewise.
10986 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10987 (addservbyX): Return value returned by cache_addserv.
10988 (readdservbyname): Return value returned by addservbyX:
10989 (readdservbyport): Likewise.
10990 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10991 (addhstbyX): Return value returned by cache_addhst.
10992 (readdhstbyname): Return value returned by addhstbyX.
10993 (readdhstbyaddr): Likewise.
10994 (readdhstbynamev6): Likewise.
10995 (readdhstbyaddrv6): Likewise.
10996 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10997 (readdinitgroups): Return value returned by addinitgroupsX.
10998 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10999 (prune_cache): Keep track of timeout value of re-added entries.
11000 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11001 * nscd/nscd.h: Adjust prototypes of readd* functions.
11002
11003 2011-02-04 Roland McGrath <roland@redhat.com>
11004
11005 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11006 (nis_stats): Likewise.
11007 * nis/nis_modify.c (nis_modify): Likewise.
11008 * nis/nis_remove.c (nis_remove): Likewise.
11009 * nis/nis_add.c (nis_add): Likewise.
11010
11011 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11012
11013 * posix/fnmatch_loop.c: Add some consts.
11014
11015 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11016
11017 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11018
11019 [BZ #12460]
11020 * config.make.in (config-cflags-novzeroupper): Define.
11021 * configure.in: Substitute libc_cv_cc_novzeroupper.
11022 * elf/Makefile (AVX-CFLAGS): Define.
11023 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11024 (CFLAGS-tst-auditmod4a.c): Likewise.
11025 (CFLAGS-tst-auditmod4b.c): Likewise.
11026 (CFLAGS-tst-auditmod6b.c): Likewise.
11027 (CFLAGS-tst-auditmod6c.c): Likewise.
11028 (CFLAGS-tst-auditmod7b.c): Likewise.
11029 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11030
11031 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11032
11033 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11034 function to the callback.
11035 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11036
11037 2011-02-02 Andreas Schwab <schwab@redhat.com>
11038
11039 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11040 of errno.
11041
11042 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11043
11044 [BZ #11724]
11045 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11046 of constructors.
11047 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11048 of destructors.
11049 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11050
11051 [BZ #11724]
11052 * elf/Makefile: Add rules to build and run new test.
11053 * elf/tst-initorder.c: New file.
11054 * elf/tst-initorder.exp: New file.
11055 * elf/tst-initordera1.c: New file.
11056 * elf/tst-initordera2.c: New file.
11057 * elf/tst-initordera3.c: New file.
11058 * elf/tst-initordera4.c: New file.
11059 * elf/tst-initorderb1.c: New file.
11060 * elf/tst-initorderb2.c: New file.
11061 * elf/tst-order-a1.c: New file.
11062 * elf/tst-order-a2.c: New file.
11063 * elf/tst-order-a3.c: New file.
11064 * elf/tst-order-a4.c: New file.
11065 * elf/tst-order-b1.c: New file.
11066 * elf/tst-order-b2.c: New file.
11067 * elf/tst-order-main.c: New file.
11068 New test case by George Gensure <werkt0@gmail.com>.
11069
11070 2010-10-01 Andreas Schwab <schwab@redhat.com>
11071
11072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11073 decoding ACE if AI_CANONIDN.
11074
11075 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11076
11077 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11078
11079 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11080
11081 * version.h (RELEASE): Bump for 2.13 release.
11082 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11083
11084 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11085
11086 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11087 MADV_NOHUGEPAGE.
11088 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11089 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11090 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11091 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11092 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11093 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11094
11095 * posix/getconf.c: Update copyright year.
11096 * catgets/gencat.c: Likewise.
11097 * csu/version.c: Likewise.
11098 * debug/catchsegv.sh: Likewise.
11099 * debug/xtrace.sh: Likewise.
11100 * elf/ldconfig.c: Likewise.
11101 * elf/ldd.bash.in: Likewise.
11102 * elf/sprof.c (print_version): Likewise.
11103 * iconv/iconv_prog.c: Likewise.
11104 * iconv/iconvconfig.c: Likewise.
11105 * locale/programs/locale.c: Likewise.
11106 * locale/programs/localedef.c: Likewise.
11107 * malloc/memusage.sh: Likewise.
11108 * malloc/mtrace.pl: Likewise.
11109 * nscd/nscd.c (print_version): Likewise.
11110 * nss/getent.c: Likewise.
11111
11112 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11113 PF_CAIF, and PF_ALG.
11114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11115
11116 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11117
11118 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11119 (modules-names): Use them.
11120 (ifunc-test-modules, ifunc-pie-tests): Define.
11121 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11122 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11123 (test-extras): Likewise.
11124 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11125 $(compile-command.c).
11126 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11127 (all-built-dso): Define.
11128 (check-textrel.out, check-execstack.out): Depend on it.
11129
11130 * configure.in: Don't override --enable-multi-arch.
11131
11132 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11133
11134 [BZ #6812]
11135 * nscd/hstcache.c (tryagain): Define.
11136 (cache_addhst): Return tryagain not notfound for temporary errors.
11137 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11138 failed.
11139
11140 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11141
11142 [BZ #10563]
11143 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11144 to make the syscall.
11145 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11146
11147 [BZ #12378]
11148 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11149 and fall back to matching as normal character if the string ends before
11150 the matching ']' is found. This is what POSIX requires.
11151 * posix/testfnm.c: Adjust test result.
11152 * posix/globtest.sh: Adjust test result. Add new test.
11153 * posix/tst-fnmatch.input: Likewise.
11154 * posix/tst-fnmatch2.c: Add new test.
11155
11156 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11157
11158 * elf/Makefile (check-execstack): Revert last change. Depend on
11159 check-execstack.h.
11160 (check-execstack.h): New target.
11161 (generated): Add check-execstack.h.
11162 * elf/check-execstack.c: Include "check-execstack.h".
11163 (main): Revert last change.
11164 (handle_file): Return zero if GNU_STACK is absent and
11165 DEFAULT_STACK_PERMS doesn't include PF_X.
11166
11167 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11168
11169 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11170 in child fails because the descriptor is already closed.
11171 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11172 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11173 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11174
11175 [BZ #12397]
11176 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11177 syscall.
11178
11179 [BZ #10484]
11180 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11181 temporary buffer used to handle multi lookups locally.
11182 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11183
11184 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11185
11186 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11187 loader is ld.so.
11188
11189 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11190
11191 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11192 alignment for SSE2.
11193
11194 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11195
11196 [BZ #12394]
11197 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11198 characters. When rounding increased number of integer digits recompute
11199 number of groups.
11200 * stdio-common/tst-grouping.c: New file.
11201 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11202
11203 2011-01-09 Ulrich Drepper <drepper@gmail.com>
11204
11205 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11206 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11207
11208 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11209 void.
11210 * bits/select.h: Likewise.
11211
11212 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11213
11214 * po/ja.po: Update from translation team.
11215
11216 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11217
11218 [BZ #11155]
11219 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11220 implementation just like for lxstat, fxstatat, et al.
11221
11222 2010-12-27 Jim Meyering <meyering@redhat.com>
11223
11224 [BZ #12348]
11225 * posix/regexec.c (build_trtable): Return failure indication upon
11226 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11227
11228 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11229
11230 [BZ #12201]
11231 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11232 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11233 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11234 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11235
11236 [BZ #12207]
11237 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11238
11239 [BZ #12204]
11240 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11241 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11242
11243 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11244
11245 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11246 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11247 script has SORT_BY_INIT_PRIORITY.
11248 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11249 NO_CTORS_DTORS_SECTIONS is defined.
11250 * elf/soinit.c: Likewise.
11251 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11252 NO_CTORS_DTORS_SECTIONS is defined.
11253 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11254 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11255 * sysdeps/sh/init-first.c: Likewise.
11256 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11257
11258 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11259
11260 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11261 always use the slow path.
11262
11263 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11264
11265 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11266 similar rule which adds the sysdep directories to the header search in
11267 order to pick up the correct platform stackinfo.h.
11268 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11269 perform test if it is, otherwise return successfully without testing.
11270 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11271 DEFAULT_STACK_PERMS define in stackinfo.h.
11272 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11273 defined in stackinfo.h.
11274 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11275 DEFAULT_STACK_PERMS defined in stackinfo.h.
11276 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11277 * sysdeps/ia64/stackinfo.h: Likewise.
11278 * sysdeps/s390/stackinfo.h: Likewise.
11279 * sysdeps/sh/stackinfo.h: Likewise.
11280 * sysdeps/sparc/stackinfo.h: Likewise.
11281 * sysdeps/x86_64/stackinfo.h: Likewise.
11282 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11283 PF_X for powerpc64. Retain PF_X for powerpc32.
11284
11285 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11286
11287 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11288 accurately.
11289 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11290 GETDENTS_64BIT_ALIGNED.
11291
11292 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11293
11294 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11295
11296 2010-12-10 Andreas Schwab <schwab@redhat.com>
11297
11298 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11299 _GNU_SOURCE.
11300
11301 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11302 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11303 Remove __restrict.
11304 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11305 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11306
11307 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11308
11309 [BZ #11655]
11310 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11311 are initialized.
11312
11313 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11314
11315 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11316
11317 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11318
11319 * po/it.po: Update from translation team.
11320
11321 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11322
11323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11324 unused codes.
11325
11326 2010-11-30 Ulrich Drepper <drepper@gmail.com>
11327
11328 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11329
11330 2010-11-24 Andreas Schwab <schwab@redhat.com>
11331
11332 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11333 specially.
11334 (gaih_getanswer_slice): Likewise.
11335
11336 2010-10-20 Jakub Jelinek <jakub@redhat.com>
11337
11338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11339
11340 2010-05-31 Petr Baudis <pasky@suse.cz>
11341
11342 [BZ #11149]
11343 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11344 silently even in the chroot mode.
11345
11346 2010-11-22 Ulrich Drepper <drepper@gmail.com>
11347
11348 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11349 last patch a bit. Pretty printing
11350
11351 2010-05-31 Petr Baudis <pasky@suse.cz>
11352
11353 [BZ #10085]
11354 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11355 initialization of skip_initgroups_dyn.
11356
11357 2010-11-19 Ulrich Drepper <drepper@gmail.com>
11358
11359 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11360 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11361
11362 2010-11-16 Ulrich Drepper <drepper@gmail.com>
11363
11364 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11365
11366 2010-11-11 Andreas Schwab <schwab@redhat.com>
11367
11368 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11369 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11370 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11371 ($(objpfx)tst-fnmatch-mem): New rule.
11372 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11373 * posix/tst-fnmatch.c (main): Call mtrace.
11374
11375 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11376
11377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11378 Support Intel processor model 6 and model 0x2c.
11379
11380 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
11381
11382 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11383 signed comparison.
11384
11385 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11386
11387 [BZ #12205]
11388 * string/test-strncasecmp.c (check_result): New function.
11389 (do_one_test): Use it.
11390 (check1): New function.
11391 (test_main): Use it.
11392 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11393 Support strcasecmp and strncasecmp.
11394
11395 2010-11-08 Ulrich Drepper <drepper@gmail.com>
11396
11397 [BZ #12194]
11398 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11399 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11400
11401 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11402
11403 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11404 IFUNC support.
11405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11406 memset-x86-64.
11407 * sysdeps/x86_64/multiarch/bzero.S: New file.
11408 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11409 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11410 * sysdeps/x86_64/multiarch/memset.S: New file.
11411 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11413 Set bit_Prefer_SSE_for_memop for Intel processors.
11414 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11415 Define.
11416 (index_Prefer_SSE_for_memop): Define.
11417 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11418
11419 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
11420
11421 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11422 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11423
11424 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11425
11426 [BZ #12191]
11427 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11428 (__x86_64_raw_data_cache_size_half): Likewise.
11429 (__x86_64_raw_shared_cache_size): Likewise.
11430 (__x86_64_raw_shared_cache_size_half): Likewise.
11431
11432 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11433 (__x86_64_raw_data_cache_size_half): Likewise.
11434 (__x86_64_raw_shared_cache_size): Likewise.
11435 (__x86_64_raw_shared_cache_size_half): Likewise.
11436 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11437 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11438 and __x86_64_raw_shared_cache_size_half. Round
11439 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11440 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11441 to multiple of 256 bytes.
11442
11443 2010-11-03 Ulrich Drepper <drepper@gmail.com>
11444
11445 [BZ #12167]
11446 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11447 of inacessible symlinks. Verify result of symlink before returning it.
11448 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11449 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11450
11451 2010-10-28 Erich Ritz <erichritz@gmail.com>
11452
11453 * math/math.h (isinf): Fix typo in comment.
11454
11455 2010-11-01 Ulrich Drepper <drepper@gmail.com>
11456
11457 * po/da.po: Update from translation team.
11458
11459 2010-10-26 Ulrich Drepper <drepper@gmail.com>
11460
11461 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11462 is added to the list.
11463
11464 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11465 Ulrich Drepper <drepper@gmail.com>
11466
11467 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11468 the global list here. Move code to...
11469 (_dl_add_to_namespace_list): ...here. New function.
11470 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11471 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11472 * elf/dl-load.c (lose): Don't remove the element from the list.
11473 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11474 (_dl_map_object): Likewise.
11475
11476 2010-10-25 Ulrich Drepper <drepper@gmail.com>
11477
11478 [BZ #12159]
11479 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11480 into all bytes of SSE register.
11481 Patch by Richard Li <richardpku@gmail.com>.
11482
11483 2010-10-24 Ulrich Drepper <drepper@gmail.com>
11484
11485 [BZ #12140]
11486 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11487 perturbing.
11488
11489 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11490
11491 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11492 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11493 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11494 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11496 submachine.
11497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11498
11499 2010-10-22 Andreas Schwab <schwab@redhat.com>
11500
11501 * include/dlfcn.h (__RTLD_SECURE): Define.
11502 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11503 mode & __RTLD_SECURE instead.
11504 (open_path): Rename preloaded parameter to secure.
11505 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11506 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11507 * elf/dl-deps.c (openaux): Likewise.
11508 * elf/rtld.c (struct map_args): Remove is_preloaded.
11509 (map_doit): Don't use it.
11510 (dl_main): Likewise.
11511 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11512 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11513
11514 2010-09-09 Andreas Schwab <schwab@redhat.com>
11515
11516 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11517 (sysd-rules-targets): Remove duplicates.
11518 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11519 rtld-%.$o dependency.
11520
11521 2010-10-18 Andreas Schwab <schwab@redhat.com>
11522
11523 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11524 _dl_map_object do it.
11525
11526 2010-10-19 Ulrich Drepper <drepper@gmail.com>
11527
11528 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11529 fast fma builtins, define the macros in the C99 standard.
11530 (FP_FAST_FMAF): Likewise.
11531 (FP_FAST_FMAL): Likewise.
11532 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11533
11534 * bits/mathdef.h: Update copyright year.
11535 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11536
11537 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11538
11539 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11540 builtins, define the macros in the C99 standard.
11541 (FP_FAST_FMAF): Likewise.
11542 (FP_FAST_FMAL): Likewise.
11543 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11544 multiply/add.
11545 (FP_FAST_FMAF): Likewise.
11546
11547 2010-10-15 Jakub Jelinek <jakub@redhat.com>
11548
11549 [BZ #3268]
11550 * math/libm-test.inc (fma_test): Some new testcases.
11551 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11552 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11553 y and infinite z. Do multiplication by C already in long double.
11554 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11556 y and infinite z. Do bitwise or of inexact bit into u.d.
11557 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11558 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11559 * sysdeps/i386/fpu/s_fma.S: Removed.
11560 * sysdeps/i386/fpu/s_fmal.S: Removed.
11561
11562 2010-10-16 Jakub Jelinek <jakub@redhat.com>
11563
11564 [BZ #3268]
11565 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11567 computation is not scheduled after fetestexcept. Fix value
11568 of minimum denormal long double.
11569
11570 2010-10-14 Jakub Jelinek <jakub@redhat.com>
11571
11572 [BZ #3268]
11573 * math/libm-test.inc (fma_test): Add some more tests.
11574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11575 correctly.
11576
11577 2010-10-15 Andreas Schwab <schwab@redhat.com>
11578
11579 * scripts/data/localplt-s390-linux-gnu.data: New file.
11580 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11581
11582 2010-10-13 Jakub Jelinek <jakub@redhat.com>
11583
11584 [BZ #3268]
11585 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11586 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11587 instead of dbl-64.
11588 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11589 inlines.
11590 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11592 if one of x and y is very large and the other is subnormal.
11593 * sysdeps/s390/fpu/s_fmaf.c: New file.
11594 * sysdeps/s390/fpu/s_fma.c: New file.
11595 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11596 * sysdeps/powerpc/fpu/s_fma.S: New file.
11597 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11598 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11599 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11600
11601 2010-10-12 Jakub Jelinek <jakub@redhat.com>
11602
11603 [BZ #3268]
11604 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11605 fma tests.
11606 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11607 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11608 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11609 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11610 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11611 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11613
11614 2010-10-12 Ulrich Drepper <drepper@redhat.com>
11615
11616 [BZ #12078]
11617 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11618 * posix/bug-regex31.input: Add test case.
11619
11620 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11621
11622 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11623 * posix/bug-regex31.input: New file.
11624
11625 [BZ #12078]
11626 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11627 (parse_sub_exp): Fix last change, use postorder.
11628
11629 * posix/bug-regex31.c: New file.
11630 * posix/Makefile: Add rules to build and run bug-regex31.
11631
11632 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11633
11634 [BZ #12078]
11635 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11636
11637 [BZ #12108]
11638 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11639 to have entries in sys_siglist.
11640
11641 [BZ #12093]
11642 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11643 be NULL.
11644
11645 2010-10-07 Jakub Jelinek <jakub@redhat.com>
11646
11647 [BZ #3268]
11648 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11649 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11650 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11651 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11652 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11653 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11654 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11655 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11656 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11657 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11658 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11659 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11660 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11661 * math/ftestexcept.c (fetestexcept): Likewise.
11662 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11663 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11664 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11665 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11666 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11667 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11668 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11669
11670 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11671
11672 [BZ #12107]
11673 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11674 newline.
11675
11676 2010-10-06 Ulrich Drepper <drepper@gmail.com>
11677
11678 * string/bug-strstr1.c: New file.
11679 * string/Makefile: Add rules to build and run bug-strstr1.
11680
11681 2010-10-05 Eric Blake <eblake@redhat.com>
11682
11683 [BZ #12092]
11684 * string/str-two-way.h (two_way_long_needle): Always clear memory
11685 when skipping input due to the shift table.
11686
11687 2010-10-03 Ulrich Drepper <drepper@gmail.com>
11688
11689 [BZ #12005]
11690 * malloc/mcheck.c: Handle large requests.
11691
11692 [BZ #12077]
11693 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11694 for strncmp and strncasecmp.
11695 * string/stratcliff.c: Add tests for strcmp and strncmp.
11696 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11697
11698 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11699
11700 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11701 __set_fpscr.
11702
11703 2010-09-30 Andreas Jaeger <aj@suse.de>
11704
11705 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11706 (CGROUP_SUPER_MAGIC): Define.
11707 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11708 Handle btrfs and cgroup file systems.
11709 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11710 Likewise.
11711
11712 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
11713
11714 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11715 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11716
11717 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11718
11719 [BZ #12067]
11720 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11721 trying to locate the ELF header.
11722
11723 2010-09-27 Andreas Schwab <schwab@redhat.com>
11724
11725 [BZ #11611]
11726 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11727 Mask out sign-bit copies when constructing f_fsid.
11728
11729 2010-09-24 Petr Baudis <pasky@suse.cz>
11730
11731 * debug/stack_chk_fail_local.c: Add missing licence exception.
11732 * debug/warning-nop.c: Likewise.
11733
11734 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11735
11736 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11737 implementing getdents64 using getdents syscall, set d_type if
11738 __ASSUME_GETDENTS32_D_TYPE.
11739
11740 2010-09-16 Andreas Schwab <schwab@redhat.com>
11741
11742 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11743 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11744
11745 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11746
11747 [BZ #12037]
11748 * posix/unistd.h: Undo change of feature selection for ftruncate from
11749 2010-01-11.
11750
11751 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11752
11753 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11754 detection.
11755
11756 2010-09-20 Andreas Schwab <schwab@redhat.com>
11757
11758 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11759 fanotify_mark.
11760 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11761
11762 2010-09-14 Andreas Schwab <schwab@redhat.com>
11763
11764 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11765 variables after CHECK_SP call.
11766 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11767
11768 2010-09-13 Andreas Schwab <schwab@redhat.com>
11769 Ulrich Drepper <drepper@redhat.com>
11770
11771 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11772 re-relocationg ld.so.
11773 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11774 _dl_init_paths call.
11775 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11776 here anymore.
11777
11778 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11779
11780 * resolv/res_init.c (__res_vinit): Count the default server we added.
11781
11782 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11783 Ulrich Drepper <drepper@redhat.com>
11784
11785 [BZ #11968]
11786 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11787 (____longjmp_chk): Use %ebx for saving value across system call.
11788 Add unwind info.
11789
11790 2010-09-06 Andreas Schwab <schwab@redhat.com>
11791
11792 * manual/Makefile: Don't mix pattern rules with normal rules.
11793
11794 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11795
11796 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11797 operation.
11798 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11799 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11800 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11801 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11803 Likewise.
11804
11805 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11806
11807 [BZ #11979]
11808 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11809 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11810
11811 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11812
11813 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11814 * sysdeps/x86_64/addmul_1.S: Likewise.
11815 * sysdeps/x86_64/lshift.S: Likewise.
11816 * sysdeps/x86_64/mul_1.S: Likewise.
11817 * sysdeps/x86_64/rshift.S: Likewise.
11818 * sysdeps/x86_64/sub_n.S: Likewise.
11819 * sysdeps/x86_64/submul_1.S: Likewise.
11820
11821 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11822
11823 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11824 Define __sched_param instead of SCHED_* and sched_param when
11825 <bits/sched.h> is included with __need_schedparam defined.
11826 * bits/sched.h [__need_schedparam]
11827 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11828 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11829 (__defined_schedparam): Define to 1.
11830 (__sched_param): New structure, identical to sched_param.
11831 (__need_schedparam): Undefine.
11832
11833 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11834
11835 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11836 (epoll_create1): Declare.
11837
11838 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11839
11840 2010-08-31 Andreas Schwab <schwab@redhat.com>
11841
11842 [BZ #7066]
11843 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11844 shifting retval into place.
11845
11846 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11847
11848 * nis/rpcsvc/nis.h: Update copyright notice.
11849 * nis/rpcsvc/nis.x: Likewise.
11850 * nis/rpcsvc/nis_callback.h: Likewise.
11851 * nis/rpcsvc/nis_callback.x: Likewise.
11852 * nis/rpcsvc/nis_object.x: Likewise.
11853 * nis/rpcsvc/nis_tags.h: Likewise.
11854 * nis/rpcsvc/yp.h: Likewise.
11855 * nis/rpcsvc/yp.x: Likewise.
11856 * nis/rpcsvc/ypupd.h: Likewise.
11857 * nis/yp_xdr.c: Likewise.
11858 * nis/ypupdate_xdr.c: Likewise.
11859
11860 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11861 mainly the body of pmap_getport. Add parameters to specify timeouts.
11862 (pmap_getport): Use __libc_rpc_getport.
11863 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11864 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11865 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11866
11867 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11868
11869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11870 fanotify_mark.
11871
11872 2010-08-27 Roland McGrath <roland@redhat.com>
11873
11874 * sysdeps/i386/i686/multiarch/Makefile
11875 (CFLAGS-varshift.c): New variable.
11876
11877 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11878
11879 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11880 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11881
11882 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11883
11884 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11885
11886 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11887
11888 * sysdeps/x86_64/strlen.S: Unroll the loop.
11889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11890 strlen-sse2 strlen-sse2-bsf.
11891 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11892 __strlen_no_bsf if bit_Slow_BSF is set.
11893 (__strlen_sse42): Removed.
11894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11895 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11896
11897 2010-08-25 Roland McGrath <roland@redhat.com>
11898
11899 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11900 * sysdeps/x86_64/multiarch/varshift.c: New file.
11901 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11902 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11903 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11904 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11905
11906 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11907
11908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11909 strlen-sse2 strlen-sse2-bsf.
11910 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11911 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11912 (__strlen_sse2): Removed.
11913 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11914 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11916 bit_Slow_BSF for Atom.
11917 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11918 (index_Slow_BSF): Define.
11919 (HAS_SLOW_BSF): Define.
11920
11921 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11922
11923 [BZ #10851]
11924 * resolv/res_init.c (__res_vinit): When no server address at all
11925 is given default to loopback.
11926
11927 2010-08-24 Roland McGrath <roland@redhat.com>
11928
11929 * configure.in: Remove config-name.h generation.
11930 * configure: Regenerated.
11931 * config-name.in: File removed.
11932 * scripts/config-uname.sh: New file.
11933 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11934 ($(objdir)config-name.h): New target.
11935
11936 * sunrpc/rpc_parse.h: Avoid nested comment.
11937
11938 2010-08-24 Richard Henderson <rth@redhat.com>
11939 Ulrich Drepper <drepper@redhat.com>
11940 H.J. Lu <hongjiu.lu@intel.com>
11941
11942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11944 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11945 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11946 _mm_alignr_epi8 with _mm_loadu_si128.
11947 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11948 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11949 (__m128i_shift_right): Removed.
11950 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11951 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11952 * sysdeps/x86_64/multiarch/varshift.h: New file.
11953 * sysdeps/x86_64/multiarch/varshift.S: New file.
11954
11955 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11956
11957 * configure.in: Move assembler checks to before sysdep dir checking.
11958
11959 2010-08-20 Petr Baudis <pasky@suse.cz>
11960
11961 * LICENSES: Sync the sunrpc license.
11962
11963 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11964
11965 * sunrpc/auth_des.c: Update copyright notice once again.
11966 * sunrpc/auth_none.c: Likewise.
11967 * sunrpc/auth_unix.c: Likewise.
11968 * sunrpc/authdes_prot.c: Likewise.
11969 * sunrpc/authuxprot.c: Likewise.
11970 * sunrpc/bindrsvprt.c: Likewise.
11971 * sunrpc/clnt_gen.c: Likewise.
11972 * sunrpc/clnt_perr.c: Likewise.
11973 * sunrpc/clnt_raw.c: Likewise.
11974 * sunrpc/clnt_simp.c: Likewise.
11975 * sunrpc/clnt_tcp.c: Likewise.
11976 * sunrpc/clnt_udp.c: Likewise.
11977 * sunrpc/clnt_unix.c: Likewise.
11978 * sunrpc/des_crypt.c: Likewise.
11979 * sunrpc/des_soft.c: Likewise.
11980 * sunrpc/get_myaddr.c: Likewise.
11981 * sunrpc/getrpcport.c: Likewise.
11982 * sunrpc/key_call.c: Likewise.
11983 * sunrpc/key_prot.c: Likewise.
11984 * sunrpc/openchild.c: Likewise.
11985 * sunrpc/pm_getmaps.c: Likewise.
11986 * sunrpc/pm_getport.c: Likewise.
11987 * sunrpc/pmap_clnt.c: Likewise.
11988 * sunrpc/pmap_prot.c: Likewise.
11989 * sunrpc/pmap_prot2.c: Likewise.
11990 * sunrpc/pmap_rmt.c: Likewise.
11991 * sunrpc/rpc/auth.h: Likewise.
11992 * sunrpc/rpc/auth_unix.h: Likewise.
11993 * sunrpc/rpc/clnt.h: Likewise.
11994 * sunrpc/rpc/des_crypt.h: Likewise.
11995 * sunrpc/rpc/key_prot.h: Likewise.
11996 * sunrpc/rpc/netdb.h: Likewise.
11997 * sunrpc/rpc/pmap_clnt.h: Likewise.
11998 * sunrpc/rpc/pmap_prot.h: Likewise.
11999 * sunrpc/rpc/pmap_rmt.h: Likewise.
12000 * sunrpc/rpc/rpc.h: Likewise.
12001 * sunrpc/rpc/rpc_des.h: Likewise.
12002 * sunrpc/rpc/rpc_msg.h: Likewise.
12003 * sunrpc/rpc/svc.h: Likewise.
12004 * sunrpc/rpc/svc_auth.h: Likewise.
12005 * sunrpc/rpc/types.h: Likewise.
12006 * sunrpc/rpc/xdr.h: Likewise.
12007 * sunrpc/rpc_clntout.c: Likewise.
12008 * sunrpc/rpc_cmsg.c: Likewise.
12009 * sunrpc/rpc_common.c: Likewise.
12010 * sunrpc/rpc_cout.c: Likewise.
12011 * sunrpc/rpc_dtable.c: Likewise.
12012 * sunrpc/rpc_hout.c: Likewise.
12013 * sunrpc/rpc_main.c: Likewise.
12014 * sunrpc/rpc_parse.c: Likewise.
12015 * sunrpc/rpc_parse.h: Likewise.
12016 * sunrpc/rpc_prot.c: Likewise.
12017 * sunrpc/rpc_sample.c: Likewise.
12018 * sunrpc/rpc_scan.c: Likewise.
12019 * sunrpc/rpc_scan.h: Likewise.
12020 * sunrpc/rpc_svcout.c: Likewise.
12021 * sunrpc/rpc_tblout.c: Likewise.
12022 * sunrpc/rpc_util.c: Likewise.
12023 * sunrpc/rpc_util.h: Likewise.
12024 * sunrpc/rpcinfo.c: Likewise.
12025 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12026 * sunrpc/rpcsvc/key_prot.x: Likewise.
12027 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12028 * sunrpc/rpcsvc/mount.x: Likewise.
12029 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12030 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12031 * sunrpc/rpcsvc/rex.x: Likewise.
12032 * sunrpc/rpcsvc/rstat.x: Likewise.
12033 * sunrpc/rpcsvc/rusers.x: Likewise.
12034 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12035 * sunrpc/rpcsvc/spray.x: Likewise.
12036 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12037 * sunrpc/rtime.c: Likewise.
12038 * sunrpc/svc.c: Likewise.
12039 * sunrpc/svc_auth.c: Likewise.
12040 * sunrpc/svc_authux.c: Likewise.
12041 * sunrpc/svc_raw.c: Likewise.
12042 * sunrpc/svc_run.c: Likewise.
12043 * sunrpc/svc_simple.c: Likewise.
12044 * sunrpc/svc_tcp.c: Likewise.
12045 * sunrpc/svc_udp.c: Likewise.
12046 * sunrpc/svc_unix.c: Likewise.
12047 * sunrpc/svcauth_des.c: Likewise.
12048 * sunrpc/xcrypt.c: Likewise.
12049 * sunrpc/xdr.c: Likewise.
12050 * sunrpc/xdr_array.c: Likewise.
12051 * sunrpc/xdr_float.c: Likewise.
12052 * sunrpc/xdr_mem.c: Likewise.
12053 * sunrpc/xdr_rec.c: Likewise.
12054 * sunrpc/xdr_ref.c: Likewise.
12055 * sunrpc/xdr_sizeof.c: Likewise.
12056 * sunrpc/xdr_stdio.c: Likewise.
12057
12058 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12059 handling.
12060
12061 2010-08-19 Andreas Schwab <schwab@redhat.com>
12062
12063 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12064
12065 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12066
12067 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12068 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12069 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12070 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12071 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12072 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12073 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12074 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12075 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12076 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12077 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12078 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12079 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12080 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12081
12082 2010-07-26 Anton Blanchard <anton@samba.org>
12083
12084 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12085 * malloc/arena.c (heap_trim): Likewise.
12086
12087 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12088
12089 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12090 here. Not...
12091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12092 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12093
12094 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12095
12096 * sysdeps/i386/elf/Makefile: New file.
12097
12098 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12099
12100 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12101 from fanotify_init.
12102 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12104
12105 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12106
12107 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12108 of strncasecmp_l.
12109 * sysdeps/multiarch/strcmp.S: Likewise.
12110
12111 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12112
12113 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12114 strncase_l-nonascii.
12115 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12116 Add strncase_l-ssse3.
12117 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12118 * sysdeps/x86_64/strcmp.S: Likewise.
12119 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12120 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12121 * sysdeps/x86_64/strncase.S: New file.
12122 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12123 * sysdeps/x86_64/strncase_l.S: New file.
12124 * string/Makefile (strop-tests): Add strncasecmp.
12125 * string/test-strncasecmp.c: New file.
12126
12127 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12128 warning.
12129
12130 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12131 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12132
12133 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12134
12135 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12136
12137 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12138
12139 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12140 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12141 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12142
12143 2010-05-01 Alan Modra <amodra@gmail.com>
12144
12145 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12146 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12147 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12148 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12149 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12150 tidying. Don't tail-call __sigjmp_save for static lib.
12151 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12152 save location.
12153 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12154 (CALL_MCOUNT): Add eh info, and nop after bl.
12155 (TAIL_CALL_SYSCALL_ERROR): New macro.
12156 (PSEUDO_RET): Use it.
12157 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12158 Correct save location of integer regs and cr.
12159 (_dl_profile_resolve): Correct cr save location. Delete nops
12160 after bl when SHARED. Reduce cfi size a little by better
12161 placement of cfi directives.
12162 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12163 make a stack frame. Instead use parm save area as a temp.
12164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12165 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12167 Don't make a stack frame for parent, use parm save area.
12168 Increase child stack frame to 112 bytes. Don't save unused reg,
12169 and adjust reg usage. Set up cfi on error recovery and
12170 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12172 (__makecontext): Add dummy nop after jump to exit.
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12174 Use correct parm save area and cr save, reduce stack frame.
12175 Correct cfi for possible PSEUDO_RET frame setup.
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12177 Branch to local label emitted by PSEUDO_RET rather than
12178 __syscall_error.
12179
12180 2010-08-12 Andreas Schwab <schwab@redhat.com>
12181
12182 [BZ #11904]
12183 * locale/programs/locale.c (print_assignment): New function.
12184 (show_locale_vars): Use it.
12185
12186 2010-08-11 Ulrich Drepper <drepper@redhat.com>
12187
12188 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12189 field.
12190 (struct statfs64): Likewise.
12191 (_STATFS_F_FLAGS): Define.
12192 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12193 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12194 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12195 (ST_VALID): Define locally.
12196 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12197 __statvfs_getflags, use the provided value.
12198 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12199 __ASSUME_STATFS_F_FLAGS.
12200
12201 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12202
12203 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12204 Add sys/fanotify.h.
12205 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12206 fanotify_mask for GLIBC_2.13.
12207 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12208 fanotify_init and fanotify_mark.
12209 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12210 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12211
12212 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12213 Add prlimit.
12214 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12215 prlimit64 for GLIBC_2.13.
12216 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12217 prlimit64.
12218 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12219 syscall.
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12221 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12222 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12223 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12225 add prlimit alias.
12226 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12227
12228 [BZ #11903]
12229 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12230 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12231
12232 * nss/Makefile: Add rules to build and run tst-nss-test1.
12233 * shlib-versions: Add entry for libnss_test1.
12234 * nss/nss_test1.c: New file.
12235 * nss/tst-nss-test1.c: New file.
12236
12237 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12238 (__nss_configure_lookup): Set appropriate entry in
12239 __nss_configure_lookup to true.
12240 * nss/nsswitch.h: Define enum with indeces of databases in
12241 databases and __nss_database_custom arrays. Declare
12242 __nss_database_custom.
12243 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12244 to avoid using nscd when custom rules are installed.
12245 * nss/getXXbyYY_r.c: Likewise.
12246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12247
12248 * nss/nss_files/files-parse.c: Whitespace fixes.
12249
12250 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12251
12252 [BZ #11883]
12253 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12254 * posix/fnmatch_loop.c: Likewise.
12255
12256 2010-07-17 Andi Kleen <ak@linux.intel.com>
12257
12258 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12259 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12260 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12261 * Versions.def [GLIBC_2.13]: Add.
12262
12263 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12264
12265 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12266 Also fail if tpwd after pwuid call is NULL.
12267
12268 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12269
12270 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12271 when converting to ms.
12272
12273 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12274
12275 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12276 EOPNOTSUPP errors with ENOTTY.
12277 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12278 EOPNOTSUPP errors with ENOTTY.
12279
12280 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12281
12282 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12283 Add strcasecmp_l-ssse3.
12284 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12285 strcasecmp.
12286 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12287 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12288 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12289
12290 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12291
12292 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12293
12294 * string/Makefile (strop-tests): Add strcasecmp.
12295 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12296 strcasecmp_l-nonascii.
12297 (gen-as-const-headers): Add locale-defines.sym.
12298 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12299 * sysdeps/x86_64/strcasecmp.S: New file.
12300 * sysdeps/x86_64/strcasecmp_l.S: New file.
12301 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12302 * sysdeps/x86_64/locale-defines.sym: New file.
12303 * string/test-strcasecmp.c: New file.
12304
12305 * string/test-strcasestr.c: Test both ends of the range of characters.
12306 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12307
12308 2010-07-29 Roland McGrath <roland@redhat.com>
12309
12310 [BZ #11856]
12311 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12312
12313 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12314
12315 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12316 for ld.so.
12317
12318 2010-07-27 Andreas Schwab <schwab@redhat.com>
12319
12320 * manual/memory.texi (Malloc Tunable Parameters): Document
12321 M_PERTURB.
12322
12323 2010-07-26 Roland McGrath <roland@redhat.com>
12324
12325 [BZ #11840]
12326 * configure.in (-fgnu89-inline check): Set and substitute
12327 gnu89_inline, not libc_cv_gnu89_inline.
12328 * configure: Regenerated.
12329 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12330
12331 2010-07-26 Ulrich Drepper <drepper@redhat.com>
12332
12333 * string/test-strnlen.c: New file.
12334 * string/Makefile (strop-tests): Add strnlen.
12335 * string/tester.c (test_strnlen): Add a few more test cases.
12336 * string/tst-strlen.c: Better error reporting.
12337
12338 * sysdeps/x86_64/strnlen.S: New file.
12339
12340 2010-07-24 Ulrich Drepper <drepper@redhat.com>
12341
12342 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12343 lower-latency instructions.
12344
12345 2010-07-23 Ulrich Drepper <drepper@redhat.com>
12346
12347 * string/test-strcasestr.c: New file.
12348 * string/test-strstr.c: New file.
12349 * string/Makefile (strop-tests): Add strstr and strcasestr.
12350 * string/str-two-way.h: Don't undefine MAX.
12351 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12352
12353 2010-07-21 Andreas Schwab <schwab@redhat.com>
12354
12355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12356 strcasestr-nonascii.
12357 (CFLAGS-strcasestr-nonascii.c): Define.
12358 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12359 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12360 Remove unused attribute.
12361
12362 2010-07-20 Roland McGrath <roland@redhat.com>
12363
12364 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12365 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12366 ld.so.cache was broken. With it, there is no way to disable dsocaps
12367 like LD_HWCAP_MASK can disable hwcaps.
12368
12369 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12370
12371 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12372
12373 2010-07-16 Ulrich Drepper <drepper@redhat.com>
12374
12375 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12376 call in strcasestr.
12377 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12378 __strcasestr_sse42_nonascii.
12379 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12380 strcasestr-nonascii.c.
12381 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12382
12383 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
12384
12385 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12386 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12387 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12388 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12389
12390 2010-07-09 Ulrich Drepper <drepper@redhat.com>
12391
12392 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12393 fcntl.
12394
12395 2010-07-06 Andreas Schwab <schwab@redhat.com>
12396
12397 [BZ #11577]
12398 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12399 dl_signal_cerror.
12400
12401 2010-07-06 Ulrich Drepper <drepper@redhat.com>
12402
12403 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12404 _PC_PIPE_BUF using F_GETPIPE_SZ.
12405
12406 2010-07-05 Roland McGrath <roland@redhat.com>
12407
12408 * manual/arith.texi (Rounding Functions): Fix rint description
12409 implicit in round description.
12410
12411 2010-07-02 Ulrich Drepper <drepper@redhat.com>
12412
12413 * elf/Makefile: Fix linking for a few tests to make recent linker
12414 happy.
12415
12416 2010-06-30 Andreas Schwab <schwab@redhat.com>
12417
12418 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12419 $(common-objpfx)libc_nonshared.a.
12420
12421 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
12422
12423 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12424 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12425 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12426 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12427 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12428 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12429 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12430 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12445 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12446 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12447 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12448 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12449 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12450 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12451 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12452 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12453 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12454 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12455 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12456 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12471
12472 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12473
12474 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12475 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12476 * string/memmove.c (memmove): Renamed to ...
12477 (MEMMOVE): ...this. Default to memmove.
12478 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12479 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12480 (END_CHK): Define.
12481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12482 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12483 mempcpy-ssse3-back memmove-ssse3-back.
12484 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12485 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12486 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12487 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12488 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12489 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12490 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12491 * sysdeps/x86_64/multiarch/memmove.c: New file.
12492 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12493 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12494 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12495 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12496 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12497 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12498 Define.
12499 (index_Fast_Copy_Backward): Define.
12500 (HAS_ARCH_FEATURE): Define.
12501 (HAS_FAST_REP_STRING): Define.
12502 (HAS_FAST_COPY_BACKWARD): Define.
12503
12504 2010-06-21 Andreas Schwab <schwab@redhat.com>
12505
12506 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12507 Restore proper fallback handling.
12508
12509 2010-06-19 Ulrich Drepper <drepper@redhat.com>
12510
12511 [BZ #11701]
12512 * posix/group_member.c (__group_member): Correct checking loop.
12513
12514 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12515 OOM in getpwuid_r correctly. Return error number when the caller
12516 should return, otherwise -1.
12517 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12518 call returning > 0 value.
12519 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12520
12521 2010-06-07 Andreas Schwab <schwab@redhat.com>
12522
12523 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12524 libc_nonshared.a from targets in modules-names.
12525
12526 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12527
12528 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12529 requires it.
12530
12531 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
12532
12533 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12534 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12535 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12536 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12537
12538 2010-06-02 Andreas Schwab <schwab@redhat.com>
12539
12540 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12541
12542 2010-06-14 Ulrich Drepper <drepper@redhat.com>
12543
12544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12545 and F_GETPIPE_SZ.
12546 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12548 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12551 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12552
12553 2010-06-14 Roland McGrath <roland@redhat.com>
12554
12555 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12556
12557 2010-06-07 Jakub Jelinek <jakub@redhat.com>
12558
12559 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12560 __REDIRECT followed by __THROW.
12561 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12562 * posix/getopt.h (getopt): Likewise.
12563
12564 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12565
12566 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12567 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12568 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12569 in AT_FLAGS.
12570 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12571 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12572
12573 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
12574
12575 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12576
12577 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12578
12579 [BZ #11640]
12580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12581 Properly check family and model.
12582
12583 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12584
12585 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12586
12587 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
12588
12589 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12590
12591 2010-05-21 Ulrich Drepper <drepper@redhat.com>
12592
12593 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12594 symbol reference.
12595
12596 2010-05-19 Andreas Schwab <schwab@redhat.com>
12597
12598 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12599 symbol reference.
12600
12601 2010-05-21 Andreas Schwab <schwab@redhat.com>
12602
12603 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12604 and internal_recvmmsg.
12605 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12606 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12607 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12608 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12609
12610 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12611 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12612 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12613
12614 2010-05-20 Andreas Schwab <schwab@redhat.com>
12615
12616 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12617
12618 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
12619
12620 POWER7 optimizations.
12621 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12622 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12623
12624 2010-05-19 Ulrich Drepper <drepper@redhat.com>
12625
12626 * version.h: Update for 2.13 development version.
12627
12628 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
12629
12630 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12631 exceptions. Return 0.
12632
12633 2010-05-07 Roland McGrath <roland@redhat.com>
12634
12635 * elf/ldconfig.c (main): Add a const.
12636
12637 2010-05-06 Ulrich Drepper <drepper@redhat.com>
12638
12639 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12640 (args_options): Add no-idn option.
12641 (ahosts_keys_int): Add idn_flags to ai_flags.
12642 (parse_option): Handle 'i' option to clear idn_flags.
12643
12644 * malloc/malloc.c (_int_free): Possible race in the most recently
12645 added check. Only act on the data if no current modification
12646 happened.
12647
12648 See ChangeLog.17 for earlier changes.