1 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4 usability of symbols in #if.
6 * conform/conformtest.pl: If macro or constant types start
7 "promoted:", expect the symbol to be of the following type
8 promoted by the integer promotions.
10 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11 in one place. Also handle "macro-constant".
13 * conform/conformtest.pl: Only accept expected macro values with
14 "==". Parse all "macro" lines in one place.
15 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17 * conform/conformtest.pl: Handle braced types on "constant" lines
18 instead of handling "typed-constant".
19 * conform/data/signal.h-data: Use "constant" instead of
22 * conform/conformtest.pl: Handle "optional-" at start of lines in
23 one place rather than duplicating several cases. Handle each
24 format of "macro" line with initial "optional-".
26 * conform/conformtest.pl: Only accept expected constant or
27 optional-constant values with "==". Parse all "constant" lines in
28 one place. Parse all "optional-constant" lines in one place.
29 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30 * conform/data/fmtmsg.h-data: Likewise.
31 * conform/data/netinet/in.h-data: Likewise.
32 * conform/data/tar.h-data: Likewise.
33 * conform/data/limits.h-data: Use "==" form on "constant" and
34 "optional-constant" lines.
36 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37 Use -std=c99 for XOPEN2K.
38 (@knownproblems): Remove.
39 (newtoken): Don't check %isknown.
41 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
46 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
54 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
55 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
56 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
57 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
58 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
61 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
62 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
69 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
71 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
72 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73 [XPG3] (acosh): Likewise.
74 [XPG3] (asinh): Likewise.
75 [XPG3] (atanh): Likewise.
76 [XPG3] (cbrt): Likewise.
77 [XPG3] (expm1): Likewise.
78 [XPG3] (ilogb): Likewise.
79 [XPG3] (log1p): Likewise.
80 [XPG3] (logb): Likewise.
81 [XPG3] (nextafter): Likewise.
82 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
84 [XPG3] (remainder): Likewise.
85 [XPG3] (rint): Likewise.
86 [XPG3 || XPG4 || UNIX98] (round): Likewise.
87 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
88 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
89 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
90 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
91 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
92 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
93 [UNIX98 || XOPEN2K] (scalb): Expect.
94 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
95 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
96 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
97 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
98 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
99 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
100 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
101 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
102 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
103 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
104 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
105 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
106 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
107 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
108 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
109 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
110 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
111 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
112 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
113 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
114 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
115 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
116 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
117 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
118 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
119 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
120 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
121 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
122 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
123 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
124 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
125 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
126 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
127 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
128 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
129 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
130 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
131 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
132 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
133 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
134 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
135 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
136 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
137 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
138 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
139 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
140 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
141 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
142 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
143 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
144 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
145 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
146 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
147 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
148 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
149 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
150 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
151 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
152 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
153 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
154 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
155 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
156 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
157 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
158 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
159 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
160 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
161 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
162 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
163 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
164 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
165 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
166 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
167 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
168 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
169 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
170 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
171 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
172 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
173 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
174 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
175 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
176 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
177 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
178 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
179 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
180 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
181 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
182 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
183 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
184 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
185 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
186 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
187 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
188 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
189 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
190 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
191 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
192 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
193 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
194 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
195 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
196 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
197 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
198 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
199 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
200 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
201 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
202 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
203 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
204 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
205 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
206 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
207 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
208 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
209 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
210 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
211 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
212 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
213 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
214 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
215 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
216 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
217 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
218 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
219 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
220 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
221 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
222 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
223 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
224 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
225 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
226 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
227 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
228 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
229 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
230 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
232 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
233 _XOPEN_SOURCE_EXTENDED for XPG4.
235 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
237 * Makeconfig (localtime): Remove variable.
238 (inst_localtime-file): Likewise.
240 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
261 2012-05-01 Joseph Myers <joseph@codesourcery.com>
265 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
266 comparisons to determine direction to adjust input.
267 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
268 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
269 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
271 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
273 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
275 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
276 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
278 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
280 * math/libm-test.inc (nexttoward_test): Add more tests.
282 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
285 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
286 in version GLIBC_2.1, not GLIBC_2.0.
287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
290 2012-04-30 Joseph Myers <joseph@codesourcery.com>
293 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
295 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
296 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
297 * math/libm-test.inc (acos_test): Add more tests.
298 (asin_test): Likewise.
299 * sysdeps/i386/fpu/libm-test-ulps: Update.
300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
303 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
305 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
306 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
307 * math/libm-test.inc (acos_test_tonearest): New function.
308 (acos_test_towardzero): Likewise.
309 (acos_test_downward): Likewise.
310 (acos_test_upward): Likewise.
311 (asin_test_tonearest): Likewise.
312 (asin_test_towardzero): Likewise.
313 (asin_test_downward): Likewise.
314 (asin_test_upward): Likewise.
315 (main): Call the new functions.
316 * sysdeps/i386/fpu/libm-test-ulps: Update.
317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
321 * math/e_exp10.c: Include <float.h>.
322 (__ieee754_exp10): Handle underflow here rather than multiplying
323 large negative argument by M_LN10.
324 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
326 * math/e_exp10l.c: Include <float.h>.
327 (__ieee754_exp10l): Handle underflow here rather than multiplying
328 large negative argument by M_LN10l.
329 * math/libm-test.inc (exp10_test): Add another test. Do not allow
330 spurious overflow exception on underflow.
332 2012-04-29 Marek Polacek <polacek@redhat.com>
334 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
335 (__fortify_function): New macro.
336 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
337 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
338 __extern_always_inline.
339 * libio/bits/stdio2.h: Likewise.
340 * libio/bits/stdio.h: Likewise.
341 * string/string.h: Likewise.
342 * string/bits/string3.h: Likewise.
343 * include/stdio.h: Likewise.
344 * stdlib/bits/stdlib.h: Likewise.
345 * stdlib/stdlib.h: Likewise.
346 * rt/bits/mqueue2.h: Likewise.
347 * rt/mqueue.h: Likewise.
348 * posix/bits/unistd.h: Likewise.
349 * posix/unistd.h: Likewise.
350 * io/bits/poll2.h: Likewise.
351 * io/bits/fcntl2.h: Likewise.
352 * io/fcntl.h: Likewise.
353 * io/sys/poll.h: Likewise.
354 * misc/bits/syslog.h: Likewise.
355 * misc/bits/syslog-ldbl.h: Likewise.
356 * misc/sys/syslog.h: Likewise.
357 * socket/bits/socket2.h: Likewise.
358 * socket/sys/socket.h: Likewise.
359 * debug/tst-chk1.c: Likewise.
360 * wcsmbs/bits/wchar2.h: Likewise.
361 * wcsmbs/bits/wchar-ldbl.h: Likewise.
362 * wcsmbs/wchar.h: Likewise.
364 2012-04-29 Andreas Jaeger <aj@suse.de>
366 * Makerules (tests): Remove enable-check-abi protection.
367 (check-abi-warn): Remove.
368 (check-abi-%): Remove check-abi-warn usage.
370 * configure.in: Remove check-abi configure option.
371 * configure: Regenerated.
372 * config.make.in (enable-check-abi): Remove.
374 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
377 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
378 double functions to double *_finite functions.
381 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
382 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
384 * stdio-common/Makefile (tests): Add tst-sprintf3.
385 * stdio-common/tst-sprintf3.c: New file.
387 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
388 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
390 2012-04-28 Joseph Myers <joseph@codesourcery.com>
392 * conform/conformtest.pl: Remove duplicate typed-constant
395 2012-04-28 David S. Miller <davem@davemloft.net>
397 * Makerules (%.abilist): Add vpath on sysdep_dirs.
398 (check-abi-%): Remove AWK script prerequisite and explicit
400 (check-abi): Rewrite to just diff the symlist with the abilist.
401 (config-tls, config-abi-config): Delete, no longer used.
402 (update-abi-%): Remove AWK script and explicit abilist directory.
403 (update-abi): Rewrite to simply compare and conditionally copy the
404 symlist and the sysdep abilist file. Remove update-abi-config
406 * abilist/ld.abilist: Remove.
407 * abilist/libBrokenLocale.abilist: Remove.
408 * abilist/libanl.abilist: Remove.
409 * abilist/libcrypt.abilist: Remove.
410 * abilist/libdl.abilist: Remove.
411 * abilist/librt.abilist: Remove.
412 * abilist/libthread_db.abilist: Remove.
413 * abilist/libutil.abilist: Remove.
414 * scripts/extract-abilist.awk: Remove.
415 * scripts/merge-abilist.awk: Remove.
416 * sysdeps/generic/libcidn.abilist: New file.
417 * sysdeps/generic/libnss_compat.abilist: New file.
418 * sysdeps/generic/libnss_db.abilist: New file.
419 * sysdeps/generic/libnss_dns.abilist: New file.
420 * sysdeps/generic/libnss_files.abilist: New file.
421 * sysdeps/generic/libnss_hesiod.abilist: New file.
422 * sysdeps/generic/libnss_nis.abilist: New file.
423 * sysdeps/generic/libnss_nisplus.abilist: New file.
424 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
425 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
426 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
428 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
429 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
430 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
431 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
432 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
433 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
434 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
435 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
436 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
438 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
439 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
440 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
441 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
443 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
444 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
445 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
446 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
447 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
448 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
450 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
451 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
452 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
454 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
557 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
558 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
559 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
561 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
562 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
563 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
564 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
565 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
566 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
567 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
568 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
569 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
570 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
622 2012-04-28 Joseph Myers <joseph@codesourcery.com>
624 * conform/conformtest.pl: Fix typo in handling typed-constant from
627 2012-04-27 Joseph Myers <joseph@codesourcery.com>
629 * README: Cut down references to pre-2.6 Linux kernels and
630 Linuxthreads. Update lists of configurations in libc and ports
631 and sort alphabetically. Say "or newer" with Linux kernel version
634 * config.h.in [IS_IN_build]: Allow compiling without optimization.
636 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
639 * math/libm-test.inc (logb_test_downward): New test to expose
640 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
643 2012-04-27 Joseph Myers <joseph@codesourcery.com>
646 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
648 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
649 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
651 2012-04-26 Joseph Myers <joseph@codesourcery.com>
653 * sysdeps/unix/i386/brk.S: Remove file.
654 * sysdeps/unix/i386/dl-brk.S: Likewise.
655 * sysdeps/unix/i386/pipe.S: Likewise.
656 * sysdeps/unix/i386/sigreturn.S: Likewise.
657 * sysdeps/unix/i386/syscall.S: Likewise.
658 * sysdeps/unix/i386/vfork.S: Likewise.
659 * sysdeps/unix/i386/wait.S: Likewise.
661 * sysdeps/unix/common/tcsendbrk.c: Move to ...
662 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
664 * configure.in (arm*-none*): Do not allow without
665 --enable-hacker-mode.
666 (netbsd*): Remove case setting base_os.
668 (freebsd*): Likewise.
683 (solaris[2-9]*): Likewise.
685 * configure: Regenerated.
687 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
690 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
691 overflow or cancellation in calculating denominator.
692 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
693 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
694 down expression to avoid unexpected rounding in newer GCCs.
695 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
697 2012-04-26 David S. Miller <davem@davemloft.net>
699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
700 long-double compat symbols.
701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
715 2012-04-25 David S. Miller <davem@davemloft.net>
717 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
718 HWCAP_* values only after the memory barriers have been defined.
719 (atomic_full_barrier): Define.
720 (atomic_read_barrier): Define.
721 (atomic_write_barrier): Define.
723 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
725 * shlib-versions: Add libgcc_s version information.
726 * sysdeps/generic/libgcc_s.h: Remove.
727 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
729 * sysdeps/gnu/unwind-resume.c: Likewise.
730 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
732 2012-04-25 David S. Miller <davem@davemloft.net>
734 * sysdeps/unix/sparc/brk.S: Delete.
735 * sysdeps/unix/sparc/dl-brk.S: Delete.
736 * sysdeps/unix/sparc/pipe.S: Delete.
737 * sysdeps/unix/sparc/sysdep.S: Delete.
738 * sysdeps/unix/sparc/sysdep.h: Delete.
739 * sysdeps/unix/sparc/vfork.S: Delete.
740 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
741 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
742 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
743 ret_ERRVAL, r0, r1, MOVE): Define.
744 (JUMPTARGET): Remove.
745 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
746 sysdeps/unix/sparc/sysdep.h
747 (ENTRY, END): Remove.
748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
750 2012-04-25 Joseph Myers <joseph@codesourcery.com>
752 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
753 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
756 * timezone/README: Update upstream location and email address for
758 * timezone/zdump.c: Update from tzcode 2012b.
759 * timezone/zic.c: Likewise.
761 * configure.in (libc_cv_as_needed): Remove test.
762 * configure: Regenerated.
763 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
764 conditional definition.
765 [$(have-as-needed) != yes] (no-as-needed): Likewise.
766 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
767 * config.make.in (have-as-needed): Remove variable.
769 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
770 Paul Pluzhnikov <ppluzhnikov@google.com>
772 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
775 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
777 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
778 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
779 * sysdeps/sh/strlen.S: Likewise.
781 2012-04-24 Joseph Myers <joseph@codesourcery.com>
783 * sysdeps/unix/fork.S: Remove file.
784 * sysdeps/unix/i386/fork.S: Likewise.
785 * sysdeps/unix/sparc/fork.S: Likewise.
787 * sysdeps/unix/system.c: Remove file.
788 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
790 * sysdeps/unix/getegid.S: Remove file.
791 * sysdeps/unix/geteuid.S: Likewise.
793 2012-04-24 Roland McGrath <roland@hack.frob.com>
795 * scripts/check-localplt.awk: New file.
796 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
798 * scripts/data/localplt-generic.data: Add a comment.
800 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
801 NODE when __dir_mkfile failed.
802 * sysdeps/mach/hurd/symlinkat.c: Likewise.
803 Reported by Ludovic Courtès <ludo@gnu.org>.
805 2012-04-24 Andreas Jaeger <aj@suse.de>
807 * Makerules (common-clean): Also remove gen-as-const-headers
810 2012-04-24 Joseph Myers <joseph@codesourcery.com>
812 * Makerules (native-compile): Do not change working directory for
813 build. Use $(OUTPUT_OPTION) in command.
814 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
816 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
819 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
820 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
821 * math/libm-test.inc (floor_test): Add more tests.
822 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
824 2012-04-24 Joseph Myers <joseph@codesourcery.com>
826 * sysdeps/unix/getdents.c: Remove file.
827 * sysdeps/unix/sysv/getdents.c: Likewise.
828 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
830 * sysdeps/unix/syscalls.list (madvise): Add syscall from
831 sysdeps/unix/mman/syscalls.list.
833 (mprotect): Likewise.
836 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
837 * sysdeps/unix/mman/syscalls.list: Remove.
838 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
840 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
841 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
842 * configure: Regenerated.
843 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
845 * config.make.in (libgcc_s_suffix): Remove variable.
847 2012-04-23 Joseph Myers <joseph@codesourcery.com>
849 * sysdeps/unix/sysv/gethostname.c: Move to ...
850 * sysdeps/posix/gethostname.c: ... here.
852 * sysdeps/unix/execve.S: Remove file.
854 * sysdeps/unix/_exit.S: Remove file.
856 2012-04-23 Andreas Jaeger <aj@suse.de>
859 * manual/Makefile: Remove make dist support, there's no
860 need for a stand-alone documentation tar ball.
861 (TEXI2DVI): Define always, it's not in Makeconfig.
865 (glibc-doc-$(edition).tar): Removed
869 (ETAGS): Remove, it's in Makeconfig.
870 (move-if-change): Remove, it's in Makeconfig.
872 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
875 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
876 (strtod, strtof, strtold, strtol, strtoul, strtoq)
877 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
878 (strtod_l, strtof_l, strtold_l): Remove __wur.
879 It is not necessarily an error to ignore strtol's return value.
880 One can reliably look at the stored endptr to decide whether
881 the number had valid syntax.
883 2012-04-21 Andreas Jaeger <aj@suse.de>
886 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
888 2012-04-21 Joseph Myers <joseph@codesourcery.com>
890 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
891 * sysdeps/unix/sysv/Versions: Remove file.
893 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
898 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
901 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
904 2012-04-20 Joseph Myers <joseph@codesourcery.com>
906 * sysdeps/unix/common/lxstat.c: Remove file.
907 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
909 * sysdeps/unix/sysv/Makefile: Remove file.
911 * sysdeps/unix/sysv/direct.h: Remove file.
913 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
914 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
915 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
916 * sysdeps/unix/sysv/bits/signum.h: Likewise.
917 * sysdeps/unix/sysv/bits/stat.h: Likewise.
918 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
919 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
921 * sysdeps/unix/sysv/setrlimit.c: Remove file.
923 * sysdeps/unix/xmknod.c: Remove file.
924 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
926 * sysdeps/unix/sysv/settimeofday.c: Remove file.
928 * sysdeps/unix/sysv/i386/time.S: Remove file.
930 * sysdeps/unix/fxstat.c: Remove file.
931 * sysdeps/unix/xstat.c: Likewise.
932 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
934 * sysdeps/unix/sysv/sigaction.c: Remove file.
936 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
937 (sysdep_headers): Remove variable.
938 [termio.h not in sysdep_headers] (generated): Likewise.
939 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
940 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
941 * sysdeps/unix/sysv/tcdrain.c: Likewise.
942 * sysdeps/unix/sysv/tcflow.c: Likewise.
943 * sysdeps/unix/sysv/tcflush.c: Likewise.
944 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
945 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
946 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
947 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
948 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
950 * sysdeps/unix/siglist.c: Remove file.
952 * sysdeps/unix/getppid.S: Remove file.
954 * sysdeps/unix/mkdir.c: Remove file.
955 * sysdeps/unix/rmdir.c: Likewise.
957 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
959 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
961 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
962 errlist-compat value.
964 2012-04-18 David S. Miller <davem@davemloft.net>
966 * sysdeps/generic/memcopy.h (reg_char): Delete.
967 * debug/strcat_chk.c: Use char, not reg_char.
968 * debug/strcpy_chk.c: Likewise.
969 * debug/strncat_chk.c: Likewise.
970 * debug/strncpy_chk.c: Likewise.
971 * string/memchr.c: Likewise.
972 * string/memrchr.c: Likewise.
973 * string/rawmemchr.c: Likewise.
974 * string/strcat.c: Likewise.
975 * string/strchr.c: Likewise.
976 * string/strchrnul.c: Likewise.
977 * string/strcmp.c: Likewise.
978 * string/strcpy.c: Likewise.
979 * string/strncat.c: Likewise.
980 * string/strncmp.c: Likewise.
981 * string/strncpy.c: Likewise.
983 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
985 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
986 __builtin_memcopy is called when src and dest ranges are known to not
989 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
991 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
992 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
993 fwd_align_merge macro call.
994 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
995 bwd_align_merge macro call.
996 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
998 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1000 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1001 bwd_align_merge macros.
1002 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1003 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1004 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1006 2012-04-18 David S. Miller <davem@davemloft.net>
1008 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1010 2012-04-18 Andreas Jaeger <aj@suse.de>
1013 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1014 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1015 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1017 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1018 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1019 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1021 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1022 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1023 Adjust for changed ldbl-128 files.
1025 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1026 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1027 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1029 2012-04-17 David S. Miller <davem@davemloft.net>
1031 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1033 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1035 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1036 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1037 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1038 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1039 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1040 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1042 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1045 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1046 * math/libm-test.inc: Add ilogb errno and exception tests.
1047 * math/w_ilogb.c: New file: ilogb wrapper.
1048 * math/w_ilogbf.c: New file: ilogbf wrapper.
1049 * math/w_ilogbl.c: New file: ilogbl wrapper.
1050 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1051 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1052 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1053 exception being thrown with 0.0 as argument.
1054 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1055 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1056 exception being thrown with 0.0 as argument.
1057 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1058 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1059 exception being thrown with 0.0 as argument.
1060 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1061 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1062 exception being thrown with 0.0 as argument.
1063 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1064 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1065 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1066 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1067 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1068 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1069 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1070 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1071 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1073 2012-04-17 Petr Baudis <pasky@ucw.cz>
1075 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1078 2012-04-16 Marek Polacek <polacek@redhat.com>
1080 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1082 2012-04-16 Marek Polacek <polacek@redhat.com>
1084 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1085 operands of fdivp instruction.
1087 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1089 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1090 * elf/tst-auditmod3b.c: Likewise.
1091 * elf/tst-auditmod4b.c: Likewise.
1092 * elf/tst-auditmod5b.c: Likewise.
1093 * elf/tst-auditmod6b.c: Likewise.
1094 * elf/tst-auditmod6c.c: Likewise.
1095 * elf/tst-auditmod7b.c: Likewise.
1096 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1097 * sysdeps/x86_64/preconfigure.in: Likewise.
1098 * sysdeps/x86_64/preconfigure: Regenerated.
1100 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1102 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1105 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1107 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1108 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1110 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1113 * locale/iso-639.def: Fix gl language name. Spotted by
1116 2012-04-12 Roland McGrath <roland@hack.frob.com>
1119 * libio/libio.h (__io_write_fn): Update comment.
1121 2012-04-12 Petr Baudis <pasky@ucw.cz>
1124 * stdio.texi (Hook Functions): The user provided writer function
1125 is not allowed to return -1.
1127 2012-04-11 David S. Miller <davem@davemloft.net>
1129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1131 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1133 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1134 Add a leading slash to rtkaio.
1136 2012-04-11 Jim Meyering <meyering@redhat.com>
1139 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1140 It is not necessarily an error to ignore fwrite's return
1141 value. One can reliably use ferror to test for errors after
1144 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1146 * bits/types.h (__snseconds_t): New type.
1147 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1149 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1151 (__SNSECONDS_T_TYPE): Likewise.
1152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1153 (__SNSECONDS_T_TYPE): Likewise.
1154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1155 (__SNSECONDS_T_TYPE): Likewise.
1157 2012-04-10 Andreas Jaeger <aj@suse.de>
1160 * manual/time.texi (Processor Time): Return type of times is
1161 elapsed real time since an arbitrary point in the past.
1162 (CPU Time): Move CLK_TCK from here...
1163 (Processor Time): ...to here. Correct description.
1164 * manual/conf.texi (Constants for Sysconf): Correct description of
1167 2012-04-10 David S. Miller <davem@davemloft.net>
1170 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1171 where the is a gap between DT_REL(A) and DT_JMPREL.
1173 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1175 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1176 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1177 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1179 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1181 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1182 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1183 (dl_main): Handle --inhibit-cache.
1184 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1186 * elf/dl-load.c (_dl_map_object): Use it.
1187 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1189 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1192 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1193 (__ieee754_powl): Saturate large exponents rather than testing for
1194 overflow of y*log2(x).
1195 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1196 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1200 * math/s_ctan.c: Include <float.h>.
1201 (__ctan): Avoid internal overflow or cancellation in calculating
1203 * math/s_ctanf.c: Likewise.
1204 * math/s_ctanl.c: Likewise.
1205 * math/s_ctanh.c: Likewise.
1206 * math/s_ctanhf.c: Likewise.
1207 * math/s_ctanhl.c: Likewise.
1208 * math/libm-test.inc (ctan_test): Add more tests.
1209 (ctanh_test): Likewise.
1210 * sysdeps/i386/fpu/libm-test-ulps: Update.
1211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1213 2012-04-09 Andreas Jaeger <aj@suse.de>
1216 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1217 is an optional BSD extension.
1220 * manual/stdio.texi (Opening Streams): Document additional fopen
1223 2012-04-09 Roland McGrath <roland@hack.frob.com>
1225 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1226 %eax without telling the compiler.
1228 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1231 * manual/install.texi: Use sourceware.org.
1233 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1236 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1237 (__ieee754_pow): Generate overflow and underflow using huge*huge
1238 and tiny*tiny rather than just returning constant infinity or zero
1239 for large exponents.
1240 * math/libm-test.inc (pow_test): Require overflow exceptions for
1241 applicable cases of large exponents.
1244 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1245 (__ieee754_pow): Use iterative multiplication algorithm only for
1246 integer exponents with absolute value below 1024. Check for odd
1247 integer exponents when using algorithm for real exponents.
1248 * math/libm-test.inc (pow_test): Add more tests.
1249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1251 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1254 * math/libm-test.inc (exp_test): Do not allow overflow exception
1257 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1260 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1261 instead of __kernel_standard_f.
1263 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1265 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1266 * sysdeps/x86_64/memset_chk.S: Likewise.
1268 2012-04-08 Andreas Jaeger <aj@suse.de>
1271 * manual/startup.texi (Environment Access): Describe return value
1272 for putenv and setenv.
1275 * manual/filesys.texi (Directory Entries): Add description for
1279 * manual/filesys.texi (Directory Entries): Clarify that it's file
1280 system not operating system in the description of DT_UNKNOWN.
1283 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1285 2012-04-08 Stephen Compall <s11@member.fsf.org>
1288 * manual/llio.texi (Opening and Closing Files): Add cross
1289 reference to explain mode argument.
1291 2012-04-07 Mike Frysinger <vapier@gentoo.org>
1293 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1294 * sysdeps/x86_64/memset_chk.S: Likewise.
1296 2012-04-07 David S. Miller <davem@davemloft.net>
1298 * elf/elf.h (R_SPARC_WDISP10): Define.
1299 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1301 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1302 R_SPARC_SIZE64 and R_SPARC_H34.
1304 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1306 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1307 conditions and remove no longer applicable assertion.
1309 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1311 * bits/byteswap.h: Include <features.h>.
1312 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1313 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1315 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1317 * bits/byteswap.h (__bswap_16): Removed.
1318 Include <bits/byteswap-16.h> to get __bswap_16.
1319 * sysdeps/i386/bits/byteswap.h: Likewise.
1320 * sysdeps/s390/bits/byteswap.h: Likewise.
1321 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1322 * bits/byteswap-16.h: New file.
1323 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1324 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1325 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1326 * string/Makefile (headers): Add bits/byteswap-16.h.
1328 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1331 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1333 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1334 * nss/tst-nss-static.c: New.
1336 2012-04-06 Robert Millan <rmh@gnu.org>
1339 * manual/llio.texi (File Position Primitive): lseek
1340 refers to WHENCE when it really means OFFSET.
1342 2012-04-06 Andreas Jaeger <aj@suse.de>
1344 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1345 strncmp declarations.
1347 * abilist/libc.abilist: Add __poll and __ppoll.
1349 2012-04-05 David S. Miller <davem@davemloft.net>
1351 * scripts/check-local-headers.sh: Accept a host triplet in the
1352 path matched by the exclude regexp.
1354 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1356 * sysdeps/powerpc/powerpc32/dl-machine.h
1357 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1358 * sysdeps/s390/s390-32/dl-machine.h
1359 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1360 * sysdeps/sparc/sparc32/dl-machine.h
1361 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1362 * sysdeps/sparc/sparc64/dl-machine.h
1363 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1365 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1367 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1368 undefined symbol errors.
1370 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1373 2012-04-05 Michael Matz <matz@suse.de>
1376 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1378 2012-04-05 Andreas Jaeger <aj@suse.de>
1381 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1384 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1386 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1387 which ROUND is no valid rounding mode.
1389 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1391 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1393 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1395 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1397 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1398 an exception using FPU order intentionally.
1400 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1402 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1403 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1404 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1405 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1407 2012-04-05 Simon Josefsson <simon@josefsson.org>
1410 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1411 EINVAL when BUFLEN is too smal.
1413 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1416 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1417 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1419 2012-04-03 Andreas Jaeger <aj@suse.de>
1422 * manual/setjmp.texi (System V contexts): Fix sentence.
1425 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1426 New macro for this case.
1427 [!__GNUC__] (__bswap_64): New inline function for this case.
1428 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1429 * bits/byteswap.h: Likewise.
1430 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1431 ull, guard with __GLIBC_HAVE_LONG_LONG.
1433 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1434 __GLIBC_HAVE_LONG_LONG.
1436 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1437 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1439 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1442 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1443 inptr and inend, rather than using last_ch.
1445 2012-04-02 David S. Miller <davem@davemloft.net>
1447 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1448 * stdio-common/printf-parse.h (read_int): Change return type to
1449 'int', return -1 on INT_MAX overflow.
1450 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1451 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1452 overflows INT_MAX. Check for overflow of in-format-string precision
1453 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1454 SIZE_MAX not INT_MAX for integer overflow test.
1455 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1456 skip the construct in the format string but do not record anything.
1457 * stdio-common/bug22.c: Adjust to test both width/prevision
1458 INT_MAX overflow as well as total length INT_MAX overflow. Check
1459 explicitly for proper errno values.
1461 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1463 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1465 * string/test-strcmp.c [! WIDE]: Likewise.
1466 * time/tst-mktime2.c: Likewise for INT_MAX.
1467 * string/test-string.h: #include <sys/param.h> for MIN.
1469 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1470 * sysdeps/i386/init-first.c (init): Likewise.
1471 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1472 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1473 * sysdeps/sh/init-first.c (init): Likewise.
1475 2012-04-01 Ulrich Drepper <drepper@gmail.com>
1477 * po/ru.po: Update from translation team.
1478 * po/vi.po: Likewise.
1480 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1482 * resolv/nss_dns/dns-host.c: Merge copyright years.
1484 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1486 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1487 Optimize memcpy with prefetch if
1488 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1489 src, dst pointers have unequal 16 byte alignments.
1491 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1494 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1495 from a CNAME entry and return the minimum ttl for the query.
1496 (gaih_getanswer_slice): Likewise.
1498 2012-03-30 Jeff Law <law@redhat.com>
1500 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1502 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1503 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1505 * resolv/nss_dns/dns-host.c: Update copyright year.
1507 2012-03-30 Ulrich Drepper <drepper@gmail.com>
1509 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1510 requests to save a system call. Fix check that all bytes are sent.
1512 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1513 comments for sendmmsg.
1515 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1518 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1519 with only 1 character between 0x0041 and 0x01b0.
1520 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1521 * wcsmbs/tst-mbsnrtowcs.c: New file.
1523 2012-03-29 David S. Miller <davem@davemloft.net>
1525 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1526 small copies by hand.
1528 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1531 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1532 _nss_compat_initgroups_dyn): Fall back to malloc/free
1533 for large group memberships.
1535 2012-03-28 David S. Miller <davem@davemloft.net>
1537 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1538 that branches into memcpy.
1539 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1540 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1541 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1542 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1545 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1547 * sysdeps/sparc/mempcpy.S: New file.
1549 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1550 the IFUNC routine in the libc case.
1551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1553 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1554 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1555 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1556 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1557 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1558 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1559 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1560 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1562 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1563 loop to 256 bytes instead of 64 bytes and fix test signedness.
1565 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1566 * sysdeps/sparc/sparc32/Makefile: rather than here...
1567 * sysdeps/sparc/sparc64/Makefile: and here.
1569 2012-03-28 Ulrich Drepper <drepper@gmail.com>
1571 * malloc/mallocbug.c: Avoid warnings about unused variables.
1573 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1576 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1577 in the right place. Discard and retry query if response is
1578 larger than input buffer size.
1580 2012-03-28 Joseph Myers <joseph@codesourcery.com>
1585 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1586 x for large integer exponent.
1587 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1588 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1589 sign of result as needed afterwards.
1590 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1591 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1592 result for underflowing pow the same as for overflow.
1593 (__kernel_standard_l): Handle powl overflow and underflow here
1594 rather than calling __kernel_standard.
1595 * math/libm-test.inc (pow_test): Add more tests.
1610 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1611 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1612 (__kernel_standard_l): New function.
1613 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1615 * math/w_acosl.c (__acosl): Likewise.
1616 * math/w_asinl.c (__asinl): Likewise.
1617 * math/w_atan2l.c (__atan2l): Likewise.
1618 * math/w_atanhl.c (__atanhl): Likewise.
1619 * math/w_coshl.c (__coshl): Likewise.
1620 * math/w_exp10l.c (__exp10l): Likewise.
1621 * math/w_exp2l.c (__exp2l): Likewise.
1622 * math/w_fmodl.c (__fmodl): Likewise.
1623 * math/w_hypotl.c (__hypotl): Likewise.
1624 * math/w_j0l.c (__j0l, __y0l): Likewise.
1625 * math/w_j1l.c (__j1l, __y1l): Likewise.
1626 * math/w_jnl.c (__jnl, __ynl): Likewise.
1627 * math/w_lgammal.c (__lgammal): Likewise.
1628 * math/w_log10l.c (__log10l): Likewise.
1629 * math/w_log2l.c (__log2l): Likewise.
1630 * math/w_logl.c (__logl): Likewise.
1631 * math/w_powl.c (__powl): Likewise.
1632 * math/w_remainderl.c (__remainderl): Likewise.
1633 * math/w_scalbl.c (sysv_scalbl): Likewise.
1634 * math/w_sinhl.c (__sinhl): Likewise.
1635 * math/w_sqrtl.c (__sqrtl): Likewise.
1636 * math/w_tgammal.c (__tgammal): Likewise.
1637 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1638 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1639 * math/libm-test.inc (acos_test): Add more tests.
1640 (acosh_test): Likewise.
1641 (asin_test): Likewise.
1642 (atanh_test): Likewise.
1643 (exp_test): Likewise.
1644 (exp10_test): Likewise.
1645 (exp2_test): Likewise.
1646 (expm1_test): Likewise.
1647 (lgamma_test): Likewise.
1648 (log_test): Likewise.
1649 (log10_test): Likewise.
1650 (log1p_test): Likewise.
1651 (log2_test): Likewise.
1652 (pow_test): Do not allow some spurious overflow exceptions.
1653 (sqrt_test): Add more tests.
1654 (tgamma_test): Likewise.
1655 (y0_test): Likewise.
1656 (y1_test): Likewise.
1657 (yn_test): Likewise.
1659 2012-03-27 Anton Blanchard <anton@samba.org>
1661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1663 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1664 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1667 2012-03-27 David S. Miller <davem@davemloft.net>
1669 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1671 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1674 2012-03-27 Andreas Jaeger <aj@suse.de>
1676 * sysdeps/x86_64/elf/configure.in: Moved to ...
1677 * sysdeps/x86_64/configure.in: ... here.
1678 * sysdeps/x86_64/elf/start.S: Moved to ...
1679 * sysdeps/x86_64/start.S: ... here.
1680 * sysdeps/x86_64/elf/configure: Delete.
1682 * sysdeps/x86_64/configure.in: Merge contents from
1683 sysdeps/i386/configure.in (without i686 check).
1685 * sysdeps/i386/elf/Versions: Merge into ...
1686 * sysdeps/i386/Versions: ... this.
1687 * sysdeps/i386/elf/Versions: Delete file.
1688 * sysdeps/i386/elf/start.S: Moved to ...
1689 * sysdeps/i386/start.S: ...here.
1690 * sysdeps/i386/elf/configure.in: Merge into...
1691 * sysdeps/i386/configure.in: ...here.
1692 * sysdeps/i386/elf/configure.in: Delete file.
1693 * sysdeps/i386/elf/configure: Delete file.
1695 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1696 * debug/backtracesyms.c: ... here.
1697 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1698 * debug/backtracesymsfd.c: ... here.
1699 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1700 * sysdeps/generic/ifunc-sel.h: ... here.
1702 * sysdeps/unix/i386/start.c: Delete file.
1703 * sysdeps/unix/sparc/start.c: Delete file.
1704 * sysdeps/unix/start.c: Delete file.
1706 * sysdeps/sh/elf/configure.in: Moved to ...
1707 * sysdeps/sh/configure.in: ... here.
1708 * sysdeps/sh/elf/start.S: Moved to ...
1709 * sysdeps/sh/start.S: ... here.
1710 * sysdeps/sh/elf/configure: Delete file.
1712 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1713 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1714 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1715 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1716 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1717 * sysdeps/powerpc/powerpc64/start.S: here.
1718 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1719 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1720 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1721 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1722 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1724 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1725 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1726 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1727 * sysdeps/powerpc/powerpc32/start.S: ... here.
1728 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1729 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1730 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1732 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1733 * sysdeps/powerpc/ifunc-sel.h: ... here.
1734 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1735 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1737 * sysdeps/sparc/elf/configure.in: Moved to ...
1738 * sysdeps/sparc/configure.in: ... here.
1739 * sysdeps/sparc/elf/configure: Delete file.
1740 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1741 * sysdeps/sparc/sparc32/start.S: ... here.
1742 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1743 * sysdeps/sparc/sparc64/start.S: ... here.
1744 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1745 * sysdeps/sparc/sparc32/Makefile: ... this.
1746 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1747 * sysdeps/sparc/sparc64/Makefile: ... this.
1749 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1750 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1751 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1752 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1753 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1754 * sysdeps/s390/s390-32/setjmp.S: ... here.
1755 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1756 * sysdeps/s390/s390-32/configure.in: ... here.
1757 * sysdeps/s390/s390-32/elf/configure: Delete file.
1758 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1759 * sysdeps/s390/s390-32/start.S: ... here.
1761 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1762 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1763 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1764 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1765 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1766 * sysdeps/s390/s390-64/setjmp.S: ... here.
1767 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1768 * sysdeps/s390/s390-64/configure.in: ... here
1769 * sysdeps/s390/s390-64/elf/configure: Delete file.
1770 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1771 * sysdeps/s390/s390-64/start.S: ... here.
1772 * sysdeps/s390/s390-64/elf/configure: Delete.
1774 * configure.in: Remove support for elf directories in sysdeps.
1776 * configure: Regenerated.
1777 * sysdeps/i386/configure: Regenerated.
1778 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1779 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1780 * sysdeps/s390/s390-32/configure: Regenerated.
1781 * sysdeps/s390/s390-64/configure: Regenerated.
1782 * sysdeps/sh/configure: Regenerated.
1783 * sysdeps/sparc/configure: Regenerated.
1784 * sysdeps/x86_64/configure: Regenerated.
1786 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1790 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1791 denormal result into account.
1793 2012-03-25 Roland McGrath <roland@hack.frob.com>
1795 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1796 Reported by Allan McRae <allan@archlinux.org>.
1798 2012-03-23 Jeff Law <law@redhat.com>
1800 * nss/getnssent.c (__nss_getent): Fix typo.
1802 2012-03-23 David S. Miller <davem@davemloft.net>
1804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1806 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1808 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1809 to pad to uint64_t for each field.
1810 (dl_tls_index): Replace unsigned long with uint64_t.
1812 2012-03-23 Daniel Jacobowitz <dmj@google.com>
1813 Paul Pluzhnikov <ppluzhnikov@google.com>
1816 * grp/Makefile (otherlibs): Don't set it.
1817 * inet/Makefile (otherlibs): Likewise.
1818 * login/Makefile (otherlibs): Likewise.
1819 * nscd/Makefile (otherlibs): Likewise.
1820 * posix/Makefile (otherlibs): Likewise.
1821 * pwd/Makefile (otherlibs): Likewise.
1822 * rt/Makefile (otherlibs): Likewise.
1823 * sunrpc/Makefile (otherlibs): Likewise.
1824 * nss/Makefile (otherlibs): Likewise.
1825 Add libnss_files to routines and static-only-routines.
1826 ($(objpfx)getent): Remove rule.
1827 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1828 static-only-routines.
1830 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1833 * math/s_cexp.c: Include <float.h>.
1834 (__cexp): Handle exp result overflowing not necessarily
1835 overflowing both real and imaginary parts of result.
1836 * math/s_cexpf.c: Likewise.
1837 * math/s_cexpl.c: Likewise.
1838 * math/libm-test.inc (cexp_test): Add more tests.
1839 * sysdeps/i386/fpu/libm-test-ulps: Update.
1840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1842 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1844 * include/link.h (ELFW): New macro.
1845 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1846 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1848 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1850 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1853 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1855 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1857 (struct La_x32_retval): Likewise.
1859 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1861 * sysdeps/x86_64/preconfigure.in: New file.
1862 * sysdeps/x86_64/preconfigure: New generated file.
1864 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1867 * math/e_exp2l.c: Include <float.h>.
1868 (__ieee754_exp2l): Handle overflow and underflow cases
1869 separately. Only pass fractional part of argument to
1871 * math/libm-test.inc (exp2_test): Add more tests.
1873 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1874 negating x to take absolute value.
1875 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1877 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1878 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1880 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1881 computing low part if x was negated.
1882 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1884 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1886 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1888 (pltexit): Cast int_retval to ptrdiff_t.
1889 * elf/tst-auditmod3b.c: Likewise.
1890 * elf/tst-auditmod4b.c: Likewise.
1891 * elf/tst-auditmod5b.c: Likewise.
1892 * elf/tst-auditmod6b.c: Likewise.
1893 * elf/tst-auditmod6c.c: Likewise.
1894 * elf/tst-auditmod7b.c: Likewise.
1896 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1897 and x32_gnu_pltexit.
1899 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1901 (La_x32_regs): New macro.
1902 (La_x32_retval): Likewise.
1903 (la_x32_gnu_pltenter): New function prototype.
1904 (la_x32_gnu_pltexit): Likewise.
1906 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1908 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1913 * configure.in (libc_cv_cc_nofma): Check for option to disable
1914 generation of FMA instructions.
1915 * configure: Regenerate.
1916 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1917 * sysdeps/ieee754/dbl-64/Makefile: New file.
1918 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1919 Remove brandred-fma4.
1920 (CFLAGS-brandred-fma4.c): Remove.
1921 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1922 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1924 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1927 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1929 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1930 LLONG_MAX != LONG_MAX.
1931 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1932 (_fitoa_word): Likewise.
1933 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1934 LLONG_MAX != LONG_MAX.
1935 * stdio-common/_itowa.h: Include <_itoa.h>.
1936 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1937 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1938 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1939 only if not defined.
1940 (_ITOA_WORD_TYPE): Likewise.
1941 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1942 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1944 2012-03-21 David S. Miller <davem@davemloft.net>
1946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1948 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1950 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1951 of x86_64 when setting libc_cv_slibdir, libdir and
1953 * sysdeps/unix/sysv/linux/configure: Regenerated.
1955 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1957 * manual/lang.texi (Old Varargs): Remove section.
1958 (How Variadic): Update menu.
1959 (va_start): Do not mention varargs.h.
1961 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1962 Joseph Myers <joseph@codesourcery.com>
1964 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1966 * configure: Regenerated.
1968 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1970 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1971 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1974 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1977 * Makefile (files-for-dist): Remove NOTES.
1978 (NOTES): Remove rule.
1979 * README: Don't refer to NOTES.
1980 * manual/creature.texi: Don't include macros.texi.
1981 * manual/intro.texi (creature.texi): Remove comment referring to
1984 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1985 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1986 * configure: Regenerated.
1987 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1989 (libc_cv_as_i686): Likewise.
1990 (libc_cv_cc_avx): Likewise.
1991 (libc_cv_cc_sse2avx): Likewise.
1992 (libc_cv_cc_fma4): Likewise.
1993 (libc_cv_cc_novzeroupper): Likewise.
1994 * sysdeps/i386/configure: Regenerated.
1997 * sysdeps/i386/fpu/s_cexp.S: Remove.
1998 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1999 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2000 * math/libm-test.inc (cexp_test): Add more tests.
2001 * sysdeps/i386/fpu/libm-test-ulps: Update.
2002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2004 2012-03-21 Allan McRae <allan@archlinux.org>
2006 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2008 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2011 * math/w_exp2.c: Do not include <float.h>.
2012 (o_threshold, u_threshold): Remove.
2013 (__exp2): Calculate result before checking finiteness and calling
2015 * math/w_exp2f.c: Likewise.
2016 * math/w_exp2l.c: Likewise.
2017 * math/libm-test.inc (exp2_test): Require overflow exception for
2021 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2022 range of signed 64-bit integers before using fistpll. Remove
2023 checks for whether integers fit in mantissa bits.
2024 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2025 the range of signed 32-bit integers before using fistpl. Remove
2026 checks for whether integers fit in mantissa bits.
2027 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2028 (__ieee754_powl): Test for y outside the range of signed 64-bit
2029 integers before using fistpll. Reduce 64-bit values to 63-bit
2031 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2032 divide-by-zero is raised for zero to large negative powers.
2033 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2034 (__ieee754_powl): Test for y outside the range of signed 64-bit
2035 integers before using fistpll. Reduce 64-bit values to 63-bit
2037 * math/libm-test.inc (pow_test): Add more tests.
2039 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2041 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2042 <stdio-common/_itoa.h>.
2043 * debug/segfault.c: Likewise.
2044 * elf/dl-cache.c: Likewise.
2045 * elf/dl-minimal.c: Likewise.
2046 * elf/dl-misc.c: Likewise.
2047 * elf/dl-sysdep.c: Likewise.
2048 * elf/dl-version.c: Likewise.
2049 * elf/rtld.c: Likewise.
2050 * hurd/hurdsock.c: Likewise.
2051 * hurd/lookup-retry.c: Likewise.
2052 * malloc/malloc.c: Likewise.
2053 * malloc/mtrace.c: Likewise.
2054 * nscd/nscd_getgr_r.c: Likewise.
2055 * nscd/nscd_getpw_r.c: Likewise.
2056 * nscd/nscd_getserv_r.c: Likewise.
2057 * posix/getopt_init.c: Likewise.
2058 * posix/wordexp.c: Likewise.
2059 * stdio-common/_itoa.c: Likewise.
2060 * stdio-common/printf_fphex.c: Likewise.
2061 * stdio-common/vfprintf.c: Likewise.
2062 * string/_strerror.c: Likewise.
2063 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2064 * sysdeps/i386/i686/hp-timing.h: Likewise.
2065 * sysdeps/mach/_strerror.c: Likewise.
2066 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2067 * sysdeps/mach/hurd/sethostid.c: Likewise.
2068 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2069 * sysdeps/mach/xpg-strerror.c: Likewise.
2070 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2071 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2072 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2073 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2074 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2075 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2076 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2077 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2078 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2079 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2080 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2081 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2082 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2083 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2084 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2085 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2086 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2087 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2088 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2089 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2090 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2092 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2094 * stdio-common/_itoa.h: Moved to ...
2095 * sysdeps/generic/_itoa.h: Here.
2097 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2099 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2100 instead of "_itoa.h" and "_itowa.h".
2101 * stdio-common/vfprintf.: Likewise.
2103 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2105 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2107 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2108 (__signbit): Likwise.
2112 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2114 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2117 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2119 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2120 OVERFLOW_EXCEPTION_OK.
2121 * math/libm-test.inc ("Philosophy"): Update comment about
2123 (OVERFLOW_EXCEPTION): Define.
2124 (OVERFLOW_EXCEPTION_OK): Likewise.
2125 (INVALID_EXCEPTION_OK): Renumber.
2126 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2127 (IGNORE_ZERO_INF_SIGN): Likewise.
2128 (test_exceptions): Handle FE_OVERFLOW.
2129 (exp10_test): Expect overflow exceptions.
2130 (exp2_test): Likewise.
2131 (expm1_test): Likewise.
2132 (nextafter_test): Likewise.
2133 (pow_test): Likewise.
2134 (scalbn_test): Likewise.
2135 (scalbln_test): Likewise.
2137 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2139 * sysdeps/x86_64/bits/atomic.h
2140 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2142 (atomic_exchange_acq): Likewise.
2143 (__arch_exchange_and_add_body): Likewise.
2144 (__arch_add_body): Likewise.
2145 (atomic_add_negative): Likewise.
2146 (atomic_add_zero): Likewise.
2148 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2150 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2151 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2153 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2155 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2156 Check __x86_64__ instead of __WORDSIZE.
2158 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2160 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2162 2012-03-19 David S. Miller <davem@davemloft.net>
2164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2166 * sysdeps/sparc/fpu/fenv_private.h: New file.
2167 * sysdeps/sparc/fpu/math_private.h: Use it.
2168 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2170 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2171 (libc_feholdexcept_setroundl): Remove.
2172 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2174 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2175 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2177 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2179 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2180 int64_t instead of long int.
2181 (INSERT_WORDS64): Likwise.
2183 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2185 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2186 _Unwind_GetCFA return to _Unwind_Ptr first.
2188 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2191 * math/s_clog.c: Include <float.h>.
2192 (__clog): Scale large or subnormal inputs.
2193 * math/s_clogf.c: Likewise.
2194 * math/s_clogl.c: Likewise.
2195 * math/s_clog10.c: Include <float.h>.
2196 (M_LOG10_2): Define.
2197 (__clog10): Scale large or subnormal inputs.
2198 * math/s_clog10f.c: Likewise.
2199 * math/s_clog10l.c: Likewise.
2200 * math/libm-test.inc (clog_test): Add more tests.
2201 (clog10_test): Likewise.
2202 * sysdeps/i386/fpu/libm-test-ulps: Update.
2203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2206 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2208 * math/libm-test.inc (atan2_test): Add another test.
2210 * Makerules (common-objdir-compile): Remove.
2211 * sysdeps/unix/Makefile (config-generated): Do not add
2212 $(unix-generated) to variable.
2213 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2214 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2216 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2218 [generic bits/local_lim.h] (before-compile): Do not append to
2220 [generic bits/local_lim.h] (common-generated): Likewise.
2221 [generic sys/param.h] (before-compile): Do not append to variable.
2222 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2223 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2224 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2225 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2227 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2228 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2229 [generic sys/param.h] ($(addprefix
2230 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2231 [generic sys/param.h] (common-generated): Do not append to
2233 [generic sys/param.h] (sysdep_headers): Likewise.
2234 [generic bits/errno.h] (before-compile): Do not append to
2236 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2238 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2239 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2240 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2241 [generic bits/errno.h] (common-generated): Do not append to
2243 [generic bits/ioctls.h] (before-compile): Do not append to
2245 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2247 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2248 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2249 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2251 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2252 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2253 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2254 [generic bits/ioctls.h] (common-generated): Do not append to
2256 [generic sys/syscall.h] (syscall.h): Remove variable.
2257 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2259 [generic sys/syscall.h] (before-compile): Do not append to
2261 [generic sys/syscall.h] (common-generated): Likewise.
2262 * sysdeps/unix/errnos-tmpl.c: Remove file.
2263 * sysdeps/unix/errnos.awk: Likewise.
2264 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2265 * sysdeps/unix/ioctls.awk: Likewise.
2266 * sysdeps/unix/mk-local_lim.c: Likewise.
2267 * sysdeps/unix/snarf-ioctls: Likewise.
2269 2012-03-19 Richard Henderson <rth@twiddle.net>
2271 * sysdeps/i386/fpu/fenv_private.h: New file.
2272 * sysdeps/i386/fpu/math_private.h: Use it.
2273 (math_opt_barrier, math_force_eval): Remove.
2274 (libc_feholdexcept_setround_53bit): Remove.
2275 (libc_feupdateenv_53bit): Remove.
2276 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2277 (math_opt_barrier, math_force_eval): Remove.
2278 (libc_feholdexcept): Remove.
2279 (libc_feholdexcept_setround): Remove.
2280 (libc_fetestexcept, libc_fesetenv): Remove.
2281 (libc_feupdateenv_test): Remove.
2282 (libc_feupdateenv, libc_feholdsetround): Remove.
2283 (libc_feresetround): Remove.
2285 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2286 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2288 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2289 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2290 (libc_feupdateenv_testl): New.
2291 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2292 (libc_feupdateenv_testf): New.
2293 (libc_feupdateenv): Use libc_feupdateenv_test.
2294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2295 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2297 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2298 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2299 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2300 (libc_feresetround_noex): New.
2301 (libc_feresetround_noexf): New.
2302 (libc_feresetround_noexl): New.
2303 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2304 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2305 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2306 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2308 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2309 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2311 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2312 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2313 SET_RESTORE_ROUND_NOEX.
2314 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2315 SET_RESTORE_ROUND_NOEXF.
2316 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2317 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2318 (libc_feholdsetroundf): New.
2319 (libc_feresetround, libc_feresetroundf): New.
2321 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2322 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2323 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2325 * sysdeps/generic/math_private.h: Include <fenv.h>.
2326 (default_libc_feholdexcept): New.
2327 (default_libc_feholdexcept_setround): New.
2328 (default_libc_fesetenv, default_libc_feupdateenv): New.
2329 (libc_feholdexcept): Only define if undefined.
2330 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2331 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2332 (libc_feholdexcept_setroundl): Likewise.
2333 (libc_feholdexcept_setround_53bit): Likewise.
2334 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2335 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2336 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2337 (libc_feupdateenv_53bit): Likewise.
2338 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2339 (libc_feholdexcept): Convert from macro to inline function.
2340 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2341 (libc_fesetenv, libc_feupdateenv): Likewise.
2343 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2344 not previously defined.
2345 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2346 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2347 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2348 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2349 * sysdeps/ieee754/flt-32/math_private.h: New file.
2350 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2351 math_private.h below SET_FLOAT_WORD.
2352 (__isnan, __isinf_ns, __finite): Remove.
2353 (__isnanf, __isinf_nsf, __finitef): Remove.
2355 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2359 2012-03-17 David S. Miller <davem@davemloft.net>
2362 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2365 2012-03-16 David S. Miller <davem@davemloft.net>
2367 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2371 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2373 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2374 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2375 sysdep_routines when subdir is sysvipc.
2376 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2379 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2381 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2383 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2386 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2388 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2389 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2390 (__lround): Renamed to ...
2391 (__llround): This. Replace long int with long long int.
2392 Define lround functions as aliases of llround functions.
2393 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2395 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2397 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2398 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2399 adresses to uintptr_t. Replace "long int" and "unsigned long
2400 int" with "greg_t" on va_arg.
2402 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2404 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2405 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2407 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2408 Move e_machine check before EI_CLASS check. Handle x32
2409 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2410 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2411 SKIP_EM_IA_64 and include
2412 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2414 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2415 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2416 (add_system_dir): New macro.
2418 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2419 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2421 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2432 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2434 * math/w_j0f.c (j0f): Likewise.
2436 * math/w_j0l.c (__j0l): Likewise.
2438 * math/w_j1.c (j1): Likewise.
2440 * math/w_j1f.c (j1f): Likewise.
2442 * math/w_j1l.c (__j1l): Likewise.
2444 * math/w_jn.c (jn): Likewise.
2446 * math/w_jnf.c (jnf): Likewise.
2448 * math/w_jnl.c (__jnl): Likewise.
2450 * math/libm-test.inc (j0_test): Add more tests.
2451 (j1_test): Likewise.
2452 (jn_test): Likewise. Add trailing semicolon to existing test.
2453 (y0_test): Likewise.
2454 (y1_test): Likewise.
2455 * sysdeps/i386/fpu/libm-test-ulps: Update.
2456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2460 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2461 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2462 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2463 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2464 (__tanl): Set errno for infinite argument.
2465 * sysdeps/i386/fpu/mptan.c: Remove.
2466 * sysdeps/i386/fpu/s_tan.S: Likewise.
2467 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2468 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2469 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2470 * math/libm-test.inc (tan_test): Add more tests and enable more
2471 tests for double and long double.
2472 * sysdeps/i386/fpu/libm-test-ulps: Update.
2473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2475 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2477 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2478 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2480 2012-03-16 Roland McGrath <roland@hack.frob.com>
2482 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2483 * configure.in: Use it for both main tree and add-ons.
2484 * configure: Regenerated.
2486 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2488 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2490 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2492 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2496 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2497 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2498 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2499 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2500 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2502 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2505 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2506 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2507 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2508 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2509 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2510 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2511 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2512 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2513 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2514 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2515 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2516 * math/libm-test.inc (cos_test): Add more tests and enable more
2517 tests for long double.
2518 (sin_test): Likewise.
2519 (sincos_test): Likewise.
2520 * sysdeps/i386/fpu/libm-test-ulps: Update.
2521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2523 2012-03-16 David S. Miller <davem@davemloft.net>
2525 * sysdeps/sparc/fpu/math_private.h: New file.
2527 2012-03-15 David S. Miller <davem@davemloft.net>
2529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2543 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2544 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2546 * sysdeps/sparc/sparc-ifunc.h: New file.
2547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2573 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2574 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2585 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2589 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2590 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2592 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2594 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2598 2012-03-15 Andreas Jaeger <aj@suse.de>
2601 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2602 ieee754/flt-32 implementation for sin, cos and sincos.
2603 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2604 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2605 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2606 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2607 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2608 ieee754/flt-32 implementation for tan.
2610 * math/libm-test.inc (cos_test): Enable some large input tests for
2612 (sin_test): Likewise.
2613 (sincos_test): Likewise.
2614 (tan_test): Add tests for large input.
2616 * sysdeps/i386/fpu/libm-test-ulps: Update.
2618 2012-03-15 Andreas Jaeger <aj@suse.de>
2621 * math/libm-test.inc (cos_test): Add more test cases.
2622 (sin_test): Likewise.
2623 (sincos_test): Likewise.
2625 2012-03-15 Andreas Jaeger <aj@suse.de>
2628 * math/libm-test.inc (cos_test): Add a test case for large input
2630 (sin_test): Likewise.
2631 (sincos_test): Likewise.
2633 2012-03-15 Andreas Jaeger <aj@suse.de>,
2634 Joseph Myers <joseph@codesourcery.com>
2637 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2638 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2639 * sysdeps/i386/fpu/branred.c: Likewise.
2640 * sysdeps/i386/fpu/dosincos.c: Likewise.
2641 * sysdeps/i386/fpu/mpa.c: Likewise.
2642 * sysdeps/i386/fpu/s_cos.S: Likewise.
2643 * sysdeps/i386/fpu/s_sin.S: Likewise.
2644 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2645 * sysdeps/i386/fpu/sincos32.c: Likewise.
2647 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2649 (libc_feupdateenv_53bit): Define.
2650 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2652 (libc_feupdateenv_53bit): Define.
2654 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2655 53 bit (without extend i386 double precision).
2657 * math/libm-test.inc (sincos_test): Add tests for large input.
2661 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2663 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2667 2012-03-15 David S. Miller <davem@davemloft.net>
2669 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2670 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2671 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2672 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2697 fmin/fmax sysdep routines.
2698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2700 2012-03-14 David S. Miller <davem@davemloft.net>
2702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2706 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2723 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2724 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2726 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2727 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2774 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2779 * sysdeps/sparc/configure.in: New file.
2780 * sysdeps/sparc/configure: Generate.
2781 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2782 * configure: Regenerate.
2783 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2784 * config.make.in (have-as-vis3): New.
2785 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2786 available use -Av9d instead of -Av9a.
2787 * sysdeps/sparc/sparc64/Makefile: Likewise.
2788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2797 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2798 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2799 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2800 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2803 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2804 fzeros/fnegs to load 0x80000000 into a float register instead of
2806 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2808 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2812 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2813 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2814 ($(inst_includedir)/bits/syscall.h): Remove rule.
2815 ($(objpfx)bits/syscall.d): Include instead of
2816 $(objpfx)syscall-list.d.
2817 (generated): Change syscall-list.h and syscall-list.d to
2818 bits/syscall.h and bits/syscall.d.
2820 2012-03-14 Roland McGrath <roland@hack.frob.com>
2823 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2825 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2828 * math/s_csqrt.c: Include <float.h>.
2829 (__csqrt): Scale large or subnormal inputs.
2830 * math/s_csqrtf.c: Likewise.
2831 * math/s_csqrtl.c: Likewise.
2832 * math/libm-test.inc (csqrt_test): Add more tests.
2833 * sysdeps/i386/fpu/libm-test-ulps: Update.
2834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2837 * math/libm-test.inc (hypot_test): Add more tests.
2839 2012-03-13 David S. Miller <davem@davemloft.net>
2842 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2843 double-precision for the calculation instead of scaling.
2845 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2847 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2848 manipulate bits before adding and subtracting TWO52[sx].
2849 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2850 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2852 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2854 2012-03-13 David S. Miller <davem@davemloft.net>
2856 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2857 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2859 rtld-global-offsets.h
2860 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2862 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2865 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2867 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2868 'err' in the ifdef scope in which it is actually used.
2870 * nss/nss_db/db-init.c: Include string.h
2872 2012-03-12 David S. Miller <davem@davemloft.net>
2874 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2875 masking out of the most significant byte of random value used.
2876 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2877 Fix coding style in previous change.
2879 * sysdeps/unix/sysv/linux/kernel-features.h
2880 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2881 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2883 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2886 2012-03-11 David S. Miller <davem@davemloft.net>
2888 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2889 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2890 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2891 for 'resultvar' otherwise things get truncated on 64-bit.
2893 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2894 Fix masking out of the most significant byte of random value used.
2896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2898 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2902 2012-03-09 David S. Miller <davem@davemloft.net>
2904 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2905 variables with appropriate CPP guards.
2906 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2907 frame pointer, not the stack pointer. Correct layout comments. Fix test
2908 on resulting framesize and the management of the outregs buffer for pltexit.
2909 Preserve floating point return values across _dl_call_pltexit call.
2910 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2911 framesize and the management of the outregs buffer for pltexit.
2912 Preserve floating point return values across _dl_call_pltexit
2914 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2915 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2916 (print_exit): Fix format string for return register value.
2918 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2920 * sunrpc/Makefile (others): Add rpcgen.
2921 ($(objpfx)rpcgen): Remove special build rule and dependency on
2923 * sunrpc/rpcgen.c: New file.
2925 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2928 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2929 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2930 * sysdeps/i386/crti.S: Likewise.
2931 * sysdeps/i386/crtn.S: Likewise.
2932 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2933 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2934 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2935 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2936 * sysdeps/sh/crti.S: Likewise.
2937 * sysdeps/sh/crtn.S: Likewise.
2938 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2941 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2943 * locale/programs/locfile-kw.gperf: Likewise.
2944 * locale/programs/charmap-kw.h: Regenerated.
2945 * locale/programs/locfile-kw.h: Likewise.
2948 * intl/plural.y: Replace FSF snail mail address with URL.
2949 * intl/plural.c: Regenerated.
2951 2012-03-09 Richard Henderson <rth@twiddle.net>
2953 * include/math_private.h: Remove file.
2954 * math/math_private.h: Move file ...
2955 * sysdeps/generic/math_private.h: ... here.
2957 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2958 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2959 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2961 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2962 and <math_private.h>.
2963 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2964 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2965 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2966 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2967 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2968 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2969 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2970 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2971 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2972 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2974 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2978 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2979 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2983 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2984 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2985 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2987 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2988 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2989 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2990 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2992 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2993 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2994 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2995 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2996 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3002 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3003 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3013 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3014 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3015 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3017 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3018 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3019 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3020 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3021 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3022 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3023 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3024 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3025 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3026 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3027 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3028 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3029 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3030 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3031 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3032 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3033 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3034 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3035 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3036 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3037 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3038 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3039 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3040 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3041 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3042 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3043 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3044 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3045 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3046 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3047 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3048 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3049 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3050 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3051 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3052 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3053 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3054 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3055 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3056 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3057 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3058 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3059 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3060 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3061 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3062 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3063 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3064 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3065 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3066 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3067 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3068 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3069 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3070 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3071 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3072 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3073 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3074 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3075 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3076 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3077 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3078 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3079 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3080 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3081 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3082 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3083 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3084 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3085 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3086 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3087 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3088 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3089 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3090 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3091 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3092 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3093 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3094 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3095 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3096 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3097 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3098 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3099 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3100 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3101 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3102 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3103 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3104 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3105 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3106 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3107 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3108 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3109 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3110 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3111 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3112 * sysdeps/ieee754/k_standard.c: Likewise.
3113 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3114 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3115 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3116 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3117 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3119 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3120 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3121 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3122 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3123 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3124 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3125 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3126 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3127 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3129 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3130 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3131 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3132 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3133 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3134 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3135 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3136 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3137 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3138 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3139 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3140 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3141 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3142 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3143 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3144 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3145 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3146 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3147 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3148 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3149 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3150 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3151 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3152 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3153 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3154 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3155 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3156 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3157 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3158 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3159 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3160 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3161 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3162 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3163 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3164 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3165 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3166 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3167 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3168 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3169 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3171 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3172 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3173 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3177 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3179 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3181 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3182 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3183 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3185 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3186 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3187 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3188 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3189 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3190 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3191 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3192 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3193 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3194 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3195 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3196 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3197 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3198 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3201 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3202 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3203 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3204 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3205 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3206 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3207 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3208 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3209 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3210 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3211 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3212 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3214 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3215 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3216 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3217 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3218 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3219 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3220 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3221 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3222 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3223 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3224 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3225 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3226 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3228 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3230 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3231 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3232 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3233 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3234 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3235 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3237 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3238 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3239 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3240 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3241 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3242 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3243 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3244 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3245 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3246 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3247 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3248 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3249 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3250 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3251 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3252 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3253 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3254 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3255 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3256 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3257 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3258 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3259 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3260 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3261 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3262 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3263 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3264 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3265 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3266 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3268 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3269 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3270 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3271 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3272 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3273 * sysdeps/ieee754/s_lib_version.c: Likewise.
3274 * sysdeps/ieee754/s_matherr.c: Likewise.
3275 * sysdeps/ieee754/s_signgam.c: Likewise.
3276 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3277 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3278 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3279 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3280 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3281 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3282 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3283 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3284 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3285 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3286 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3287 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3288 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3289 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3290 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3291 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3292 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3293 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3294 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3295 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3296 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3298 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3300 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3301 * sunrpc/rpc_main.c: Likewise.
3302 * sunrpc/rpc_svcout.c: Likewise.
3304 2012-03-09 David S. Miller <davem@davemloft.net>
3306 * include/math_private.h: New file.
3308 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3310 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3311 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3312 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3313 from <bits/socket_type.h>.
3314 (enum __socket_type): Don't define here.
3315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3316 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3320 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3323 * Makerules ($(inst_includedir)/%.h): New rule.
3324 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3325 (install-others): Remove variable setting.
3326 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3328 2012-03-08 Richard Henderson <rth@twiddle.net>
3330 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3331 from macro to inline function; merge with the
3332 !__LIBC_INTERNAL_MATH_INLINES version.
3333 (__ieee754_sqrtf): Likewise.
3335 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3337 (__rintf, __floor, __floorf): Likewise.
3339 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3340 macro to inline function.
3341 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3343 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3344 not <math/math_private.h>.
3346 2012-03-08 David S. Miller <davem@davemloft.net>
3348 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3350 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3352 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3354 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3356 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3357 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3359 2012-03-08 Ulrich Drepper <drepper@gmail.com>
3361 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3362 be defined individually, they must be defined as a block. Define
3363 S for printing a string instead of hidint the different by using a
3364 macro for adding the 'l'.
3365 * stdio-common/tst-fphex-wide.c: Adjust.
3367 2012-03-07 Marek Polacek <polacek@redhat.com>
3369 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3371 2012-03-08 Marek Polacek <polacek@redhat.com>
3374 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3375 * stdio-common/tst-fphex.c: Define a few macros to make the
3376 test reusable. Use them.
3377 * stdio-common/tst-fphex-wide.c: New file.
3379 2012-03-08 Joseph Myers <joseph@codesourcery.com>
3382 * manual/macros.texi (gnusystems): New macro.
3383 (nongnusystems): Likewise.
3384 (gnulinuxhurdsystems): Likewise.
3385 (gnuhurdsystems): Likewise..
3386 (gnulinuxsystems): Likewise.
3387 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3388 variants of the GNU system, not "GNU system".
3389 * manual/conf.texi: Likewise.
3390 * manual/errno.texi: Likewise. Update example of errno macro
3392 * manual/filesys.texi: Likewise.
3393 (getumask): Document as specific to GNU/Hurd.
3394 * manual/install.texi: Likewise. Reword some references to
3396 * manual/intro.texi: Likewise.
3397 * manual/io.texi: Likewise.
3398 (File Name Portability): Detail which constraints are inapplicable
3399 to all GNU systems and which are only inapplicable to GNU/Hurd.
3400 * manual/job.texi: Likewise.
3401 * manual/llio.texi: Likewise.
3402 (O_NOCTTY): Document as present on GNU/Linux.
3403 * manual/maint.texi: Likewise.
3404 * manual/memory.texi: Likewise.
3405 * manual/pattern.texi: Likewise.
3406 * manual/pipe.texi: Likewise.
3407 * manual/process.texi: Likewise.
3408 * manual/resource.texi: Likewise.
3409 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3411 * manual/setjmp.texi: Likewise.
3412 * manual/signal.texi: Likewise.
3413 * manual/startup.texi: Likewise.
3414 * manual/stdio.texi: Likewise.
3415 * manual/terminal.texi: Likewise.
3416 (ONLCR): Document as POSIX.
3417 (OXTABS): Document availability on GNU/Linux as XTABS.
3418 (ONOEOT): Document availability separately from other bits.
3419 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3420 * manual/time.texi: Likewise.
3421 * manual/users.texi: Likewise.
3422 * INSTALL: Regenerated.
3423 * sysdeps/gnu/errlist.c: Regenerated.
3425 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3426 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3427 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3429 * configure: Regenerated.
3431 2012-03-07 Joseph Myers <joseph@codesourcery.com>
3433 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3434 default includes instead of AC_HEADER_CHECK.
3435 * sysdeps/i386/configure: Regenerated.
3438 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3439 * math/s_cacoshf.c (__cacoshf): Likewise.
3440 * math/s_cacoshl.c (__cacoshl): Likewise.
3441 * math/s_casinh.c (__casinh): Set signs of result from argument.
3442 * math/s_casinhf.c (__casinhf): Likewise.
3443 * math/s_casinhl.c (__casinhl): Likewise.
3444 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3445 (casinh_test): Add more tests.
3446 * sysdeps/i386/fpu/libm-test-ulps: Update.
3447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3449 2012-03-07 Ulrich Drepper <drepper@gmail.com>
3451 * po/zh_TW.po: Update from translation team.
3453 * login/Makefile (distribute): Remove variable.
3454 * catgets/Makefile: Likewise.
3455 * mach/Makefile: Likewise.
3456 * malloc/Makefile: Likewise.
3457 * misc/Makefile: Likewise.
3458 * iconv/Makefile: Likewise.
3459 * nscd/Makefile: Likewise.
3460 * hurd/Makefile: Likewise.
3461 * manual/Makefile: Likewise.
3462 * locale/Makefile: Likewise.
3463 * intl/Makefile: Likewise.
3464 * conform/Makefile: Likewise.
3465 * nss/Makefile: Likewise.
3466 * time/Makefile: Likewise.
3467 * soft-fp/Makefile: Likewise.
3468 * dirent/Makefile: Likewise.
3469 * gmon/Makefile: Likewise.
3470 * po/Makefile: Likewise.
3471 * rt/Makefile: Likewise.
3472 * socket/Makefile: Likewise.
3473 * math/Makefile: Likewise.
3474 * signal/Makefile: Likewise.
3475 * debug/Makefile: Likewise.
3476 * elf/Makefile: Likewise.
3477 * timezone/Makefile: Likewise.
3478 * stdlib/Makefile: Likewise.
3479 * iconvdata/Makefile: Likewise.
3480 * sunrpc/Makefile: Likewise.
3481 * io/Makefile: Likewise.
3482 * argp/Makefile: Likewise.
3483 * inet/Makefile: Likewise.
3484 * hesiod/Makefile: Likewise.
3485 * grp/Makefile: Likewise.
3486 * csu/Makefile: Likewise.
3487 * wctype/Makefile: Likewise.
3488 * crypt/Makefile: Likewise.
3489 * libio/Makefile: Likewise.
3490 * string/Makefile: Likewise.
3491 * nis/Makefile: Likewise.
3492 * resolv/Makefile: Likewise.
3493 * stdio-common/Makefile: Likewise.
3494 * wcsmbs/Makefile: Likewise.
3495 * dlfcn/Makefile: Likewise.
3496 * posix/Makefile: Likewise.
3499 * timezone/Makefile: Don't install timezone files, just the programs
3502 2012-03-06 Ulrich Drepper <drepper@gmail.com>
3504 * nss/databases.def: Add missing gshadow entry.
3506 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3508 2012-03-06 Marek Polacek <polacek@redhat.com>
3511 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3512 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3513 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3514 * stdio-common/tst-long-dbl-fphex.c: New file.
3516 2012-03-06 David S. Miller <davem@davemloft.net>
3518 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3519 (set_obp_int): New function.
3520 (get_obp_int): New function.
3521 (__get_clockfreq_via_dev_openprom): Likewise.
3522 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3523 Avoid unused variable warnings on 'val' and use builtin_expect.
3524 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3526 (INLINE_CLONE_SYSCALL): Likewise.
3528 2012-03-05 David S. Miller <davem@davemloft.net>
3530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3532 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3536 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3538 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3540 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
3542 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3543 Replace gettimeofday with __vdso_gettimeofday.
3545 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3546 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3547 __vdso_clock_gettime and __vdso_getcpu.
3549 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3550 time with __vdso_time.
3552 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3554 * manual/lang.texi (size_t): Note types to which size_t may be
3555 equivalent with the GNU C Library, but do not describe when
3556 differences between them are significant.
3558 2012-03-05 Andreas Jaeger <aj@suse.de>
3560 * sysdeps/i386/fpu/libm-test-ulps: Update.
3562 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3565 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3566 (__ieee754_pow): Save and restore rounding mode and use
3567 round-to-nearest for main computations.
3568 * math/libm-test.inc (pow_test_tonearest): New function.
3569 (pow_test_towardzero): Likewise.
3570 (pow_test_downward): Likewise.
3571 (pow_test_upward): Likewise.
3572 (main): Call the new functions.
3573 * sysdeps/i386/fpu/libm-test-ulps: Update.
3574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3577 * math/libm-test.inc (cosh_test_tonearest): New function.
3578 (cosh_test_towardzero): Likewise.
3579 (cosh_test_downward): Likewise.
3580 (cosh_test_upward): Likewise.
3581 (sinh_test_tonearest): Likewise.
3582 (sinh_test_towardzero): Likewise.
3583 (sinh_test_downward): Likewise.
3584 (sinh_test_upward): Likewise.
3585 (main): Call the new functions.
3586 * sysdeps/i386/fpu/libm-test-ulps: Update.
3587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3589 2012-03-05 Tom de Vries <tom@codesourcery.com>
3591 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3592 default stack guard is set in last bytes.
3593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3595 2012-03-05 Kees Cook <keescook@chromium.org>
3597 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3600 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3601 possibly allocate from heap instead of stack.
3602 * stdio-common/bug-vfprintf-nargs.c: New file.
3603 * stdio-common/Makefile (tests): Add nargs overflow test.
3605 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3609 2012-03-03 Marek Polacek <polacek@redhat.com>
3611 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3612 * math/math_private.h: Likewise.
3613 * stdlib/tst-strtod.c: Likewise.
3614 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3615 * sysdeps/x86_64/bits/atomic.h: Likewise.
3617 2012-03-02 David S. Miller <davem@davemloft.net>
3619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3623 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3624 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3625 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3626 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3628 2012-03-02 Roland McGrath <roland@hack.frob.com>
3631 * manual/examples/README: New file, says the example source files
3632 can be used under GPL>=2.
3633 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3634 line containing just "*/".
3635 * manual/examples/add.c: Add copyright header (GPL>=2).
3636 * manual/examples/argp-ex1.c: Likewise.
3637 * manual/examples/argp-ex2.c: Likewise.
3638 * manual/examples/argp-ex3.c: Likewise.
3639 * manual/examples/argp-ex4.c: Likewise.
3640 * manual/examples/atexit.c: Likewise.
3641 * manual/examples/db.c: Likewise.
3642 * manual/examples/dir.c: Likewise.
3643 * manual/examples/dir2.c: Likewise.
3644 * manual/examples/execinfo.c: Likewise.
3645 * manual/examples/filecli.c: Likewise.
3646 * manual/examples/filesrv.c: Likewise.
3647 * manual/examples/fmtmsgexpl.c: Likewise.
3648 * manual/examples/genpass.c: Likewise.
3649 * manual/examples/inetcli.c: Likewise.
3650 * manual/examples/inetsrv.c: Likewise.
3651 * manual/examples/isockad.c: Likewise.
3652 * manual/examples/longopt.c: Likewise.
3653 * manual/examples/memopen.c: Likewise.
3654 * manual/examples/memstrm.c: Likewise.
3655 * manual/examples/mkfsock.c: Likewise.
3656 * manual/examples/mkisock.c: Likewise.
3657 * manual/examples/mygetpass.c: Likewise.
3658 * manual/examples/pipe.c: Likewise.
3659 * manual/examples/popen.c: Likewise.
3660 * manual/examples/rprintf.c: Likewise.
3661 * manual/examples/search.c: Likewise.
3662 * manual/examples/select.c: Likewise.
3663 * manual/examples/setjmp.c: Likewise.
3664 * manual/examples/sigh1.c: Likewise.
3665 * manual/examples/sigusr.c: Likewise.
3666 * manual/examples/stpcpy.c: Likewise.
3667 * manual/examples/strdupa.c: Likewise.
3668 * manual/examples/strftim.c: Likewise.
3669 * manual/examples/strncat.c: Likewise.
3670 * manual/examples/subopt.c: Likewise.
3671 * manual/examples/swapcontext.c: Likewise.
3672 * manual/examples/termios.c: Likewise.
3673 * manual/examples/testopt.c: Likewise.
3674 * manual/examples/testpass.c: Likewise.
3675 * manual/examples/timeval_subtract.c: Likewise.
3678 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3680 * manual/timeval_subtract.c.texi: ... here, new file.
3682 2012-03-02 David S. Miller <davem@davemloft.net>
3684 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3686 2012-03-02 Joseph Myers <joseph@codesourcery.com>
3689 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3690 (__sin): Save and restore rounding mode and use round-to-nearest
3691 for all computations.
3692 (__cos): Save and restore rounding mode and use round-to-nearest
3693 for all computations.
3694 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3696 (tan): Save and restore rounding mode and use round-to-nearest for
3698 * math/libm-test.inc (cos_test_tonearest): New function.
3699 (cos_test_towardzero): Likewise.
3700 (cos_test_downward): Likewise.
3701 (cos_test_upward): Likewise.
3702 (sin_test_tonearest): Likewise.
3703 (sin_test_towardzero): Likewise.
3704 (sin_test_downward): Likewise.
3705 (sin_test_upward): Likewise.
3706 (tan_test_tonearest): Likewise.
3707 (tan_test_towardzero): Likewise.
3708 (tan_test_downward): Likewise.
3709 (tan_test_upward): Likewise.
3710 (main): Call the new functions.
3711 * sysdeps/i386/fpu/libm-test-ulps: Update.
3712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3715 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3716 small n, then large n, before computing and testing k+n.
3717 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3718 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3720 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3722 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3723 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3724 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3725 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3726 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3727 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3728 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3729 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3730 * math/libm-test.inc (scalbn_test): Add more tests.
3731 (scalbln_test): Likewise.
3733 * manual/filesys.texi (mode_t): Describe constraints on size and
3734 signedness, not exact equivalence to a particular type.
3736 (ino64_t): Likewise.
3738 (nlink_t): Likewise.
3739 (blkcnt_t): Likewise.
3740 (blkcnt64_t): Likewise.
3741 * manual/llio.texi (off_t): Likewise.
3744 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3745 (__ieee754_exp): Save and restore rounding mode and use
3746 round-to-nearest for all computations.
3747 * math/libm-test.inc (exp_test_tonearest): New function.
3748 (exp_test_towardzero): Likewise.
3749 (exp_test_downward): Likewise.
3750 (exp_test_upward): Likewise.
3751 (main): Call the new functions.
3752 * sysdeps/i386/fpu/libm-test-ulps: Update.
3753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3755 2012-03-01 Chris Demetriou <cgd@google.com>
3757 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3758 have predictable order.
3760 2012-03-01 David S. Miller <davem@davemloft.net>
3762 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3764 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3765 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3766 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3767 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3769 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3770 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3771 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3773 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3774 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3775 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3776 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3777 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3781 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3782 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3783 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3785 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3786 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3787 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3788 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3789 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3790 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3791 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3792 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3793 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3794 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3795 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3796 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3797 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3798 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3799 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3801 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3802 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3803 * sysdeps/sparc/elf/configure: Regenerated.
3805 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3807 * configure.in (AS, LD): Require binutils 2.20 or later.
3808 * configure: Regenerated.
3809 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3810 as required minimum version.
3811 * INSTALL: Regenerated.
3815 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3816 before squaring exponent.
3817 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3818 bottom long double and 27 bits of top long double before squaring
3820 * math/libm-test.inc (erfc_test): Add more tests.
3821 * sysdeps/i386/fpu/libm-test-ulps: Update.
3822 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3825 2012-03-01 Kai Tietz <ktietz@redhat.com>
3827 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3828 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3829 containing bit-fields.
3830 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3831 * soft-fp/single.h (_FP_UNION_S): Likewise.
3832 * soft-fp/double.h (_FP_UNION_D): Likewise.
3834 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3837 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3838 not include ../strcmp.S.
3839 [USE_AS_STRNCASECMP_L]: Likewise.
3840 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3841 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3842 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3843 (__strncasecmp_l_ia32): Define as alias to
3844 __strncasecmp_l_nonascii.
3847 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3848 * sysdeps/i386/fpu/libm-test-ulps: Update.
3849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3851 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3854 2012-02-29 Jeff Law <law@redhat.com>
3856 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3859 2012-02-29 Marek Polacek <polacek@redhat.com>
3862 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3863 * elf/Makefile: Add rules to run tst-unused-dep.out.
3865 2012-02-28 David S. Miller <davem@davemloft.net>
3867 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3868 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3869 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3870 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3871 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3872 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3874 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3876 * math/libm-test.inc (llround_test): Move one test from
3877 lround_test. Use TEST_f_L in moved test.
3878 (lround_test): Move misplaced test to llround_test. Add testcase
3881 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3883 * sysdeps/x86_64/fpu/e_expf.S: New file.
3884 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3886 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3889 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3890 of remain_len that may cause incomplete multi-byte character and
3892 * posix/bug-regex33.c: New file.
3893 * posix/Makefile (tests): Add bug-regex33.
3895 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3897 * manual/macros.texi: New file.
3898 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3899 * manual/libc.texinfo: Include macros.texi.
3900 * manual/creatute.texi: Likewise.
3901 * manual/install.texi: Likewise.
3902 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3903 @glibcadj{} in references to the GNU C Library.
3904 * manual/charset.texi: Likewise.
3905 * manual/conf.texi: Likewise.
3906 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3907 when not using those macros.
3908 * manual/creature.texi: Likewise.
3909 * manual/crypt.texi: Likewise.
3910 * manual/errno.texi: Likewise.
3911 * manual/filesys.texi: Likewise.
3912 * manual/header.texi: Likewise.
3913 * manual/install.texi: Likewise.
3914 * manual/intro.texi: Likewise.
3915 * manual/io.texi: Likewise.
3916 * manual/job.texi: Likewise.
3917 * manual/lang.texi: Likewise.
3918 * manual/libc.texiinfo: Likewise.
3919 * manual/llio.texi: Likewise.
3920 * manual/locale.texi: Likewise.
3921 * manual/maint.texi: Likewise.
3922 * manual/math.texi: Likewise.
3923 * manual/memory.texi: Likewise.
3924 * manual/message.texi: Likewise.
3925 * manual/nss.texi: Likewise.
3926 * manual/pattern.texi: Likewise.
3927 * manual/process.texi: Likewise.
3928 * manual/resource.texi: Likewise.
3929 * manual/search.texi: Likewise.
3930 * manual/setjmp.texi: Likewise.
3931 * manual/signal.texi: Likewise.
3932 * manual/socket.texi: Likewise.
3933 * manual/startup.texi: Likewise.
3934 * manual/stdio.texi: Likewise.
3935 * manual/string.texi: Likewise.
3936 * manual/sysinfo.texi: Likewise.
3937 * manual/syslog.texi: Likewise.
3938 * manual/terminal.texi: Likewise.
3939 * manual/time.texi: Likewise.
3940 * manual/users.texi: Likewise.
3941 * INSTALL: Regenerated.
3942 * NOTES: Regenerated.
3943 * sysdeps/gnu/errlist.c: Regenerated.
3945 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3947 * include/dirent.h: Include <dirstream.h> before
3950 2012-02-28 David S. Miller <davem@davemloft.net>
3952 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3953 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3954 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3955 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3957 2012-02-27 David S. Miller <davem@davemloft.net>
3959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3961 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3962 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3965 frame pointer instead of stack pointer relative arg slot.
3966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3967 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3968 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3970 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3973 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3975 2012-02-27 David S. Miller <davem@davemloft.net>
3977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3981 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3982 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3983 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3984 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3986 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3988 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3989 later. Allow versions 5-9.
3990 * configure: Regenerated.
3991 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3992 required minimum version and 4.6 as recommended version. Do not
3993 mention bugs in GCC 2.7 and 2.8.
3994 * INSTALL: Regenerated.
3996 2012-02-27 David S. Miller <davem@davemloft.net>
3998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4002 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4003 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4004 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4005 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4007 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4008 manipulate bits before adding and subtracting TWO112[sx].
4009 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4011 2012-02-27 Roland McGrath <roland@hack.frob.com>
4014 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4015 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4016 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4017 being in POSIX, because they are in 1003.1-2008.
4019 * rt/tst-aio.c: Include <fcntl.h>.
4020 * rt/tst-aio7.c: Likewise.
4021 * rt/tst-aio64.c: Likewise.
4023 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4025 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4027 * manual/install.texi (--with-headers): Describe headers as
4028 interface headers, not private headers.
4029 (Specific advice for GNU/Linux systems): Describe use of headers
4030 from "make headers_install", not private headers from older
4032 * INSTALL: Regenerated.
4033 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4035 * sysdeps/unix/sysv/linux/configure: Regenerated.
4037 * manual/llio.texi (fclean): Remove documentation.
4039 * manual/Makefile (libc-texi-generated): New variable. Include
4041 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4042 $(libc-texi-generated), not duplicated list of files.
4043 (version.texi, stamp-version): New rules.
4044 (realclean): Remove $(libc-texi-generated), not individual files
4045 from that list. Do not remove dir-add.texinfo.
4046 * manual/libc.texinfo: Comment out uses of edition numbers and
4047 references to printed manual. Remove last-updated dates.
4048 (EDITION): Comment out.
4050 (VERSION, UPDATED): Remove.
4051 (version.texi): Include.
4053 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4055 * sysdeps/posix/spawni.c: Include <signal.h>.
4056 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4057 * sysdeps/pthread/aio_fsync.c: Likewise.
4059 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4061 * conform/Makefile (tests): Run only when not cross-compiling and
4062 when fast-check is not defined.
4064 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4065 * conform/data/limits.h-data: Fixes for POSIX2008.
4066 * conform/run-conformtest.sh: Run all tests.
4067 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4069 * include/bits/dlfcn.h: Likewise.
4070 * include/langinfo.h: Likewise.
4071 * include/monetary.h: Likewise.
4072 * include/sys/poll.h: Likewise.
4074 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4076 * posix/spawn.h: Define __need_sigset_t.
4077 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4078 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4079 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4080 to get sigevent_t only.
4081 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4083 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4084 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4085 process_vm_writev only for __USE_GNU.
4086 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4088 * conform/Makefile: For now ignore errors from run-conformtest.
4089 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4090 POSIX to avoid namespace pollution. Don't prepend headers.
4091 * conform/data/aio.h-data: Fixes for POSIX testing.
4092 * conform/data/fcntl.h-data: Likewise.
4093 * conform/data/glob.h-data: Likewise.
4094 * conform/data/grp.h-data: Likewise.
4095 * conform/data/pthread.h-data: Likewise.
4096 * conform/data/pwd.h-data: Likewise.
4097 * conform/data/signal.h-data: Likewise.
4098 * conform/data/spawn.h-data: Likewise.
4099 * conform/data/stdio.h-data: Likewise.
4100 * conform/data/stdlib.h-data: Likewise.
4101 * conform/data/stropts.h-data: Likewise.
4102 * conform/data/sys/mman.h-data: Likewise.
4103 * conform/data/sys/stat.h-data: Likewise.
4104 * conform/data/sys/types.h-data: Likewise.
4105 * conform/data/sys/wait.h-data: Likewise.
4106 * conform/data/time.h-data: Likewise.
4107 * conform/data/unistd.h-data: Likewise.
4108 * conform/data/utime.h-data: Likewise.
4110 * io/sys/stat.h: fchmod was always in POSIX.
4111 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4112 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4113 * rt/aio.h: Define __need_timespec before including <time.h>.
4114 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4115 struct. Add forward declaration of pthread_attr_t and use it in
4117 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4118 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4119 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4120 always remove CLK_TCK definition.
4122 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4124 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4126 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4128 * conform/run-conformtest.sh: New file.
4129 * conform/Makefile: Run run-conformtest for tests.
4130 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4133 * conform/data/uchar.h-data: New file.
4134 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4135 * conform/data/arpa/inet.h-data: Likewise.
4136 * conform/data/assert.h-data: Likewise.
4137 * conform/data/complex.h-data: Likewise.
4138 * conform/data/cpio.h-data: Likewise.
4139 * conform/data/ctype.h-data: Likewise.
4140 * conform/data/dirent.h-data: Likewise.
4141 * conform/data/dlfcn.h-data: Likewise.
4142 * conform/data/errno.h-data: Likewise.
4143 * conform/data/fcntl.h-data: Likewise.
4144 * conform/data/float.h-data: Likewise.
4145 * conform/data/fmtmsg.h-data: Likewise.
4146 * conform/data/fnmatch.h-data: Likewise.
4147 * conform/data/ftw.h-data: Likewise.
4148 * conform/data/glob.h-data: Likewise.
4149 * conform/data/grp.h-data: Likewise.
4150 * conform/data/iconv.h-data: Likewise.
4151 * conform/data/inttypes.h-data: Likewise.
4152 * conform/data/langinfo.h-data: Likewise.
4153 * conform/data/libgen.h-data: Likewise.
4154 * conform/data/limits.h-data: Likewise.
4155 * conform/data/locale.h-data: Likewise.
4156 * conform/data/math.h-data: Likewise.
4157 * conform/data/monetary.h-data: Likewise.
4158 * conform/data/mqueue.h-data: Likewise.
4159 * conform/data/ndbm.h-data: Likewise.
4160 * conform/data/net/if.h-data: Likewise.
4161 * conform/data/netdb.h-data: Likewise.
4162 * conform/data/netinet/in.h-data: Likewise.
4163 * conform/data/nl_types.h-data: Likewise.
4164 * conform/data/poll.h-data: Likewise.
4165 * conform/data/pthread.h-data: Likewise.
4166 * conform/data/pwd.h-data: Likewise.
4167 * conform/data/regex.h-data: Likewise.
4168 * conform/data/sched.h-data: Likewise.
4169 * conform/data/search.h-data: Likewise.
4170 * conform/data/semaphore.h-data: Likewise.
4171 * conform/data/setjmp.h-data: Likewise.
4172 * conform/data/signal.h-data: Likewise.
4173 * conform/data/spawn.h-data: Likewise.
4174 * conform/data/stdarg.h-data: Likewise.
4175 * conform/data/stdio.h-data: Likewise.
4176 * conform/data/stdlib.h-data: Likewise.
4177 * conform/data/string.h-data: Likewise.
4178 * conform/data/strings.h-data: Likewise.
4179 * conform/data/stropts.h-data: Likewise.
4180 * conform/data/sys/ipc.h-data: Likewise.
4181 * conform/data/sys/mman.h-data: Likewise.
4182 * conform/data/sys/msg.h-data: Likewise.
4183 * conform/data/sys/resource.h-data: Likewise.
4184 * conform/data/sys/select.h-data: Likewise.
4185 * conform/data/sys/sem.h-data: Likewise.
4186 * conform/data/sys/shm.h-data: Likewise.
4187 * conform/data/sys/socket.h-data: Likewise.
4188 * conform/data/sys/stat.h-data: Likewise.
4189 * conform/data/sys/statvfs.h-data: Likewise.
4190 * conform/data/sys/time.h-data: Likewise.
4191 * conform/data/sys/timeb.h-data: Likewise.
4192 * conform/data/sys/times.h-data: Likewise.
4193 * conform/data/sys/types.h-data: Likewise.
4194 * conform/data/sys/uio.h-data: Likewise.
4195 * conform/data/sys/un.h-data: Likewise.
4196 * conform/data/sys/utsname.h-data: Likewise.
4197 * conform/data/sys/wait.h-data: Likewise.
4198 * conform/data/syslog.h-data: Likewise.
4199 * conform/data/tar.h-data: Likewise.
4200 * conform/data/termios.h-data: Likewise.
4201 * conform/data/utime.h-data: Likewise.
4202 * conform/data/utmpx.h-data: Likewise.
4203 * conform/data/varargs.h-data: Likewise.
4204 * conform/data/wchar.h-data: Likewise.
4205 * conform/data/wctype.h-data: Likewise.
4206 * conform/data/wordexp.h-data: Likewise.
4208 * include/stropts.h: New file.
4209 * include/uchar.h: New file.
4210 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4211 * include/assert.h: Likewise.
4212 * include/ctype.h: Likewise.
4213 * include/dirent.h: Likewise.
4214 * include/dlfcn.h: Likewise.
4215 * include/fcntl.h: Likewise.
4216 * include/fnmatch.h: Likewise.
4217 * include/glob.h: Likewise.
4218 * include/grp.h: Likewise.
4219 * include/libio.h: Likewise.
4220 * include/locale.h: Likewise.
4221 * include/math.h: Likewise.
4222 * include/net/if.h: Likewise.
4223 * include/netdb.h: Likewise.
4224 * include/netinet/in.h: Likewise.
4225 * include/pthread.h: Likewise.
4226 * include/pwd.h: Likewise.
4227 * include/regex.h: Likewise.
4228 * include/sched.h: Likewise.
4229 * include/search.h: Likewise.
4230 * include/setjmp.h: Likewise.
4231 * include/signal.h: Likewise.
4232 * include/stdio.h: Likewise.
4233 * include/stdlib.h: Likewise.
4234 * include/string.h: Likewise.
4235 * include/sys/cdefs.h: Likewise.
4236 * include/sys/mman.h: Likewise.
4237 * include/sys/msg.h: Likewise.
4238 * include/sys/resource.h: Likewise.
4239 * include/sys/select.h: Likewise.
4240 * include/sys/socket.h: Likewise.
4241 * include/sys/stat.h: Likewise.
4242 * include/sys/statvfs.h: Likewise.
4243 * include/sys/time.h: Likewise.
4244 * include/sys/times.h: Likewise.
4245 * include/sys/uio.h: Likewise.
4246 * include/sys/utsname.h: Likewise.
4247 * include/sys/wait.h: Likewise.
4248 * include/termios.h: Likewise.
4249 * include/time.h: Likewise.
4250 * include/ulimit.h: Likewise.
4251 * include/unistd.h: Likewise.
4252 * include/utime.h: Likewise.
4253 * include/wchar.h: Likewise.
4254 * include/wctype.h: Likewise.
4255 * include/wordexp.h: Likewise.
4257 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4259 * time/time.h: TIME_UTC must be a macro.
4260 Make timespec_get available for ISO C11 only as well.
4262 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4264 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4265 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4267 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4269 * configure.in: Use -o not -a in test for unsupported multi-arch.
4271 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4273 * manual/texinfo.tex: Update to version 2012-01-19.16.
4275 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4277 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4279 2012-02-24 Roland McGrath <roland@hack.frob.com>
4282 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4283 * manual/fdl-1.3.texi: New file.
4284 * manual/fdl-1.1.texi: File removed.
4287 * manual/libc.texinfo (FDL_VERSION): New @set.
4288 Use it for mention of FDL in cover text.
4289 (Documentation License): Use it in @include file name.
4291 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4292 Roland McGrath <roland@hack.frob.com>
4295 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4296 not LONG_LONG_MAX and LONG_LONG_MIN.
4297 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4298 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4300 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4302 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4306 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4307 manipulate bits before adding and subtracting TWO23[sx].
4308 * math/libm-test.inc (nearbyint_test): Add more tests.
4310 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4313 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4314 bits before adding and subtracting TWO23[sx].
4315 * math/libm-test.inc (rint_test): Add more tests.
4316 (rint_test_tonearest): Likewise.
4317 (rint_test_towardzero): Likewise.
4318 (rint_test_downward): Likewise.
4319 (rint_test_upward: Likewise.
4321 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4324 * include/stdc-predef.h: New file. Extracted from features.h.
4325 * include/features.h: Include stdc-predef.h.
4326 * Makefile (headers): Add stdc-predef.h.
4327 * CONFORMANCE (Compiler limitations): Update.
4329 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4331 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4333 2012-02-21 David S. Miller <davem@davemloft.net>
4335 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4336 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4338 2012-02-20 David S. Miller <davem@davemloft.net>
4340 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4341 using a normal save/restore sequence, rather than allocating a
4342 dummy stack frame just to store a frame pointer and restore.
4343 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4345 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4347 * manual/install.texi: Fix stray word in line-wrapped comment.
4349 2012-02-20 David S. Miller <davem@davemloft.net>
4351 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4352 both binutils and gcc support GOTDATA.
4354 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4355 "rd %pc" in the PIC register setup sequences.
4357 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4358 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4359 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4360 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4361 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4362 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4363 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4364 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4365 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4366 (SYSCALL_ERROR_HANDLER): Likewise.
4367 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4368 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4369 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4370 (SYSCALL_ERROR_HANDLER): Likewise.
4372 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4373 (HAVE_GCC_GOTDATA): New.
4374 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4375 relocation support in both binutils and gcc.
4376 * sysdeps/sparc/elf/configure: Regenerate.
4378 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4379 * sysdeps/sparc/sparc32/elf/configure: Delete.
4380 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4381 * sysdeps/sparc/sparc64/elf/configure: Delete.
4382 * sysdeps/sparc/elf/configure.in: New file.
4383 * sysdeps/sparc/elf/configure: Generate.
4385 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4386 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4387 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4388 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4389 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4391 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4393 * manual/install.texi: Do not mention specific glibc version
4395 * manual/libc.texinfo (VERSION, UPDATED): Update.
4396 (@copying): Use @copyright{} and range of years.
4398 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4401 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4402 [crti.S not in sysdirs] (generated): Do not append.
4403 [crti.S not in sysdirs] (omit-deps): Likewise.
4404 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4405 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4406 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4407 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4408 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4410 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4411 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4412 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4413 * csu/defs.awk: Remove file.
4414 * sysdeps/generic/initfini.c: Likewise.
4415 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4417 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4420 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4422 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4423 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4424 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4425 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4426 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4427 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4429 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4430 (__EPOLL_PACKED): Define to empty if not defined by
4432 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4436 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4438 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4439 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4440 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4441 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4443 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4447 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4449 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4451 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4452 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4453 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4456 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4458 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4459 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4461 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4463 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4464 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4466 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4468 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4471 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4473 * math/w_acos.c: Use non-signaling floating-point comparisons.
4474 * math/w_acosf.c: Likewise.
4475 * math/w_acosh.c: Likewise.
4476 * math/w_acoshf.c: Likewise.
4477 * math/w_acoshl.c: Likewise.
4478 * math/w_acosl.c: Likewise.
4479 * math/w_asin.c: Likewise.
4480 * math/w_asinf.c: Likewise.
4481 * math/w_asinl.c: Likewise.
4482 * math/w_atanh.c: Likewise.
4483 * math/w_atanhf.c: Likewise.
4484 * math/w_atanhl.c: Likewise.
4485 * math/w_exp2.c: Likewise.
4486 * math/w_exp2f.c: Likewise.
4487 * math/w_exp2l.c: Likewise.
4488 * math/w_j0.c: Likewise.
4489 * math/w_j0f.c: Likewise.
4490 * math/w_j0l.c: Likewise.
4491 * math/w_j1.c: Likewise.
4492 * math/w_j1f.c: Likewise.
4493 * math/w_j1l.c: Likewise.
4494 * math/w_jn.c: Likewise.
4495 * math/w_jnf.c: Likewise.
4496 * math/w_log.c: Likewise.
4497 * math/w_log10.c: Likewise.
4498 * math/w_log10f.c: Likewise.
4499 * math/w_log10l.c: Likewise.
4500 * math/w_log2.c: Likewise.
4501 * math/w_log2f.c: Likewise.
4502 * math/w_log2l.c: Likewise.
4503 * math/w_logf.c: Likewise.
4504 * math/w_logl.c: Likewise.
4505 * math/w_sqrt.c: Likewise.
4506 * math/w_sqrtf.c: Likewise.
4507 * math/w_sqrtl.c: Likewise.
4508 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4509 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4510 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4511 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4512 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4514 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4517 * manual/string.texi (strnlen): Use correct parameter name in
4518 equivalent expression.
4520 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4523 * manual/users.texi (seteuid): Consistently use neweuid for
4526 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4529 * manual/nss.texi (Services in the NSS configuration): Correct
4530 list of services in example configuration file.
4532 2012-02-19 Nick Bowler <nbowler@draconx.ca>
4535 * manual/arith.texi: Remove statements about negative zero
4536 behaving identically to zero.
4538 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4541 * manual/install.texi: Do not document upgrading from libc5.
4543 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4546 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4548 2012-02-18 David S. Miller <davem@davemloft.net>
4550 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4551 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4552 %o7 across the call.
4553 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4555 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4557 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4558 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4559 * sysdeps/sparc/crtn.S: Likewise.
4561 2012-02-17 Ulrich Drepper <drepper@gmail.com>
4563 * aout/Makefile: Remove.
4565 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4568 * manual/examples/argp-ex1.c (main): Format definition in GNU
4570 * manual/examples/argp-ex2.c (main): Likewise.
4571 * manual/examples/argp-ex3.c (main): Likewise.
4572 * manual/examples/argp-ex4.c (main): Likewise.
4573 * manual/examples/longopt.c (main): Use new-style prototype
4575 * manual/examples/strncat.c (main): Specify return type and use
4576 (void) for arguments.
4577 * manual/examples/subopt.c (main): Use char **argv argument.
4579 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4582 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4585 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4588 * manual/string.texi (strchr): Change when strchrnul is
4591 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4594 * manual/locale.texi (setlocale): Document LOCPATH.
4596 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4599 * manual/process.texi (execle): Move @dots{} before last argument.
4601 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
4604 * manual/charset.texi (Generic Charset Conversion): Fix typo
4605 (LC_TYPE -> LC_CTYPE).
4607 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4610 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4611 (scalbnf): Likewise.
4612 (scalbnl): Likewise.
4613 (scalbln): Likewise.
4614 (scalblnf): Likewise.
4615 (scalblnl): Likewise.
4616 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4620 * manual/filesys.texi (telldir): Use braces around return type.
4621 * manual/llio.texi (mmap): Add space after comma.
4623 * manual/math.texi (jn): Use @var{} on parameter names.
4629 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4631 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4633 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4634 (sched_get_priority_max): Likewise.
4635 * manual/signal.texi (sigvec): Add space after comma.
4636 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4638 (if_indextoname): Likewise.
4639 (if_freenameindex): Likewise.
4640 (sendto): Use ',' instead of '.' in prototype.
4641 * manual/startup.texi (syscall): Use @dots{} instead of literal
4643 * manual/stdio.texi (__fpending): Separate initial words of
4644 paragraph from @deftypefun line.
4645 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4647 (vsyslog): Use @var{} on parameter names.
4648 * manual/terminal.texi (stty): Use @var{} on parameter names.
4649 * manual/users.texi (getutmp): Use @var{} on parameter names.
4650 (getutmpx): Likewise.
4652 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4655 * manual/stdio.texi (fopen): Fix typos in description of
4658 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4661 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4662 get clock_id definition.
4664 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
4667 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4668 (madvise): Cast every argument to void on its own.
4670 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4673 * manual/startup.texi (Exit Status): Fix typo.
4675 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4678 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4679 * manual/examples/argp-ex2.c: Likewise.
4680 * manual/examples/argp-ex3.c: Likewise.
4682 2012-02-16 Richard Henderson <rth@redhat.com>
4684 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4685 * sysdeps/s390/s390-32/initfini.c: Remove.
4686 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4687 * sysdeps/s390/s390-64/initfini.c: Remove.
4689 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4691 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4692 compiler output for sysdeps/generic/initfini.c.
4693 * sysdeps/sh/elf/initfini.c: Remove file.
4695 2012-02-16 David S. Miller <davem@davemloft.net>
4698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4700 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4701 * sysdeps/sparc/crti.S: New file.
4702 * sysdeps/sparc/crtn.S: New file.
4703 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4704 * sysdeps/sparc/sparc64/Makefile: Likewise.
4706 2012-02-15 Mike Frysinger <vapier@gentoo.org>
4709 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4711 2012-02-15 Roland McGrath <roland@hack.frob.com>
4714 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4716 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4717 (write, read, close): Likewise.
4718 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4720 2012-02-15 Joseph Myers <joseph@codesourcery.com>
4722 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4723 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4724 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4725 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4727 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4731 2012-02-14 Marek Polacek <polacek@redhat.com>
4733 * sysdeps/x86_64/crti.S: New file.
4734 * sysdeps/x86_64/crtn.S: New file.
4735 * sysdeps/x86_64/elf/initfini.c: Remove file.
4737 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4739 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4740 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4741 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4742 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4744 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4748 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4750 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4751 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4752 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4753 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4755 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4759 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4761 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4762 __feraiseexcept instead of feraiseexcept.
4764 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4765 nanosleep invocations.
4766 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4767 strings, and add error checking for a nanosleep invocations.
4769 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4771 Replace FSF snail mail address with URLs, as per GNU coding standards.
4772 Most of the snail mail addresses were wrong anyway, and omitting
4773 them makes the source code easier to maintain. Almost all of the
4774 changes are to license notices and to locale LC_IDENTIFICATION
4775 addresses, except for this one:
4776 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4777 not its snail mail address.
4779 2012-02-09 Richard Henderson <rth@twiddle.net>
4781 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4782 of kernel-features.h.
4784 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4786 2012-02-08 Marek Polacek <polacek@redhat.com>
4788 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4789 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4790 * sysdeps/gnu/_G_config.h: Likewise.
4791 * sysdeps/generic/_G_config.h: Likewise.
4793 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4795 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4799 * sysdeps/powerpc/powerpc32/crti.S: New file.
4800 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4801 * sysdeps/powerpc/powerpc64/crti.S: New file.
4802 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4804 * Makeconfig (have-initfini): Don't set.
4805 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4806 * configure.in (nopic_initfini): Don't substitute.
4807 * config.h.in (HAVE_INITFINI): Don't #undef.
4808 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4809 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4811 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4813 Support crti.S and crtn.S provided directly by architectures.
4814 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4815 [crti.S in sysdirs] (omit-deps): Likewise.
4816 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4817 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4818 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4819 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4820 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4821 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4822 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4823 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4824 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4825 compiler output for sysdeps/generic/initfini.c.
4826 * sysdeps/i386/elf/Makefile: Remove file.
4827 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4829 2012-02-07 Marek Polacek <polacek@redhat.com>
4831 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4832 * sysdeps/gnu/_G_config.h: Likewise.
4833 * sysdeps/mach/hurd/_G_config.h: Likewise.
4835 2012-02-07 Marek Polacek <polacek@redhat.com>
4837 * math/Makefile (tests): Add tst-CMPLX2.
4838 * math/tst-CMPLX2.c: New file.
4840 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4842 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4844 * math/libm-test.inc (jn_test): Add missing L suffix.
4846 2012-02-06 Marek Polacek <polacek@redhat.com>
4848 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4849 * sysdeps/i386/fpu/e_powf.S: Likewise.
4850 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4851 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4852 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4853 * sysdeps/i386/fpu/e_pow.S: Likewise.
4854 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4855 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4856 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4857 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4858 * sysdeps/i386/fpu/e_log2.S: Likewise.
4859 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4860 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4861 * sysdeps/i386/fpu/e_powl.S: Likewise.
4862 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4863 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4864 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4865 * sysdeps/i386/fpu/e_logl.S: Likewise.
4866 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4867 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4868 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4869 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4870 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4871 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4872 * sysdeps/i386/fpu/e_log.S: Likewise.
4873 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4874 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4875 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4876 * sysdeps/i386/fpu/e_logf.S: Likewise.
4877 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4878 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4879 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4880 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4881 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4882 * sysdeps/i386/fpu/e_log10.S: Likewise.
4883 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4884 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4885 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4886 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4887 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4888 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4889 * sysdeps/i386/asm-syntax.h: Likewise.
4890 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4891 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4892 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4893 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4894 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4895 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4896 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4897 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4898 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4899 * sysdeps/powerpc/sysdep.h: Likewise.
4900 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4901 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4903 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4906 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4908 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4910 * sysdeps/i386/sysdep.h: Include <features.h>.
4911 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4914 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4916 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4918 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4921 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4923 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4924 (SETUP_PIC_REG): Use GET_PC_THUNK.
4925 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4928 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4930 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4931 for non-PIC compilation.
4932 (SETUP_PIC_REG): Add .p2align directive.
4933 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4934 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4935 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4936 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4937 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4938 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4939 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4940 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4941 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4942 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4947 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4951 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4952 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4953 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4954 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4955 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4956 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4957 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4959 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4960 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4961 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4962 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4963 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4964 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4965 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4966 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4967 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4968 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4969 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4970 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4971 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4972 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4973 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4975 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4977 * math/tst-CMPLX.c: Include <stdio.h>.
4979 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4981 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4983 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4984 * sysdeps/sparc/bits/mathdef.h: Likewise.
4986 2012-01-31 Marek Polacek <polacek@redhat.com>
4988 * libio/libio.h: Don't define _PARAMS.
4989 * locale/programs/config.h: Don't define PARAMS.
4990 * stdlib/strtol_l.c: Likewise.
4991 (__strtol_l): Remove PARAMS from the prototype.
4993 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4995 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4996 names. Just use the correct names. Remove unnecessary wrapper
4998 * malloc/arena.c: Likewise.
4999 * malloc/hooks.c: Likewise.
5001 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5002 ARENA_TEST says not to. Simplify test for creation of a new arena.
5003 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5005 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5007 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5009 (update_get_addr): New function.
5010 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5011 GET_ADDR_MODULE parameter.
5013 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5015 * crypt/cert.c: Remove __STDC__ conditionals.
5016 * crypt/crypt-entry.c: Likewise.
5017 * crypt/crypt_util.c: Likewise.
5018 * libio/filedoalloc.c: Likewise.
5019 * libio/fileops.c: Likewise.
5020 * libio/genops.c: Likewise.
5021 * libio/iofclose.c: Likewise.
5022 * libio/iofdopen.c: Likewise.
5023 * libio/iofopen.c: Likewise.
5024 * libio/iofopen64.c: Likewise.
5025 * libio/iogetdelim.c: Likewise.
5026 * libio/iopopen.c: Likewise.
5027 * libio/obprintf.c: Likewise.
5028 * libio/oldfileops.c: Likewise.
5029 * libio/oldiofclose.c: Likewise.
5030 * libio/oldiofdopen.c: Likewise.
5031 * libio/oldiofopen.c: Likewise.
5032 * libio/oldiopopen.c: Likewise.
5033 * libio/wfiledoalloc.c: Likewise.
5034 * libio/wgenops.c: Likewise.
5035 * locale/programs/xmalloc.c: Likewise.
5036 * misc/syslog.c: Likewise.
5037 * stdio-common/xbug.c: Likewise.
5038 * string/memchr.c: Likewise.
5039 * string/memcmp.c: Likewise.
5040 * string/memrchr.c: Likewise.
5041 * string/rawmemchr.c: Likewise.
5042 * sysdeps/posix/getcwd.c: Likewise.
5043 * time/strftime_l.c: Likewise.
5045 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5047 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5048 * config.make.in (config-cflags-sse2avx): Define.
5049 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5052 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5054 * scripts/config.guess: Update from upstream config git repository.
5055 * scripts/config.sub: Likewise.
5057 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5059 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5061 (R_TILEPRO_*, R_TILEGX_*): New macros.
5063 * scripts/firstversions.awk: Fix bug in version range handling.
5065 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5067 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5069 * include/sys/epoll.h: New file.
5070 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5073 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5075 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5076 Avoid unnecessary __WORDSIZE == 64 test.
5077 (fmaxf): Use VEX format if possible.
5082 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5083 * math/math_private.h: Remove libc_fegetround* and
5085 * sysdeps/i386/configure.in: Check for -msse2avx.
5086 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5087 also if SSE2AVX is defined.
5088 Remove libc_fegetround* and libc_fesetround*.
5089 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5090 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5091 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5093 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5094 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5095 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5096 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5097 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5099 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5101 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5103 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5105 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5107 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5110 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5112 * Makeconfig (libm): Define.
5113 * elf/Makefile: Add rules to build and run tst-relsort1.
5114 * elf/tst-relsort1.c: New file.
5115 * elf/tst-relsort1mod1.c: New file.
5116 * elf/tst-relsort1mod2.c: New file.
5118 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5120 * math/s_ldexp.c: Remove __STDC__ conditionals.
5121 * math/s_ldexpf.c: Likewise.
5122 * math/s_ldexpl.c: Likewise.
5123 * math/s_nextafter.c: Likewise.
5124 * math/s_nexttowardf.c: Likewise.
5125 * math/s_significand.c: Likewise.
5126 * math/s_significandf.c: Likewise.
5127 * math/s_significandl.c: Likewise.
5128 * math/w_jnl.c: Likewise.
5129 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5130 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5131 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5132 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5133 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5135 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5136 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5137 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5138 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5139 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5140 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5141 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5142 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5143 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5146 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5147 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5148 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5149 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5150 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5151 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5152 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5153 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5154 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5155 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5156 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5157 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5158 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5159 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5160 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5161 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5162 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5163 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5164 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5165 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5166 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5167 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5168 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5169 * sysdeps/ieee754/k_standard.c: Likewise.
5170 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5171 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5174 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5175 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5176 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5178 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5179 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5215 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5226 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5231 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5236 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5238 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5241 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5244 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5245 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5246 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5249 * sysdeps/ieee754/s_matherr.c: Likewise.
5250 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5251 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5252 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5253 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5255 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5257 * crypt/md5.h: Remove __STDC__ conditionals.
5258 * libio/libioP.h: Likewise.
5259 * locale/programs/config.h: Likewise.
5260 * sysdeps/generic/sysdep.h: Likewise.
5261 * sysdeps/i386/asm-syntax.h: Likewise.
5262 * sysdeps/s390/asm-syntax.h: Likewise.
5263 * sysdeps/unix/sysdep.h: Likewise.
5264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5267 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5269 * libio/libio.h: Remove __STDC__ conditionals.
5270 * malloc/obstack.h: Likewise.
5271 * math/complex.h: Likewise.
5272 * math/math.h: Likewise.
5273 * sysdeps/generic/_G_config.h: Likewise.
5274 * sysdeps/gnu/_G_config.h: Likewise.
5275 * sysdeps/mach/hurd/_G_config.h: Likewise.
5276 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5277 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5278 * sysdeps/sparc/bits/mathdef.h: Likewise.
5280 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5283 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5284 Clean up HAS_* macros.
5285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5286 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5288 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5290 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5291 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5292 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5293 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5294 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5296 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5298 * elf/tst-unique3.cc (gets): Remove declaration.
5299 * elf/tst-unique3lib.cc (gets): Likewise.
5300 * elf/tst-unique3lib2.cc (gets): Likewise.
5301 * elf/tst-unique4.cc (gets): Likewise.
5303 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5305 * include/stdio.h: Add C++ protection. Add gets declarations and
5307 * debug/tst-chk1.c: Don't declare gets here.
5308 * stdio-common/tst-gets.c: Likewise.
5310 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5312 * posix/glob: Remove directory.
5314 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5316 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5318 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5320 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5321 of the non-standard EPFNOSUPPORT.
5323 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5325 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5326 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5327 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5329 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5331 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5333 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5335 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5337 * nscd/grpcache.c (cache_addgr): Likewise.
5338 * nscd/hstcache.c (cache_addhst): Likewise.
5339 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5340 * nscd/pwdcache.c (cache_addpw): Likewise.
5341 * nscd/servicescache.c (cache_addserv): Likewise.
5343 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5345 * malloc/malloc.c: Various cleanups.
5346 * malloc/hooks.c: Likewise.
5348 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5349 * stdlib/bug-fmtmsg1.c: New file.
5351 * stdlib/fmtmsg.c (init): Add missing unlock.
5352 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5354 2012-01-12 Marek Polacek <polacek@redhat.com>
5356 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5359 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5361 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5362 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5363 macro to ensure uniqueness of label name.
5364 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5365 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5367 2012-01-11 Ulrich Drepper <drepper@gmail.com>
5369 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5371 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5372 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5373 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5376 2012-01-10 Ulrich Drepper <drepper@gmail.com>
5378 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5380 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5381 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5382 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5384 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5386 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5387 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5388 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5391 * math/bits/math-finite.h: Add ldexp support.
5393 2012-01-10 Marek Polacek <polacek@redhat.com>
5395 * locale/programs/localedef.h (show_archive_content): Add noreturn
5398 2012-01-09 Ulrich Drepper <drepper@gmail.com>
5400 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5402 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5404 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5406 * io/Makefile (headers): Add bits/poll2.h.
5408 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5411 typo #include statement.
5413 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5415 * include/sys/cdefs.h: Define __attribute_alloc_size.
5416 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5417 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5418 * elf/pldd.c: Likewise.
5419 * iconv/iconv_charmap.c: Likewise.
5420 * iconv/iconvconfig.c: Likewise.
5421 * iconv/strtab.c: Likewise.
5422 * locale/programs/locale.c: Likewise.
5423 * locale/programs/localedef.h: Likewise.
5424 * locale/programs/simple-hash.c: Likewise.
5425 * nscd/nscd.h: Likewise.
5426 * nss/makedb.c: Likewise.
5427 * sysdeps/generic/ldconfig.h: Likewise.
5428 * locale/programs/localedef.c: Remove xmalloc prototype.
5429 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5431 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5433 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5436 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5438 * math/Makefile (tests): Add tst-CMPLX.
5439 * math/tst-CMPLX.c: New file.
5441 * math/complex.h (CMPLXL): Fix typo.
5443 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5444 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5446 * debug/tst-chk1.c: Add poll and ppoll tests.
5447 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5448 * include/sys/poll.h: Add hidden proto for ppoll.
5449 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5450 * sysdeps/mach/hurd/ppoll.c: Likewise.
5451 * io/ppoll.c: Likewise.
5452 * debug/poll_chk.c: New file.
5453 * debug/ppoll_chk.c: New file.
5454 * include/bits/poll2.h: New file.
5455 * io/bits/poll2.h: New file.
5458 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5460 * configure.in: static is always set to yes. Remove.
5461 * config.make.in: Don't set build-static.
5462 * Makeconfig: Remove use of build-static.
5463 * dlfcn/Makefile: Likewise.
5464 * elf/Makefile: Likewise.
5465 * math/Makefile: Likewise.
5466 * misc/Makefile: Likewise.
5467 * nptl/Makefile: Likewise.
5468 * sysdeps/mach/hurd/Makefile: Likewise.
5470 * configure.in: PWD_P is not used anymore.
5471 * config.make.in: Remove PWD_P entry.
5473 * configure.in: Remove last remnants of RANLIB.
5474 No need to check for signed size_t anymore.
5475 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5477 Remove __builtin_expect test because we require at least gcc 3.4.
5478 * aclocal.m4: Likewise.
5480 * wcsmbs/mbrtoc16.c: Implement using towc function.
5481 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5482 * wcsmbs/wcsmbsload.c: Likewise.
5483 * iconv/gconv_simple.c: Likewise.
5484 * iconv/gconv_int.h: Likewise.
5485 * iconv/gconv_builtin.h: Likewise.
5486 * iconv/iconv_prog.c: Remove CHAR16 handling.
5488 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5490 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5492 * configure.in: Remove --with-elf and --enable-bounded options.
5493 Dont set base_machine for ia64. More non-ELF conditions removed.
5494 Remove testing and setting of leading underscore information.
5495 * config.make.in (build-bounded): Set to no.
5496 * config.h.in: Remove NO_UNDERSCORES entry.
5497 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5499 * csu/start.c: Remove !NO_UNDERSCORE code.
5500 * locale/localeinfo.h: Likewise.
5501 * sysdeps/generic/machine-gmon.h: Likewise.
5502 * sysdeps/generic/sysdep.h: Likewise.
5503 * sysdeps/i386/sysdep.h: Likewise.
5504 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5505 * sysdeps/mach/sysdep.h: Likewise.
5506 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5507 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5508 * sysdeps/sh/sysdep.h: Likewise.
5509 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5510 * sysdeps/unix/i386/sysdep.S: Likewise.
5511 * sysdeps/unix/sparc/start.c: Likewise.
5512 * sysdeps/unix/sparc/sysdep.S: Likewise.
5513 * sysdeps/unix/sparc/sysdep.h: Likewise.
5514 * sysdeps/unix/start.c: Likewise.
5515 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5516 * sysdeps/x86_64/sysdep.h: Likewise.
5518 2012-01-07 Ulrich Drepper <drepper@gmail.com>
5521 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5523 * argp/argp-fmtstream.h: Use const instead __const.
5524 * argp/argp.h: Likewise.
5525 * assert/assert.h: Likewise.
5526 * bits/fenv.h: Likewise.
5527 * bits/sched.h: Likewise.
5528 * bits/sigset.h: Likewise.
5529 * bits/sigthread.h: Likewise.
5530 * catgets/nl_types.h: Likewise.
5531 * conform/data/pthread.h-data: Likewise.
5532 * crypt/crypt-private.h: Likewise.
5533 * crypt/crypt.h: Likewise.
5534 * crypt/crypt_util.c: Likewise.
5535 * ctype/ctype.h: Likewise.
5536 * debug/execinfo.h: Likewise.
5537 * debug/mbsnrtowcs_chk.c: Likewise.
5538 * debug/mbsrtowcs_chk.c: Likewise.
5539 * debug/wcsnrtombs_chk.c: Likewise.
5540 * debug/wcsrtombs_chk.c: Likewise.
5541 * debug/wcstombs_chk.c: Likewise.
5542 * dirent/dirent.h: Likewise.
5543 * dlfcn/dlfcn.h: Likewise.
5544 * elf/neededtest4.c: Likewise.
5545 * grp/grp.h: Likewise.
5546 * gshadow/gshadow.h: Likewise.
5547 * iconv/gconv.h: Likewise.
5548 * iconv/gconv_int.h: Likewise.
5549 * iconv/gconv_simple.c: Likewise.
5550 * iconv/iconv.h: Likewise.
5551 * iconv/loop.c: Likewise.
5552 * iconv/skeleton.c: Likewise.
5553 * include/aio.h: Likewise.
5554 * include/aliases.h: Likewise.
5555 * include/argz.h: Likewise.
5556 * include/arpa/inet.h: Likewise.
5557 * include/assert.h: Likewise.
5558 * include/dirent.h: Likewise.
5559 * include/dlfcn.h: Likewise.
5560 * include/execinfo.h: Likewise.
5561 * include/fcntl.h: Likewise.
5562 * include/fenv.h: Likewise.
5563 * include/glob.h: Likewise.
5564 * include/grp.h: Likewise.
5565 * include/libintl.h: Likewise.
5566 * include/mntent.h: Likewise.
5567 * include/netdb.h: Likewise.
5568 * include/pwd.h: Likewise.
5569 * include/rpc/netdb.h: Likewise.
5570 * include/sched.h: Likewise.
5571 * include/search.h: Likewise.
5572 * include/shadow.h: Likewise.
5573 * include/signal.h: Likewise.
5574 * include/stdio.h: Likewise.
5575 * include/stdlib.h: Likewise.
5576 * include/string.h: Likewise.
5577 * include/sys/socket.h: Likewise.
5578 * include/sys/stat.h: Likewise.
5579 * include/sys/statfs.h: Likewise.
5580 * include/sys/statvfs.h: Likewise.
5581 * include/sys/syslog.h: Likewise.
5582 * include/sys/time.h: Likewise.
5583 * include/sys/uio.h: Likewise.
5584 * include/time.h: Likewise.
5585 * include/unistd.h: Likewise.
5586 * include/utmp.h: Likewise.
5587 * include/wchar.h: Likewise.
5588 * include/wctype.h: Likewise.
5589 * inet/aliases.h: Likewise.
5590 * inet/arpa/inet.h: Likewise.
5591 * inet/netinet/ether.h: Likewise.
5592 * inet/netinet/in.h: Likewise.
5593 * intl/libintl.h: Likewise.
5594 * io/bits/fcntl2.h: Likewise.
5595 * io/fcntl.h: Likewise.
5596 * io/ftw.h: Likewise.
5597 * io/sys/poll.h: Likewise.
5598 * io/sys/stat.h: Likewise.
5599 * io/sys/statfs.h: Likewise.
5600 * io/sys/statvfs.h: Likewise.
5601 * io/utime.h: Likewise.
5602 * libio/bits/stdio.h: Likewise.
5603 * libio/bits/stdio2.h: Likewise.
5604 * libio/libio.h: Likewise.
5605 * libio/libioP.h: Likewise.
5606 * libio/stdio.h: Likewise.
5607 * locale/lc-ctype.c: Likewise.
5608 * locale/locale.h: Likewise.
5609 * login/utmp.h: Likewise.
5610 * malloc/arena.c: Likewise.
5611 * malloc/malloc.c: Likewise.
5612 * malloc/malloc.h: Likewise.
5613 * malloc/mcheck.c: Likewise.
5614 * malloc/mtrace.c: Likewise.
5615 * math/bits/mathcalls.h: Likewise.
5616 * math/fenv.h: Likewise.
5617 * math/math_private.h: Likewise.
5618 * misc/bits/error.h: Likewise.
5619 * misc/bits/syslog.h: Likewise.
5620 * misc/err.h: Likewise.
5621 * misc/error.h: Likewise.
5622 * misc/fstab.h: Likewise.
5623 * misc/mntent.h: Likewise.
5624 * misc/regexp.h: Likewise.
5625 * misc/search.h: Likewise.
5626 * misc/sgtty.h: Likewise.
5627 * misc/sys/mman.h: Likewise.
5628 * misc/sys/syslog.h: Likewise.
5629 * misc/sys/uio.h: Likewise.
5630 * misc/sys/xattr.h: Likewise.
5631 * misc/ttyent.h: Likewise.
5632 * nis/rpcsvc/ypclnt.h: Likewise.
5633 * nss/nss.h: Likewise.
5634 * posix/bits/unistd.h: Likewise.
5635 * posix/fnmatch.h: Likewise.
5636 * posix/glob.h: Likewise.
5637 * posix/sched.h: Likewise.
5638 * posix/spawn.h: Likewise.
5639 * posix/sys/wait.h: Likewise.
5640 * posix/unistd.h: Likewise.
5641 * posix/wordexp.h: Likewise.
5642 * pwd/pwd.h: Likewise.
5643 * resolv/netdb.h: Likewise.
5644 * resource/sys/resource.h: Likewise.
5645 * rt/aio.h: Likewise.
5646 * rt/bits/mqueue2.h: Likewise.
5647 * rt/mqueue.h: Likewise.
5648 * shadow/shadow.h: Likewise.
5649 * signal/signal.h: Likewise.
5650 * socket/send.c: Likewise.
5651 * socket/sendto.c: Likewise.
5652 * socket/sys/socket.h: Likewise.
5653 * stdio-common/printf.h: Likewise.
5654 * stdlib/bits/stdlib.h: Likewise.
5655 * stdlib/fmtmsg.h: Likewise.
5656 * stdlib/monetary.h: Likewise.
5657 * stdlib/stdlib.h: Likewise.
5658 * stdlib/ucontext.h: Likewise.
5659 * streams/stropts.h: Likewise.
5660 * string/argz.h: Likewise.
5661 * string/bits/string2.h: Likewise.
5662 * string/string.h: Likewise.
5663 * string/strings.h: Likewise.
5664 * sunrpc/rpc/auth.h: Likewise.
5665 * sunrpc/rpc/auth_des.h: Likewise.
5666 * sunrpc/rpc/clnt.h: Likewise.
5667 * sunrpc/rpc/netdb.h: Likewise.
5668 * sunrpc/rpc/pmap_clnt.h: Likewise.
5669 * sunrpc/rpc/xdr.h: Likewise.
5670 * sysdeps/generic/inttypes.h: Likewise.
5671 * sysdeps/generic/net/if.h: Likewise.
5672 * sysdeps/generic/sys/swap.h: Likewise.
5673 * sysdeps/gnu/net/if.h: Likewise.
5674 * sysdeps/gnu/utmpx.h: Likewise.
5675 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5676 * sysdeps/i386/i486/bits/string.h: Likewise.
5677 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5678 * sysdeps/s390/bits/string.h: Likewise.
5679 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5680 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5681 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5682 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5683 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5684 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5685 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5686 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5687 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5688 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5689 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5690 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5691 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5692 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5693 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5694 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5695 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5697 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5698 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5699 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5700 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5701 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5702 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5703 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5704 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5705 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5706 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5707 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5708 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5709 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5710 * sysvipc/sys/ipc.h: Likewise.
5711 * sysvipc/sys/msg.h: Likewise.
5712 * sysvipc/sys/sem.h: Likewise.
5713 * sysvipc/sys/shm.h: Likewise.
5714 * termios/termios.h: Likewise.
5715 * time/sys/time.h: Likewise.
5716 * time/time.h: Likewise.
5717 * wcsmbs/bits/wchar2.h: Likewise.
5718 * wcsmbs/uchar.h: Likewise.
5719 * wcsmbs/wchar.h: Likewise.
5720 * wctype/wctype.h: Likewise.
5723 * Makeconfig: Remove all but ELF support including AIX support.
5724 * Makerules: Likewise.
5725 * config.h.in: Likewise.
5726 * config.make.in: Likewise.
5727 * configure: Likewise.
5728 * configure.in: Likewise.
5729 * csu/Makefile: Likewise.
5730 * csu/version.c: Likewise.
5731 * debug/Makefile: Likewise.
5732 * dlfcn/Makefile: Likewise.
5733 * elf/Makefile: Likewise.
5734 * extra-lib.mk: Likewise.
5735 * iconv/Makefile: Likewise.
5736 * include/libc-symbols.h: Likewise.
5737 * include/shlib-compat.h: Likewise.
5738 * resolv/Makefile: Likewise.
5739 * resolv/res_libc.c: Likewise.
5740 * rt/Makefile: Likewise.
5741 * sysdeps/i386/asm-syntax.h: Likewise.
5742 * sysdeps/i386/sysdep.h: Likewise.
5743 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5744 * sysdeps/mach/sysdep.h: Likewise.
5745 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5746 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5747 * sysdeps/s390/asm-syntax.h: Likewise.
5748 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5749 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5750 * sysdeps/sh/sysdep.h: Likewise.
5751 * sysdeps/unix/sparc/sysdep.h: Likewise.
5752 * sysdeps/wordsize-32/divdi3.c: Likewise.
5753 * sysdeps/x86_64/sysdep.h: Likewise.
5755 * argp/Versions: Remove _argp_unlock_xxx.
5758 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5759 * abilist/libBrokenLocale.abilist: Likewise.
5760 * abilist/libanl.abilist: Likewise.
5761 * abilist/libc.abilist: Likewise.
5762 * abilist/libcrypt.abilist: Likewise.
5763 * abilist/libdl.abilist: Likewise.
5764 * abilist/libm.abilist: Likewise.
5765 * abilist/libnsl.abilist: Likewise.
5766 * abilist/libpthread.abilist: Likewise.
5767 * abilist/libresolv.abilist: Likewise.
5768 * abilist/librt.abilist: Likewise.
5769 * abilist/libthread_db.abilist: Likewise.
5770 * abilist/libutil.abilist: Likewise.
5771 * abilist/libnss_db.abilist: New file.
5773 * scripts/abilist.awk: Add support for indirect functions.
5775 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5777 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5779 * shlib-versions: Remove entries for ports architectures.
5781 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5783 * elf/stackguard-macros.h: Remove support for IA-64.
5784 * elf/tst-auditmod1.c: Likewise.
5785 * sysdeps/generic/ldsodefs.h: Likewise.
5787 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5788 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5792 * configure.in: Remove --enable-omitfp support.
5794 * config.make.in: Likewise.
5795 * Makeconfig: Likewise.
5796 * manual/install.texi: Likewise.
5798 In case anyone cares, the IA-64 architecture could move to ports.
5799 * sysdeps/ia64/*: Removed.
5800 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5801 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5804 * configure.in: Remove entries for unsupported architectures.
5807 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5808 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5810 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5811 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5812 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5813 fall back to using wcrtomb.
5814 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5815 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5817 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5818 * wcsmbs/tst-c16c32-1.c: New file.
5820 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5823 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5825 * elf/tst-unique3.cc: Add explicit declaration of gets.
5826 * elf/tst-unique3lib.cc: Likewise.
5827 * elf/tst-unique3lib2.cc: Likewise.
5828 * elf/tst-unique4.cc: Likewise.
5830 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5832 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5835 * assert/assert.h (static_assert): Don't define for C++.
5836 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5837 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5839 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5841 * iconv/loop.c (single loop): Fix assertion in storing of
5844 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5846 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5848 * posix/getconf.c: Update copyright year.
5849 * nss/getent.c: Likewise.
5850 * nss/makedb.c: Likewise.
5851 * iconv/iconvconfig.c: Likewise.
5852 * iconv/iconv_prog.c: Likewise.
5853 * elf/ldconfig.c: Likewise.
5854 * elf/pldd.c: Likewise.
5855 * elf/sotruss.ksh: Likewise.
5856 * catgets/gencat.c: Likewise.
5857 * csu/version.c: Likewise.
5858 * elf/ldd.bash.in: Likewise.
5859 * elf/sprof.c (print_version): Likewise.
5860 * locale/programs/locale.c: Likewise.
5861 * locale/programs/localedef.c: Likewise.
5862 * login/programs/pt_chown.c: Likewise.
5863 * nscd/nscd.c (print_version): Likewise.
5864 * debug/xtrace.sh: Likewise.
5865 * malloc/memusage.sh: Likewise.
5866 * malloc/mtrace.pl: Likewise.
5867 * debug/catchsegv.sh: Likewise.
5869 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5871 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5874 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5877 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5878 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5880 * iconv/gconv_int.h: Likewise.
5881 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5882 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5883 from libc for GLIBC_2.16.
5884 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5885 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5886 * wcsmbs/uchar.h: Really define mbstate_t.
5887 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5888 * wcsmbs/c16rtomb.c: New file.
5889 * wcsmbs/mbrtoc16.c: New file.
5890 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5892 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5893 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5895 * wcsmbs/wchar.h: Add missing __restrict.
5897 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5900 * time/Makefile (routines): Add timespec_get.
5901 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5902 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5903 timespec for ISO C11.
5904 * time/timespec_get.c: New file.
5905 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5906 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5909 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5910 * stdlib/stdlib.h: Declare aligned_alloc.
5911 * Versions.def: Add GLIBC_2.16 for libc.
5912 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5915 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5918 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5922 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5925 * assert/assert.h (static_assert): Define.
5927 * version.h: Update for 2.16 development version.
5930 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5933 * version.h (RELEASE): Bump for 2.15 release.
5934 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5936 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5937 Patch by Marek Polacek <mpolacek@redhat.com>.
5939 * bits/byteswap.h: Protect long long constants with __extension__.
5940 * sysdeps/i386/bits/byteswap.h: Likewise.
5941 * sysdeps/ia64/bits/byteswap.h: Likewise.
5942 * sysdeps/s390/bits/byteswap.h: Likewise.
5943 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5945 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5948 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5950 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5952 2011-12-23 Marek Polacek <polacek@redhat.com>
5954 * elf/dl-addr.c (determine_info): Add inline keyword.
5955 * elf/tst-auditmod4b.c (check_avx): Likewise.
5956 * elf/tst-auditmod6b.c (check_avx): Likewise.
5957 * elf/tst-auditmod6c.c (check_avx): Likewise.
5958 * elf/tst-auditmod7b.c (check_avx): Likewise.
5960 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5962 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5965 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5968 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5969 processing for last bytes.
5971 2011-08-06 Bruno Haible <bruno@clisp.org>
5974 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5975 U+0385, not to U+1FEE.
5978 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5979 entry for U+00A5 U+0301.
5981 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5984 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5985 buffer for the output is too small.
5987 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5991 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5992 SSE flags if possible.
5994 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5997 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5998 processing for last bytes.
6000 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6002 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6003 (syscall-list-default-options, syscall-list-default-condition)
6004 (syscall-list-includes): Define.
6005 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6006 list of ABIs and options and #if conditions for each ABI. Do not
6007 handle common syscalls between ABIs specially.
6008 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6010 (syscall-list-variants, syscall-list-32bit-options)
6011 (syscall-list-32bit-condition, syscall-list-64bit-options)
6012 (syscall-list-64bit-condition): Define.
6013 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6014 (syscall-list-variants, syscall-list-32bit-options)
6015 (syscall-list-32bit-condition, syscall-list-64bit-options)
6016 (syscall-list-64bit-condition): Define.
6017 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6019 (syscall-list-variants, syscall-list-32bit-options)
6020 (syscall-list-32bit-condition, syscall-list-64bit-options)
6021 (syscall-list-64bit-condition): Define.
6022 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6024 (syscall-list-variants, syscall-list-32bit-options)
6025 (syscall-list-32bit-condition, syscall-list-64bit-options)
6026 (syscall-list-64bit-condition): Define.
6028 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6030 * locale/iso-639.def: Add brx entry.
6033 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6034 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6036 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6037 __feraiseexcept_renamed.
6039 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6042 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6043 EPOLLET with unsigned values.
6044 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6045 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6047 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6048 to large cancellation.
6049 * math/s_cacoshf.c: Likewise.
6050 * math/s_cacoshl.c: Likewise.
6052 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6056 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6057 * math/s_cacoshf.c: Likewise.
6058 * math/s_cacoshl.c: Likewise.
6060 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6063 * iconv/gconv.h: Define __GCONV_SWAP.
6064 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6065 * iconvdata/utf-16.c: Likewise.
6066 * iconvdata/utf-32.c: Likewise.
6068 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6071 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6072 numerator after shifting it by one limb.
6074 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6076 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6077 under [__USE_EXTERN_INLINES].
6079 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6082 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6084 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6086 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6087 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6089 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6090 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6091 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6092 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6093 for strncasecmp/strncasecmp_l compilation.
6094 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6095 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6097 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6100 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6103 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6106 * time/tzfile.c (__tzfile_read): Check values from file header.
6108 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6110 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6111 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6112 * powerpc/powerpc32/dl-start.S: Likewise.
6113 * powerpc/powerpc32/elf/start.S: Likewise.
6114 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6115 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6116 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6117 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6118 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6119 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6120 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6121 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6122 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6123 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6124 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6125 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6126 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6127 * powerpc/powerpc32/memset.S: Likewise.
6128 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6129 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6130 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6131 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6132 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6133 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6134 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6135 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6136 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6137 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6138 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6139 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6140 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6142 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6144 * math/libm-test.inc: Added more nearbyint tests.
6145 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6146 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6147 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6148 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6150 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6152 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6155 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6157 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6158 Add wcscpy-ssse3 wcscpy-c.
6159 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6160 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6161 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6162 * sysdeps/x86_64/wcschr.S: New file.
6163 * sysdeps/x86_64/wcsrchr.S: New file.
6164 * string/test-strcmp.c: Remove checking of wcscmp function for
6166 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6167 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6168 wcsrchr-sse2 wcsrchr-c.
6169 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6170 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6171 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6172 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6173 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6174 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6175 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6176 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6177 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6178 * wcsmbc/wcschr.c (WCSCHR): New macro.
6180 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6182 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6183 * wcsmbs/test-wcsrchr.c: New file.
6184 * string/test-strrchr.c: Add wcsrchr support.
6186 * wcsmbs/test-wcscpy.c: New file.
6187 * string/test-strcpy.c: Add wcscpy support.
6190 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6192 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6195 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6198 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6200 2011-12-04 Ulrich Drepper <drepper@gmail.com>
6202 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6203 Minor optimizations.
6205 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6206 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6207 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6209 2011-12-03 Ulrich Drepper <drepper@gmail.com>
6211 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6212 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6213 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6214 for gcc to avoid warnings.
6215 * inet/Makefile (tests): Add tst-checks.
6216 * inet/tst-checks.c: New file.
6218 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6221 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6224 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6225 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6227 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6229 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6231 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6234 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6236 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6238 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6239 conditional on GCC version.
6240 (__arch_compare_and_exchange_val_8_acq)
6241 (__arch_compare_and_exchange_val_16_acq)
6242 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6243 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6244 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6246 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6248 * sysdeps/sh/backtrace.c: New file.
6250 2011-12-02 Andreas Schwab <schwab@redhat.com>
6252 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6255 2011-12-01 Andreas Schwab <schwab@redhat.com>
6257 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6258 falling back to utime.
6260 2011-11-30 Andreas Schwab <schwab@redhat.com>
6262 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6263 expectations for float.
6265 2011-11-29 Andreas Schwab <schwab@redhat.com>
6267 * locale/weight.h (findidx): Add parameter len.
6268 * locale/weightwc.h (findidx): Likewise.
6269 * posix/fnmatch_loop.c (FCT): Adjust caller.
6270 * posix/regcomp.c (build_equiv_class): Likewise.
6271 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6272 * posix/regexec.c (check_node_accept_bytes): Likewise.
6273 * string/strcoll_l.c (STRCOLL): Likewise.
6274 * string/strxfrm_l.c (STRXFRM): Likewise.
6276 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6278 * Makefile.in: Remove CVSOPT handling.
6279 * configure.in: Remove use of AC_REVISION.
6280 * iconvdata/Makefile (distribute): No need to filter out CVS.
6281 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6284 2011-11-16 Andreas Schwab <schwab@redhat.com>
6286 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6287 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6288 [USE_AS_STRNCASECMP_L]: Likewise.
6289 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6290 NO_TLS_DIRECT_SEG_REFS.
6291 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6292 Fix argument offsets for non-PIC.
6293 [USE_AS_STRNCASECMP_L]: Likewise.
6294 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6295 NO_TLS_DIRECT_SEG_REFS.
6297 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6299 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6301 * locale/loadlocale.c (_nl_load_locale): Likewise.
6303 2011-11-15 Andreas Schwab <schwab@redhat.com>
6305 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6306 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6307 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6308 (SYSCALL_GETTIME): Set errno on error.
6310 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6311 count references to noai6ai_cached.
6313 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6315 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6317 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6318 FD_CLOEXEC for /proc/self/maps.
6320 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6321 FD_CLOEXEC for /proc/meminfo.
6323 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6326 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6327 FD_CLOEXEC for given file.
6329 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6331 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6332 FD_CLOEXEC for /etc/hosts.
6333 (_gethtent): Likewise.
6335 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6337 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6338 cancellation and set FD_CLOEXEC for /etc/netgroup.
6340 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6341 reading /etc/publickey.
6343 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6344 allow cancellation when reading /etc/group.
6346 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6348 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6350 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6351 when using data file.
6353 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6355 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6356 (write_nis_obj): Use "c" and "e" in fopen.
6358 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6360 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6362 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6364 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6366 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6369 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6371 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6373 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6375 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6376 file parsing and set FD_CLOEXEC.
6378 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6380 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6382 2011-11-14 Andreas Schwab <schwab@redhat.com>
6384 * malloc/arena.c (arena_get2): Don't call reused_arena when
6385 _int_new_arena failed.
6387 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6389 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6390 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6391 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6392 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6393 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6394 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6395 to compile strcasecmp and strncasecmp.
6396 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6397 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6401 2011-11-13 Ulrich Drepper <drepper@gmail.com>
6403 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6404 locale-defines.sym to gen-as-const-headers.
6405 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6406 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6407 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6408 to compile strcasecmp and strncasecmp.
6409 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6410 strcasecmp_l and strncasecmp_l.
6411 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6412 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6413 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6414 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6415 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6416 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6417 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6418 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6419 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6420 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6421 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6423 2011-11-12 Ulrich Drepper <drepper@gmail.com>
6425 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6426 result of SYSDEP_GETTIME_CPU to retval.
6427 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6428 parameter list to macro. Remove trailing semicolon. Adjust users.
6430 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6433 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6435 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6437 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6438 from unused variable.
6440 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6442 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6445 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6448 * sunrpc/rpc_prot.c (rejected): Fix case value.
6450 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6451 unsigned long long int to avoid warnings in shift.
6453 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6455 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6458 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6459 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6460 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6462 * nis/nis_table.c (nis_list): Use variable of correct type for
6463 result of __follow_path call.
6465 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6467 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6468 of math functions ceil, trunc, floor, round, and sqrt, when
6469 avaliable on the platform.
6470 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6472 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6473 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6474 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6476 2011-10-30 Marek Polacek <mpolacek@redhat.com>
6478 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6479 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6481 2011-11-11 Roland McGrath <roland@hack.frob.com>
6483 * include/unistd.h: Fix __readlink return type.
6484 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6486 2011-11-11 Ulrich Drepper <drepper@gmail.com>
6488 * stdlib/ucontext.h: Undo last change for makecontext.
6490 2011-11-11 Andreas Schwab <schwab@redhat.com>
6492 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6494 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6495 * setjmp/setjmp.h: Mark functions as non-leaf.
6496 * setjmp/bits/setjmp2.h: Likewise.
6497 * stdlib/ucontext.h: Likewise.
6499 2011-11-10 Andreas Schwab <schwab@redhat.com>
6501 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6502 (reused_arena): Don't check arena limit.
6503 (arena_get2): Atomically check arena limit.
6505 2011-11-08 Ulrich Drepper <drepper@gmail.com>
6507 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6508 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6510 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6513 2011-11-07 Andreas Schwab <schwab@redhat.com>
6515 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6516 handler when locking.
6518 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6519 Fix size of allocated buffer.
6521 2011-11-04 Andreas Schwab <schwab@redhat.com>
6524 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6525 declarations for long double functions.
6526 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6528 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6530 2011-11-03 Andreas Schwab <schwab@redhat.com>
6532 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6535 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6538 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6540 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6542 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6544 * include/alloca.h (stackinfo_alloca_round): Define.
6545 (extend_alloca): Use it.
6546 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6547 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6550 * scripts/check-local-headers.sh: Ignore libaudit.h.
6552 * nscd/Makefile (extra-objs): Make recursively expanded.
6554 2011-11-01 Ulrich Drepper <drepper@gmail.com>
6556 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6557 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6559 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6560 * posix/tst-rfc3484-2.c: Likewise.
6561 * posix/tst-rfc3484-3.c: Likewise.
6563 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6565 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6567 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6568 process_vm_writev from libc using GLIBC_2.15 version.
6570 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6572 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6574 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6577 2011-10-31 Ulrich Drepper <drepper@gmail.com>
6580 * nss/getent.c (initgroups_keys): Show error message in case no group
6583 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6584 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6585 __bump_nl_timestamp.
6586 * nscd/connections (nscd_init): When host database is served open
6587 netlink socket and request notification about configuration changes.
6588 (main_loop_poll): Track netlink file descriptor and bump timestamp
6589 in case data becomes available.
6590 (main_loop_epoll): Likewise.
6591 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6592 (database_pers_head): Add extra_data fileds.
6593 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6594 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6595 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6597 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6598 in6ai data, call __free_in6ai.
6599 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6601 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6602 interface information. Reuse previous data if netlink timestamp
6604 (__bump_nl_timestamp): New function.
6605 (__free_in6ai): New function.
6607 2011-10-30 Ulrich Drepper <drepper@gmail.com>
6609 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6610 close_not_cancel_no_status here.
6611 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6613 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6616 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6619 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6620 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6621 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6623 2011-07-03 Andreas Jaeger <aj@suse.de>
6626 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6627 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6628 * math/libm-test.inc (sin_test): Add test case.
6630 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6633 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6634 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6636 * elf/chroot_canon.c (chroot_canon): Cleanups.
6638 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6641 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6642 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6644 * string/test-strchr.c: Make usable for strchrnul testing.
6645 * string/test-strchrnul.c: New file.
6646 * string/Makefile (strop-tests): Add strchrnul.
6648 * po/it.po: Update from translation team.
6649 * po/es.po: Likewise.
6651 2011-10-28 Ulrich Drepper <drepper@gmail.com>
6653 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6654 the three constants needed as parameters. Drop the others.
6655 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6656 __m128i_strloadu_tolower.
6657 Create and initialize variable zero and use it in all the places
6658 where _mm_setzero_si128 was used.
6660 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6661 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6662 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6663 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6665 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6666 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6667 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6668 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6669 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6670 __mpranred, __mptan.
6671 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6672 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6673 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6674 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6675 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6676 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6677 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6678 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6679 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6681 2011-10-28 Andreas Schwab <schwab@redhat.com>
6683 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6685 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6688 wide char related routines to wcsmbs subdir.
6690 2011-10-27 Andreas Schwab <schwab@redhat.com>
6693 * misc/sys/cdefs.h (__THROWNL): Define.
6694 * posix/unistd.h: Use __THREADNL instead of __THREAD
6695 for memory synchronization functions.
6697 2011-10-26 Roland McGrath <roland@hack.frob.com>
6700 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6702 * manual/stdio.texi (Obstack Streams): Node removed.
6704 2011-10-26 Andreas Schwab <schwab@redhat.com>
6706 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6707 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6708 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6710 * math/math_private.h (math_force_eval): Allow non-addressable
6712 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6714 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6716 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6719 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6720 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6721 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6722 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6723 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6724 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6725 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6726 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6728 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6729 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6730 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6731 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6732 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6733 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6734 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6735 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6736 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6737 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6738 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6739 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6740 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6741 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6742 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6743 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6744 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6745 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6746 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6748 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6749 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6751 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6752 place. Use VEX encoding when compiling for AVX.
6754 2011-10-25 Andreas Schwab <schwab@redhat.com>
6756 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6757 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6759 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6761 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6763 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6764 useless if() expression.
6765 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6766 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6768 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6772 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6773 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6774 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6775 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6776 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6777 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6778 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6779 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6780 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6781 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6783 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6785 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6787 2011-10-25 Andreas Schwab <schwab@redhat.com>
6789 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6791 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6793 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6795 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6796 .text section. Avoid duplicate constants.
6797 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6799 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6800 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6801 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6802 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6804 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6805 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6806 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6807 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6808 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6809 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6810 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6811 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6812 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6813 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6814 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6815 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6816 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6817 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6818 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6819 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6820 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6821 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6822 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6823 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6824 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6825 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6826 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6827 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6828 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6829 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6830 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6831 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6832 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6833 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6834 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6835 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6836 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6837 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6838 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6839 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6840 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6841 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6843 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6845 * sysdeps/x86_64/dla.h: Move to ...
6846 * sysdeps/x86_64/fpu/dla.h: ...here.
6847 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6848 situations. Use __builtin_fma only for gcc 4.6 and up.
6850 * config.make.in: Add have-mfma4 entry.
6851 * configure.in: Substitute libc_cv_cc_fma4.
6852 * math/Makefile (dbl-only-routines): Add sincostab.
6853 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6854 Use __sincostab not sincos.
6855 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6857 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6858 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6860 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6862 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6863 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6864 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6865 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6867 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6868 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6870 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6871 define aliases when function name is a macro.
6872 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6873 sysdeps/ieee754/dbl-64/sincos.tbl.
6874 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6875 fma4-enabled routines.
6876 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6877 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6878 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6879 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6880 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6881 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6882 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6883 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6884 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6885 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6886 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6887 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6888 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6889 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6890 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6891 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6892 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6893 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6894 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6895 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6896 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6897 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6898 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6899 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6900 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6901 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6902 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6903 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6904 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6905 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6907 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6909 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6910 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6914 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6915 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6916 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6918 2011-10-24 Andreas Schwab <schwab@redhat.com>
6920 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6922 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6924 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6926 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6928 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6930 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6931 Remove unused variable magic_bits.
6932 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6934 * string/strnlen.c: Define and use STRNLEN macro.
6935 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6936 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6937 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6938 * wcsmbs/wcslen.c: Define and use WCSLEN.
6939 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6940 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6941 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6942 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6943 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6944 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6945 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6947 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6949 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6950 strnlen-sse2-no-bsf.
6951 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6952 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6953 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6954 Add strnlen support.
6955 (USE_AS_STRNLEN): New macro.
6956 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6957 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6958 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6959 * sysdeps/x86_64/wcslen.S: New file.
6961 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6963 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6964 XMM-moves are used for copying on small sizes.
6966 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6968 * wcsmbs/Makefile (strop-tests): Add wcschr.
6969 * wcsmbs/test-wcschr.c: New file.
6970 * string/test-strchr.c: Update.
6974 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6976 * wcsmbs/Makefile (strop-tests): Add wcslen.
6977 * wcsmbs/test-wcslen.c: New file.
6978 * string/test-strlen.c: Update.
6982 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6984 * po/it.po: Update from translation team.
6986 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6988 * sysdeps/x86_64/wcscmp.S: Update.
6989 Fix wrong comparison semantics.
6990 wcscmp shall use signed comparison not unsigned.
6991 Don't use substraction to avoid overflow bug.
6992 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6993 * wcsmbc/wcscmp.c: Likewise.
6994 * string/test-strcmp.c: Likewise.
6995 Add new tests to check cases with negative values.
6997 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6999 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7000 * sysdeps/x86_64/dla.h: ...here. New file.
7001 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7002 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/e_sqrt.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.
7011 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7013 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7014 __ynl_finite aliases.
7016 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7020 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7022 [DLA_FMA] (EMULV): Use DLA_FMA.
7023 [DLA_FMA] (MUL12): Use EMULV.
7024 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7025 that are not needed.
7026 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7034 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7036 * math/s_nan.c: Undef __nan.
7037 * math/s_nanf.c: Undef __nanf.
7038 * math/s_nanl.c: Undef __nanl.
7039 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7042 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7044 * math/s_catan.c: Add branch predictions.
7045 * math/s_catanf.c: Likewise.
7046 * math/s_catanh.c: Likewise.
7047 * math/s_catanhf.c: Likewise.
7048 * math/s_catanhl.c: Likewise.
7049 * math/s_catanl.c: Likewise.
7050 * math/s_cexp.c: Likewise.
7051 * math/s_cexpf.c: Likewise.
7052 * math/s_cexpl.c: Likewise.
7053 * math/s_clog.c: Likewise.
7054 * math/s_clog10.c: Likewise.
7055 * math/s_clog10f.c: Likewise.
7056 * math/s_clog10l.c: Likewise.
7057 * math/s_clogf.c: Likewise.
7058 * math/s_clogl.c: Likewise.
7059 * math/s_csqrt.c: Likewise.
7060 * math/s_csqrtf.c: Likewise.
7061 * math/s_csqrtl.c: Likewise.
7062 * math/s_ctanf.c: Likewise.
7063 * math/s_ctanh.c: Likewise.
7064 * math/s_ctanhf.c: Likewise.
7065 * math/s_ctanhl.c: Likewise.
7066 * math/s_ctanl.c: Likewise.
7068 * math/math_private.h: Define __nan, __nanf, __nanl.
7069 * math/s_cacosh.c: Include <math_private.h>.
7070 * math/s_cacoshl.c: Likewise.
7071 * math/s_casinh.c: Likewise.
7072 * math/s_casinhf.c: Likewise.
7073 * math/s_casinhl.c: Likewise.
7074 * math/s_ccos.c: Rely entire on ccosh.
7075 * math/s_ccosf.c: Rely entire on ccoshf.
7076 * math/s_ccosl.c: Rely entirely on ccoshl.
7077 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7078 Remove tests for FE_INVALID.
7079 * math/s_ccoshf.c: Likewise.
7080 * math/s_ccoshl.c: Likewise.
7081 * math/s_csin.c: Likewise.
7082 * math/s_csinf.c: Likewise.
7083 * math/s_csinh.c Likewise.
7084 * math/s_csinhf.c: Likewise.
7085 * math/s_csinhl.c: Likewise.
7086 * math/s_csinl.c: Likewise.
7087 * math/s_ctan.c: Likewise.
7088 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7089 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7090 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7092 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7095 compilation problems.
7097 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7100 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7102 * sysdeps/i386/configure.in: Test for -mfma4 option.
7103 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7104 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7105 COMMON_CPUID_INDEX_80000001.
7106 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7107 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7108 use it if FMA3 is not supported.
7109 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7111 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7112 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7114 2011-10-20 Andreas Schwab <schwab@redhat.com>
7117 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7118 it would create a cycle with a link time dependency.
7120 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7122 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7124 * string/Makefile (strop-tests): Add rawmemchr.
7125 * string/test-rawmemchr.c: New file.
7127 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7128 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7129 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7130 when compiling str{,n}casecmp and when AVX is available. Hook up
7131 new optimized code in initializers.
7133 2011-10-19 Andreas Schwab <schwab@redhat.com>
7135 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7136 __feraiseexcept instead of feraiseexcept.
7138 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7140 * math/math_private.h: Define defaults for libc_fetestexcept and
7142 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7143 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7144 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7145 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7146 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7147 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7148 libc_fetestexcept and libc_feupdateenv.
7150 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7151 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7152 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7153 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7154 libc_feholdexcept_setround.
7156 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7157 Add s_nearbyint-c and s_nearbyintf-c.
7158 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7160 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7161 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7162 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7163 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7165 * math/math_private.h: Define defaults for libc_fegetround,
7166 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7167 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7168 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7169 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7170 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7172 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7173 Remove comments and hacks for old compiler versions.
7174 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7175 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7178 2011-10-18 Andreas Schwab <schwab@redhat.com>
7180 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7181 (__feraiseexcept_renamed): Add __NTH.
7182 (feraiseexcept): Add __NTH. Rename local variables to fix
7183 namespace violations.
7185 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7187 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7189 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7191 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7192 recently added interfaces.
7193 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7195 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7196 about macro parameter expansion.
7198 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7199 __NO_MATH_INLINES is defined. Cleanups.
7201 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7202 and __floorf is target has SSE4.1.
7203 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7204 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7205 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7206 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7208 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7212 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7214 2011-10-17 Andreas Schwab <schwab@redhat.com>
7216 * misc/sys/cdefs.h: Fix last change.
7218 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7221 2011-10-16 Ulrich Drepper <drepper@gmail.com>
7223 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7225 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7226 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7227 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7228 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7229 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7230 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7231 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7232 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7233 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7234 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7235 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7236 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7237 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7238 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7239 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7240 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7241 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7242 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7243 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7244 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7245 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7246 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7248 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7249 ceil, ceilf, floor, floorf.
7251 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7252 Perform IRELATIVE relocations last.
7254 * elf/do-rel.h: Add another parameter nrelative, replacing the
7255 local variable with the same name. Change name of the function
7256 to end in Rel or Rela (uppercase).
7257 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7258 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7259 elf_dynamic_do_##reloc function.
7261 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7263 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7264 is sufficient, at least on modern CPUs.
7266 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7268 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7269 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7271 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7273 * math/bits/math-finite.h: Add entries for exp.
7274 * math/e_expl.c: Add __*_finite alias.
7275 * sysdeps/i386/fpu/e_exp.S: Likewise.
7276 * sysdeps/i386/fpu/e_expf.S: Likewise.
7277 * sysdeps/i386/fpu/e_expl.c: Likewise.
7278 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7279 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7282 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7283 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7284 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7286 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7287 is sufficient, at least on modern CPUs.
7289 * ctype/ctype-info.c (__ctype_init): Define.
7290 * include/ctype.h (__ctype_init): Declare.
7291 (__ctype_b_loc): The variable is always initialized.
7292 (__ctype_toupper_loc): Likewise.
7293 (__ctype_tolower_loc): Likewise.
7294 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7295 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7297 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7299 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7301 * configure.in: Also look in $cxxmachine/include for C++ system
7304 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7306 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7307 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7308 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7309 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7310 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7311 (USE_AS_WMEMCMP): New macro.
7313 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7314 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7315 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7316 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7318 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7319 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7320 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7321 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7322 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7323 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7324 (USE_AS_WMEMCMP): New macro.
7325 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7326 * sysdeps/string/test-memcmp.c: Update.
7329 * wcsmbs/wmemcmp.c: Update.
7330 (WMEMCMP): New macro.
7333 2011-10-12 Andreas Jaeger <aj@suse.de>
7336 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7338 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7340 * libio/iofwide.c (do_length): Avoid warning.
7342 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7344 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7346 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7348 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7349 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7350 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7351 * sysdeps/i386/i686/fpu/e_log.S: New file.
7352 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7353 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7355 * ctype/ctype.h: Add support for inlined isXXX functions when
7358 2011-10-14 Andreas Schwab <schwab@redhat.com>
7360 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7362 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7364 2011-10-13 Roland McGrath <roland@hack.frob.com>
7367 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7369 2011-10-13 Andreas Schwab <schwab@redhat.com>
7371 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7372 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7375 * sysdeps/x86_64/memrchr.S: Check for zero size.
7377 * string/stratcliff.c: Add memrchr tests.
7379 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7382 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7383 rawmemchr-sse2 rawmemchr-sse2-bsf.
7384 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7385 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7386 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7387 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7388 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7389 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7390 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7391 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7392 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7393 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7394 * string/memrchr.c (MEMRCHR): New macro.
7396 2011-10-12 Ulrich Drepper <drepper@gmail.com>
7398 Add integration with gcc's -ffinite-math-only and optimize wrapper
7400 * Versions.def: Define GLIBC_2.15 version for libm.
7401 * math/Makefile (headers): Add bits/math-finite.h.
7402 * math/bits/math-finite.h: New file.
7403 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7404 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7405 * math/e_acoshl.c: Add __*_finite alias.
7406 * math/e_acosl.c: Likewise.
7407 * math/e_asinl.c: Likewise.
7408 * math/e_atan2l.c: Likewise.
7409 * math/e_atanhl.c: Likewise.
7410 * math/e_coshl.c: Likewise.
7411 * math/e_exp10.c: Likewise.
7412 * math/e_exp10f.c: Likewise.
7413 * math/e_exp10l.c: Likewise.
7414 * math/e_exp2l.c: Likewise.
7415 * math/e_fmodl.c: Likewise.
7416 * math/e_gammal_r.c: Likewise.
7417 * math/e_hypotl.c: Likewise.
7418 * math/e_j0l.c: Likewise.
7419 * math/e_j1l.c: Likewise.
7420 * math/e_jnl.c: Likewise.
7421 * math/e_lgammal_r.c: Likewise.
7422 * math/e_log10l.c: Likewise.
7423 * math/e_log2l.c: Likewise.
7424 * math/e_logl.c: Likewise.
7425 * math/e_powl.c: Likewise.
7426 * math/e_sinhl.c: Likewise.
7427 * math/e_sqrtl.c: Likewise.
7428 * math/e_scalb.c: Completely rewritten and optimized.
7429 * math/e_scalbf.c: Likewise.
7430 * math/e_scalbl.c: Likewise.
7431 * math/w_acos.c: Likewise.
7432 * math/w_acosf.c: Likewise.
7433 * math/w_acosl.c: Likewise.
7434 * math/w_acosh.c: Likewise.
7435 * math/w_acoshf.c: Likewise.
7436 * math/w_acoshl.c: Likewise.
7437 * math/w_asin.c: Likewise.
7438 * math/w_asinf.c: Likewise.
7439 * math/w_asinl.c: Likewise.
7440 * math/w_atan2.c: Likewise.
7441 * math/w_atan2f.c: Likewise.
7442 * math/w_atan2l.c: Likewise.
7443 * math/w_atanh.c: Likewise.
7444 * math/w_atanhf.c: Likewise.
7445 * math/w_atanhl.c: Likewise.
7446 * math/w_exp10.c: Likewise.
7447 * math/w_exp10f.c: Likewise.
7448 * math/w_exp10l.c: Likewise.
7449 * math/w_fmod.c: Likewise.
7450 * math/w_fmodf.c: Likewise.
7451 * math/w_fmodl.c: Likewise.
7452 * math/w_j0.c: Likewise.
7453 * math/w_j0f.c: Likewise.
7454 * math/w_j0l.c: Likewise.
7455 * math/w_j1.c: Likewise.
7456 * math/w_j1f.c: Likewise.
7457 * math/w_j1l.c: Likewise.
7458 * math/w_jn.c: Likewise.
7459 * math/w_jnf.c: Likewise.
7460 * math/w_log.c: Likewise.
7461 * math/w_logf.c: Likewise.
7462 * math/w_logl.c: Likewise.
7463 * math/w_log10.c: Likewise.
7464 * math/w_log10f.c: Likewise.
7465 * math/w_log10l.c: Likewise.
7466 * math/w_log2.c: Likewise.
7467 * math/w_log2f.c: Likewise.
7468 * math/w_log2l.c: Likewise.
7469 * math/w_pow.c: Likewise.
7470 * math/w_powf.c: Likewise.
7471 * math/w_powl.c: Likewise.
7472 * math/w_remainder.c: Likewise.
7473 * math/w_remainderf.c: Likewise.
7474 * math/w_remainderl.c: Likewise.
7475 * math/w_scalb.c: Likewise.
7476 * math/w_scalbf.c: Likewise.
7477 * math/w_scalbl.c: Likewise.
7478 * math/w_sqrt.c: Likewise.
7479 * math/w_sqrtf.c: Likewise.
7480 * math/w_sqrtl.c: Likewise.
7481 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7482 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7484 * math/math_private.h: Declare __kernel_standard_f.
7485 * math/w_cosh.c: Remove cruft and optimize a bit.
7486 * math/w_coshf.c: Likewise.
7487 * math/w_coshl.c: Likewise.
7488 * math/w_exp2.c: Likewise.
7489 * math/w_exp2f.c: Likewise.
7490 * math/w_exp2l.c: Likewise.
7491 * math/w_hypot.c: Likewise.
7492 * math/w_hypotf.c: Likewise.
7493 * math/w_hypotl.c: Likewise.
7494 * math/w_lgamma.c: Likewise.
7495 * math/w_lgamma_r.c: Likewise.
7496 * math/w_lgammaf.c: Likewise.
7497 * math/w_lgammaf_r.c: Likewise.
7498 * math/w_lgammal.c: Likewise.
7499 * math/w_lgammal_r.c: Likewise.
7500 * math/w_sinh.c: Likewise.
7501 * math/w_sinhf.c: Likewise.
7502 * math/w_sinhl.c: Likewise.
7503 * math/w_tgamma.c: Likewise.
7504 * math/w_tgammaf.c: Likewise.
7505 * math/w_tgammal.c: Likewise.
7506 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7507 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7508 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7509 Minor optimizations. Pretty printing. Remove cruft.
7510 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7511 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7512 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7513 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7514 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7515 * sysdeps/i386/fpu/e_asin.S: Likewise.
7516 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7517 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7518 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7519 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7520 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7521 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7522 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7523 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7524 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7525 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7526 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7527 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7528 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7529 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7530 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7531 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7532 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7533 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7534 * sysdeps/i386/fpu/e_log.S: Likewise.
7535 * sysdeps/i386/fpu/e_log10.S: Likewise.
7536 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7537 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7538 * sysdeps/i386/fpu/e_log2.S: Likewise.
7539 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7540 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7541 * sysdeps/i386/fpu/e_logf.S: Likewise.
7542 * sysdeps/i386/fpu/e_logl.S: Likewise.
7543 * sysdeps/i386/fpu/e_pow.S: Likewise.
7544 * sysdeps/i386/fpu/e_powf.S: Likewise.
7545 * sysdeps/i386/fpu/e_powl.S: Likewise.
7546 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7547 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7548 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7549 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7550 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7551 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7552 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7553 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7554 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7559 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7562 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7569 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7573 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7574 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7576 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7577 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7578 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7579 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7580 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7581 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7582 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7583 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7584 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7585 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7586 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7587 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7588 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7589 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7590 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7591 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7592 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7593 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7594 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7595 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7596 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7620 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7635 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7636 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7637 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7638 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7640 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7641 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7643 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7645 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7646 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7647 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7648 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7649 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7650 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7651 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7652 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7653 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7654 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7655 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7656 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7657 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7658 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7659 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7660 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7661 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7662 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7663 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7664 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7665 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7666 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7667 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7668 (__isnanf): Likewise.
7669 (__isinf_ns): Likewise.
7670 (__isinf_nsf): Likewise.
7671 (__finite): Likewise.
7672 (__finitef): Likewise.
7673 (__ieee754_sqrt): Define as macro.
7674 (__ieee754_sqrtf): Define as macro.
7675 (__ieee754_sqrtl): Define as macro.
7676 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7678 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7679 __FINITE_MATH_ONLY__ consistent.
7680 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7682 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7684 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7687 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7689 2011-10-09 Ulrich Drepper <drepper@gmail.com>
7691 * po/ja.po: Update from translation team.
7693 2011-10-08 Roland McGrath <roland@hack.frob.com>
7695 * locale/programs/locarchive.c (prepare_address_space): New function.
7696 (create_archive, enlarge_archive, open_archive): Use it.
7698 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7699 inside [SHARED], where it is used.
7701 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7703 * nss/getent.c (netgroup_keys): Remove unused variable.
7704 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7706 2011-10-08 Ulrich Drepper <drepper@gmail.com>
7708 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7709 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7710 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7711 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7712 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7713 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7714 * math/Makefile (libm-calls): Add s_isinf_ns.
7715 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7716 * math/multc3.c: Likewise.
7717 * math/s_casin.c: Likewise.
7718 * math/s_casinf.c: Likewise.
7719 * math/s_casinl.c: Likewise.
7720 * math/s_ccos.c: Likewise.
7721 * math/s_ccosf.c: Likewise.
7722 * math/s_ccosl.c: Likewise.
7723 * math/s_ctan.c: Likewise.
7724 * math/s_ctanf.c: Likewise.
7725 * math/s_ctanh.c: Likewise.
7726 * math/s_ctanhf.c: Likewise.
7727 * math/s_ctanhl.c: Likewise.
7728 * math/s_ctanl.c: Likewise.
7729 * math/w_fmod.c: Likewise.
7730 * math/w_fmodf.c: Likewise.
7731 * math/w_fmodl.c: Likewise.
7732 * math/w_remainder.c: Likewise.
7733 * math/w_remainderf.c: Likewise.
7734 * math/w_remainderl.c: Likewise.
7735 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7736 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7737 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7738 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7739 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7740 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7741 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7742 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7744 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7746 * stdio-common/printf_fphex.c: Likewise.
7747 * stdio-common/printf_size.c: Likewise.
7749 * math/e_exp10.c: Include math_private.h using <...> not "...".
7750 * math/e_exp10f.c: Likewise.
7751 * math/e_exp10l.c: Likewise.
7752 * math/e_exp2l.c: Likewise.
7753 * math/e_j0l.c: Likewise.
7754 * math/e_j1l.c: Likewise.
7755 * math/e_jnl.c: Likewise.
7756 * math/e_lgammal_r.c: Likewise.
7757 * math/e_rem_pio2l.c: Likewise.
7758 * math/e_scalb.c: Likewise.
7759 * math/e_scalbf.c: Likewise.
7760 * math/e_scalbl.c: Likewise.
7761 * math/k_cosl.c: Likewise.
7762 * math/k_sinl.c: Likewise.
7763 * math/k_tanl.c: Likewise.
7764 * math/s_cacoshf.c: Likewise.
7765 * math/s_catan.c: Likewise.
7766 * math/s_catanf.c: Likewise.
7767 * math/s_catanh.c: Likewise.
7768 * math/s_catanhf.c: Likewise.
7769 * math/s_catanhl.c: Likewise.
7770 * math/s_catanl.c: Likewise.
7771 * math/s_ccosh.c: Likewise.
7772 * math/s_ccoshf.c: Likewise.
7773 * math/s_ccoshl.c: Likewise.
7774 * math/s_cexp.c: Likewise.
7775 * math/s_cexpf.c: Likewise.
7776 * math/s_cexpl.c: Likewise.
7777 * math/s_clog.c: Likewise.
7778 * math/s_clog10.c: Likewise.
7779 * math/s_clog10f.c: Likewise.
7780 * math/s_clog10l.c: Likewise.
7781 * math/s_clogf.c: Likewise.
7782 * math/s_clogl.c: Likewise.
7783 * math/s_csin.c: Likewise.
7784 * math/s_csinf.c: Likewise.
7785 * math/s_csinh.c: Likewise.
7786 * math/s_csinhf.c: Likewise.
7787 * math/s_csinhl.c: Likewise.
7788 * math/s_csinl.c: Likewise.
7789 * math/s_csqrt.c: Likewise.
7790 * math/s_csqrtf.c: Likewise.
7791 * math/s_csqrtl.c: Likewise.
7792 * math/s_ctan.c: Likewise.
7793 * math/s_ctanf.c: Likewise.
7794 * math/s_ctanh.c: Likewise.
7795 * math/s_ctanhf.c: Likewise.
7796 * math/s_ctanhl.c: Likewise.
7797 * math/s_ctanl.c: Likewise.
7798 * math/s_ldexp.c: Likewise.
7799 * math/s_ldexpf.c: Likewise.
7800 * math/s_ldexpl.c: Likewise.
7801 * math/s_significand.c: Likewise.
7802 * math/s_significandf.c: Likewise.
7803 * math/s_significandl.c: Likewise.
7804 * math/w_acos.c: Likewise.
7805 * math/w_acosf.c: Likewise.
7806 * math/w_acosh.c: Likewise.
7807 * math/w_acoshf.c: Likewise.
7808 * math/w_acoshl.c: Likewise.
7809 * math/w_acosl.c: Likewise.
7810 * math/w_asin.c: Likewise.
7811 * math/w_asinf.c: Likewise.
7812 * math/w_asinl.c: Likewise.
7813 * math/w_atan2.c: Likewise.
7814 * math/w_atan2f.c: Likewise.
7815 * math/w_atan2l.c: Likewise.
7816 * math/w_atanh.c: Likewise.
7817 * math/w_atanhf.c: Likewise.
7818 * math/w_atanhl.c: Likewise.
7819 * math/w_cosh.c: Likewise.
7820 * math/w_coshf.c: Likewise.
7821 * math/w_coshl.c: Likewise.
7822 * math/w_dremf.c: Likewise.
7823 * math/w_exp10.c: Likewise.
7824 * math/w_exp10f.c: Likewise.
7825 * math/w_exp10l.c: Likewise.
7826 * math/w_exp2.c: Likewise.
7827 * math/w_exp2f.c: Likewise.
7828 * math/w_fmod.c: Likewise.
7829 * math/w_fmodf.c: Likewise.
7830 * math/w_fmodl.c: Likewise.
7831 * math/w_hypot.c: Likewise.
7832 * math/w_hypotf.c: Likewise.
7833 * math/w_hypotl.c: Likewise.
7834 * math/w_j0.c: Likewise.
7835 * math/w_j0f.c: Likewise.
7836 * math/w_j0l.c: Likewise.
7837 * math/w_j1.c: Likewise.
7838 * math/w_j1f.c: Likewise.
7839 * math/w_j1l.c: Likewise.
7840 * math/w_jn.c: Likewise.
7841 * math/w_jnf.c: Likewise.
7842 * math/w_jnl.c: Likewise.
7843 * math/w_lgamma.c: Likewise.
7844 * math/w_lgamma_r.c: Likewise.
7845 * math/w_lgammaf.c: Likewise.
7846 * math/w_lgammaf_r.c: Likewise.
7847 * math/w_lgammal.c: Likewise.
7848 * math/w_lgammal_r.c: Likewise.
7849 * math/w_log.c: Likewise.
7850 * math/w_log10.c: Likewise.
7851 * math/w_log10f.c: Likewise.
7852 * math/w_log10l.c: Likewise.
7853 * math/w_log2.c: Likewise.
7854 * math/w_log2f.c: Likewise.
7855 * math/w_log2l.c: Likewise.
7856 * math/w_logf.c: Likewise.
7857 * math/w_logl.c: Likewise.
7858 * math/w_pow.c: Likewise.
7859 * math/w_powf.c: Likewise.
7860 * math/w_powl.c: Likewise.
7861 * math/w_remainder.c: Likewise.
7862 * math/w_remainderf.c: Likewise.
7863 * math/w_remainderl.c: Likewise.
7864 * math/w_scalb.c: Likewise.
7865 * math/w_scalbf.c: Likewise.
7866 * math/w_scalbl.c: Likewise.
7867 * math/w_sinh.c: Likewise.
7868 * math/w_sinhf.c: Likewise.
7869 * math/w_sinhl.c: Likewise.
7870 * math/w_sqrt.c: Likewise.
7871 * math/w_sqrtf.c: Likewise.
7872 * math/w_sqrtl.c: Likewise.
7873 * math/w_tgamma.c: Likewise.
7874 * math/w_tgammaf.c: Likewise.
7875 * math/w_tgammal.c: Likewise.
7877 * po/ja.po: Update from translation team.
7879 2011-09-29 Andreas Jaeger <aj@suse.de>
7882 * sunrpc/netname.c (netname2host): Fix logic.
7886 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7888 * math/w_remainder.c (__remainder): Likewise.
7889 * math/w_remainderf.c (__remainderf): Likewise.
7890 * math/libm-test.inc (remainder_test): Add test cases.
7892 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7894 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7897 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7899 * string/test-memcmp.c: Avoid unncessary #defines.
7900 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7902 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7904 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7905 Use new sse2 version for core i3 - i7 as it's faster
7907 (bit_Prefer_PMINUB_for_stringop): New.
7908 * sysdeps/x86_64/rawmemchr.S: Update.
7909 Replace with faster SSE2 version.
7910 * sysdeps/x86_64/memrchr.S: New file.
7911 * sysdeps/x86_64/memchr.S: Update.
7912 Replace with faster SSE2 version.
7914 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7916 * elf/dl-load.c (lose): Add cast to avoid warning.
7918 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7920 * po/ca.po: Update from translation team.
7922 * inet/getnetgrent_r.c: Hook up nscd.
7923 * nscd/Makefile (routines): Add nscd_netgroup.
7924 (nscd-modules): Add netgroupcache.
7925 (CFLAGS-netgroupcache.c): Define.
7926 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7927 (cache_search): Add const to second parameter.
7928 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7930 (dbs): Add netgrdb entry.
7931 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7932 (verify_persistent_db): Handle netgrdb.
7933 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7934 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7936 (netgroup_response_header): Define.
7937 (innetgroup_response_header): Define.
7938 (datahead): Add netgroup_response_header and innetgroup_response_header
7940 * nscd/nscd.conf: Add entries for netgroup cache.
7941 * nscd/nscd.h (dbtype): Add netgrdb.
7942 (_PATH_NSCD_NETGROUP_DB): Define.
7943 (netgroup_iov_disabled): Declare.
7944 (xmalloc, xcalloc, xrealloc): Move declarations here.
7945 (cache_search): Adjust prototype.
7946 Add netgroup-related prototypes.
7947 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7948 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7949 (__nscd_innetgr): Declare.
7950 * nscd/selinux.c (perms): Use access_vector_t as element type and
7951 add netgroup-related initializers.
7952 * nscd/netgroupcache.c: New file.
7953 * nscd/nscd_netgroup.c: New file.
7954 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7955 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7956 For four parameters use innetgr.
7957 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7958 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7959 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7960 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7962 * nscd/connections.c (register_traced_file): Don't register file
7963 for disabled databases.
7965 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7967 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7969 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7970 from tree and freeing node.
7972 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7974 * nss/nsswitch.c (__nss_database_lookup): Handle
7975 nss_parse_service_list out of memory case.
7977 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7979 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7982 2011-10-04 Andreas Schwab <schwab@redhat.com>
7984 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7985 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7987 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7988 elf_machine_rela, elf_machine_lazy_rel.
7989 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7990 (ELF_DYNAMIC_DO_REL): Likewise.
7991 (ELF_DYNAMIC_DO_RELA): Likewise.
7992 (ELF_DYNAMIC_RELOCATE): Likewise.
7993 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7994 to ELF_DYNAMIC_DO_REL.
7995 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7996 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7997 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7999 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8000 skip_ifunc, don't call ifunc function if non-zero.
8001 (elf_machine_rela): Likewise.
8002 (elf_machine_lazy_rel): Likewise.
8003 (elf_machine_lazy_rela): Likewise.
8004 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8005 (elf_machine_lazy_rel): Likewise.
8006 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8008 (elf_machine_lazy_rel): Likewise.
8009 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8011 (elf_machine_lazy_rel): Likewise.
8012 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8013 (elf_machine_lazy_rel): Likewise.
8014 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8015 (elf_machine_lazy_rel): Likewise.
8016 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8017 (elf_machine_lazy_rel): Likewise.
8018 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8019 (elf_machine_lazy_rel): Likewise.
8020 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8021 (elf_machine_lazy_rel): Likewise.
8022 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8023 (elf_machine_lazy_rel): Likewise.
8025 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8027 * nss/nss_files/files-init.c (_nss_files_init): Use static
8028 initialization for all the *_traced_file variables.
8030 2011-09-28 Andreas Schwab <schwab@redhat.com>
8032 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8034 2011-09-27 Roland McGrath <roland@hack.frob.com>
8037 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8039 2011-09-27 Andreas Schwab <schwab@redhat.com>
8041 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8042 Reread the line before reparsing it.
8044 2011-09-26 Andreas Schwab <schwab@redhat.com>
8046 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8048 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8049 Maxim Kuvyrkov <maxim@codesourcery.com>
8050 Joseph Myers <joseph@codesourcery.com>
8052 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8053 if needed for __stack_chk_guard.
8055 2011-09-19 Roland McGrath <roland@hack.frob.com>
8057 * sysdeps/posix/spawni.c (script_execute): Always define it.
8058 It will be optimized away if unused.
8059 (maybe_script_execute): New function.
8060 (__spawni): Call it.
8062 * Makerules: Don't include tls.make.
8063 (config-tls): Always set to thread.
8064 * tls.make.c: File removed.
8066 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8068 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8069 * config.make.in (CPPFLAGS-config): New substituted variable.
8071 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8073 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8076 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8077 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8079 2011-09-15 Roland McGrath <roland@hack.frob.com>
8081 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8082 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8083 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8084 (CALL_FAIL): Likewise.
8085 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8086 (CALL_FAIL): Macro removed.
8087 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8089 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8091 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8092 for __FINITE_MATH_ONLY__ == 1.
8094 2011-09-15 Andreas Schwab <schwab@redhat.com>
8096 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8097 __ieee754_sqrt instead of sqrt.
8098 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8099 __ieee754_sqrtf instead of sqrtf.
8100 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8101 __floorf instead of floorf.
8102 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8103 __floorf, __truncf instead of floorf, truncf.
8105 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8107 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8109 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8110 __extern_always_inline.
8111 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8114 2011-09-14 Andreas Schwab <schwab@redhat.com>
8116 * elf/rtld.c (dl_main): Also relocate in dependency order when
8117 doing symbol dependency testing.
8119 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8121 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8122 Always define `refsym'.
8124 2011-09-13 Andreas Schwab <schwab@redhat.com>
8126 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8127 (__FD_ELT): Renamed from __FDELT.
8128 * misc/bits/select2.h (__FD_ELT): Likewise.
8129 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8130 __FD_MASK instead of __FDELT, __FDMASK.
8131 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8133 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8136 * elf/Makefile (gen-ldd): Fix pattern.
8138 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8139 (init_tls): Likewise.
8141 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8143 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8145 2011-09-12 Andreas Schwab <schwab@redhat.com>
8147 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8148 `struct cmsghdr *' instead of `void *'.
8149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8152 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8154 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8156 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8159 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8161 * configure.in: Remove --with-tls option.
8162 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8163 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8164 out in case it is missing.
8165 * sysdeps/ia64/elf/configure.in: Likewise.
8166 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8167 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8168 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8169 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8170 * sysdeps/sh/elf/configure.in: Likewise.
8171 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8172 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8173 * sysdeps/x86_64/elf/configure.in: Likewise.
8174 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8175 * sysdeps/mach/hurd/tls.h: Likewise.
8178 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8181 * configure.in: Fix use of AC_INIT.
8183 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8185 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8187 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8189 * malloc/hooks.c: Likewise.
8192 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8193 variables statically.
8194 (narenas): Initialize.
8195 (list_lock): Initialize.
8196 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8197 initializtion of main_arena and list_lock. Small cleanups.
8198 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8199 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8200 Add initializers to main_arena and mp_.
8201 (malloc_state): Remove pagesize member. Change all users to use
8204 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8205 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8206 is always initialized.
8208 * malloc/malloc.c: Removed unused configurations and dead code.
8209 * malloc/arena.c: Likewise.
8210 * malloc/hooks.c: Likewise.
8211 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8213 * include/tls.h: Removed. USE___THREAD must always be defined.
8214 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8215 * elf/dl-libc.c: Likewise.
8216 * elf/dl-tsd.c: Likewise.
8217 * include/errno.h: Likewise.
8218 * include/netdb.h: Likewise.
8219 * include/resolv.h: Likewise.
8220 * inet/herrno-loc.c: Likewise.
8221 * inet/herrno.c: Likewise.
8222 * malloc/arena.c: Likewise.
8223 * malloc/hooks.c: Likewise.
8224 * malloc/malloc.c: Likewise.
8225 * resolv/res-state.c: Likewise.
8226 * resolv/res_libc.c: Likewise.
8227 * sysdeps/i386/dl-machine.h: Likewise.
8228 * sysdeps/ia64/dl-machine.h: Likewise.
8229 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8230 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8231 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8232 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8233 * sysdeps/sh/dl-machine.h: Likewise.
8234 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8235 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8236 * sysdeps/unix/i386/sysdep.S: Likewise.
8237 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8238 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8239 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8240 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8241 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8242 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8243 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8244 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8246 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8247 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8248 * sysdeps/x86_64/dl-machine.h: Likewise.
8249 * tls.make.c: Likewise.
8251 * configure.in: Remove --with-__thread option. Make tests for
8252 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8253 tls_model attribute fail if no support is available. Remove
8255 * Makeconfig: Adjust for dropped configure option. All features are
8257 * Makerules: Likewise.
8258 * Versions.def: Likewise.
8259 * argp/argp-fmtstream.c: Likewise.
8260 * argp/argp-fmtstream.h: Likewise.
8261 * argp/argp-help.c: Likewise.
8262 * assert/assert.c: Likewise.
8263 * config.h.in: Likewise.
8264 * config.make.in: Likewise.
8265 * configure: Likewise.
8266 * configure.in: Likewise.
8267 * csu/Versions: Likewise.
8268 * csu/init.c: Likewise.
8269 * elf/tst-audit2.c: Likewise.
8270 * elf/tst-tls10.c: Likewise.
8271 * elf/tst-tls10.h: Likewise.
8272 * elf/tst-tls11.c: Likewise.
8273 * elf/tst-tls12.c: Likewise.
8274 * elf/tst-tls14.c: Likewise.
8275 * elf/tst-tlsmod11.c: Likewise.
8276 * elf/tst-tlsmod12.c: Likewise.
8277 * elf/tst-tlsmod13.c: Likewise.
8278 * elf/tst-tlsmod13a.c: Likewise.
8279 * elf/tst-tlsmod14a.c: Likewise.
8280 * elf/tst-tlsmod15b.c: Likewise.
8281 * elf/tst-tlsmod16a.c: Likewise.
8282 * elf/tst-tlsmod16b.c: Likewise.
8283 * elf/tst-tlsmod7.c: Likewise.
8284 * elf/tst-tlsmod8.c: Likewise.
8285 * elf/tst-tlsmod9.c: Likewise.
8286 * gmon/gmon.c: Likewise.
8287 * grp/fgetgrent_r.c: Likewise.
8288 * grp/putgrent.c: Likewise.
8289 * hurd/fopenport.c: Likewise.
8290 * include/libc-symbols.h: Likewise.
8291 * include/tls.h: Likewise.
8292 * intl/gettextP.h: Likewise.
8293 * intl/loadinfo.h: Likewise.
8294 * locale/global-locale.c: Likewise.
8295 * locale/localeinfo.h: Likewise.
8296 * mach/devstream.c: Likewise.
8297 * malloc/arena.c: Likewise.
8298 * malloc/set-freeres.c: Likewise.
8299 * misc/err.c: Likewise.
8300 * misc/getttyent.c: Likewise.
8301 * misc/mntent_r.c: Likewise.
8302 * posix/getopt.c: Likewise.
8303 * posix/wordexp.c: Likewise.
8304 * pwd/fgetpwent_r.c: Likewise.
8305 * resolv/Versions: Likewise.
8306 * resolv/res_hconf.c: Likewise.
8307 * shadow/fgetspent_r.c: Likewise.
8308 * shadow/putspent.c: Likewise.
8309 * stdio-common/printf_fphex.c: Likewise.
8310 * stdio-common/tmpfile.c: Likewise.
8311 * stdlib/abort.c: Likewise.
8312 * stdlib/fmtmsg.c: Likewise.
8313 * sunrpc/auth_unix.c: Likewise.
8314 * sunrpc/clnt_perr.c: Likewise.
8315 * sunrpc/clnt_tcp.c: Likewise.
8316 * sunrpc/clnt_udp.c: Likewise.
8317 * sunrpc/clnt_unix.c: Likewise.
8318 * sunrpc/openchild.c: Likewise.
8319 * sunrpc/svc_simple.c: Likewise.
8320 * sunrpc/svc_tcp.c: Likewise.
8321 * sunrpc/svc_udp.c: Likewise.
8322 * sunrpc/svc_unix.c: Likewise.
8323 * sunrpc/xdr.c: Likewise.
8324 * sunrpc/xdr_array.c: Likewise.
8325 * sunrpc/xdr_rec.c: Likewise.
8326 * sunrpc/xdr_ref.c: Likewise.
8327 * sunrpc/xdr_stdio.c: Likewise.
8329 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8331 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8333 2011-07-03 Andreas Jaeger <aj@suse.de>
8335 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8336 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8337 regenerate with gen-libm-tests.pl.
8339 2010-05-12 Petr Baudis <pasky@suse.cz>
8342 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8343 around j0() zero points by switching to j1().
8344 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8345 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8349 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8351 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8353 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8356 Patch in part by Pavel Roskin <proski@gnu.org>.
8359 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8361 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8362 Free memory block if necessary.
8365 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8366 be NULL. Don't lock in this case.
8368 2011-09-09 Roland McGrath <roland@hack.frob.com>
8370 * elf/elf.h (ELFOSABI_GNU): New macro.
8371 (ELFOSABI_LINUX): Define to that.
8373 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8375 * string/strncat.c (strncat): Undef the symbol in case it has been
8376 defined in bits/string.h.
8378 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8380 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8382 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8385 2011-08-17 Andreas Jaeger <aj@suse.de>
8387 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8389 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8390 Ian Lance Taylor <iant@google.com>
8392 * math/libm-test.inc (lround_test): New testcase.
8393 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8395 2011-09-08 Ulrich Drepper <drepper@gmail.com>
8397 * Makefile: Remove support for automatic cvs check-ins.
8398 * Makerules: Likewise.
8399 * config.make.in: Likewise.
8400 * configure.in: Likewise.
8401 * intl/Makefile: Likewise.
8402 * locale/Makefile: Likewise.
8403 * po/Makefile: Likewise.
8404 * posix/Makefile: Likewise.
8405 * sysdeps/gnu/Makefile: Likewise.
8406 * sysdeps/mach/hurd/Makefile: Likewise.
8407 * sysdeps/sparc/sparc32/Makefile: Likewise.
8410 * posix/Makefile (bug-regex32-ENV): Define.
8411 Patch by John Stanley <jpsinthemix@verizon.net>.
8413 * misc/Makefile (headers): Add bits/select2.h.
8414 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8415 * misc/bits/select2.h: New file.
8416 * include/bits/select2.h: New file.
8417 * debug/Makefile (routines): Add fdelt_chk.
8418 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8419 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8421 * debug/fdelt_chk.c: New file.
8423 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8424 * wcsmbs/test-wmemcmp.c: Likewise.
8425 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8426 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8428 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8430 * string/Makefile (strop-tests): Add memcmp.
8431 * string/test-wmemcmp.c: New file.
8432 * string/test-memcmp.c: Add wmemcmp support.
8434 2011-09-08 Roland McGrath <roland@hack.frob.com>
8437 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8440 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8441 garbage value in a __mach_port_mod_refs call in the cases of the
8442 task-self and thread-self ports.
8444 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8446 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8448 2011-09-08 Andreas Schwab <schwab@redhat.com>
8450 * elf/dl-load.c (lose): Check for non-null L.
8452 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8454 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8456 * elf/dl-libc.c (dlerror_run): Pass back error code from
8460 * elf/dl-load.c (lose): Free l_origin if it is valid.
8462 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8464 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8465 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8466 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8467 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8468 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8469 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8471 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8473 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8474 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8475 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8476 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8477 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8478 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8479 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8480 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8481 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8482 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8484 2011-08-15 Alan Modra <amodra@gmail.com>
8487 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8488 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8489 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8490 ppc_mcount to static-only-routines.
8491 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8493 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8494 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8496 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8498 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8499 for finite and infinity parameters.
8501 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8503 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8504 and add nop instructions for throughput optimization.
8505 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8507 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8509 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8510 aligned copy for power7 with vector-scalar instructions.
8511 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8513 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8515 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8518 2011-09-07 Andreas Schwab <schwab@redhat.com>
8521 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8524 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8526 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8527 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8528 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8529 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8532 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8534 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8535 Forgot to demangle the pointer.
8537 * sysdeps/i386/sysdep.h: Define atom_text_section.
8538 * sysdeps/x86_64/sysdep.h: Likewise.
8539 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8540 section with atom_text_section.
8541 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8542 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8543 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8544 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8545 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8547 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8548 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8549 already be defined. Change to take two parameters and don't assign
8550 result to variable. Adjust all users.
8551 Define INTERNAL_GETTIME if not already defined.
8552 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8555 HAVE_CLOCK_GETTIME_VSYSCALL.
8556 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8558 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8559 gettimeofday vsyscall, just use time.
8561 2011-09-06 Andreas Schwab <schwab@redhat.com>
8563 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8566 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8568 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8570 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8572 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8573 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8574 syscall if possible.
8576 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8578 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8579 e_ident. Don't pass to find_mapsXX.
8580 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8582 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8585 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8586 * sysdeps/x86_64/multiarch/strchr.S: Update.
8587 Check bit_slow_BSF bit.
8588 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8589 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8590 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8592 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8595 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8598 (__spawni): Change last parameter to be flag. Test
8599 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8600 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8601 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8602 * posix/spawni.c: Likewise.
8603 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8604 * posix/spawnp.c: Likewise. Change normal version to use
8605 SPAWN_XFLAGS_USE_PATH.
8606 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8607 SPAWN_XFLAGS_TRY_SHELL.
8610 * posix/glob.h: Remove gcc 1.x support.
8613 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8615 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8618 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8620 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8621 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8622 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8623 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8624 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8625 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8627 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8629 * sysdeps/x86_64/wcscmp.S: New file.
8631 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8632 wcscmp-c wcscmp-sse2
8633 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8634 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8635 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8636 * wcsmbs/wcscmp.c: Allow renaming.
8638 2011-09-05 David S. Miller <davem@davemloft.net>
8640 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8641 stack slot, rather than the struct return pointer slot.
8642 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8643 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8645 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8647 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8649 * po/ja.po: Update from translation team.
8652 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8653 kernel in 64-bit binaries.
8655 2011-09-01 David S. Miller <davem@davemloft.net>
8657 * elf/elf.h (HWCAP_SPARC_*): Move to..
8658 * sysdeps/sparc/sysdep.h: this new file and add new values.
8659 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8660 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8661 _DL_HWCAP_COUNT to 24.
8662 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8664 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8665 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8666 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8667 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8668 instead of magic constants.
8669 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8671 2011-08-31 David S. Miller <davem@davemloft.net>
8673 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8674 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8675 Reimplement to do errno handling inline.
8676 (SYSCALL_ERROR_HANDLER): New macro.
8677 (__SYSCALL_STRING): Do not do errno handling in asm.
8678 (__CLONE_SYSCALL_STRING): Delete.
8679 (__INTERNAL_SYSCALL_STRING): Delete.
8680 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8681 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8682 (PSEUDO): Reimplement to do errno handling inline.
8683 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8684 (SYSCALL_ERROR_HANDLER): New macro.
8685 (__SYSCALL_STRING): Do not do errno handling in asm.
8686 (__CLONE_SYSCALL_STRING): Delete.
8687 (__INTERNAL_SYSCALL_STRING): Delete.
8688 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8689 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8691 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8692 (inline_syscall*): Add 'err' argument.
8693 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8694 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8695 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8696 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8698 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8699 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8701 2011-08-30 Andreas Schwab <schwab@redhat.com>
8703 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8705 2011-08-29 Jiri Olsa <jolsa@redhat.com>
8707 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8710 2011-08-24 David S. Miller <davem@davemloft.net>
8712 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8714 2011-08-24 Andreas Schwab <schwab@redhat.com>
8716 * elf/Makefile: Add rules to build and run unload8 test.
8717 * elf/unload8.c: New file.
8718 * elf/unload8mod1.c: New file.
8719 * elf/unload8mod1x.c: New file.
8720 * elf/unload8mod2.c: New file.
8721 * elf/unload8mod3.c: New file.
8723 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8726 2011-08-23 David S. Miller <davem@davemloft.net>
8728 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8729 subtract stack bias.
8730 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8731 %sp not %fp in calculations.
8732 (_JMPBUF_UNWINDS_ADJ): Likewise.
8734 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8735 (aio_suspend): Call it to force an exception region around the
8736 AIO_MISC_WAIT() invocation.
8738 2011-08-23 Andreas Schwab <schwab@redhat.com>
8740 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8743 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8745 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8747 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8749 (Elf64_FuncDesc): Remove.
8751 2011-08-22 David S. Miller <davem@davemloft.net>
8753 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8754 sigaltstack check, add missing cfi directives.
8755 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8756 missing cfi directives, and sigaltstack handling.
8758 2011-08-16 Andreas Schwab <schwab@redhat.com>
8761 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8762 object is seen twice.
8763 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8765 * elf/Makefile (distribute): Add tst-initorder2.c.
8766 (tests): Add tst-initorder2.
8767 (modules-names): Add tst-initorder2a tst-initorder2b
8768 tst-initorder2c tst-initorder2d. Add rules to build them.
8769 ($(objpfx)tst-initorder2.out): New rule.
8770 * elf/tst-initorder2.c: New file.
8771 * elf/tst-initorder2.exp: New file.
8773 2011-08-22 Andreas Schwab <schwab@redhat.com>
8775 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8777 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8778 dependencies back to end of function.
8780 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8783 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8785 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8786 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8787 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8788 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8789 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8790 of __vdso_gettimeofday.
8791 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8792 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8794 (_libc_vdso_platform_setup): Remove initialization of
8795 __vdso_gettimeofday and __vdso_time.
8797 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8799 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8801 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8804 * elf/dl-open.c (add_to_global): Report additions to the global scope
8805 for LD_DEBUG=scopes.
8806 (dl_open_worker): Also print scope of newly loaded dependencies.
8807 (_dl_show_scope): Indicate if there is no scope.
8810 * stdio-common/Makefile (tests): Add bug24.
8811 * stdio-common/bug24.c: New file.
8813 2011-08-19 Andreas Jaeger <aj@suse.de>
8816 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8817 non-existant file when using close-on-exec mode.
8819 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8821 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8822 the very first instruction.
8824 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8825 the CFI state in the end.
8826 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8827 inclusion of dl-trampoline.h.
8828 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8830 2011-08-19 Andreas Schwab <schwab@redhat.com>
8832 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8833 expectations for long double.
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8836 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8838 2011-08-14 David S. Miller <davem@davemloft.net>
8840 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8841 artificual limit depends upon the system page size.
8843 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8845 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8846 * resolv/Makefile: Define CFLAGS-libresolv.
8848 2011-08-17 Andreas Schwab <schwab@redhat.com>
8850 * nss/makedb.c (compute_tables): Make variables used in nested
8853 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8855 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8856 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8857 if buffer was too small.
8859 * elf/pldd.c (main): Attach to all threads in the process.
8860 Rewrite /proc handling to use *at functions.
8862 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8864 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8865 specifies first scope to show.
8866 (dl_open_worker): Update callers. Move printing scope of new
8867 object to before the relocation.
8868 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8869 * sysdeps/generic/ldsodefs.h: Update declaration.
8871 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8872 string for the scope number.
8874 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8876 * nscd/servicescache.c (cache_addserv): Make sure written is always
8879 2011-08-14 Roland McGrath <roland@hack.frob.com>
8881 * sysdeps/i386/i486/bits/atomic.h
8882 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8883 statement expression, so as to suppress "set but not used" warning.
8884 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8886 * string/strncat.c (STRNCAT): Use prototype definition.
8888 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8889 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8891 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8892 (localedef-modules): Add localedef.
8893 (locale-modules): Add locale.
8895 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8896 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8899 2011-08-14 David S. Miller <davem@davemloft.net>
8901 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8902 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8904 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8906 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8907 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8908 * elf/rtld.c (dl_main): Set l_name of vDSO.
8909 Call _dl_show_scope when DL_DEBUG_SCOPES.
8910 (process_dl_debug): Recognize scopes flag and also set it for all.
8911 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8912 Declare _dl_show_scope.
8914 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8915 (do_dlopen): Pass caller_dlopen to dl_open.
8916 (__libc_dlopen_mode): Initialize caller_dlopen.
8918 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8919 of libc. Make tolower call locale-independent. Optimize a bit by
8920 using isdigit instead of isalnum.
8921 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8923 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8925 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8926 was a dependency or dynamically loaded.
8928 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8930 * intl/l10nflist.c: Allow architecture-specific pop function.
8931 * sysdeps/x86_64/l10nflist.c: New file.
8933 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8936 2011-08-10 Andreas Schwab <schwab@redhat.com>
8938 * include/dirent.h: Add libc_hidden_proto for scandirat and
8939 scandirat64. Don't declare __scandirat64.
8940 * dirent/scandirat.c: Add libc_hidden_def.
8941 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8942 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8944 2011-08-10 David S. Miller <davem@davemloft.net>
8946 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8948 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8949 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8950 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8952 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8954 * Versions.def [libc]: Add GLIBC_2.15.
8955 * dirent/Makefile (routines): Add scandirat and scandirat64.
8956 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8958 * dirent/dirent.h: Declare scandirat and scandirat64.
8959 * dirent/scandirat.c: New file.
8960 * dirent/scandirat64.c: New file.
8961 * sysdeps/wordsize-64/scandirat.c: New file.
8962 * sysdeps/wordsize-64/scandirat64.c: New file.
8963 * dirent/opendir.c: Define opendirat.
8964 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8966 * dirent/scandir64.c: Adjust for scandir.c change.
8967 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8968 __scandirat64, and __scandir_cancel_handler.
8969 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8970 additional parameter and use openat instead of open (outside of ld.so).
8971 Add new __opendir as wrapper around __opendirat.
8972 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8973 here without requiring old scandirat implementation.
8975 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8977 * dirent/scandir.c (cancel_handler): Renamed to
8978 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8979 defined. Adjust users.
8980 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8981 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8983 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8985 * string/test-string.h (IMPL): Use __STRING to expand name and then
8988 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8991 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8993 * string/Makefile: Update.
8994 (strop-tests): Append strncat.
8995 * string/test-wcscmp.c: New file.
8996 New comprehensive test for wcscmp.
8997 * string/test-strcmp.c: Update.
9000 2011-07-22 Andreas Schwab <schwab@redhat.com>
9002 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9005 2011-07-26 Andreas Schwab <schwab@redhat.com>
9007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9008 encoding to ACE if AI_IDN.
9010 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9012 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9013 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9015 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9017 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9018 Fix overflow bug in strncat.
9019 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9021 * string/test-strncat.c: Update.
9022 Add new tests for checking overflow bugs.
9024 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9026 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9027 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9028 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9029 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9030 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9031 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9032 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9033 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9034 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9036 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9037 (USE_AS_STRCAT): Define.
9038 Add strcat and strncat support.
9039 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9041 2011-07-25 Andreas Schwab <schwab@redhat.com>
9043 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9044 __n bigger than INT_MAX+1.
9045 (__strncmp_g): Likewise.
9047 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9049 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9050 * libio/stido.h: Likewise.
9052 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9054 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9057 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9058 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9059 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9060 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9061 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9064 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9069 (_dl_x86_64_save_sse): Likewise.
9071 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9073 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9075 (_dl_x86_64_save_sse): Likewise.
9077 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9079 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9081 2011-07-21 Andreas Schwab <schwab@redhat.com>
9083 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9085 (_dl_x86_64_save_sse): Use correct AVX check.
9087 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9089 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9090 bug in strncpy/strncat.
9091 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9093 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9095 * string/tester.c (test_strcat): Add tests for different alignments
9096 of source and destination.
9097 (test_strncat): Likewise.
9099 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9102 * posix/glob.c (glob): Check passed in values before using them in
9103 expressions to avoid some overflows.
9104 (glob_in_dir): Likewise.
9107 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9108 check for AVX enablement so that we don't crash with old kernels and
9110 * elf/tst-audit4.c: Add same checks here.
9111 * elf/tst-audit6.c: Likewise.
9113 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9115 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9117 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9119 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9121 * po/cs.po: Update from translation team.
9122 * po/bg.po: Likewise.
9124 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9126 * misc/sys/cdefs.h: Add support for const attribute.
9127 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9128 to gnu_dev_{major,minor,makedev} functions.
9130 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9132 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9134 2011-07-20 Andreas Schwab <schwab@redhat.com>
9136 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9139 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9141 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9142 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9143 register in order to avoid conflicts with the soft frame pointer
9144 being held in r11 when necessary.
9145 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9146 (INTERNAL_VSYSCALL_NCS): Likewise.
9148 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9150 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9151 * elf/dl-fini.c (_dl_fini): Adjust caller.
9152 * elf/dl-close.c (_dl_close_worker): Likewise.
9153 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9155 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9157 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9158 "aux_cache->nlibs < 0".
9160 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9161 in the reload-count case.
9163 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9166 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9167 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9168 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9169 * sysdeps/x86_64/multiarch/strcat.S: New file.
9170 * sysdeps/x86_64/multiarch/strncat.S: New file.
9171 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9172 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9173 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9174 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9175 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9176 (USE_AS_STRCAT): Define.
9177 Add strcat and strncat support.
9178 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9179 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9180 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9181 * string/strncat.c: Update.
9182 (USE_AS_STRNCAT): Define.
9183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9184 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9186 * sysdeps/x86_64/multiarch/init-arch.h
9187 (bit_Prefer_PMINUB_for_stringop): New.
9188 (index_Prefer_PMINUB_for_stringop): Likewise.
9189 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9190 bit_Prefer_PMINUB_for_stringop.
9192 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9194 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9196 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9197 of casting of buffer.
9198 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9199 buffer32 and buffer64.
9200 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9201 writes instead of casting of buffer.
9202 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9204 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9207 2011-07-19 Andreas Schwab <schwab@redhat.com>
9209 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9211 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9213 * nscd/nscd.c (termination_handler): Don't do anything for a database
9214 if it has not yet been initialized.
9216 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9218 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9220 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9222 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9224 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9226 * po/nl.po: Update from translation team.
9227 * po/sv.po: Likewise.
9229 2011-07-16 Roland McGrath <roland@hack.frob.com>
9231 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9232 now disallowed by GCC.
9234 * configure.in (use-default-link): Default to yes if a test -shared
9235 link meets our qualifications.
9236 * configure: Regenerated.
9238 * config.make.in (output-format): New variable.
9239 * configure.in: Check for ld --print-output-format support.
9240 * configure: Regenerated.
9241 * Makerules ($(common-objpfx)format.lds)
9242 [$(output-format) != unknown]: Just use $(output-format),
9243 instead of the linker-script munging.
9245 2011-07-14 Roland McGrath <roland@hack.frob.com>
9247 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9248 of $(common-objpfx)shlib.lds.
9249 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9251 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9252 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9254 * configure.in (-z relro check): Adjust test code to add a large
9255 writable data section after it.
9256 * configure: Regenerated.
9258 2011-07-11 Roland McGrath <roland@hack.frob.com>
9260 * configure.in (-z relro check): Fix test code to make the variable
9262 * configure: Regenerated.
9264 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9266 * nscd/nscd.h (struct traced_file): Define.
9267 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9268 elements. Add traced_files.
9269 (inotify_fd): Declare.
9270 (register_traced_file): Declare.
9271 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9272 (inotify_fd): Export.
9273 (resolv_conf_descr): Remove.
9274 (nscd_init): Move inotify descriptor creation to main.
9275 Don't register files for notification here.
9276 (register_traced_file): New function.
9277 (invalidate_cache): Don't use reset_res to determine whether to call
9278 res_init, go through the list of registered files.
9279 (main_loop_poll): The inotify descriptors are now stored in the
9280 structures for the traced files.
9281 (main_loop_epoll): Likewise
9282 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9283 to __nss_disable_nscd.
9284 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9285 for a database anymore. Check the records for all the registered
9287 * nss/Makefile (libnss_files-routines): Add files-init.
9288 (libnss_db-routines): Add db-init.
9289 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9290 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9291 * nss/nss_db/db-init.c: New file.
9292 * nss/nss_files/files-init.c: New file.
9293 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9294 __nss_lookup_function.
9295 (__nss_lookup_function): Call nss_load_library.
9296 (nss_load_all_libraries): New function.
9297 (__nss_disable_nscd): Take parameter with callback function for files
9298 to register. Set is_nscd. Load all the DSOs for the NSS modules
9299 used for the cached services.
9300 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9301 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9302 options for features to all the files in nscd.
9304 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9306 2011-07-10 Roland McGrath <roland@hack.frob.com>
9308 * csu/elf-init.c (__libc_csu_init): Comment typo.
9310 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9312 * po/pl.po: Update from translation team.
9313 * po/ja.po: Likewise.
9314 * po/ru.po: Likewise.
9315 * po/ko.po: Likewise.
9316 * po/fr.po: Likewise.
9318 2011-07-09 Roland McGrath <roland@hack.frob.com>
9320 * configure.in (.ctors/.dtors header and trailer check):
9321 Use an empirical test on a built program.
9322 * configure: Regenerated.
9324 * configure.in (-z relro check): Use an empirical test on a built DSO.
9325 Detect, but do not require, on ia64.
9326 * configure: Regenerated.
9328 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9329 Update tests that use readelf to use $READELF instead.
9330 * configure: Regenerated.
9332 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9334 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9335 if the result is not used.
9337 2011-07-05 Andreas Jaeger <aj@suse.de>
9340 * stdlib/tst-strtod.c: Add testcase.
9342 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9344 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9345 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9346 The latter has a higher limit. Take additional parameter to pass to
9348 (__pathconf): Pass file to __statfs_link_max.
9349 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9351 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9355 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9356 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9358 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9359 (__statfs_filesize_max): Likewise.
9360 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9362 2011-07-05 Andreas Jaeger <aj@suse.de>
9364 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9366 2011-07-06 Marek Polacek <mpolacek@redhat.com>
9368 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9370 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9373 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9375 * Makefile (strop-tests): Add strncat.
9376 * string/test-strncat.c: New file.
9378 2011-06-30 Marek Polacek <mpolacek@redhat.com>
9380 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9382 2011-06-21 Andreas Jaeger <aj@suse.de>
9384 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9385 Copy rule from iconvdata/Makefile.
9387 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9390 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9391 but no long options are defined, just return 'W'.
9393 2011-06-22 Marek Polacek <mpolacek@redhat.com>
9396 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9398 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9400 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9402 (innetgr): Likewise.
9404 2011-07-05 Roland McGrath <roland@hack.frob.com>
9406 * config.make.in (install_root): Default to $(DESTDIR).
9408 2011-07-05 Ulrich Drepper <drepper@gmail.com>
9410 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9412 2011-07-02 Roland McGrath <roland@hack.frob.com>
9414 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9416 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9417 containing directory rather than embedding absolute directory names.
9419 * scripts/check-local-headers.sh: Rewritten using awk.
9420 Match by word, not by line. Print error messages for matches.
9421 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9423 * Makerules [shlib-lds-flags empty]:
9424 ($(common-objpfx)libc_pic.opts): New target.
9425 ($(common-objpfx)libc_pic.os.clean): New target.
9426 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9428 * config.make.in (OBJCOPY): New variable.
9429 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9430 * configure: Regenerated.
9432 * config.make.in (use-default-link): New variable.
9433 * configure.in (use_default_link): Grok --with-default-link to set it.
9434 * configure: Regenerated.
9435 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9436 (shlib-lds, shlib-lds-flags): Define to empty.
9438 * Makerules (shlib-lds): New variable.
9439 (shlib-lds-flags): New variable.
9440 (build-shlib, build-moduile, build-module-asneeded): Use it.
9441 ($(common-objpfx)libc.so): Use $(shlib-lds).
9442 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9443 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9445 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9446 DT_FLAGS/DT_FLAGS_1 with zero flags.
9448 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9449 linker script munging.
9451 2011-07-02 Ulrich Drepper <drepper@gmail.com>
9453 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9455 * crypt/sha512.c (sha512_process_block): Perform total addition using
9456 128-bit if possible.
9457 (__sha512_finish_ctx): Likewise.
9458 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9460 * crypt/sha256.c (SWAP64): Define.
9461 (sha256_process_block): Perform total addition using 64-bit if
9463 (__sha256_finish_ctx): Likewise.
9465 2011-07-01 Ulrich Drepper <drepper@gmail.com>
9467 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9468 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9469 * nscd/hstcache.c (cache_addhst): Likewise.
9470 * nscd/grpcache.c (cache_addgr): Likewise.
9471 * nscd/aicache.c (addhstaiX): Likewise
9472 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9474 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
9476 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9477 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9478 * nscd/hstcache.c (cache_addhst): Likewise.
9479 * nscd/grpcache.c (cache_addgr): Likewise.
9480 * nscd/aicache.c (addhstaiX): Likewise
9482 2011-07-01 Andreas Schwab <schwab@redhat.com>
9484 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9485 domain only when needed.
9487 2011-06-30 Andreas Schwab <schwab@redhat.com>
9489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9492 2011-06-29 Ulrich Drepper <drepper@gmail.com>
9494 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9495 are re-adding the entry.
9496 * nscd/servicescache.c (cache_addserv): Likewise.
9498 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9500 * sysdeps/generic/dl-irel.h: fix protection against multiple
9502 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9504 2011-06-28 Ulrich Drepper <drepper@gmail.com>
9507 * malloc/memusage.sh: Fix quoting in message.
9508 * debug/xtrace.sh: Likewise.
9510 * configure.in: Remove support for --experimental-malloc option, make
9512 * config.make.in: Likewise.
9513 * malloc/Makefile: Likewise.
9515 2011-06-27 Andreas Schwab <schwab@redhat.com>
9517 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9518 two-byte characters.
9520 2011-06-27 Roland McGrath <roland@hack.frob.com>
9522 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9523 AC_CACHE_CHECK invocation.
9524 * configure: Regenerated.
9526 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9528 2011-06-27 Ulrich Drepper <drepper@gmail.com>
9531 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9532 bit from old_res_options.
9534 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9536 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9537 value type for setfct.
9539 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9541 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9542 __gettimeofday instead of gettimeofday.
9544 2011-06-26 Ulrich Drepper <drepper@gmail.com>
9546 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9548 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9550 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9552 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9555 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9558 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9559 strcpy-sse2-unaligned strncpy-sse2-unaligned
9560 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9561 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9562 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9563 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9564 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9565 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9566 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9567 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9568 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9569 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9570 (STRCPY): Support SSE2 and SSSE3 versions.
9572 2011-06-24 Ulrich Drepper <drepper@gmail.com>
9575 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9576 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9577 kernels which artificially limit size of requests.
9579 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9582 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9583 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9584 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9585 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9586 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9587 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9588 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9589 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9590 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9591 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9592 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9593 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9594 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9595 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9597 Enable unaligned load optimization for Intel Core i3, i5 and i7
9599 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9601 (index_Fast_Unaligned_Load): Define.
9602 (HAS_FAST_UNALIGNED_LOAD): Define.
9604 2011-06-23 Marek Polacek <mpolacek@redhat.com>
9606 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9608 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9611 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9612 until it is clear that the information is realy needed.
9613 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9615 2011-06-22 Andreas Schwab <schwab@redhat.com>
9617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9619 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9621 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9622 /sys/devices/system/cpu/online if it is usable.
9624 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9625 reading the information from the /proc filesystem to once a second.
9627 2011-06-21 Andreas Jaeger <aj@suse.de>
9629 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9630 NULL after inclusion of kernel headers.
9632 2011-06-21 Ulrich Drepper <drepper@gmail.com>
9634 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9635 calls to internal_setent.
9638 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9639 addresses using gethostbyname4_r ignore IPv4 addresses.
9641 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9642 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9644 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9646 2011-06-20 David S. Miller <davem@davemloft.net>
9648 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9650 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9652 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9654 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9655 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9656 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9657 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9658 * sysdeps/x86_64/dl-irel.h: Likewise.
9660 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9661 * elf/dl-sym.c: Likewise.
9663 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9665 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9666 need to dereference resplen2.
9668 2011-06-14 Andreas Schwab <schwab@redhat.com>
9670 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9672 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9674 * Makeconfig: Define vardbdir and inst_vardbdir.
9675 * nss/Makefile: Add rules to install db-Makefile.
9677 * nss/nss_db/db-XXX.c: Cleanup.
9679 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9680 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9682 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9683 * nss/makedb.c: Implement -g option to specify that value strings
9684 are generated and should not be added to table iterated over for
9686 * nss/nss_db/db-initgroups.c: New file.
9688 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9691 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9692 (internal_getgrouplist): Adjust to name change.
9693 Update use_initgroups_entry if this is not the first call.
9694 * nss/databases.def: Add initgroups entry.
9696 * nss/makedb.c (compute_tables): Check result of multiple hash table
9697 sizes to minimize maximum chain length.
9699 2011-06-14 Ulrich Drepper <drepper@gmail.com>
9701 * Versions.def: Add entry for libnss_db.
9702 * shlib-versions: Likewise.
9703 * nss/Makefile: Add rules to build libnss_db.
9704 * nss/Versions: Add libnss_db information. Organize libnss_files
9706 * nss/db-Makefile: Add gshadow support. Change rules for the new
9707 makedb progra. Some minor improvements to generate smaller files.
9708 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9710 * nss/makedb.c: ...here.
9711 Improve database format to be smaller and require less memory at
9713 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9715 * nss/nss_db/db-netgrp.c: Likewise.
9716 * nss/nss_db/db-open.c: Likewise.
9717 * nss/nss_files/flies-XXX.x: Adjust comments.
9718 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9719 * nss/nss_files/files-grp.c: Likewise.
9720 * nss/nss_files/files-hosts.c: Likewise.
9721 * nss/nss_files/files-network.c: Likewise.
9722 * nss/nss_files/files-proto.c: Likewise.
9723 * nss/nss_files/files-pwd.c: Likewise.
9724 * nss/nss_files/files-rpc.c: Likewise.
9725 * nss/nss_files/files-service.c: Likewise.
9726 * nss/nss_files/files-sgrp.c: Likewise.
9727 * nss/nss_files/files-spwd.c: Likewise.
9728 * nss/nss_db/db-alias.c: Removed.
9729 * nss/nss_db/dummy-db.h: Removed.
9731 2011-06-02 Ulrich Drepper <drepper@gmail.com>
9733 * nss/makedb.c: Rewritten to not use database library.
9734 * nss/Makefile: Update to build new makedb program.
9736 2011-06-14 Andreas Jaeger <aj@suse.de>
9738 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9741 2011-06-10 Andreas Schwab <schwab@redhat.com>
9743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9746 2011-06-10 Roland McGrath <roland@hack.frob.com>
9748 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9749 * elf/Makefile ($(objpfx)ld.so): Likewise.
9751 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9752 Don't list ld.so twice in dependencies.
9754 * posix/bug-regex31.c: Include <stdlib.h>.
9756 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9758 * nis/nss_compat/compat-spwd.c
9759 (getspent_next_nss_netgr): Remove unused variable.
9760 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9762 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9763 nonmembers" output to use the right array.
9765 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9767 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9769 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9770 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9771 * catgets/gencat.c (read_input_file): Likewise.
9772 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9774 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9775 variable definition inside #if's controlling its use.
9777 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9779 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9781 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9783 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9786 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9788 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9789 * configure: Regenerated.
9791 * Makerules: Revert last change.
9792 * elf/Makefile: Likewise.
9794 2011-06-09 Roland McGrath <roland@hack.frob.com>
9796 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9797 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9798 (reloc-link): Likewise.
9800 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9802 * elf/Makefile: Add rules to build pldd.
9803 * elf/pldd.c: New file.
9804 * elf/pldd-xx.c: New file.
9806 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9808 * version.h: Update for 2.15 development version.
9810 2011-06-07 David S. Miller <davem@davemloft.net>
9812 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9814 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9815 elf_machine_lazy_rel): Likewise.
9816 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9817 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9818 elf_machine_lazy_rel): Likewise.
9819 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9820 dl_hwcap via passed in argument.
9821 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9824 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9826 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9828 2011-06-06 Roland McGrath <roland@hack.frob.com>
9831 * manual/fdl-1.1.texi: New file, verbatim from:
9832 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9833 * manual/lgpl-2.1.texi: New file, verbatim from:
9834 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9835 * manual/Makefile (licenses): New variable, list those new file names.
9837 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9839 * manual/fdl.texi: File removed.
9840 * manual/lesser.texi: File removed.
9841 * manual/libc.texinfo (Copying, Documentation License):
9842 Use new @include file names, put @appendix directive before @include.
9844 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9847 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9848 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9849 (mq_open): Add __NTH.
9851 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9854 Assume Intel Core i3/i5/i7 processor if AVX is available.
9856 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9858 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9861 2011-05-31 Andreas Schwab <schwab@redhat.com>
9863 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9864 memory. Use alloca_account. Fix memory leak when retrying.
9866 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9868 * version.h (RELEASE): Bump for 2.14 release.
9869 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9871 * config.make.in (RANLIB): Remove entry.
9873 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9875 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9876 (libc.pot): Work around missing support for .ksh extension in xgettext.
9879 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9880 if both request failed.
9881 (send_dg): In case of server errors clear resplen or *resplen2.
9884 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9885 when there are multiple maps.
9886 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9887 (_dl_fini): Remove test here.
9889 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9891 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9894 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9895 bit from old_res_options.
9896 (gaih_inet): Likewise.
9899 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9902 * resolv/res_init.c (res_setoptions): Make the code more compact.
9905 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9909 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9911 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9914 * malloc/malloc.h: Declare malloc hook variables as volatile.
9916 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9920 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9921 raise in the comment.
9922 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9923 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9924 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9926 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9929 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9930 grow the buffers more if it already has to be sufficient.
9931 (build_wcs_upper_buffer): Likewise.
9932 * posix/regexec.c (check_matching): Likewise.
9933 (clean_state_log_if_needed): Likewise.
9934 (extend_buffers): Don't enlarge buffers beyond size of the input
9936 Patches mostly by Emil Wojak <emil@wojak.eu>.
9937 * posix/bug-regex32.c: New file.
9938 * posix/Makefile (tests): Add bug-regex32.
9940 * locale/findlocale.c (_nl_find_locale): Return right away if
9941 _nl_explode_name failed.
9942 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9944 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9946 * debug/xtrace.sh: Unify messages.
9947 * malloc/memusage.sh: Likewise.
9950 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9951 time symbol from vDSO. Substitute with vsyscall if not available.
9952 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9955 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9956 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9957 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9958 Add sendmmsg and internal_sendmmsg.
9959 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9960 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9961 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9963 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9964 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9965 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9967 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9970 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9971 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9973 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9977 * iconvdata/Makefile (tests): Add bug-iconv9.
9978 * iconvdata/bug-iconv9.c: New file.
9980 2011-05-27 Andreas Schwab <schwab@redhat.com>
9983 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9985 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9987 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9988 (struct user_regs_struct): Change intcs field back to cs.
9990 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9992 * po/ja.po: Update from translation team.
9994 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9997 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9998 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10000 2011-05-20 Andreas Schwab <schwab@redhat.com>
10002 * stdlib/longlong.h: Update from GCC.
10004 2011-05-23 Andreas Schwab <schwab@redhat.com>
10006 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10008 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10009 Add parameter name.
10010 (__sysconf): Pass it down.
10012 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10015 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10017 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10018 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10019 add in in __libc_use_alloca calls. Adjust callers.
10020 (glob): Use malloc in some situations.
10022 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10023 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10026 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10028 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10029 and CLOCK_BOOTTIME_ALARM.
10032 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10035 * string/_strerror.c (__strerror_r): Print negative errors as signed
10039 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10040 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10041 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10043 * configure.in: Fix typo in redirection and correct removal of test
10044 files in two cases.
10047 * locale/setlocale.c (new_composite_name): Fix test to check for
10048 identical name of all categories.
10051 * libio/filedoalloc.c (local_isatty): New function.
10052 (_IO_file_doallocate): Use local_isatty.
10053 * stdio-common/perror.c (perror): In case a new stream is used
10054 forward the stream error.
10055 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10058 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10063 * include/alloca.h (extend_alloca_account): Define.
10066 * posix/regex.h: Fix comments with documentation of user-accessible
10067 fields after compilation and describe correct free'ing of pattern
10068 after re_compile_pattern.
10069 Patch by Reuben Thomas <rrt@sc3d.org>.
10071 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10073 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10074 and -mno-altivec to prevent the compiler from using Altivec and/or
10075 VSX instructions when the corresponding registers are not available.
10077 2011-05-19 Andreas Schwab <schwab@redhat.com>
10079 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10081 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10083 * libio/freopen.c (freopen): Use __dup2, not dup2.
10084 * libio/freopen64.c (freopen64): Likewise.
10086 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10089 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10090 * math/Makefile (tests): Add test-powl.
10091 (CFLAGS-test-powl.c): Define.
10092 * math/test-powl.c: New file.
10094 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10096 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10098 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10101 * iconvdata/gb18030.c: Update to GB18020-2005.
10103 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10105 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10106 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10107 Patch by Aharon Robbins <arnold@skeeve.com>.
10110 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10114 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10115 through underflows.
10118 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10119 point to strings before performing equality test for error_one_per_line
10123 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10126 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10127 (struct user_fpregs_struct): Avoid __uint*_t types.
10130 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10131 symbol info. Use it instead of calling _dl_addr locally.
10132 (lock_and_info): New function.
10133 (tr_freehook): Call lock_and_info and pass symbol info as additional
10134 parameter to tr_where.
10135 (tr_mallochook): Likewise.
10136 (tr_reallochook): Likewise.
10137 (tr_memalignhook): Likewise.
10139 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10140 used and couldn't be at all thread-safe.
10142 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10144 * libio/freopen.c (freopen): Don't close old file descriptor
10145 before the new one is opened. Instead dup the new file descriptor
10146 to the old one after the new stream is created.
10147 * libio/freopen64.c (freopen64): Likewise.
10148 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10149 * libio/fileops.c (_IO_new_file_close_it): Handle new
10150 _IO_FLAGS2_NOCLOSE flag.
10151 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10152 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10153 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10154 _IO_FLAGS2_NOCLOSE flag.
10155 * include/unistd.h: Add hidden_proto for dup3.
10156 Define __have_dup3.
10157 * io/dup3.c: Define hidden symbol.
10158 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10161 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10162 when an incomplete long option is used.
10163 * posix/tst-getopt_long1.c: New file.
10164 * posix/Makefile (tests): Add tst-getopt_long1.
10167 * scripts/config.guess: Update from autoconf-2.68.
10168 * scripts/config.sub: Likewise.
10171 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10173 (has_cpuclock): ...this. New function.
10174 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10175 macro here based on has_cpuclock code.
10178 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10179 First byte (not low byte) is now always NUL.
10180 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10182 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10183 Use non-cancelable interfaces.
10186 * locale/iso-639.def: Add entry for Sorani.
10189 * include/stdlib.h: Move include protection to the right place.
10190 Define abort_msg_s. Declare __abort_msg with it.
10191 * stdlib/abort.c (__abort_msg): Adjust type.
10192 * assert/assert.c (__assert_fail_base): New function. Majority
10193 of code from __assert_fail. Allocate memory for __abort_msg with
10195 (__assert_fail): Now call __assert_fail_base.
10196 * assert/assert-perr.c: Remove bulk of implementation. Use
10197 __assert_fail_base.
10198 * include/assert.hL Declare __assert_fail_base.
10199 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10201 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10203 2011-05-14 Ulrich Drepper <drepper@gmail.com>
10207 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10208 until all modules are registered in the DTV.
10209 * elf/Makefile: Add rules to build and run tst-tls19.
10210 * elf/tst-tls19.c: New file.
10211 * elf/tst-tls19mod1.c: New file.
10212 * elf/tst-tls19mod2.c: New file.
10213 * elf/tst-tls19mod3.c: New file.
10214 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10217 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10221 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10222 two-byte sequence errors.
10223 * iconvdata/Makefile (tests): Add bug-iconv8.
10224 * iconvdata/bug-iconv8.c: New file.
10227 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10230 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10233 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10234 (dummy_getcfa): New function.
10235 (init): Get _Unwind_GetCFA address, use dummy if not found.
10236 (backtrace_helper): In recursion check, also check whether CFA changes.
10237 (__backtrace): Completely initialize arg.
10239 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10240 storing incomplete byte sequence in state object. Avoid testing for
10241 guaranteed too small input if we know there is enough data available.
10243 2011-05-11 Andreas Schwab <schwab@redhat.com>
10245 * Makeconfig (+link-pie): Indent.
10246 * Rules (binaries-pie): Define if $(have-fpie) and
10248 (binaries-shared): Also filter out $(binaries-pie).
10249 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10250 * nscd/Makefile (others-pie): Add nscd.
10251 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10252 ($(objpfx)nscd): Remove command override.
10253 * login/Makefile (others-pie): Add pt_chown.
10254 ($(objpfx)pt_chown): Remove command override.
10255 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10256 remove command overrides.
10258 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10260 * libio/tst_putwc.c: Fix error messages.
10263 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10264 currently writing and seek to current position when not.
10265 * libio/Makefile (tests): Add bug-fclose1.
10266 * libio/bug-fclose1.c: New file.
10268 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10271 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10272 don't set DF_1_NODELETE here.
10273 (do_lookup_x): When entering new entry test for copy relocation
10274 and if necessary set DF_1_NODELETE flag.
10275 * elf/tst-unique4.cc: New file.
10276 * elf/tst-unique4.h: New file.
10277 * elf/tst-unique4lib.cc: New file.
10278 * elf/Makefile: Add rules to build and run tst-unique4.
10279 Patch by Piotr Bury <pbury@goahead.com>.
10281 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10284 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10287 * misc/mntent_r.c (addmntent): Flush the stream after the output
10290 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10291 (is_trusted_path_normalize): Skip initial colon. Append slash
10292 to empty buffer. Duplicate is_trusted_path code but allow
10293 constructed patch to be prefix.
10294 (is_dst): Allow $ORIGIN followed by /.
10295 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10296 Correct testing of result of is_trusted_path_normalize
10297 (decompose_rpath): Fix warning.
10299 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10302 * grp/initgroups.c (internal_getgrouplist): When we found the service
10303 list through the initgroups entry in nsswitch.conf do not always
10304 continue on a successful lookup. Don't always use the
10305 __nss_group_database value if it is set.
10306 * nss/nsswitch.conf (initgroups): Change action for successful db
10307 lookup to continue for compatibility.
10309 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10312 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10314 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10316 * iconvdata/tst-tables.sh: Likewise.
10317 * iconvdata/cp770.c: New file.
10318 * iconvdata/cp771.c: New file.
10319 * iconvdata/cp772.c: New file.
10320 * iconvdata/cp773.c: New file.
10321 * iconvdata/cp774.c: New file.
10322 * iconvdata/testdata/CP770: New file.
10323 * iconvdata/testdata/CP770..UTF8: New file.
10324 * iconvdata/testdata/CP771: New file.
10325 * iconvdata/testdata/CP771..UTF8: New file.
10326 * iconvdata/testdata/CP772: New file.
10327 * iconvdata/testdata/CP772..UTF8: New file.
10328 * iconvdata/testdata/CP773: New file.
10329 * iconvdata/testdata/CP773..UTF8: New file.
10330 * iconvdata/testdata/CP774: New file.
10331 * iconvdata/testdata/CP774..UTF8: New file.
10333 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10335 * iconvdata/gen-8bit-gap.sh: Likewise.
10336 * iconvdata/gen-8bit.sh: Likewise.
10338 * locale/iso-639.def: Add ary entry.
10341 * locale/C-translit.h.in: Add U20A1 transliteration.
10344 * locale/iso-639.def: Add wae entry.
10345 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10348 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10352 * locale/C-translit.h.in: Add entry for U20B9.
10353 Patch by pravin.d.s@gmail.com.
10355 2011-05-08 Ulrich Drepper <drepper@gmail.com>
10358 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10359 ENAMETOOLONG use generic getcwd.
10360 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10361 in rtld. Use *stat64.
10362 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10363 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10364 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10365 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10366 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10367 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10368 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10369 __fstatat64 macros.
10370 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10371 * dirent/rewinddir.c: Add libc_hidden_def.
10372 * sysdeps/mach/hurd/rewinddir.c: Likewise.
10373 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
10375 * include/dirent.h (__alloc_dir): Add flags parameter.
10376 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10377 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10379 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10380 from fdopendir if O_CLOEXEC is already set.
10382 2011-03-15 Alan Modra <amodra@gmail.com>
10384 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10385 l_tls_firstbyte_offset non-zero. Save padding offset in
10386 l_tls_firstbyte_offset for later use.
10387 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10388 freeing static tls block.
10390 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10392 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10393 where #ifdef was intended. The intent is to prevent ARG_MAX from
10394 being defined by the kernel headers.
10396 2011-05-07 Ulrich Drepper <drepper@gmail.com>
10399 * resolv/resolv.h: Define RES_NOTLDQUERY.
10400 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10401 no-tld-query and set RES_NOTLDQUERY.
10402 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10403 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10404 modern BIND to search name as TLD unless forbidden.
10406 2011-05-07 Petr Baudis <pasky@suse.cz>
10407 Ulrich Drepper <drepper@gmail.com>
10410 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10411 (is_trusted_path): ...to here.
10412 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10413 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10414 using is_trusted_path_normalize() in setuid scripts.
10416 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10418 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10419 __BEGIN/__END_DECLS.
10421 2011-05-06 Ulrich Drepper <drepper@gmail.com>
10423 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10424 NSS_STATUS_NOTFOUND if no record was found.
10426 2011-05-05 Andreas Schwab <schwab@redhat.com>
10428 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10429 (headers-not-in-tirpc): Remove rpc/netdb.h
10430 * resolv/netdb.h: Revert last change.
10432 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10434 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10435 circular dependency between libgcc.a and libc.a.
10437 2011-05-05 Andreas Schwab <schwab@redhat.com>
10439 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10440 * nis/Makefile: Don't install rpcsvc/*.
10441 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10442 instead of <rpc/types.h>.
10443 (MAXHOSTNAMELEN): Define.
10445 2011-05-03 Andreas Schwab <schwab@redhat.com>
10447 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10449 2011-04-28 Maciej Babinski <mbabinski@google.com>
10452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10453 gethostbyname4_r when IPv6 results are possible.
10455 2011-05-02 Ulrich Drepper <drepper@gmail.com>
10458 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10459 _PC_PIPE_BUF handling.
10461 2011-04-30 Bruno Haible <bruno@clisp.org>
10464 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10465 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10467 * inet/getnameinfo.c (getnameinfo): Likewise.
10469 2011-04-29 Ulrich Drepper <drepper@gmail.com>
10471 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10472 to groups setting in database lookup.
10473 * nss/nsswitch.conf: Add initgroups entry.
10475 2011-04-22 Ulrich Drepper <drepper@gmail.com>
10478 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10480 Patch by Eric Blake <eblake@redhat.com>.
10482 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10484 * sunrpc/Makefile (need-export-routines): Add svc_run.
10485 (routines): Remove svc_run.
10486 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10487 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10488 * sunrpc/svc_run.c (svc_run): Likewise.
10489 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10491 2011-04-21 Ulrich Drepper <drepper@gmail.com>
10493 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10494 problem in reallocation in last patch.
10496 2011-04-20 Ulrich Drepper <drepper@gmail.com>
10498 * sunrpc/Makefile: Move inclusion of Rules.
10500 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10502 * nss/nss_files/files-initgroups.c: New file.
10503 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10504 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10505 _nss_files_initgroups_dyn.
10507 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10509 * elf/elf.h (R_ARM_IRELATIVE): Define.
10511 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10513 * po/ru.po: Update from translation team.
10515 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10517 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10520 2011-02-06 Mike Frysinger <vapier@gentoo.org>
10523 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10524 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10525 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10526 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10527 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10529 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10531 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10533 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10534 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10535 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10537 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10540 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10542 * stdlib/bug-getcontext.c: New file.
10543 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10545 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10547 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10548 instructions into .machine "z9-109".
10549 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10550 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10552 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10554 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10555 between environment variables and auxiliary vector.
10557 2011-04-16 Ulrich Drepper <drepper@gmail.com>
10559 * Makefile: Add rules to build linkobj/libc.so.
10560 * include/libc-symbols.h: Define libc_hidden_nolink.
10561 * include/rpc/auth.h: Mark functions which are to be hidden.
10562 * include/rpc/auth_des.h: Likewise.
10563 * include/rpc/auth_unix.h: Likewise.
10564 * include/rpc/clnt.h: Likewise.
10565 * include/rpc/des_crypt.h: Likewise.
10566 * include/rpc/key_prot.h: Likewise.
10567 * include/rpc/pmap_clnt.h: Likewise.
10568 * include/rpc/pmap_prot.h: Likewise.
10569 * include/rpc/pmap_rmt.h: Likewise.
10570 * include/rpc/rpc_msg.h: Likewise.
10571 * include/rpc/svc.h: Likewise.
10572 * include/rpc/svc_auth.h: Likewise.
10573 * include/rpc/xdr.h: Likewise.
10574 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10575 * nss/Makefile: Likewise.
10576 * sunrpc/Makefile: Don't install headers. Build library with normal
10577 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10578 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10579 for the compat linking library. Remove use of INTDEF/INTUSE.
10580 * sunrpc/auth_none.c: Likewise.
10581 * sunrpc/auth_unix.c: Likewise.
10582 * sunrpc/authdes_prot.c: Likewise.
10583 * sunrpc/authuxprot.c: Likewise.
10584 * sunrpc/clnt_gen.c: Likewise.
10585 * sunrpc/clnt_perr.c: Likewise.
10586 * sunrpc/clnt_raw.c: Likewise.
10587 * sunrpc/clnt_simp.c: Likewise.
10588 * sunrpc/clnt_tcp.c: Likewise.
10589 * sunrpc/clnt_udp.c: Likewise.
10590 * sunrpc/clnt_unix.c: Likewise.
10591 * sunrpc/des_crypt.c: Likewise.
10592 * sunrpc/des_soft.c: Likewise.
10593 * sunrpc/get_myaddr.c: Likewise.
10594 * sunrpc/key_call.c: Likewise.
10595 * sunrpc/key_prot.c: Likewise.
10596 * sunrpc/netname.c: Likewise.
10597 * sunrpc/pm_getmaps.c: Likewise.
10598 * sunrpc/pm_getport.c: Likewise.
10599 * sunrpc/pmap_clnt.c: Likewise.
10600 * sunrpc/pmap_prot.c: Likewise.
10601 * sunrpc/pmap_prot2.c: Likewise.
10602 * sunrpc/pmap_rmt.c: Likewise.
10603 * sunrpc/publickey.c: Likewise.
10604 * sunrpc/rpc_cmsg.c: Likewise.
10605 * sunrpc/rpc_common.c: Likewise.
10606 * sunrpc/rpc_dtable.c: Likewise.
10607 * sunrpc/rpc_prot.c: Likewise.
10608 * sunrpc/rpc_thread.c: Likewise.
10609 * sunrpc/rtime.c: Likewise.
10610 * sunrpc/svc.c: Likewise.
10611 * sunrpc/svc_auth.c: Likewise.
10612 * sunrpc/svc_authux.c: Likewise.
10613 * sunrpc/svc_raw.c: Likewise.
10614 * sunrpc/svc_run.c: Likewise.
10615 * sunrpc/svc_simple.c: Likewise.
10616 * sunrpc/svc_tcp.c: Likewise.
10617 * sunrpc/svc_udp.c: Likewise.
10618 * sunrpc/svc_unix.c: Likewise.
10619 * sunrpc/svcauth_des.c: Likewise.
10620 * sunrpc/xcrypt.c: Likewise.
10621 * sunrpc/xdr.c: Likewise.
10622 * sunrpc/xdr_array.c: Likewise.
10623 * sunrpc/xdr_float.c: Likewise.
10624 * sunrpc/xdr_intXX_t.c: Likewise.
10625 * sunrpc/xdr_mem.c: Likewise.
10626 * sunrpc/xdr_rec.c: Likewise.
10627 * sunrpc/xdr_ref.c: Likewise.
10628 * sunrpc/xdr_sizeof.c: Likewise.
10629 * sunrpc/xdr_stdio.c: Likewise.
10631 2011-04-10 Ulrich Drepper <drepper@gmail.com>
10634 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10635 * sysdeps/ia64/dl-tls.h: Likewise.
10636 * sysdeps/powerpc/dl-tls.h: Likewise.
10637 * sysdeps/s390/dl-tls.h: Likewise.
10638 * sysdeps/sh/dl-tls.h: Likewise.
10639 * sysdeps/sparc/dl-tls.h: Likewise.
10640 * sysdeps/x86_64/dl-tls.h: Likewise.
10641 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10643 2011-03-14 Andreas Schwab <schwab@redhat.com>
10645 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10646 rpath element also skip the following colon.
10647 (expand_dynamic_string_token): Add is_path parameter and pass
10648 down to DL_DST_REQUIRED and _dl_dst_substitute.
10649 (decompose_rpath): Call expand_dynamic_string_token with
10650 non-zero is_path. Ignore empty rpaths.
10651 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10654 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10659 2011-04-09 Ulrich Drepper <drepper@gmail.com>
10662 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10663 Patch by Filipe David Manana <fdmanana@apache.org>.
10665 2011-04-07 Andreas Schwab <schwab@redhat.com>
10667 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10668 Maintain aligned stack.
10669 (CHECK_RSP): Remove unused macro.
10671 2011-04-03 Ulrich Drepper <drepper@gmail.com>
10673 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10674 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10676 2011-04-02 Ulrich Drepper <drepper@gmail.com>
10678 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10680 * include/features.h: Mention __USE_XOPEN2K8 in comment.
10682 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10685 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10686 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10687 * sysdeps/x86_64/memmove.c: New file.
10688 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10689 (memcpy): Renamed to ...
10690 (__new_memcpy): This.
10691 (memcpy): Provide GLIBC_2_14 memcpy.
10692 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10693 (memcpy): Provide GLIBC_2_2_5 memcpy.
10695 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10698 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10700 2011-03-30 Andreas Schwab <schwab@redhat.com>
10702 * misc/syncfs.c: New file.
10703 * misc/Makefile (routines): Add syncfs.
10704 * posix/unistd.h: Declare syncfs.
10705 * sysdeps/unix/syscalls.list: Add syncfs.
10707 2011-04-01 Andreas Schwab <schwab@redhat.com>
10709 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10711 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10712 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10713 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10714 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10716 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10717 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10719 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10721 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10722 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10723 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10724 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10725 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10727 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10729 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10730 sync_file_range.c with -fexceptions.
10731 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10732 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10733 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10734 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10735 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10736 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10737 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10738 sync_file_range as cancellation point
10739 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10740 now a wrapper around __call_sync_file_range with cancellation handling.
10741 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10742 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10743 function name to __call_sync_file_range.
10744 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10745 Add call_sync_file_range.
10747 2011-04-01 Andreas Schwab <schwab@redhat.com>
10749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10752 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10754 * iconv/iconv.h: Fix typo in comment.
10755 * io/fcntl.h: Likewise.
10756 * libio/stdio.h: Likewise.
10757 * posix/spawn.h: Likewise.
10758 * posix/unistd.h: Likewise.
10759 * stdlib/stdlib.h: Likewise.
10760 * time/time.h: Likewise.
10761 * wcsmbs/wchar.h: Likewise.
10763 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10764 open_by_handle): Add.
10765 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10766 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10767 Augment a few comments.
10768 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10770 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10772 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10773 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10776 * io/fcntl.h (AT_EMPTY_PATH): Define.
10778 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10780 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10781 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10782 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10784 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10785 * Versions.def: Add GLIBC_2.14.
10786 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10789 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10791 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10793 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10795 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10798 * string/test-strncmp.c (do_page_test): New function.
10799 (check2): Likewise.
10800 (test_main): Call check2.
10801 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10803 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10806 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10807 Handle cache information in CPU leaf 4.
10808 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10810 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10813 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10814 character representation.
10815 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10817 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10819 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10820 END(__isnan) to END(__isnanf) to match function entry point/label
10821 EALIGN(__isnanf,...).
10823 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10825 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10827 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10830 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10831 copy from the symbol referenced in the relocation to initialize the
10833 Patch by Piotr Bury <pbury@goahead.com>.
10834 * elf/Makefile: Add rules to build and tst-unique3.
10835 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10836 * elf/tst-unique3.cc: New file.
10837 * elf/tst-unique3.h: New file.
10838 * elf/tst-unique3lib.cc: New file.
10839 * elf/tst-unique3lib2.cc: New file.
10841 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10843 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10845 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10846 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10849 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10851 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10852 to-be-loaded object along a path to loader is ld.so.
10854 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10855 Ulrich Drepper <drepper@gmail.com>
10857 * sysdeps/x86_64/memset.S: After aligning destination, code
10858 branches to different locations depending on the value of
10859 misalignment, when multiarch is enabled. Fix this.
10861 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10863 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10864 Set _x86_64_preferred_memory_instruction for AMD processsors.
10865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10866 Set bit_Prefer_SSE_for_memop for AMD processors.
10868 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10870 * libio/fmemopen.c (fmemopen): Optimize a bit.
10872 2011-03-03 Andreas Schwab <schwab@redhat.com>
10874 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10876 2011-03-03 Roland McGrath <roland@redhat.com>
10878 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10880 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10882 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10883 __bzero_ultra1 instead of __memset_ultra1.
10885 2011-02-23 Andreas Schwab <schwab@redhat.com>
10886 Ulrich Drepper <drepper@gmail.com>
10889 * include/link.h (struct link_map): Add l_orig_initfini.
10890 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10891 returning unsuccessfully.
10892 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10893 close of a file loaded at startup, restore the original l_initfini
10895 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10896 list, store the pointer.
10897 * elf/Makefile ($(objpfx)noload-mem): New rule.
10898 (noload-ENV): Define.
10899 (tests): Add $(objpfx)noload-mem.
10900 * elf/noload.c: Include <memcheck.h>.
10901 (main): Call mtrace. Close all opened handles.
10903 2011-02-17 Andreas Schwab <schwab@redhat.com>
10906 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10907 dependencies are missing.
10909 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10911 Fix __if_freereq crash: Unlike the generic version which uses free,
10913 * sysdeps/mach/hurd/ifreq.h: New file.
10915 2011-01-27 Petr Baudis <pasky@suse.cz>
10916 Ulrich Drepper <drepper@gmail.com>
10919 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10920 to extend_alloca().
10921 * stdio-common/bug23.c: New file.
10922 * stdio-common/Makefile (tests): Add bug23.
10924 2010-09-28 Andreas Schwab <schwab@redhat.com>
10925 Ulrich Drepper <drepper@gmail.com>
10928 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10929 before performing relro protection. At old place add assertion
10930 to make sure nothing changed.
10932 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10933 Glauber de Oliveira Costa <glommer@gmail.com>
10935 * elf/elf.h: Add new ARM TLS relocs.
10937 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10940 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10942 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10944 * sysdeps/wordsize-64/tst-writev.c: New file.
10946 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10948 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10949 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10950 insns in _dl_start to prevent a TOC reference before relocs are
10953 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10956 * Makeconfig: Remove RANLIB definition.
10957 * Makerules: Don't use RANLIB.
10958 * aclocal.m4: Remove ranlib test.
10959 * configure.in: No need to check for ranlib.
10960 * elf/rtld-Rules: Don't use RANLIB.
10962 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10964 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10966 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10967 inclusion protection macro.
10969 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10970 SIGRTMIN and SIGRTMAX and print information in that case only when
10971 SIGRTMIN is defined.
10973 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10975 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10976 arginfo fn returning -1.
10978 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10979 and thousands string is zero terminated.
10981 2011-02-03 Andreas Schwab <schwab@redhat.com>
10983 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10984 sysdeps/unix/sysv/linux/bits/socket.h.
10986 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10988 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10989 (__CPU_COUNT): Remove old macros.
10990 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10991 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10992 (__CPU_ALLOC, __CPU_FREE): Add macros.
10993 (__sched_cpualloc, __sched_cpufree): Add declarations.
10995 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10997 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10998 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10999 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11000 (readdhstai): Return value of addhstaiX call.
11001 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11002 (addgrbyX): Return value returned by cache_addgr.
11003 (readdgrbyname): Return value returned by addgrbyX.
11004 (readdgrbygid): Likewise.
11005 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11006 (addpwbyX): Return value returned by cache_addpw.
11007 (readdpwbyname): Return value returned by addhstbyX.
11008 (readdpwbyuid): Likewise.
11009 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11010 (addservbyX): Return value returned by cache_addserv.
11011 (readdservbyname): Return value returned by addservbyX:
11012 (readdservbyport): Likewise.
11013 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11014 (addhstbyX): Return value returned by cache_addhst.
11015 (readdhstbyname): Return value returned by addhstbyX.
11016 (readdhstbyaddr): Likewise.
11017 (readdhstbynamev6): Likewise.
11018 (readdhstbyaddrv6): Likewise.
11019 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11020 (readdinitgroups): Return value returned by addinitgroupsX.
11021 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11022 (prune_cache): Keep track of timeout value of re-added entries.
11023 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11024 * nscd/nscd.h: Adjust prototypes of readd* functions.
11026 2011-02-04 Roland McGrath <roland@redhat.com>
11028 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11029 (nis_stats): Likewise.
11030 * nis/nis_modify.c (nis_modify): Likewise.
11031 * nis/nis_remove.c (nis_remove): Likewise.
11032 * nis/nis_add.c (nis_add): Likewise.
11034 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11036 * posix/fnmatch_loop.c: Add some consts.
11038 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11040 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11043 * config.make.in (config-cflags-novzeroupper): Define.
11044 * configure.in: Substitute libc_cv_cc_novzeroupper.
11045 * elf/Makefile (AVX-CFLAGS): Define.
11046 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11047 (CFLAGS-tst-auditmod4a.c): Likewise.
11048 (CFLAGS-tst-auditmod4b.c): Likewise.
11049 (CFLAGS-tst-auditmod6b.c): Likewise.
11050 (CFLAGS-tst-auditmod6c.c): Likewise.
11051 (CFLAGS-tst-auditmod7b.c): Likewise.
11052 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11054 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11056 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11057 function to the callback.
11058 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11060 2011-02-02 Andreas Schwab <schwab@redhat.com>
11062 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11065 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11068 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11070 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11072 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11075 * elf/Makefile: Add rules to build and run new test.
11076 * elf/tst-initorder.c: New file.
11077 * elf/tst-initorder.exp: New file.
11078 * elf/tst-initordera1.c: New file.
11079 * elf/tst-initordera2.c: New file.
11080 * elf/tst-initordera3.c: New file.
11081 * elf/tst-initordera4.c: New file.
11082 * elf/tst-initorderb1.c: New file.
11083 * elf/tst-initorderb2.c: New file.
11084 * elf/tst-order-a1.c: New file.
11085 * elf/tst-order-a2.c: New file.
11086 * elf/tst-order-a3.c: New file.
11087 * elf/tst-order-a4.c: New file.
11088 * elf/tst-order-b1.c: New file.
11089 * elf/tst-order-b2.c: New file.
11090 * elf/tst-order-main.c: New file.
11091 New test case by George Gensure <werkt0@gmail.com>.
11093 2010-10-01 Andreas Schwab <schwab@redhat.com>
11095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11096 decoding ACE if AI_CANONIDN.
11098 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11100 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11102 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11104 * version.h (RELEASE): Bump for 2.13 release.
11105 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11107 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11109 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11111 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11112 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11113 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11114 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11115 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11116 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11118 * posix/getconf.c: Update copyright year.
11119 * catgets/gencat.c: Likewise.
11120 * csu/version.c: Likewise.
11121 * debug/catchsegv.sh: Likewise.
11122 * debug/xtrace.sh: Likewise.
11123 * elf/ldconfig.c: Likewise.
11124 * elf/ldd.bash.in: Likewise.
11125 * elf/sprof.c (print_version): Likewise.
11126 * iconv/iconv_prog.c: Likewise.
11127 * iconv/iconvconfig.c: Likewise.
11128 * locale/programs/locale.c: Likewise.
11129 * locale/programs/localedef.c: Likewise.
11130 * malloc/memusage.sh: Likewise.
11131 * malloc/mtrace.pl: Likewise.
11132 * nscd/nscd.c (print_version): Likewise.
11133 * nss/getent.c: Likewise.
11135 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11136 PF_CAIF, and PF_ALG.
11137 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11139 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11141 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11142 (modules-names): Use them.
11143 (ifunc-test-modules, ifunc-pie-tests): Define.
11144 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11145 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11146 (test-extras): Likewise.
11147 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11148 $(compile-command.c).
11149 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11150 (all-built-dso): Define.
11151 (check-textrel.out, check-execstack.out): Depend on it.
11153 * configure.in: Don't override --enable-multi-arch.
11155 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11158 * nscd/hstcache.c (tryagain): Define.
11159 (cache_addhst): Return tryagain not notfound for temporary errors.
11160 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11163 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11166 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11167 to make the syscall.
11168 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11171 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11172 and fall back to matching as normal character if the string ends before
11173 the matching ']' is found. This is what POSIX requires.
11174 * posix/testfnm.c: Adjust test result.
11175 * posix/globtest.sh: Adjust test result. Add new test.
11176 * posix/tst-fnmatch.input: Likewise.
11177 * posix/tst-fnmatch2.c: Add new test.
11179 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11181 * elf/Makefile (check-execstack): Revert last change. Depend on
11183 (check-execstack.h): New target.
11184 (generated): Add check-execstack.h.
11185 * elf/check-execstack.c: Include "check-execstack.h".
11186 (main): Revert last change.
11187 (handle_file): Return zero if GNU_STACK is absent and
11188 DEFAULT_STACK_PERMS doesn't include PF_X.
11190 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11192 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11193 in child fails because the descriptor is already closed.
11194 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11195 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11196 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11199 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11203 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11204 temporary buffer used to handle multi lookups locally.
11205 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11207 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11209 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11212 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11214 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11215 alignment for SSE2.
11217 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11220 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11221 characters. When rounding increased number of integer digits recompute
11223 * stdio-common/tst-grouping.c: New file.
11224 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11226 2011-01-09 Ulrich Drepper <drepper@gmail.com>
11228 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11229 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11231 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11233 * bits/select.h: Likewise.
11235 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11237 * po/ja.po: Update from translation team.
11239 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11242 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11243 implementation just like for lxstat, fxstatat, et al.
11245 2010-12-27 Jim Meyering <meyering@redhat.com>
11248 * posix/regexec.c (build_trtable): Return failure indication upon
11249 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11251 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11254 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11255 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11256 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11257 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11260 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11263 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11264 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11266 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11268 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11269 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11270 script has SORT_BY_INIT_PRIORITY.
11271 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11272 NO_CTORS_DTORS_SECTIONS is defined.
11273 * elf/soinit.c: Likewise.
11274 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11275 NO_CTORS_DTORS_SECTIONS is defined.
11276 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11277 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11278 * sysdeps/sh/init-first.c: Likewise.
11279 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11281 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11283 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11284 always use the slow path.
11286 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11288 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11289 similar rule which adds the sysdep directories to the header search in
11290 order to pick up the correct platform stackinfo.h.
11291 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11292 perform test if it is, otherwise return successfully without testing.
11293 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11294 DEFAULT_STACK_PERMS define in stackinfo.h.
11295 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11296 defined in stackinfo.h.
11297 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11298 DEFAULT_STACK_PERMS defined in stackinfo.h.
11299 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11300 * sysdeps/ia64/stackinfo.h: Likewise.
11301 * sysdeps/s390/stackinfo.h: Likewise.
11302 * sysdeps/sh/stackinfo.h: Likewise.
11303 * sysdeps/sparc/stackinfo.h: Likewise.
11304 * sysdeps/x86_64/stackinfo.h: Likewise.
11305 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11306 PF_X for powerpc64. Retain PF_X for powerpc32.
11308 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11310 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11312 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11313 GETDENTS_64BIT_ALIGNED.
11315 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11317 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11319 2010-12-10 Andreas Schwab <schwab@redhat.com>
11321 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11324 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11325 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11327 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11328 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11330 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11333 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11336 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11338 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11340 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11342 * po/it.po: Update from translation team.
11344 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11349 2010-11-30 Ulrich Drepper <drepper@gmail.com>
11351 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11353 2010-11-24 Andreas Schwab <schwab@redhat.com>
11355 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11357 (gaih_getanswer_slice): Likewise.
11359 2010-10-20 Jakub Jelinek <jakub@redhat.com>
11361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11363 2010-05-31 Petr Baudis <pasky@suse.cz>
11366 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11367 silently even in the chroot mode.
11369 2010-11-22 Ulrich Drepper <drepper@gmail.com>
11371 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11372 last patch a bit. Pretty printing
11374 2010-05-31 Petr Baudis <pasky@suse.cz>
11377 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11378 initialization of skip_initgroups_dyn.
11380 2010-11-19 Ulrich Drepper <drepper@gmail.com>
11382 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11383 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11385 2010-11-16 Ulrich Drepper <drepper@gmail.com>
11387 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11389 2010-11-11 Andreas Schwab <schwab@redhat.com>
11391 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11392 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11393 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11394 ($(objpfx)tst-fnmatch-mem): New rule.
11395 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11396 * posix/tst-fnmatch.c (main): Call mtrace.
11398 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11401 Support Intel processor model 6 and model 0x2c.
11403 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
11405 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11408 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11411 * string/test-strncasecmp.c (check_result): New function.
11412 (do_one_test): Use it.
11413 (check1): New function.
11414 (test_main): Use it.
11415 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11416 Support strcasecmp and strncasecmp.
11418 2010-11-08 Ulrich Drepper <drepper@gmail.com>
11421 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11422 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11424 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11426 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11430 * sysdeps/x86_64/multiarch/bzero.S: New file.
11431 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11432 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11433 * sysdeps/x86_64/multiarch/memset.S: New file.
11434 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11436 Set bit_Prefer_SSE_for_memop for Intel processors.
11437 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11439 (index_Prefer_SSE_for_memop): Define.
11440 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11442 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
11444 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11445 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11447 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11450 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11451 (__x86_64_raw_data_cache_size_half): Likewise.
11452 (__x86_64_raw_shared_cache_size): Likewise.
11453 (__x86_64_raw_shared_cache_size_half): Likewise.
11455 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11456 (__x86_64_raw_data_cache_size_half): Likewise.
11457 (__x86_64_raw_shared_cache_size): Likewise.
11458 (__x86_64_raw_shared_cache_size_half): Likewise.
11459 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11460 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11461 and __x86_64_raw_shared_cache_size_half. Round
11462 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11463 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11464 to multiple of 256 bytes.
11466 2010-11-03 Ulrich Drepper <drepper@gmail.com>
11469 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11470 of inacessible symlinks. Verify result of symlink before returning it.
11471 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11472 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11474 2010-10-28 Erich Ritz <erichritz@gmail.com>
11476 * math/math.h (isinf): Fix typo in comment.
11478 2010-11-01 Ulrich Drepper <drepper@gmail.com>
11480 * po/da.po: Update from translation team.
11482 2010-10-26 Ulrich Drepper <drepper@gmail.com>
11484 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11485 is added to the list.
11487 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11488 Ulrich Drepper <drepper@gmail.com>
11490 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11491 the global list here. Move code to...
11492 (_dl_add_to_namespace_list): ...here. New function.
11493 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11494 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11495 * elf/dl-load.c (lose): Don't remove the element from the list.
11496 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11497 (_dl_map_object): Likewise.
11499 2010-10-25 Ulrich Drepper <drepper@gmail.com>
11502 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11503 into all bytes of SSE register.
11504 Patch by Richard Li <richardpku@gmail.com>.
11506 2010-10-24 Ulrich Drepper <drepper@gmail.com>
11509 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11512 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11514 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11515 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11516 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11517 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11522 2010-10-22 Andreas Schwab <schwab@redhat.com>
11524 * include/dlfcn.h (__RTLD_SECURE): Define.
11525 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11526 mode & __RTLD_SECURE instead.
11527 (open_path): Rename preloaded parameter to secure.
11528 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11529 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11530 * elf/dl-deps.c (openaux): Likewise.
11531 * elf/rtld.c (struct map_args): Remove is_preloaded.
11532 (map_doit): Don't use it.
11533 (dl_main): Likewise.
11534 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11535 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11537 2010-09-09 Andreas Schwab <schwab@redhat.com>
11539 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11540 (sysd-rules-targets): Remove duplicates.
11541 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11542 rtld-%.$o dependency.
11544 2010-10-18 Andreas Schwab <schwab@redhat.com>
11546 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11547 _dl_map_object do it.
11549 2010-10-19 Ulrich Drepper <drepper@gmail.com>
11551 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11552 fast fma builtins, define the macros in the C99 standard.
11553 (FP_FAST_FMAF): Likewise.
11554 (FP_FAST_FMAL): Likewise.
11555 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11557 * bits/mathdef.h: Update copyright year.
11558 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11560 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11562 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11563 builtins, define the macros in the C99 standard.
11564 (FP_FAST_FMAF): Likewise.
11565 (FP_FAST_FMAL): Likewise.
11566 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11568 (FP_FAST_FMAF): Likewise.
11570 2010-10-15 Jakub Jelinek <jakub@redhat.com>
11573 * math/libm-test.inc (fma_test): Some new testcases.
11574 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11575 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11576 y and infinite z. Do multiplication by C already in long double.
11577 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11579 y and infinite z. Do bitwise or of inexact bit into u.d.
11580 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11581 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11582 * sysdeps/i386/fpu/s_fma.S: Removed.
11583 * sysdeps/i386/fpu/s_fmal.S: Removed.
11585 2010-10-16 Jakub Jelinek <jakub@redhat.com>
11588 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11589 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11590 computation is not scheduled after fetestexcept. Fix value
11591 of minimum denormal long double.
11593 2010-10-14 Jakub Jelinek <jakub@redhat.com>
11596 * math/libm-test.inc (fma_test): Add some more tests.
11597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11600 2010-10-15 Andreas Schwab <schwab@redhat.com>
11602 * scripts/data/localplt-s390-linux-gnu.data: New file.
11603 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11605 2010-10-13 Jakub Jelinek <jakub@redhat.com>
11608 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11609 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11611 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11613 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11615 if one of x and y is very large and the other is subnormal.
11616 * sysdeps/s390/fpu/s_fmaf.c: New file.
11617 * sysdeps/s390/fpu/s_fma.c: New file.
11618 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11619 * sysdeps/powerpc/fpu/s_fma.S: New file.
11620 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11621 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11622 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11624 2010-10-12 Jakub Jelinek <jakub@redhat.com>
11627 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11629 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11630 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11631 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11632 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11633 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11634 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11635 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11637 2010-10-12 Ulrich Drepper <drepper@redhat.com>
11640 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11641 * posix/bug-regex31.input: Add test case.
11643 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11645 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11646 * posix/bug-regex31.input: New file.
11649 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11650 (parse_sub_exp): Fix last change, use postorder.
11652 * posix/bug-regex31.c: New file.
11653 * posix/Makefile: Add rules to build and run bug-regex31.
11655 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11658 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11661 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11662 to have entries in sys_siglist.
11665 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11668 2010-10-07 Jakub Jelinek <jakub@redhat.com>
11671 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11672 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11673 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11674 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11675 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11676 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11677 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11678 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11679 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11680 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11681 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11682 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11683 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11684 * math/ftestexcept.c (fetestexcept): Likewise.
11685 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11686 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11687 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11688 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11689 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11690 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11691 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11693 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11696 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11699 2010-10-06 Ulrich Drepper <drepper@gmail.com>
11701 * string/bug-strstr1.c: New file.
11702 * string/Makefile: Add rules to build and run bug-strstr1.
11704 2010-10-05 Eric Blake <eblake@redhat.com>
11707 * string/str-two-way.h (two_way_long_needle): Always clear memory
11708 when skipping input due to the shift table.
11710 2010-10-03 Ulrich Drepper <drepper@gmail.com>
11713 * malloc/mcheck.c: Handle large requests.
11716 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11717 for strncmp and strncasecmp.
11718 * string/stratcliff.c: Add tests for strcmp and strncmp.
11719 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11721 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11723 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11726 2010-09-30 Andreas Jaeger <aj@suse.de>
11728 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11729 (CGROUP_SUPER_MAGIC): Define.
11730 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11731 Handle btrfs and cgroup file systems.
11732 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11735 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
11737 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11738 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11740 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11743 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11744 trying to locate the ELF header.
11746 2010-09-27 Andreas Schwab <schwab@redhat.com>
11749 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11750 Mask out sign-bit copies when constructing f_fsid.
11752 2010-09-24 Petr Baudis <pasky@suse.cz>
11754 * debug/stack_chk_fail_local.c: Add missing licence exception.
11755 * debug/warning-nop.c: Likewise.
11757 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11759 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11760 implementing getdents64 using getdents syscall, set d_type if
11761 __ASSUME_GETDENTS32_D_TYPE.
11763 2010-09-16 Andreas Schwab <schwab@redhat.com>
11765 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11766 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11768 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11771 * posix/unistd.h: Undo change of feature selection for ftruncate from
11774 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11776 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11779 2010-09-20 Andreas Schwab <schwab@redhat.com>
11781 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11783 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11785 2010-09-14 Andreas Schwab <schwab@redhat.com>
11787 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11788 variables after CHECK_SP call.
11789 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11791 2010-09-13 Andreas Schwab <schwab@redhat.com>
11792 Ulrich Drepper <drepper@redhat.com>
11794 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11795 re-relocationg ld.so.
11796 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11797 _dl_init_paths call.
11798 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11801 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11803 * resolv/res_init.c (__res_vinit): Count the default server we added.
11805 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11806 Ulrich Drepper <drepper@redhat.com>
11809 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11810 (____longjmp_chk): Use %ebx for saving value across system call.
11813 2010-09-06 Andreas Schwab <schwab@redhat.com>
11815 * manual/Makefile: Don't mix pattern rules with normal rules.
11817 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11819 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11821 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11822 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11823 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11824 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11825 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11828 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11831 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11832 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11834 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11836 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11837 * sysdeps/x86_64/addmul_1.S: Likewise.
11838 * sysdeps/x86_64/lshift.S: Likewise.
11839 * sysdeps/x86_64/mul_1.S: Likewise.
11840 * sysdeps/x86_64/rshift.S: Likewise.
11841 * sysdeps/x86_64/sub_n.S: Likewise.
11842 * sysdeps/x86_64/submul_1.S: Likewise.
11844 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11846 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11847 Define __sched_param instead of SCHED_* and sched_param when
11848 <bits/sched.h> is included with __need_schedparam defined.
11849 * bits/sched.h [__need_schedparam]
11850 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11851 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11852 (__defined_schedparam): Define to 1.
11853 (__sched_param): New structure, identical to sched_param.
11854 (__need_schedparam): Undefine.
11856 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11858 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11859 (epoll_create1): Declare.
11861 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11863 2010-08-31 Andreas Schwab <schwab@redhat.com>
11866 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11867 shifting retval into place.
11869 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11871 * nis/rpcsvc/nis.h: Update copyright notice.
11872 * nis/rpcsvc/nis.x: Likewise.
11873 * nis/rpcsvc/nis_callback.h: Likewise.
11874 * nis/rpcsvc/nis_callback.x: Likewise.
11875 * nis/rpcsvc/nis_object.x: Likewise.
11876 * nis/rpcsvc/nis_tags.h: Likewise.
11877 * nis/rpcsvc/yp.h: Likewise.
11878 * nis/rpcsvc/yp.x: Likewise.
11879 * nis/rpcsvc/ypupd.h: Likewise.
11880 * nis/yp_xdr.c: Likewise.
11881 * nis/ypupdate_xdr.c: Likewise.
11883 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11884 mainly the body of pmap_getport. Add parameters to specify timeouts.
11885 (pmap_getport): Use __libc_rpc_getport.
11886 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11887 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11888 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11890 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11895 2010-08-27 Roland McGrath <roland@redhat.com>
11897 * sysdeps/i386/i686/multiarch/Makefile
11898 (CFLAGS-varshift.c): New variable.
11900 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11902 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11903 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11905 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11907 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11909 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11911 * sysdeps/x86_64/strlen.S: Unroll the loop.
11912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11913 strlen-sse2 strlen-sse2-bsf.
11914 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11915 __strlen_no_bsf if bit_Slow_BSF is set.
11916 (__strlen_sse42): Removed.
11917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11918 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11920 2010-08-25 Roland McGrath <roland@redhat.com>
11922 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11923 * sysdeps/x86_64/multiarch/varshift.c: New file.
11924 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11925 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11926 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11927 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11929 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11931 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11932 strlen-sse2 strlen-sse2-bsf.
11933 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11934 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11935 (__strlen_sse2): Removed.
11936 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11937 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11939 bit_Slow_BSF for Atom.
11940 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11941 (index_Slow_BSF): Define.
11942 (HAS_SLOW_BSF): Define.
11944 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11947 * resolv/res_init.c (__res_vinit): When no server address at all
11948 is given default to loopback.
11950 2010-08-24 Roland McGrath <roland@redhat.com>
11952 * configure.in: Remove config-name.h generation.
11953 * configure: Regenerated.
11954 * config-name.in: File removed.
11955 * scripts/config-uname.sh: New file.
11956 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11957 ($(objdir)config-name.h): New target.
11959 * sunrpc/rpc_parse.h: Avoid nested comment.
11961 2010-08-24 Richard Henderson <rth@redhat.com>
11962 Ulrich Drepper <drepper@redhat.com>
11963 H.J. Lu <hongjiu.lu@intel.com>
11965 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11966 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11967 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11968 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11969 _mm_alignr_epi8 with _mm_loadu_si128.
11970 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11971 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11972 (__m128i_shift_right): Removed.
11973 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11974 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11975 * sysdeps/x86_64/multiarch/varshift.h: New file.
11976 * sysdeps/x86_64/multiarch/varshift.S: New file.
11978 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11980 * configure.in: Move assembler checks to before sysdep dir checking.
11982 2010-08-20 Petr Baudis <pasky@suse.cz>
11984 * LICENSES: Sync the sunrpc license.
11986 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11988 * sunrpc/auth_des.c: Update copyright notice once again.
11989 * sunrpc/auth_none.c: Likewise.
11990 * sunrpc/auth_unix.c: Likewise.
11991 * sunrpc/authdes_prot.c: Likewise.
11992 * sunrpc/authuxprot.c: Likewise.
11993 * sunrpc/bindrsvprt.c: Likewise.
11994 * sunrpc/clnt_gen.c: Likewise.
11995 * sunrpc/clnt_perr.c: Likewise.
11996 * sunrpc/clnt_raw.c: Likewise.
11997 * sunrpc/clnt_simp.c: Likewise.
11998 * sunrpc/clnt_tcp.c: Likewise.
11999 * sunrpc/clnt_udp.c: Likewise.
12000 * sunrpc/clnt_unix.c: Likewise.
12001 * sunrpc/des_crypt.c: Likewise.
12002 * sunrpc/des_soft.c: Likewise.
12003 * sunrpc/get_myaddr.c: Likewise.
12004 * sunrpc/getrpcport.c: Likewise.
12005 * sunrpc/key_call.c: Likewise.
12006 * sunrpc/key_prot.c: Likewise.
12007 * sunrpc/openchild.c: Likewise.
12008 * sunrpc/pm_getmaps.c: Likewise.
12009 * sunrpc/pm_getport.c: Likewise.
12010 * sunrpc/pmap_clnt.c: Likewise.
12011 * sunrpc/pmap_prot.c: Likewise.
12012 * sunrpc/pmap_prot2.c: Likewise.
12013 * sunrpc/pmap_rmt.c: Likewise.
12014 * sunrpc/rpc/auth.h: Likewise.
12015 * sunrpc/rpc/auth_unix.h: Likewise.
12016 * sunrpc/rpc/clnt.h: Likewise.
12017 * sunrpc/rpc/des_crypt.h: Likewise.
12018 * sunrpc/rpc/key_prot.h: Likewise.
12019 * sunrpc/rpc/netdb.h: Likewise.
12020 * sunrpc/rpc/pmap_clnt.h: Likewise.
12021 * sunrpc/rpc/pmap_prot.h: Likewise.
12022 * sunrpc/rpc/pmap_rmt.h: Likewise.
12023 * sunrpc/rpc/rpc.h: Likewise.
12024 * sunrpc/rpc/rpc_des.h: Likewise.
12025 * sunrpc/rpc/rpc_msg.h: Likewise.
12026 * sunrpc/rpc/svc.h: Likewise.
12027 * sunrpc/rpc/svc_auth.h: Likewise.
12028 * sunrpc/rpc/types.h: Likewise.
12029 * sunrpc/rpc/xdr.h: Likewise.
12030 * sunrpc/rpc_clntout.c: Likewise.
12031 * sunrpc/rpc_cmsg.c: Likewise.
12032 * sunrpc/rpc_common.c: Likewise.
12033 * sunrpc/rpc_cout.c: Likewise.
12034 * sunrpc/rpc_dtable.c: Likewise.
12035 * sunrpc/rpc_hout.c: Likewise.
12036 * sunrpc/rpc_main.c: Likewise.
12037 * sunrpc/rpc_parse.c: Likewise.
12038 * sunrpc/rpc_parse.h: Likewise.
12039 * sunrpc/rpc_prot.c: Likewise.
12040 * sunrpc/rpc_sample.c: Likewise.
12041 * sunrpc/rpc_scan.c: Likewise.
12042 * sunrpc/rpc_scan.h: Likewise.
12043 * sunrpc/rpc_svcout.c: Likewise.
12044 * sunrpc/rpc_tblout.c: Likewise.
12045 * sunrpc/rpc_util.c: Likewise.
12046 * sunrpc/rpc_util.h: Likewise.
12047 * sunrpc/rpcinfo.c: Likewise.
12048 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12049 * sunrpc/rpcsvc/key_prot.x: Likewise.
12050 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12051 * sunrpc/rpcsvc/mount.x: Likewise.
12052 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12053 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12054 * sunrpc/rpcsvc/rex.x: Likewise.
12055 * sunrpc/rpcsvc/rstat.x: Likewise.
12056 * sunrpc/rpcsvc/rusers.x: Likewise.
12057 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12058 * sunrpc/rpcsvc/spray.x: Likewise.
12059 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12060 * sunrpc/rtime.c: Likewise.
12061 * sunrpc/svc.c: Likewise.
12062 * sunrpc/svc_auth.c: Likewise.
12063 * sunrpc/svc_authux.c: Likewise.
12064 * sunrpc/svc_raw.c: Likewise.
12065 * sunrpc/svc_run.c: Likewise.
12066 * sunrpc/svc_simple.c: Likewise.
12067 * sunrpc/svc_tcp.c: Likewise.
12068 * sunrpc/svc_udp.c: Likewise.
12069 * sunrpc/svc_unix.c: Likewise.
12070 * sunrpc/svcauth_des.c: Likewise.
12071 * sunrpc/xcrypt.c: Likewise.
12072 * sunrpc/xdr.c: Likewise.
12073 * sunrpc/xdr_array.c: Likewise.
12074 * sunrpc/xdr_float.c: Likewise.
12075 * sunrpc/xdr_mem.c: Likewise.
12076 * sunrpc/xdr_rec.c: Likewise.
12077 * sunrpc/xdr_ref.c: Likewise.
12078 * sunrpc/xdr_sizeof.c: Likewise.
12079 * sunrpc/xdr_stdio.c: Likewise.
12081 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12084 2010-08-19 Andreas Schwab <schwab@redhat.com>
12086 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12088 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12090 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12091 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12092 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12093 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12094 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12095 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12096 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12097 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12098 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12099 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12100 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12101 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12102 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12103 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12105 2010-07-26 Anton Blanchard <anton@samba.org>
12107 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12108 * malloc/arena.c (heap_trim): Likewise.
12110 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12112 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12114 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12115 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12117 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12119 * sysdeps/i386/elf/Makefile: New file.
12121 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12123 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12124 from fanotify_init.
12125 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12126 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12128 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12130 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12132 * sysdeps/multiarch/strcmp.S: Likewise.
12134 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12136 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12137 strncase_l-nonascii.
12138 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12139 Add strncase_l-ssse3.
12140 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12141 * sysdeps/x86_64/strcmp.S: Likewise.
12142 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12143 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12144 * sysdeps/x86_64/strncase.S: New file.
12145 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12146 * sysdeps/x86_64/strncase_l.S: New file.
12147 * string/Makefile (strop-tests): Add strncasecmp.
12148 * string/test-strncasecmp.c: New file.
12150 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12153 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12154 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12156 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12158 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12160 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12162 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12163 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12164 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12166 2010-05-01 Alan Modra <amodra@gmail.com>
12168 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12169 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12170 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12171 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12172 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12173 tidying. Don't tail-call __sigjmp_save for static lib.
12174 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12176 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12177 (CALL_MCOUNT): Add eh info, and nop after bl.
12178 (TAIL_CALL_SYSCALL_ERROR): New macro.
12179 (PSEUDO_RET): Use it.
12180 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12181 Correct save location of integer regs and cr.
12182 (_dl_profile_resolve): Correct cr save location. Delete nops
12183 after bl when SHARED. Reduce cfi size a little by better
12184 placement of cfi directives.
12185 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12186 make a stack frame. Instead use parm save area as a temp.
12187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12188 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12190 Don't make a stack frame for parent, use parm save area.
12191 Increase child stack frame to 112 bytes. Don't save unused reg,
12192 and adjust reg usage. Set up cfi on error recovery and
12193 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12195 (__makecontext): Add dummy nop after jump to exit.
12196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12197 Use correct parm save area and cr save, reduce stack frame.
12198 Correct cfi for possible PSEUDO_RET frame setup.
12199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12200 Branch to local label emitted by PSEUDO_RET rather than
12203 2010-08-12 Andreas Schwab <schwab@redhat.com>
12206 * locale/programs/locale.c (print_assignment): New function.
12207 (show_locale_vars): Use it.
12209 2010-08-11 Ulrich Drepper <drepper@redhat.com>
12211 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12213 (struct statfs64): Likewise.
12214 (_STATFS_F_FLAGS): Define.
12215 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12216 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12217 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12218 (ST_VALID): Define locally.
12219 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12220 __statvfs_getflags, use the provided value.
12221 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12222 __ASSUME_STATFS_F_FLAGS.
12224 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12226 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12227 Add sys/fanotify.h.
12228 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12229 fanotify_mask for GLIBC_2.13.
12230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12231 fanotify_init and fanotify_mark.
12232 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12233 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12235 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12237 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12238 prlimit64 for GLIBC_2.13.
12239 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12241 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12244 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12245 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12246 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12247 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12249 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12252 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12253 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12255 * nss/Makefile: Add rules to build and run tst-nss-test1.
12256 * shlib-versions: Add entry for libnss_test1.
12257 * nss/nss_test1.c: New file.
12258 * nss/tst-nss-test1.c: New file.
12260 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12261 (__nss_configure_lookup): Set appropriate entry in
12262 __nss_configure_lookup to true.
12263 * nss/nsswitch.h: Define enum with indeces of databases in
12264 databases and __nss_database_custom arrays. Declare
12265 __nss_database_custom.
12266 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12267 to avoid using nscd when custom rules are installed.
12268 * nss/getXXbyYY_r.c: Likewise.
12269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12271 * nss/nss_files/files-parse.c: Whitespace fixes.
12273 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12276 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12277 * posix/fnmatch_loop.c: Likewise.
12279 2010-07-17 Andi Kleen <ak@linux.intel.com>
12281 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12282 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12283 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12284 * Versions.def [GLIBC_2.13]: Add.
12286 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12288 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12289 Also fail if tpwd after pwuid call is NULL.
12291 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12293 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12294 when converting to ms.
12296 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12298 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12299 EOPNOTSUPP errors with ENOTTY.
12300 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12301 EOPNOTSUPP errors with ENOTTY.
12303 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12305 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12306 Add strcasecmp_l-ssse3.
12307 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12309 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12310 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12311 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12313 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12315 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12317 * string/Makefile (strop-tests): Add strcasecmp.
12318 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12319 strcasecmp_l-nonascii.
12320 (gen-as-const-headers): Add locale-defines.sym.
12321 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12322 * sysdeps/x86_64/strcasecmp.S: New file.
12323 * sysdeps/x86_64/strcasecmp_l.S: New file.
12324 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12325 * sysdeps/x86_64/locale-defines.sym: New file.
12326 * string/test-strcasecmp.c: New file.
12328 * string/test-strcasestr.c: Test both ends of the range of characters.
12329 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12331 2010-07-29 Roland McGrath <roland@redhat.com>
12334 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12336 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12338 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12341 2010-07-27 Andreas Schwab <schwab@redhat.com>
12343 * manual/memory.texi (Malloc Tunable Parameters): Document
12346 2010-07-26 Roland McGrath <roland@redhat.com>
12349 * configure.in (-fgnu89-inline check): Set and substitute
12350 gnu89_inline, not libc_cv_gnu89_inline.
12351 * configure: Regenerated.
12352 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12354 2010-07-26 Ulrich Drepper <drepper@redhat.com>
12356 * string/test-strnlen.c: New file.
12357 * string/Makefile (strop-tests): Add strnlen.
12358 * string/tester.c (test_strnlen): Add a few more test cases.
12359 * string/tst-strlen.c: Better error reporting.
12361 * sysdeps/x86_64/strnlen.S: New file.
12363 2010-07-24 Ulrich Drepper <drepper@redhat.com>
12365 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12366 lower-latency instructions.
12368 2010-07-23 Ulrich Drepper <drepper@redhat.com>
12370 * string/test-strcasestr.c: New file.
12371 * string/test-strstr.c: New file.
12372 * string/Makefile (strop-tests): Add strstr and strcasestr.
12373 * string/str-two-way.h: Don't undefine MAX.
12374 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12376 2010-07-21 Andreas Schwab <schwab@redhat.com>
12378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12379 strcasestr-nonascii.
12380 (CFLAGS-strcasestr-nonascii.c): Define.
12381 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12382 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12383 Remove unused attribute.
12385 2010-07-20 Roland McGrath <roland@redhat.com>
12387 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12388 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12389 ld.so.cache was broken. With it, there is no way to disable dsocaps
12390 like LD_HWCAP_MASK can disable hwcaps.
12392 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12394 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12396 2010-07-16 Ulrich Drepper <drepper@redhat.com>
12398 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12399 call in strcasestr.
12400 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12401 __strcasestr_sse42_nonascii.
12402 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12403 strcasestr-nonascii.c.
12404 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12406 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
12408 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12409 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12410 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12411 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12413 2010-07-09 Ulrich Drepper <drepper@redhat.com>
12415 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12418 2010-07-06 Andreas Schwab <schwab@redhat.com>
12421 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12424 2010-07-06 Ulrich Drepper <drepper@redhat.com>
12426 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12427 _PC_PIPE_BUF using F_GETPIPE_SZ.
12429 2010-07-05 Roland McGrath <roland@redhat.com>
12431 * manual/arith.texi (Rounding Functions): Fix rint description
12432 implicit in round description.
12434 2010-07-02 Ulrich Drepper <drepper@redhat.com>
12436 * elf/Makefile: Fix linking for a few tests to make recent linker
12439 2010-06-30 Andreas Schwab <schwab@redhat.com>
12441 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12442 $(common-objpfx)libc_nonshared.a.
12444 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
12446 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12447 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12448 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12449 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12450 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12451 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12452 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12453 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12468 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12469 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12470 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12471 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12472 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12473 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12474 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12475 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12476 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12477 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12478 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12479 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12495 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12497 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12498 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12499 * string/memmove.c (memmove): Renamed to ...
12500 (MEMMOVE): ...this. Default to memmove.
12501 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12502 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12505 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12506 mempcpy-ssse3-back memmove-ssse3-back.
12507 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12508 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12509 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12510 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12511 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12512 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12513 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12514 * sysdeps/x86_64/multiarch/memmove.c: New file.
12515 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12516 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12517 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12518 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12519 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12520 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12522 (index_Fast_Copy_Backward): Define.
12523 (HAS_ARCH_FEATURE): Define.
12524 (HAS_FAST_REP_STRING): Define.
12525 (HAS_FAST_COPY_BACKWARD): Define.
12527 2010-06-21 Andreas Schwab <schwab@redhat.com>
12529 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12530 Restore proper fallback handling.
12532 2010-06-19 Ulrich Drepper <drepper@redhat.com>
12535 * posix/group_member.c (__group_member): Correct checking loop.
12537 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12538 OOM in getpwuid_r correctly. Return error number when the caller
12539 should return, otherwise -1.
12540 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12541 call returning > 0 value.
12542 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12544 2010-06-07 Andreas Schwab <schwab@redhat.com>
12546 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12547 libc_nonshared.a from targets in modules-names.
12549 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12551 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12554 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
12556 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12557 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12558 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12559 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12561 2010-06-02 Andreas Schwab <schwab@redhat.com>
12563 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12565 2010-06-14 Ulrich Drepper <drepper@redhat.com>
12567 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12569 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12570 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12571 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12573 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12574 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12576 2010-06-14 Roland McGrath <roland@redhat.com>
12578 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12580 2010-06-07 Jakub Jelinek <jakub@redhat.com>
12582 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12583 __REDIRECT followed by __THROW.
12584 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12585 * posix/getopt.h (getopt): Likewise.
12587 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12589 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12590 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12591 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12593 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12594 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12596 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
12598 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12600 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12604 Properly check family and model.
12606 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12608 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12610 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
12612 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12614 2010-05-21 Ulrich Drepper <drepper@redhat.com>
12616 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12619 2010-05-19 Andreas Schwab <schwab@redhat.com>
12621 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12624 2010-05-21 Andreas Schwab <schwab@redhat.com>
12626 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12627 and internal_recvmmsg.
12628 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12629 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12630 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12631 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12633 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12634 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12635 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12637 2010-05-20 Andreas Schwab <schwab@redhat.com>
12639 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12641 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
12643 POWER7 optimizations.
12644 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12645 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12647 2010-05-19 Ulrich Drepper <drepper@redhat.com>
12649 * version.h: Update for 2.13 development version.
12651 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
12653 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12654 exceptions. Return 0.
12656 2010-05-07 Roland McGrath <roland@redhat.com>
12658 * elf/ldconfig.c (main): Add a const.
12660 2010-05-06 Ulrich Drepper <drepper@redhat.com>
12662 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12663 (args_options): Add no-idn option.
12664 (ahosts_keys_int): Add idn_flags to ai_flags.
12665 (parse_option): Handle 'i' option to clear idn_flags.
12667 * malloc/malloc.c (_int_free): Possible race in the most recently
12668 added check. Only act on the data if no current modification
12671 See ChangeLog.17 for earlier changes.