1 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3 * conform/conformtest.pl: If macro or constant types start
4 "promoted:", expect the symbol to be of the following type
5 promoted by the integer promotions.
7 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8 in one place. Also handle "macro-constant".
10 * conform/conformtest.pl: Only accept expected macro values with
11 "==". Parse all "macro" lines in one place.
12 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14 * conform/conformtest.pl: Handle braced types on "constant" lines
15 instead of handling "typed-constant".
16 * conform/data/signal.h-data: Use "constant" instead of
19 * conform/conformtest.pl: Handle "optional-" at start of lines in
20 one place rather than duplicating several cases. Handle each
21 format of "macro" line with initial "optional-".
23 * conform/conformtest.pl: Only accept expected constant or
24 optional-constant values with "==". Parse all "constant" lines in
25 one place. Parse all "optional-constant" lines in one place.
26 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27 * conform/data/fmtmsg.h-data: Likewise.
28 * conform/data/netinet/in.h-data: Likewise.
29 * conform/data/tar.h-data: Likewise.
30 * conform/data/limits.h-data: Use "==" form on "constant" and
31 "optional-constant" lines.
33 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34 Use -std=c99 for XOPEN2K.
35 (@knownproblems): Remove.
36 (newtoken): Don't check %isknown.
38 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
46 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
54 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
55 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
56 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
57 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
58 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
59 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
61 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
62 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
69 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70 [XPG3] (acosh): Likewise.
71 [XPG3] (asinh): Likewise.
72 [XPG3] (atanh): Likewise.
73 [XPG3] (cbrt): Likewise.
74 [XPG3] (expm1): Likewise.
75 [XPG3] (ilogb): Likewise.
76 [XPG3] (log1p): Likewise.
77 [XPG3] (logb): Likewise.
78 [XPG3] (nextafter): Likewise.
79 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
80 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
81 [XPG3] (remainder): Likewise.
82 [XPG3] (rint): Likewise.
83 [XPG3 || XPG4 || UNIX98] (round): Likewise.
84 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
85 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
86 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
87 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
88 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
89 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
90 [UNIX98 || XOPEN2K] (scalb): Expect.
91 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
92 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
93 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
94 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
95 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
96 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
97 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
98 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
99 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
100 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
101 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
102 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
103 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
104 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
105 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
106 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
107 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
108 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
109 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
110 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
111 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
112 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
113 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
114 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
115 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
116 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
117 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
118 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
119 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
120 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
121 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
122 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
123 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
124 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
125 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
126 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
127 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
128 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
129 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
130 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
131 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
132 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
133 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
134 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
135 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
136 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
137 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
138 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
139 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
140 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
141 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
142 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
143 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
144 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
145 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
146 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
147 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
148 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
149 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
150 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
151 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
152 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
153 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
154 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
155 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
156 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
157 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
158 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
159 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
160 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
161 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
162 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
163 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
164 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
165 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
166 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
167 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
168 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
169 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
170 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
171 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
172 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
173 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
174 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
175 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
176 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
177 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
178 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
179 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
180 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
181 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
182 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
183 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
184 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
185 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
186 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
187 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
188 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
189 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
190 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
191 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
192 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
193 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
194 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
195 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
196 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
197 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
198 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
199 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
200 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
201 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
202 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
203 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
204 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
205 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
206 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
207 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
208 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
209 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
210 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
211 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
212 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
213 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
214 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
215 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
216 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
217 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
218 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
219 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
220 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
221 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
222 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
223 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
224 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
225 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
226 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
227 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
229 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
230 _XOPEN_SOURCE_EXTENDED for XPG4.
232 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
234 * Makeconfig (localtime): Remove variable.
235 (inst_localtime-file): Likewise.
237 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
258 2012-05-01 Joseph Myers <joseph@codesourcery.com>
262 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
263 comparisons to determine direction to adjust input.
264 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
265 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
266 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
268 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
272 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
273 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
275 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
277 * math/libm-test.inc (nexttoward_test): Add more tests.
279 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
283 in version GLIBC_2.1, not GLIBC_2.0.
284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
287 2012-04-30 Joseph Myers <joseph@codesourcery.com>
290 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
292 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
293 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
294 * math/libm-test.inc (acos_test): Add more tests.
295 (asin_test): Likewise.
296 * sysdeps/i386/fpu/libm-test-ulps: Update.
297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
300 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
302 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
303 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
304 * math/libm-test.inc (acos_test_tonearest): New function.
305 (acos_test_towardzero): Likewise.
306 (acos_test_downward): Likewise.
307 (acos_test_upward): Likewise.
308 (asin_test_tonearest): Likewise.
309 (asin_test_towardzero): Likewise.
310 (asin_test_downward): Likewise.
311 (asin_test_upward): Likewise.
312 (main): Call the new functions.
313 * sysdeps/i386/fpu/libm-test-ulps: Update.
314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
318 * math/e_exp10.c: Include <float.h>.
319 (__ieee754_exp10): Handle underflow here rather than multiplying
320 large negative argument by M_LN10.
321 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
323 * math/e_exp10l.c: Include <float.h>.
324 (__ieee754_exp10l): Handle underflow here rather than multiplying
325 large negative argument by M_LN10l.
326 * math/libm-test.inc (exp10_test): Add another test. Do not allow
327 spurious overflow exception on underflow.
329 2012-04-29 Marek Polacek <polacek@redhat.com>
331 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
332 (__fortify_function): New macro.
333 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
334 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
335 __extern_always_inline.
336 * libio/bits/stdio2.h: Likewise.
337 * libio/bits/stdio.h: Likewise.
338 * string/string.h: Likewise.
339 * string/bits/string3.h: Likewise.
340 * include/stdio.h: Likewise.
341 * stdlib/bits/stdlib.h: Likewise.
342 * stdlib/stdlib.h: Likewise.
343 * rt/bits/mqueue2.h: Likewise.
344 * rt/mqueue.h: Likewise.
345 * posix/bits/unistd.h: Likewise.
346 * posix/unistd.h: Likewise.
347 * io/bits/poll2.h: Likewise.
348 * io/bits/fcntl2.h: Likewise.
349 * io/fcntl.h: Likewise.
350 * io/sys/poll.h: Likewise.
351 * misc/bits/syslog.h: Likewise.
352 * misc/bits/syslog-ldbl.h: Likewise.
353 * misc/sys/syslog.h: Likewise.
354 * socket/bits/socket2.h: Likewise.
355 * socket/sys/socket.h: Likewise.
356 * debug/tst-chk1.c: Likewise.
357 * wcsmbs/bits/wchar2.h: Likewise.
358 * wcsmbs/bits/wchar-ldbl.h: Likewise.
359 * wcsmbs/wchar.h: Likewise.
361 2012-04-29 Andreas Jaeger <aj@suse.de>
363 * Makerules (tests): Remove enable-check-abi protection.
364 (check-abi-warn): Remove.
365 (check-abi-%): Remove check-abi-warn usage.
367 * configure.in: Remove check-abi configure option.
368 * configure: Regenerated.
369 * config.make.in (enable-check-abi): Remove.
371 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
374 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
375 double functions to double *_finite functions.
378 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
379 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
381 * stdio-common/Makefile (tests): Add tst-sprintf3.
382 * stdio-common/tst-sprintf3.c: New file.
384 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
385 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
387 2012-04-28 Joseph Myers <joseph@codesourcery.com>
389 * conform/conformtest.pl: Remove duplicate typed-constant
392 2012-04-28 David S. Miller <davem@davemloft.net>
394 * Makerules (%.abilist): Add vpath on sysdep_dirs.
395 (check-abi-%): Remove AWK script prerequisite and explicit
397 (check-abi): Rewrite to just diff the symlist with the abilist.
398 (config-tls, config-abi-config): Delete, no longer used.
399 (update-abi-%): Remove AWK script and explicit abilist directory.
400 (update-abi): Rewrite to simply compare and conditionally copy the
401 symlist and the sysdep abilist file. Remove update-abi-config
403 * abilist/ld.abilist: Remove.
404 * abilist/libBrokenLocale.abilist: Remove.
405 * abilist/libanl.abilist: Remove.
406 * abilist/libcrypt.abilist: Remove.
407 * abilist/libdl.abilist: Remove.
408 * abilist/librt.abilist: Remove.
409 * abilist/libthread_db.abilist: Remove.
410 * abilist/libutil.abilist: Remove.
411 * scripts/extract-abilist.awk: Remove.
412 * scripts/merge-abilist.awk: Remove.
413 * sysdeps/generic/libcidn.abilist: New file.
414 * sysdeps/generic/libnss_compat.abilist: New file.
415 * sysdeps/generic/libnss_db.abilist: New file.
416 * sysdeps/generic/libnss_dns.abilist: New file.
417 * sysdeps/generic/libnss_files.abilist: New file.
418 * sysdeps/generic/libnss_hesiod.abilist: New file.
419 * sysdeps/generic/libnss_nis.abilist: New file.
420 * sysdeps/generic/libnss_nisplus.abilist: New file.
421 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
422 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
423 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
425 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
426 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
427 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
428 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
429 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
430 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
431 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
432 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
433 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
435 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
436 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
437 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
438 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
440 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
441 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
442 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
443 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
444 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
445 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
447 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
448 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
449 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
451 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
554 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
555 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
556 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
558 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
559 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
560 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
561 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
562 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
563 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
564 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
565 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
566 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
567 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
619 2012-04-28 Joseph Myers <joseph@codesourcery.com>
621 * conform/conformtest.pl: Fix typo in handling typed-constant from
624 2012-04-27 Joseph Myers <joseph@codesourcery.com>
626 * README: Cut down references to pre-2.6 Linux kernels and
627 Linuxthreads. Update lists of configurations in libc and ports
628 and sort alphabetically. Say "or newer" with Linux kernel version
631 * config.h.in [IS_IN_build]: Allow compiling without optimization.
633 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
636 * math/libm-test.inc (logb_test_downward): New test to expose
637 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
640 2012-04-27 Joseph Myers <joseph@codesourcery.com>
643 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
645 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
646 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
648 2012-04-26 Joseph Myers <joseph@codesourcery.com>
650 * sysdeps/unix/i386/brk.S: Remove file.
651 * sysdeps/unix/i386/dl-brk.S: Likewise.
652 * sysdeps/unix/i386/pipe.S: Likewise.
653 * sysdeps/unix/i386/sigreturn.S: Likewise.
654 * sysdeps/unix/i386/syscall.S: Likewise.
655 * sysdeps/unix/i386/vfork.S: Likewise.
656 * sysdeps/unix/i386/wait.S: Likewise.
658 * sysdeps/unix/common/tcsendbrk.c: Move to ...
659 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
661 * configure.in (arm*-none*): Do not allow without
662 --enable-hacker-mode.
663 (netbsd*): Remove case setting base_os.
665 (freebsd*): Likewise.
680 (solaris[2-9]*): Likewise.
682 * configure: Regenerated.
684 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
687 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
688 overflow or cancellation in calculating denominator.
689 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
690 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
691 down expression to avoid unexpected rounding in newer GCCs.
692 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
694 2012-04-26 David S. Miller <davem@davemloft.net>
696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
697 long-double compat symbols.
698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
712 2012-04-25 David S. Miller <davem@davemloft.net>
714 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
715 HWCAP_* values only after the memory barriers have been defined.
716 (atomic_full_barrier): Define.
717 (atomic_read_barrier): Define.
718 (atomic_write_barrier): Define.
720 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
722 * shlib-versions: Add libgcc_s version information.
723 * sysdeps/generic/libgcc_s.h: Remove.
724 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
726 * sysdeps/gnu/unwind-resume.c: Likewise.
727 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
729 2012-04-25 David S. Miller <davem@davemloft.net>
731 * sysdeps/unix/sparc/brk.S: Delete.
732 * sysdeps/unix/sparc/dl-brk.S: Delete.
733 * sysdeps/unix/sparc/pipe.S: Delete.
734 * sysdeps/unix/sparc/sysdep.S: Delete.
735 * sysdeps/unix/sparc/sysdep.h: Delete.
736 * sysdeps/unix/sparc/vfork.S: Delete.
737 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
738 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
739 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
740 ret_ERRVAL, r0, r1, MOVE): Define.
741 (JUMPTARGET): Remove.
742 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
743 sysdeps/unix/sparc/sysdep.h
744 (ENTRY, END): Remove.
745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
747 2012-04-25 Joseph Myers <joseph@codesourcery.com>
749 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
750 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
753 * timezone/README: Update upstream location and email address for
755 * timezone/zdump.c: Update from tzcode 2012b.
756 * timezone/zic.c: Likewise.
758 * configure.in (libc_cv_as_needed): Remove test.
759 * configure: Regenerated.
760 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
761 conditional definition.
762 [$(have-as-needed) != yes] (no-as-needed): Likewise.
763 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
764 * config.make.in (have-as-needed): Remove variable.
766 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
767 Paul Pluzhnikov <ppluzhnikov@google.com>
769 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
772 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
774 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
775 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
776 * sysdeps/sh/strlen.S: Likewise.
778 2012-04-24 Joseph Myers <joseph@codesourcery.com>
780 * sysdeps/unix/fork.S: Remove file.
781 * sysdeps/unix/i386/fork.S: Likewise.
782 * sysdeps/unix/sparc/fork.S: Likewise.
784 * sysdeps/unix/system.c: Remove file.
785 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
787 * sysdeps/unix/getegid.S: Remove file.
788 * sysdeps/unix/geteuid.S: Likewise.
790 2012-04-24 Roland McGrath <roland@hack.frob.com>
792 * scripts/check-localplt.awk: New file.
793 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
795 * scripts/data/localplt-generic.data: Add a comment.
797 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
798 NODE when __dir_mkfile failed.
799 * sysdeps/mach/hurd/symlinkat.c: Likewise.
800 Reported by Ludovic Courtès <ludo@gnu.org>.
802 2012-04-24 Andreas Jaeger <aj@suse.de>
804 * Makerules (common-clean): Also remove gen-as-const-headers
807 2012-04-24 Joseph Myers <joseph@codesourcery.com>
809 * Makerules (native-compile): Do not change working directory for
810 build. Use $(OUTPUT_OPTION) in command.
811 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
813 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
816 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
817 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
818 * math/libm-test.inc (floor_test): Add more tests.
819 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
821 2012-04-24 Joseph Myers <joseph@codesourcery.com>
823 * sysdeps/unix/getdents.c: Remove file.
824 * sysdeps/unix/sysv/getdents.c: Likewise.
825 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
827 * sysdeps/unix/syscalls.list (madvise): Add syscall from
828 sysdeps/unix/mman/syscalls.list.
830 (mprotect): Likewise.
833 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
834 * sysdeps/unix/mman/syscalls.list: Remove.
835 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
837 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
838 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
839 * configure: Regenerated.
840 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
842 * config.make.in (libgcc_s_suffix): Remove variable.
844 2012-04-23 Joseph Myers <joseph@codesourcery.com>
846 * sysdeps/unix/sysv/gethostname.c: Move to ...
847 * sysdeps/posix/gethostname.c: ... here.
849 * sysdeps/unix/execve.S: Remove file.
851 * sysdeps/unix/_exit.S: Remove file.
853 2012-04-23 Andreas Jaeger <aj@suse.de>
856 * manual/Makefile: Remove make dist support, there's no
857 need for a stand-alone documentation tar ball.
858 (TEXI2DVI): Define always, it's not in Makeconfig.
862 (glibc-doc-$(edition).tar): Removed
866 (ETAGS): Remove, it's in Makeconfig.
867 (move-if-change): Remove, it's in Makeconfig.
869 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
872 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
873 (strtod, strtof, strtold, strtol, strtoul, strtoq)
874 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
875 (strtod_l, strtof_l, strtold_l): Remove __wur.
876 It is not necessarily an error to ignore strtol's return value.
877 One can reliably look at the stored endptr to decide whether
878 the number had valid syntax.
880 2012-04-21 Andreas Jaeger <aj@suse.de>
883 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
885 2012-04-21 Joseph Myers <joseph@codesourcery.com>
887 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
888 * sysdeps/unix/sysv/Versions: Remove file.
890 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
895 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
898 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
901 2012-04-20 Joseph Myers <joseph@codesourcery.com>
903 * sysdeps/unix/common/lxstat.c: Remove file.
904 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
906 * sysdeps/unix/sysv/Makefile: Remove file.
908 * sysdeps/unix/sysv/direct.h: Remove file.
910 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
911 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
912 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
913 * sysdeps/unix/sysv/bits/signum.h: Likewise.
914 * sysdeps/unix/sysv/bits/stat.h: Likewise.
915 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
916 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
918 * sysdeps/unix/sysv/setrlimit.c: Remove file.
920 * sysdeps/unix/xmknod.c: Remove file.
921 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
923 * sysdeps/unix/sysv/settimeofday.c: Remove file.
925 * sysdeps/unix/sysv/i386/time.S: Remove file.
927 * sysdeps/unix/fxstat.c: Remove file.
928 * sysdeps/unix/xstat.c: Likewise.
929 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
931 * sysdeps/unix/sysv/sigaction.c: Remove file.
933 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
934 (sysdep_headers): Remove variable.
935 [termio.h not in sysdep_headers] (generated): Likewise.
936 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
937 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
938 * sysdeps/unix/sysv/tcdrain.c: Likewise.
939 * sysdeps/unix/sysv/tcflow.c: Likewise.
940 * sysdeps/unix/sysv/tcflush.c: Likewise.
941 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
942 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
943 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
944 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
945 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
947 * sysdeps/unix/siglist.c: Remove file.
949 * sysdeps/unix/getppid.S: Remove file.
951 * sysdeps/unix/mkdir.c: Remove file.
952 * sysdeps/unix/rmdir.c: Likewise.
954 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
956 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
958 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
959 errlist-compat value.
961 2012-04-18 David S. Miller <davem@davemloft.net>
963 * sysdeps/generic/memcopy.h (reg_char): Delete.
964 * debug/strcat_chk.c: Use char, not reg_char.
965 * debug/strcpy_chk.c: Likewise.
966 * debug/strncat_chk.c: Likewise.
967 * debug/strncpy_chk.c: Likewise.
968 * string/memchr.c: Likewise.
969 * string/memrchr.c: Likewise.
970 * string/rawmemchr.c: Likewise.
971 * string/strcat.c: Likewise.
972 * string/strchr.c: Likewise.
973 * string/strchrnul.c: Likewise.
974 * string/strcmp.c: Likewise.
975 * string/strcpy.c: Likewise.
976 * string/strncat.c: Likewise.
977 * string/strncmp.c: Likewise.
978 * string/strncpy.c: Likewise.
980 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
982 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
983 __builtin_memcopy is called when src and dest ranges are known to not
986 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
988 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
989 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
990 fwd_align_merge macro call.
991 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
992 bwd_align_merge macro call.
993 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
995 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
997 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
998 bwd_align_merge macros.
999 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1000 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1001 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1003 2012-04-18 David S. Miller <davem@davemloft.net>
1005 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1007 2012-04-18 Andreas Jaeger <aj@suse.de>
1010 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1011 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1012 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1014 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1015 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1016 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1018 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1019 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1020 Adjust for changed ldbl-128 files.
1022 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1023 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1024 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1026 2012-04-17 David S. Miller <davem@davemloft.net>
1028 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1030 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1032 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1033 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1034 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1035 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1036 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1037 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1039 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1042 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1043 * math/libm-test.inc: Add ilogb errno and exception tests.
1044 * math/w_ilogb.c: New file: ilogb wrapper.
1045 * math/w_ilogbf.c: New file: ilogbf wrapper.
1046 * math/w_ilogbl.c: New file: ilogbl wrapper.
1047 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1048 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1049 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1050 exception being thrown with 0.0 as argument.
1051 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1052 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1053 exception being thrown with 0.0 as argument.
1054 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1055 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1056 exception being thrown with 0.0 as argument.
1057 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1058 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1059 exception being thrown with 0.0 as argument.
1060 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1061 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1062 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1063 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1064 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1065 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1066 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1067 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1068 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1070 2012-04-17 Petr Baudis <pasky@ucw.cz>
1072 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1075 2012-04-16 Marek Polacek <polacek@redhat.com>
1077 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1079 2012-04-16 Marek Polacek <polacek@redhat.com>
1081 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1082 operands of fdivp instruction.
1084 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1086 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1087 * elf/tst-auditmod3b.c: Likewise.
1088 * elf/tst-auditmod4b.c: Likewise.
1089 * elf/tst-auditmod5b.c: Likewise.
1090 * elf/tst-auditmod6b.c: Likewise.
1091 * elf/tst-auditmod6c.c: Likewise.
1092 * elf/tst-auditmod7b.c: Likewise.
1093 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1094 * sysdeps/x86_64/preconfigure.in: Likewise.
1095 * sysdeps/x86_64/preconfigure: Regenerated.
1097 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1099 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1102 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1104 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1105 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1107 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1110 * locale/iso-639.def: Fix gl language name. Spotted by
1113 2012-04-12 Roland McGrath <roland@hack.frob.com>
1116 * libio/libio.h (__io_write_fn): Update comment.
1118 2012-04-12 Petr Baudis <pasky@ucw.cz>
1121 * stdio.texi (Hook Functions): The user provided writer function
1122 is not allowed to return -1.
1124 2012-04-11 David S. Miller <davem@davemloft.net>
1126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1128 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1130 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1131 Add a leading slash to rtkaio.
1133 2012-04-11 Jim Meyering <meyering@redhat.com>
1136 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1137 It is not necessarily an error to ignore fwrite's return
1138 value. One can reliably use ferror to test for errors after
1141 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1143 * bits/types.h (__snseconds_t): New type.
1144 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1146 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1148 (__SNSECONDS_T_TYPE): Likewise.
1149 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1150 (__SNSECONDS_T_TYPE): Likewise.
1151 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1152 (__SNSECONDS_T_TYPE): Likewise.
1154 2012-04-10 Andreas Jaeger <aj@suse.de>
1157 * manual/time.texi (Processor Time): Return type of times is
1158 elapsed real time since an arbitrary point in the past.
1159 (CPU Time): Move CLK_TCK from here...
1160 (Processor Time): ...to here. Correct description.
1161 * manual/conf.texi (Constants for Sysconf): Correct description of
1164 2012-04-10 David S. Miller <davem@davemloft.net>
1167 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1168 where the is a gap between DT_REL(A) and DT_JMPREL.
1170 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1172 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1173 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1174 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1176 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1178 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1179 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1180 (dl_main): Handle --inhibit-cache.
1181 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1183 * elf/dl-load.c (_dl_map_object): Use it.
1184 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1186 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1189 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1190 (__ieee754_powl): Saturate large exponents rather than testing for
1191 overflow of y*log2(x).
1192 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1193 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1197 * math/s_ctan.c: Include <float.h>.
1198 (__ctan): Avoid internal overflow or cancellation in calculating
1200 * math/s_ctanf.c: Likewise.
1201 * math/s_ctanl.c: Likewise.
1202 * math/s_ctanh.c: Likewise.
1203 * math/s_ctanhf.c: Likewise.
1204 * math/s_ctanhl.c: Likewise.
1205 * math/libm-test.inc (ctan_test): Add more tests.
1206 (ctanh_test): Likewise.
1207 * sysdeps/i386/fpu/libm-test-ulps: Update.
1208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1210 2012-04-09 Andreas Jaeger <aj@suse.de>
1213 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1214 is an optional BSD extension.
1217 * manual/stdio.texi (Opening Streams): Document additional fopen
1220 2012-04-09 Roland McGrath <roland@hack.frob.com>
1222 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1223 %eax without telling the compiler.
1225 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1228 * manual/install.texi: Use sourceware.org.
1230 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1233 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1234 (__ieee754_pow): Generate overflow and underflow using huge*huge
1235 and tiny*tiny rather than just returning constant infinity or zero
1236 for large exponents.
1237 * math/libm-test.inc (pow_test): Require overflow exceptions for
1238 applicable cases of large exponents.
1241 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1242 (__ieee754_pow): Use iterative multiplication algorithm only for
1243 integer exponents with absolute value below 1024. Check for odd
1244 integer exponents when using algorithm for real exponents.
1245 * math/libm-test.inc (pow_test): Add more tests.
1246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1248 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1251 * math/libm-test.inc (exp_test): Do not allow overflow exception
1254 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1257 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1258 instead of __kernel_standard_f.
1260 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1262 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1263 * sysdeps/x86_64/memset_chk.S: Likewise.
1265 2012-04-08 Andreas Jaeger <aj@suse.de>
1268 * manual/startup.texi (Environment Access): Describe return value
1269 for putenv and setenv.
1272 * manual/filesys.texi (Directory Entries): Add description for
1276 * manual/filesys.texi (Directory Entries): Clarify that it's file
1277 system not operating system in the description of DT_UNKNOWN.
1280 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1282 2012-04-08 Stephen Compall <s11@member.fsf.org>
1285 * manual/llio.texi (Opening and Closing Files): Add cross
1286 reference to explain mode argument.
1288 2012-04-07 Mike Frysinger <vapier@gentoo.org>
1290 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1291 * sysdeps/x86_64/memset_chk.S: Likewise.
1293 2012-04-07 David S. Miller <davem@davemloft.net>
1295 * elf/elf.h (R_SPARC_WDISP10): Define.
1296 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1298 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1299 R_SPARC_SIZE64 and R_SPARC_H34.
1301 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1303 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1304 conditions and remove no longer applicable assertion.
1306 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1308 * bits/byteswap.h: Include <features.h>.
1309 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1310 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1312 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1314 * bits/byteswap.h (__bswap_16): Removed.
1315 Include <bits/byteswap-16.h> to get __bswap_16.
1316 * sysdeps/i386/bits/byteswap.h: Likewise.
1317 * sysdeps/s390/bits/byteswap.h: Likewise.
1318 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1319 * bits/byteswap-16.h: New file.
1320 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1321 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1322 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1323 * string/Makefile (headers): Add bits/byteswap-16.h.
1325 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1328 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1330 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1331 * nss/tst-nss-static.c: New.
1333 2012-04-06 Robert Millan <rmh@gnu.org>
1336 * manual/llio.texi (File Position Primitive): lseek
1337 refers to WHENCE when it really means OFFSET.
1339 2012-04-06 Andreas Jaeger <aj@suse.de>
1341 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1342 strncmp declarations.
1344 * abilist/libc.abilist: Add __poll and __ppoll.
1346 2012-04-05 David S. Miller <davem@davemloft.net>
1348 * scripts/check-local-headers.sh: Accept a host triplet in the
1349 path matched by the exclude regexp.
1351 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1353 * sysdeps/powerpc/powerpc32/dl-machine.h
1354 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1355 * sysdeps/s390/s390-32/dl-machine.h
1356 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1357 * sysdeps/sparc/sparc32/dl-machine.h
1358 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1359 * sysdeps/sparc/sparc64/dl-machine.h
1360 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1362 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1364 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1365 undefined symbol errors.
1367 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1370 2012-04-05 Michael Matz <matz@suse.de>
1373 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1375 2012-04-05 Andreas Jaeger <aj@suse.de>
1378 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1381 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1383 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1384 which ROUND is no valid rounding mode.
1386 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1388 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1390 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1392 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1394 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1395 an exception using FPU order intentionally.
1397 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1399 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1400 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1401 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1402 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1404 2012-04-05 Simon Josefsson <simon@josefsson.org>
1407 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1408 EINVAL when BUFLEN is too smal.
1410 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1413 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1414 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1416 2012-04-03 Andreas Jaeger <aj@suse.de>
1419 * manual/setjmp.texi (System V contexts): Fix sentence.
1422 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1423 New macro for this case.
1424 [!__GNUC__] (__bswap_64): New inline function for this case.
1425 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1426 * bits/byteswap.h: Likewise.
1427 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1428 ull, guard with __GLIBC_HAVE_LONG_LONG.
1430 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1431 __GLIBC_HAVE_LONG_LONG.
1433 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1434 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1436 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1439 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1440 inptr and inend, rather than using last_ch.
1442 2012-04-02 David S. Miller <davem@davemloft.net>
1444 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1445 * stdio-common/printf-parse.h (read_int): Change return type to
1446 'int', return -1 on INT_MAX overflow.
1447 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1448 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1449 overflows INT_MAX. Check for overflow of in-format-string precision
1450 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1451 SIZE_MAX not INT_MAX for integer overflow test.
1452 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1453 skip the construct in the format string but do not record anything.
1454 * stdio-common/bug22.c: Adjust to test both width/prevision
1455 INT_MAX overflow as well as total length INT_MAX overflow. Check
1456 explicitly for proper errno values.
1458 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1460 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1462 * string/test-strcmp.c [! WIDE]: Likewise.
1463 * time/tst-mktime2.c: Likewise for INT_MAX.
1464 * string/test-string.h: #include <sys/param.h> for MIN.
1466 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1467 * sysdeps/i386/init-first.c (init): Likewise.
1468 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1469 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1470 * sysdeps/sh/init-first.c (init): Likewise.
1472 2012-04-01 Ulrich Drepper <drepper@gmail.com>
1474 * po/ru.po: Update from translation team.
1475 * po/vi.po: Likewise.
1477 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1479 * resolv/nss_dns/dns-host.c: Merge copyright years.
1481 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1484 Optimize memcpy with prefetch if
1485 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1486 src, dst pointers have unequal 16 byte alignments.
1488 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1491 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1492 from a CNAME entry and return the minimum ttl for the query.
1493 (gaih_getanswer_slice): Likewise.
1495 2012-03-30 Jeff Law <law@redhat.com>
1497 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1499 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1500 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1502 * resolv/nss_dns/dns-host.c: Update copyright year.
1504 2012-03-30 Ulrich Drepper <drepper@gmail.com>
1506 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1507 requests to save a system call. Fix check that all bytes are sent.
1509 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1510 comments for sendmmsg.
1512 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1515 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1516 with only 1 character between 0x0041 and 0x01b0.
1517 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1518 * wcsmbs/tst-mbsnrtowcs.c: New file.
1520 2012-03-29 David S. Miller <davem@davemloft.net>
1522 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1523 small copies by hand.
1525 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1528 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1529 _nss_compat_initgroups_dyn): Fall back to malloc/free
1530 for large group memberships.
1532 2012-03-28 David S. Miller <davem@davemloft.net>
1534 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1535 that branches into memcpy.
1536 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1537 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1538 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1539 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1542 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1544 * sysdeps/sparc/mempcpy.S: New file.
1546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1547 the IFUNC routine in the libc case.
1548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1550 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1551 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1552 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1553 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1554 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1555 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1556 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1557 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1559 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1560 loop to 256 bytes instead of 64 bytes and fix test signedness.
1562 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1563 * sysdeps/sparc/sparc32/Makefile: rather than here...
1564 * sysdeps/sparc/sparc64/Makefile: and here.
1566 2012-03-28 Ulrich Drepper <drepper@gmail.com>
1568 * malloc/mallocbug.c: Avoid warnings about unused variables.
1570 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1573 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1574 in the right place. Discard and retry query if response is
1575 larger than input buffer size.
1577 2012-03-28 Joseph Myers <joseph@codesourcery.com>
1582 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1583 x for large integer exponent.
1584 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1585 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1586 sign of result as needed afterwards.
1587 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1588 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1589 result for underflowing pow the same as for overflow.
1590 (__kernel_standard_l): Handle powl overflow and underflow here
1591 rather than calling __kernel_standard.
1592 * math/libm-test.inc (pow_test): Add more tests.
1607 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1608 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1609 (__kernel_standard_l): New function.
1610 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1612 * math/w_acosl.c (__acosl): Likewise.
1613 * math/w_asinl.c (__asinl): Likewise.
1614 * math/w_atan2l.c (__atan2l): Likewise.
1615 * math/w_atanhl.c (__atanhl): Likewise.
1616 * math/w_coshl.c (__coshl): Likewise.
1617 * math/w_exp10l.c (__exp10l): Likewise.
1618 * math/w_exp2l.c (__exp2l): Likewise.
1619 * math/w_fmodl.c (__fmodl): Likewise.
1620 * math/w_hypotl.c (__hypotl): Likewise.
1621 * math/w_j0l.c (__j0l, __y0l): Likewise.
1622 * math/w_j1l.c (__j1l, __y1l): Likewise.
1623 * math/w_jnl.c (__jnl, __ynl): Likewise.
1624 * math/w_lgammal.c (__lgammal): Likewise.
1625 * math/w_log10l.c (__log10l): Likewise.
1626 * math/w_log2l.c (__log2l): Likewise.
1627 * math/w_logl.c (__logl): Likewise.
1628 * math/w_powl.c (__powl): Likewise.
1629 * math/w_remainderl.c (__remainderl): Likewise.
1630 * math/w_scalbl.c (sysv_scalbl): Likewise.
1631 * math/w_sinhl.c (__sinhl): Likewise.
1632 * math/w_sqrtl.c (__sqrtl): Likewise.
1633 * math/w_tgammal.c (__tgammal): Likewise.
1634 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1635 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1636 * math/libm-test.inc (acos_test): Add more tests.
1637 (acosh_test): Likewise.
1638 (asin_test): Likewise.
1639 (atanh_test): Likewise.
1640 (exp_test): Likewise.
1641 (exp10_test): Likewise.
1642 (exp2_test): Likewise.
1643 (expm1_test): Likewise.
1644 (lgamma_test): Likewise.
1645 (log_test): Likewise.
1646 (log10_test): Likewise.
1647 (log1p_test): Likewise.
1648 (log2_test): Likewise.
1649 (pow_test): Do not allow some spurious overflow exceptions.
1650 (sqrt_test): Add more tests.
1651 (tgamma_test): Likewise.
1652 (y0_test): Likewise.
1653 (y1_test): Likewise.
1654 (yn_test): Likewise.
1656 2012-03-27 Anton Blanchard <anton@samba.org>
1658 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1660 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1661 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1662 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1664 2012-03-27 David S. Miller <davem@davemloft.net>
1666 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1668 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1671 2012-03-27 Andreas Jaeger <aj@suse.de>
1673 * sysdeps/x86_64/elf/configure.in: Moved to ...
1674 * sysdeps/x86_64/configure.in: ... here.
1675 * sysdeps/x86_64/elf/start.S: Moved to ...
1676 * sysdeps/x86_64/start.S: ... here.
1677 * sysdeps/x86_64/elf/configure: Delete.
1679 * sysdeps/x86_64/configure.in: Merge contents from
1680 sysdeps/i386/configure.in (without i686 check).
1682 * sysdeps/i386/elf/Versions: Merge into ...
1683 * sysdeps/i386/Versions: ... this.
1684 * sysdeps/i386/elf/Versions: Delete file.
1685 * sysdeps/i386/elf/start.S: Moved to ...
1686 * sysdeps/i386/start.S: ...here.
1687 * sysdeps/i386/elf/configure.in: Merge into...
1688 * sysdeps/i386/configure.in: ...here.
1689 * sysdeps/i386/elf/configure.in: Delete file.
1690 * sysdeps/i386/elf/configure: Delete file.
1692 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1693 * debug/backtracesyms.c: ... here.
1694 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1695 * debug/backtracesymsfd.c: ... here.
1696 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1697 * sysdeps/generic/ifunc-sel.h: ... here.
1699 * sysdeps/unix/i386/start.c: Delete file.
1700 * sysdeps/unix/sparc/start.c: Delete file.
1701 * sysdeps/unix/start.c: Delete file.
1703 * sysdeps/sh/elf/configure.in: Moved to ...
1704 * sysdeps/sh/configure.in: ... here.
1705 * sysdeps/sh/elf/start.S: Moved to ...
1706 * sysdeps/sh/start.S: ... here.
1707 * sysdeps/sh/elf/configure: Delete file.
1709 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1710 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1711 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1712 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1713 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1714 * sysdeps/powerpc/powerpc64/start.S: here.
1715 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1716 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1717 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1718 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1719 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1721 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1722 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1723 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1724 * sysdeps/powerpc/powerpc32/start.S: ... here.
1725 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1726 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1727 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1729 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1730 * sysdeps/powerpc/ifunc-sel.h: ... here.
1731 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1732 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1734 * sysdeps/sparc/elf/configure.in: Moved to ...
1735 * sysdeps/sparc/configure.in: ... here.
1736 * sysdeps/sparc/elf/configure: Delete file.
1737 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1738 * sysdeps/sparc/sparc32/start.S: ... here.
1739 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1740 * sysdeps/sparc/sparc64/start.S: ... here.
1741 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1742 * sysdeps/sparc/sparc32/Makefile: ... this.
1743 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1744 * sysdeps/sparc/sparc64/Makefile: ... this.
1746 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1747 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1748 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1749 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1750 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1751 * sysdeps/s390/s390-32/setjmp.S: ... here.
1752 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1753 * sysdeps/s390/s390-32/configure.in: ... here.
1754 * sysdeps/s390/s390-32/elf/configure: Delete file.
1755 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1756 * sysdeps/s390/s390-32/start.S: ... here.
1758 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1759 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1760 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1761 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1762 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1763 * sysdeps/s390/s390-64/setjmp.S: ... here.
1764 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1765 * sysdeps/s390/s390-64/configure.in: ... here
1766 * sysdeps/s390/s390-64/elf/configure: Delete file.
1767 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1768 * sysdeps/s390/s390-64/start.S: ... here.
1769 * sysdeps/s390/s390-64/elf/configure: Delete.
1771 * configure.in: Remove support for elf directories in sysdeps.
1773 * configure: Regenerated.
1774 * sysdeps/i386/configure: Regenerated.
1775 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1776 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1777 * sysdeps/s390/s390-32/configure: Regenerated.
1778 * sysdeps/s390/s390-64/configure: Regenerated.
1779 * sysdeps/sh/configure: Regenerated.
1780 * sysdeps/sparc/configure: Regenerated.
1781 * sysdeps/x86_64/configure: Regenerated.
1783 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1787 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1788 denormal result into account.
1790 2012-03-25 Roland McGrath <roland@hack.frob.com>
1792 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1793 Reported by Allan McRae <allan@archlinux.org>.
1795 2012-03-23 Jeff Law <law@redhat.com>
1797 * nss/getnssent.c (__nss_getent): Fix typo.
1799 2012-03-23 David S. Miller <davem@davemloft.net>
1801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1803 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1805 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1806 to pad to uint64_t for each field.
1807 (dl_tls_index): Replace unsigned long with uint64_t.
1809 2012-03-23 Daniel Jacobowitz <dmj@google.com>
1810 Paul Pluzhnikov <ppluzhnikov@google.com>
1813 * grp/Makefile (otherlibs): Don't set it.
1814 * inet/Makefile (otherlibs): Likewise.
1815 * login/Makefile (otherlibs): Likewise.
1816 * nscd/Makefile (otherlibs): Likewise.
1817 * posix/Makefile (otherlibs): Likewise.
1818 * pwd/Makefile (otherlibs): Likewise.
1819 * rt/Makefile (otherlibs): Likewise.
1820 * sunrpc/Makefile (otherlibs): Likewise.
1821 * nss/Makefile (otherlibs): Likewise.
1822 Add libnss_files to routines and static-only-routines.
1823 ($(objpfx)getent): Remove rule.
1824 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1825 static-only-routines.
1827 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1830 * math/s_cexp.c: Include <float.h>.
1831 (__cexp): Handle exp result overflowing not necessarily
1832 overflowing both real and imaginary parts of result.
1833 * math/s_cexpf.c: Likewise.
1834 * math/s_cexpl.c: Likewise.
1835 * math/libm-test.inc (cexp_test): Add more tests.
1836 * sysdeps/i386/fpu/libm-test-ulps: Update.
1837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1839 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1841 * include/link.h (ELFW): New macro.
1842 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1843 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1845 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1847 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1850 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1852 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1854 (struct La_x32_retval): Likewise.
1856 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1858 * sysdeps/x86_64/preconfigure.in: New file.
1859 * sysdeps/x86_64/preconfigure: New generated file.
1861 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1864 * math/e_exp2l.c: Include <float.h>.
1865 (__ieee754_exp2l): Handle overflow and underflow cases
1866 separately. Only pass fractional part of argument to
1868 * math/libm-test.inc (exp2_test): Add more tests.
1870 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1871 negating x to take absolute value.
1872 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1874 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1875 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1877 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1878 computing low part if x was negated.
1879 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1881 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1883 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1885 (pltexit): Cast int_retval to ptrdiff_t.
1886 * elf/tst-auditmod3b.c: Likewise.
1887 * elf/tst-auditmod4b.c: Likewise.
1888 * elf/tst-auditmod5b.c: Likewise.
1889 * elf/tst-auditmod6b.c: Likewise.
1890 * elf/tst-auditmod6c.c: Likewise.
1891 * elf/tst-auditmod7b.c: Likewise.
1893 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1894 and x32_gnu_pltexit.
1896 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1898 (La_x32_regs): New macro.
1899 (La_x32_retval): Likewise.
1900 (la_x32_gnu_pltenter): New function prototype.
1901 (la_x32_gnu_pltexit): Likewise.
1903 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1905 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1910 * configure.in (libc_cv_cc_nofma): Check for option to disable
1911 generation of FMA instructions.
1912 * configure: Regenerate.
1913 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1914 * sysdeps/ieee754/dbl-64/Makefile: New file.
1915 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1916 Remove brandred-fma4.
1917 (CFLAGS-brandred-fma4.c): Remove.
1918 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1919 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1921 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1924 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1926 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1927 LLONG_MAX != LONG_MAX.
1928 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1929 (_fitoa_word): Likewise.
1930 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1931 LLONG_MAX != LONG_MAX.
1932 * stdio-common/_itowa.h: Include <_itoa.h>.
1933 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1934 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1935 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1936 only if not defined.
1937 (_ITOA_WORD_TYPE): Likewise.
1938 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1939 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1941 2012-03-21 David S. Miller <davem@davemloft.net>
1943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1945 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1947 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1948 of x86_64 when setting libc_cv_slibdir, libdir and
1950 * sysdeps/unix/sysv/linux/configure: Regenerated.
1952 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1954 * manual/lang.texi (Old Varargs): Remove section.
1955 (How Variadic): Update menu.
1956 (va_start): Do not mention varargs.h.
1958 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1959 Joseph Myers <joseph@codesourcery.com>
1961 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1963 * configure: Regenerated.
1965 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1967 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1968 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1971 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1974 * Makefile (files-for-dist): Remove NOTES.
1975 (NOTES): Remove rule.
1976 * README: Don't refer to NOTES.
1977 * manual/creature.texi: Don't include macros.texi.
1978 * manual/intro.texi (creature.texi): Remove comment referring to
1981 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1982 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1983 * configure: Regenerated.
1984 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1986 (libc_cv_as_i686): Likewise.
1987 (libc_cv_cc_avx): Likewise.
1988 (libc_cv_cc_sse2avx): Likewise.
1989 (libc_cv_cc_fma4): Likewise.
1990 (libc_cv_cc_novzeroupper): Likewise.
1991 * sysdeps/i386/configure: Regenerated.
1994 * sysdeps/i386/fpu/s_cexp.S: Remove.
1995 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1996 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1997 * math/libm-test.inc (cexp_test): Add more tests.
1998 * sysdeps/i386/fpu/libm-test-ulps: Update.
1999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2001 2012-03-21 Allan McRae <allan@archlinux.org>
2003 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2005 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2008 * math/w_exp2.c: Do not include <float.h>.
2009 (o_threshold, u_threshold): Remove.
2010 (__exp2): Calculate result before checking finiteness and calling
2012 * math/w_exp2f.c: Likewise.
2013 * math/w_exp2l.c: Likewise.
2014 * math/libm-test.inc (exp2_test): Require overflow exception for
2018 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2019 range of signed 64-bit integers before using fistpll. Remove
2020 checks for whether integers fit in mantissa bits.
2021 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2022 the range of signed 32-bit integers before using fistpl. Remove
2023 checks for whether integers fit in mantissa bits.
2024 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2025 (__ieee754_powl): Test for y outside the range of signed 64-bit
2026 integers before using fistpll. Reduce 64-bit values to 63-bit
2028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2029 divide-by-zero is raised for zero to large negative powers.
2030 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2031 (__ieee754_powl): Test for y outside the range of signed 64-bit
2032 integers before using fistpll. Reduce 64-bit values to 63-bit
2034 * math/libm-test.inc (pow_test): Add more tests.
2036 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2038 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2039 <stdio-common/_itoa.h>.
2040 * debug/segfault.c: Likewise.
2041 * elf/dl-cache.c: Likewise.
2042 * elf/dl-minimal.c: Likewise.
2043 * elf/dl-misc.c: Likewise.
2044 * elf/dl-sysdep.c: Likewise.
2045 * elf/dl-version.c: Likewise.
2046 * elf/rtld.c: Likewise.
2047 * hurd/hurdsock.c: Likewise.
2048 * hurd/lookup-retry.c: Likewise.
2049 * malloc/malloc.c: Likewise.
2050 * malloc/mtrace.c: Likewise.
2051 * nscd/nscd_getgr_r.c: Likewise.
2052 * nscd/nscd_getpw_r.c: Likewise.
2053 * nscd/nscd_getserv_r.c: Likewise.
2054 * posix/getopt_init.c: Likewise.
2055 * posix/wordexp.c: Likewise.
2056 * stdio-common/_itoa.c: Likewise.
2057 * stdio-common/printf_fphex.c: Likewise.
2058 * stdio-common/vfprintf.c: Likewise.
2059 * string/_strerror.c: Likewise.
2060 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2061 * sysdeps/i386/i686/hp-timing.h: Likewise.
2062 * sysdeps/mach/_strerror.c: Likewise.
2063 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2064 * sysdeps/mach/hurd/sethostid.c: Likewise.
2065 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2066 * sysdeps/mach/xpg-strerror.c: Likewise.
2067 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2068 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2069 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2070 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2071 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2072 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2073 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2074 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2075 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2076 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2077 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2078 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2079 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2080 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2081 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2082 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2083 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2084 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2085 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2086 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2087 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2089 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2091 * stdio-common/_itoa.h: Moved to ...
2092 * sysdeps/generic/_itoa.h: Here.
2094 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2096 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2097 instead of "_itoa.h" and "_itowa.h".
2098 * stdio-common/vfprintf.: Likewise.
2100 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2102 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2104 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2105 (__signbit): Likwise.
2109 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2111 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2114 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2116 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2117 OVERFLOW_EXCEPTION_OK.
2118 * math/libm-test.inc ("Philosophy"): Update comment about
2120 (OVERFLOW_EXCEPTION): Define.
2121 (OVERFLOW_EXCEPTION_OK): Likewise.
2122 (INVALID_EXCEPTION_OK): Renumber.
2123 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2124 (IGNORE_ZERO_INF_SIGN): Likewise.
2125 (test_exceptions): Handle FE_OVERFLOW.
2126 (exp10_test): Expect overflow exceptions.
2127 (exp2_test): Likewise.
2128 (expm1_test): Likewise.
2129 (nextafter_test): Likewise.
2130 (pow_test): Likewise.
2131 (scalbn_test): Likewise.
2132 (scalbln_test): Likewise.
2134 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2136 * sysdeps/x86_64/bits/atomic.h
2137 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2139 (atomic_exchange_acq): Likewise.
2140 (__arch_exchange_and_add_body): Likewise.
2141 (__arch_add_body): Likewise.
2142 (atomic_add_negative): Likewise.
2143 (atomic_add_zero): Likewise.
2145 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2147 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2148 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2150 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2152 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2153 Check __x86_64__ instead of __WORDSIZE.
2155 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2157 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2159 2012-03-19 David S. Miller <davem@davemloft.net>
2161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2163 * sysdeps/sparc/fpu/fenv_private.h: New file.
2164 * sysdeps/sparc/fpu/math_private.h: Use it.
2165 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2167 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2168 (libc_feholdexcept_setroundl): Remove.
2169 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2171 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2172 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2174 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2176 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2177 int64_t instead of long int.
2178 (INSERT_WORDS64): Likwise.
2180 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2182 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2183 _Unwind_GetCFA return to _Unwind_Ptr first.
2185 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2188 * math/s_clog.c: Include <float.h>.
2189 (__clog): Scale large or subnormal inputs.
2190 * math/s_clogf.c: Likewise.
2191 * math/s_clogl.c: Likewise.
2192 * math/s_clog10.c: Include <float.h>.
2193 (M_LOG10_2): Define.
2194 (__clog10): Scale large or subnormal inputs.
2195 * math/s_clog10f.c: Likewise.
2196 * math/s_clog10l.c: Likewise.
2197 * math/libm-test.inc (clog_test): Add more tests.
2198 (clog10_test): Likewise.
2199 * sysdeps/i386/fpu/libm-test-ulps: Update.
2200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2203 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2205 * math/libm-test.inc (atan2_test): Add another test.
2207 * Makerules (common-objdir-compile): Remove.
2208 * sysdeps/unix/Makefile (config-generated): Do not add
2209 $(unix-generated) to variable.
2210 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2211 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2213 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2215 [generic bits/local_lim.h] (before-compile): Do not append to
2217 [generic bits/local_lim.h] (common-generated): Likewise.
2218 [generic sys/param.h] (before-compile): Do not append to variable.
2219 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2220 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2221 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2222 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2224 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2225 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2226 [generic sys/param.h] ($(addprefix
2227 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2228 [generic sys/param.h] (common-generated): Do not append to
2230 [generic sys/param.h] (sysdep_headers): Likewise.
2231 [generic bits/errno.h] (before-compile): Do not append to
2233 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2235 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2236 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2237 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2238 [generic bits/errno.h] (common-generated): Do not append to
2240 [generic bits/ioctls.h] (before-compile): Do not append to
2242 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2244 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2245 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2246 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2248 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2249 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2250 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2251 [generic bits/ioctls.h] (common-generated): Do not append to
2253 [generic sys/syscall.h] (syscall.h): Remove variable.
2254 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2256 [generic sys/syscall.h] (before-compile): Do not append to
2258 [generic sys/syscall.h] (common-generated): Likewise.
2259 * sysdeps/unix/errnos-tmpl.c: Remove file.
2260 * sysdeps/unix/errnos.awk: Likewise.
2261 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2262 * sysdeps/unix/ioctls.awk: Likewise.
2263 * sysdeps/unix/mk-local_lim.c: Likewise.
2264 * sysdeps/unix/snarf-ioctls: Likewise.
2266 2012-03-19 Richard Henderson <rth@twiddle.net>
2268 * sysdeps/i386/fpu/fenv_private.h: New file.
2269 * sysdeps/i386/fpu/math_private.h: Use it.
2270 (math_opt_barrier, math_force_eval): Remove.
2271 (libc_feholdexcept_setround_53bit): Remove.
2272 (libc_feupdateenv_53bit): Remove.
2273 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2274 (math_opt_barrier, math_force_eval): Remove.
2275 (libc_feholdexcept): Remove.
2276 (libc_feholdexcept_setround): Remove.
2277 (libc_fetestexcept, libc_fesetenv): Remove.
2278 (libc_feupdateenv_test): Remove.
2279 (libc_feupdateenv, libc_feholdsetround): Remove.
2280 (libc_feresetround): Remove.
2282 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2283 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2285 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2286 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2287 (libc_feupdateenv_testl): New.
2288 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2289 (libc_feupdateenv_testf): New.
2290 (libc_feupdateenv): Use libc_feupdateenv_test.
2291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2292 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2294 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2295 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2296 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2297 (libc_feresetround_noex): New.
2298 (libc_feresetround_noexf): New.
2299 (libc_feresetround_noexl): New.
2300 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2301 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2302 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2303 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2305 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2306 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2308 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2309 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2310 SET_RESTORE_ROUND_NOEX.
2311 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2312 SET_RESTORE_ROUND_NOEXF.
2313 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2314 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2315 (libc_feholdsetroundf): New.
2316 (libc_feresetround, libc_feresetroundf): New.
2318 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2319 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2320 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2322 * sysdeps/generic/math_private.h: Include <fenv.h>.
2323 (default_libc_feholdexcept): New.
2324 (default_libc_feholdexcept_setround): New.
2325 (default_libc_fesetenv, default_libc_feupdateenv): New.
2326 (libc_feholdexcept): Only define if undefined.
2327 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2328 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2329 (libc_feholdexcept_setroundl): Likewise.
2330 (libc_feholdexcept_setround_53bit): Likewise.
2331 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2332 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2333 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2334 (libc_feupdateenv_53bit): Likewise.
2335 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2336 (libc_feholdexcept): Convert from macro to inline function.
2337 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2338 (libc_fesetenv, libc_feupdateenv): Likewise.
2340 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2341 not previously defined.
2342 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2343 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2344 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2345 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2346 * sysdeps/ieee754/flt-32/math_private.h: New file.
2347 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2348 math_private.h below SET_FLOAT_WORD.
2349 (__isnan, __isinf_ns, __finite): Remove.
2350 (__isnanf, __isinf_nsf, __finitef): Remove.
2352 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2356 2012-03-17 David S. Miller <davem@davemloft.net>
2359 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2362 2012-03-16 David S. Miller <davem@davemloft.net>
2364 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2368 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2370 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2371 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2372 sysdep_routines when subdir is sysvipc.
2373 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2376 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2378 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2380 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2383 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2385 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2386 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2387 (__lround): Renamed to ...
2388 (__llround): This. Replace long int with long long int.
2389 Define lround functions as aliases of llround functions.
2390 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2392 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2394 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2395 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2396 adresses to uintptr_t. Replace "long int" and "unsigned long
2397 int" with "greg_t" on va_arg.
2399 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2401 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2402 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2404 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2405 Move e_machine check before EI_CLASS check. Handle x32
2406 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2407 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2408 SKIP_EM_IA_64 and include
2409 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2411 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2412 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2413 (add_system_dir): New macro.
2415 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2416 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2418 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2429 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2431 * math/w_j0f.c (j0f): Likewise.
2433 * math/w_j0l.c (__j0l): Likewise.
2435 * math/w_j1.c (j1): Likewise.
2437 * math/w_j1f.c (j1f): Likewise.
2439 * math/w_j1l.c (__j1l): Likewise.
2441 * math/w_jn.c (jn): Likewise.
2443 * math/w_jnf.c (jnf): Likewise.
2445 * math/w_jnl.c (__jnl): Likewise.
2447 * math/libm-test.inc (j0_test): Add more tests.
2448 (j1_test): Likewise.
2449 (jn_test): Likewise. Add trailing semicolon to existing test.
2450 (y0_test): Likewise.
2451 (y1_test): Likewise.
2452 * sysdeps/i386/fpu/libm-test-ulps: Update.
2453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2457 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2458 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2459 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2460 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2461 (__tanl): Set errno for infinite argument.
2462 * sysdeps/i386/fpu/mptan.c: Remove.
2463 * sysdeps/i386/fpu/s_tan.S: Likewise.
2464 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2465 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2466 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2467 * math/libm-test.inc (tan_test): Add more tests and enable more
2468 tests for double and long double.
2469 * sysdeps/i386/fpu/libm-test-ulps: Update.
2470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2472 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2474 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2475 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2477 2012-03-16 Roland McGrath <roland@hack.frob.com>
2479 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2480 * configure.in: Use it for both main tree and add-ons.
2481 * configure: Regenerated.
2483 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2485 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2487 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2489 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2493 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2494 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2495 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2496 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2497 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2499 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2500 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2502 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2503 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2504 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2505 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2506 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2507 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2508 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2509 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2510 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2511 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2512 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2513 * math/libm-test.inc (cos_test): Add more tests and enable more
2514 tests for long double.
2515 (sin_test): Likewise.
2516 (sincos_test): Likewise.
2517 * sysdeps/i386/fpu/libm-test-ulps: Update.
2518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2520 2012-03-16 David S. Miller <davem@davemloft.net>
2522 * sysdeps/sparc/fpu/math_private.h: New file.
2524 2012-03-15 David S. Miller <davem@davemloft.net>
2526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2536 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2540 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2541 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2543 * sysdeps/sparc/sparc-ifunc.h: New file.
2544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2586 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2587 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2589 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2591 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2595 2012-03-15 Andreas Jaeger <aj@suse.de>
2598 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2599 ieee754/flt-32 implementation for sin, cos and sincos.
2600 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2601 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2602 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2603 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2604 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2605 ieee754/flt-32 implementation for tan.
2607 * math/libm-test.inc (cos_test): Enable some large input tests for
2609 (sin_test): Likewise.
2610 (sincos_test): Likewise.
2611 (tan_test): Add tests for large input.
2613 * sysdeps/i386/fpu/libm-test-ulps: Update.
2615 2012-03-15 Andreas Jaeger <aj@suse.de>
2618 * math/libm-test.inc (cos_test): Add more test cases.
2619 (sin_test): Likewise.
2620 (sincos_test): Likewise.
2622 2012-03-15 Andreas Jaeger <aj@suse.de>
2625 * math/libm-test.inc (cos_test): Add a test case for large input
2627 (sin_test): Likewise.
2628 (sincos_test): Likewise.
2630 2012-03-15 Andreas Jaeger <aj@suse.de>,
2631 Joseph Myers <joseph@codesourcery.com>
2634 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2635 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2636 * sysdeps/i386/fpu/branred.c: Likewise.
2637 * sysdeps/i386/fpu/dosincos.c: Likewise.
2638 * sysdeps/i386/fpu/mpa.c: Likewise.
2639 * sysdeps/i386/fpu/s_cos.S: Likewise.
2640 * sysdeps/i386/fpu/s_sin.S: Likewise.
2641 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2642 * sysdeps/i386/fpu/sincos32.c: Likewise.
2644 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2646 (libc_feupdateenv_53bit): Define.
2647 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2649 (libc_feupdateenv_53bit): Define.
2651 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2652 53 bit (without extend i386 double precision).
2654 * math/libm-test.inc (sincos_test): Add tests for large input.
2658 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2660 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2664 2012-03-15 David S. Miller <davem@davemloft.net>
2666 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2667 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2668 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2669 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2693 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2694 fmin/fmax sysdep routines.
2695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2697 2012-03-14 David S. Miller <davem@davemloft.net>
2699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2705 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2706 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2720 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2721 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2726 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2771 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2776 * sysdeps/sparc/configure.in: New file.
2777 * sysdeps/sparc/configure: Generate.
2778 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2779 * configure: Regenerate.
2780 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2781 * config.make.in (have-as-vis3): New.
2782 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2783 available use -Av9d instead of -Av9a.
2784 * sysdeps/sparc/sparc64/Makefile: Likewise.
2785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2795 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2796 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2797 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2798 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2800 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2801 fzeros/fnegs to load 0x80000000 into a float register instead of
2803 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2805 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2809 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2810 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2811 ($(inst_includedir)/bits/syscall.h): Remove rule.
2812 ($(objpfx)bits/syscall.d): Include instead of
2813 $(objpfx)syscall-list.d.
2814 (generated): Change syscall-list.h and syscall-list.d to
2815 bits/syscall.h and bits/syscall.d.
2817 2012-03-14 Roland McGrath <roland@hack.frob.com>
2820 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2822 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2825 * math/s_csqrt.c: Include <float.h>.
2826 (__csqrt): Scale large or subnormal inputs.
2827 * math/s_csqrtf.c: Likewise.
2828 * math/s_csqrtl.c: Likewise.
2829 * math/libm-test.inc (csqrt_test): Add more tests.
2830 * sysdeps/i386/fpu/libm-test-ulps: Update.
2831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2834 * math/libm-test.inc (hypot_test): Add more tests.
2836 2012-03-13 David S. Miller <davem@davemloft.net>
2839 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2840 double-precision for the calculation instead of scaling.
2842 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2844 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2845 manipulate bits before adding and subtracting TWO52[sx].
2846 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2847 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2849 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2851 2012-03-13 David S. Miller <davem@davemloft.net>
2853 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2854 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2856 rtld-global-offsets.h
2857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2859 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2862 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2864 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2865 'err' in the ifdef scope in which it is actually used.
2867 * nss/nss_db/db-init.c: Include string.h
2869 2012-03-12 David S. Miller <davem@davemloft.net>
2871 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2872 masking out of the most significant byte of random value used.
2873 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2874 Fix coding style in previous change.
2876 * sysdeps/unix/sysv/linux/kernel-features.h
2877 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2878 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2880 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2883 2012-03-11 David S. Miller <davem@davemloft.net>
2885 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2886 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2887 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2888 for 'resultvar' otherwise things get truncated on 64-bit.
2890 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2891 Fix masking out of the most significant byte of random value used.
2893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2895 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2899 2012-03-09 David S. Miller <davem@davemloft.net>
2901 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2902 variables with appropriate CPP guards.
2903 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2904 frame pointer, not the stack pointer. Correct layout comments. Fix test
2905 on resulting framesize and the management of the outregs buffer for pltexit.
2906 Preserve floating point return values across _dl_call_pltexit call.
2907 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2908 framesize and the management of the outregs buffer for pltexit.
2909 Preserve floating point return values across _dl_call_pltexit
2911 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2912 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2913 (print_exit): Fix format string for return register value.
2915 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2917 * sunrpc/Makefile (others): Add rpcgen.
2918 ($(objpfx)rpcgen): Remove special build rule and dependency on
2920 * sunrpc/rpcgen.c: New file.
2922 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2925 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2926 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2927 * sysdeps/i386/crti.S: Likewise.
2928 * sysdeps/i386/crtn.S: Likewise.
2929 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2930 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2931 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2932 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2933 * sysdeps/sh/crti.S: Likewise.
2934 * sysdeps/sh/crtn.S: Likewise.
2935 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2938 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2940 * locale/programs/locfile-kw.gperf: Likewise.
2941 * locale/programs/charmap-kw.h: Regenerated.
2942 * locale/programs/locfile-kw.h: Likewise.
2945 * intl/plural.y: Replace FSF snail mail address with URL.
2946 * intl/plural.c: Regenerated.
2948 2012-03-09 Richard Henderson <rth@twiddle.net>
2950 * include/math_private.h: Remove file.
2951 * math/math_private.h: Move file ...
2952 * sysdeps/generic/math_private.h: ... here.
2954 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2955 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2956 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2958 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2959 and <math_private.h>.
2960 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2961 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2962 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2963 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2964 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2965 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2966 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2967 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2968 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2969 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2970 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2971 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2972 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2973 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2974 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2978 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2979 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2983 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2984 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2985 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2986 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2987 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2989 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2990 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2991 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2992 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2993 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2994 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2995 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2996 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3002 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3003 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3013 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3014 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3015 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3017 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3018 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3019 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3020 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3021 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3023 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3024 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3025 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3026 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3027 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3028 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3029 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3030 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3031 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3032 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3033 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3034 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3035 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3037 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3038 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3039 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3040 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3041 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3042 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3043 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3044 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3045 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3046 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3047 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3048 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3049 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3050 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3051 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3052 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3053 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3054 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3055 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3056 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3057 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3058 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3059 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3060 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3061 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3062 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3063 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3064 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3065 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3066 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3067 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3068 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3069 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3070 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3071 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3072 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3073 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3074 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3075 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3076 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3077 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3078 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3079 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3080 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3081 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3082 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3083 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3084 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3085 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3086 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3087 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3088 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3089 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3090 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3091 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3092 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3093 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3094 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3095 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3096 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3097 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3098 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3099 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3100 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3101 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3102 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3103 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3104 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3105 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3106 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3107 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3108 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3109 * sysdeps/ieee754/k_standard.c: Likewise.
3110 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3111 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3112 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3113 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3114 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3115 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3116 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3117 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3119 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3120 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3121 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3122 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3123 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3124 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3125 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3126 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3127 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3129 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3130 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3131 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3132 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3133 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3134 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3135 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3136 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3137 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3138 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3139 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3140 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3141 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3142 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3143 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3144 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3145 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3146 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3147 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3148 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3149 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3150 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3151 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3152 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3153 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3154 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3155 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3156 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3157 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3158 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3159 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3160 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3161 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3162 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3163 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3164 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3165 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3166 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3167 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3168 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3169 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3171 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3172 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3173 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3177 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3179 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3182 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3183 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3185 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3186 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3187 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3188 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3189 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3190 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3191 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3192 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3193 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3194 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3195 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3196 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3197 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3198 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3201 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3202 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3203 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3204 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3205 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3206 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3207 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3208 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3209 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3210 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3211 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3212 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3213 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3214 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3215 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3216 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3217 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3218 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3219 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3220 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3221 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3222 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3223 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3224 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3225 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3226 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3229 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3230 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3231 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3232 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3233 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3234 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3235 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3237 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3238 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3239 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3240 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3241 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3242 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3243 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3244 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3245 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3246 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3247 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3248 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3249 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3250 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3251 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3252 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3253 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3254 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3255 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3256 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3257 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3258 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3259 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3260 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3261 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3262 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3263 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3264 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3265 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3266 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3268 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3269 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3270 * sysdeps/ieee754/s_lib_version.c: Likewise.
3271 * sysdeps/ieee754/s_matherr.c: Likewise.
3272 * sysdeps/ieee754/s_signgam.c: Likewise.
3273 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3274 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3275 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3276 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3277 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3278 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3279 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3280 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3281 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3282 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3283 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3284 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3285 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3286 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3287 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3288 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3289 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3290 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3291 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3292 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3293 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3295 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3297 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3298 * sunrpc/rpc_main.c: Likewise.
3299 * sunrpc/rpc_svcout.c: Likewise.
3301 2012-03-09 David S. Miller <davem@davemloft.net>
3303 * include/math_private.h: New file.
3305 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3307 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3308 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3309 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3310 from <bits/socket_type.h>.
3311 (enum __socket_type): Don't define here.
3312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3317 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3320 * Makerules ($(inst_includedir)/%.h): New rule.
3321 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3322 (install-others): Remove variable setting.
3323 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3325 2012-03-08 Richard Henderson <rth@twiddle.net>
3327 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3328 from macro to inline function; merge with the
3329 !__LIBC_INTERNAL_MATH_INLINES version.
3330 (__ieee754_sqrtf): Likewise.
3332 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3334 (__rintf, __floor, __floorf): Likewise.
3336 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3337 macro to inline function.
3338 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3340 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3341 not <math/math_private.h>.
3343 2012-03-08 David S. Miller <davem@davemloft.net>
3345 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3347 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3349 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3351 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3353 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3354 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3356 2012-03-08 Ulrich Drepper <drepper@gmail.com>
3358 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3359 be defined individually, they must be defined as a block. Define
3360 S for printing a string instead of hidint the different by using a
3361 macro for adding the 'l'.
3362 * stdio-common/tst-fphex-wide.c: Adjust.
3364 2012-03-07 Marek Polacek <polacek@redhat.com>
3366 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3368 2012-03-08 Marek Polacek <polacek@redhat.com>
3371 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3372 * stdio-common/tst-fphex.c: Define a few macros to make the
3373 test reusable. Use them.
3374 * stdio-common/tst-fphex-wide.c: New file.
3376 2012-03-08 Joseph Myers <joseph@codesourcery.com>
3379 * manual/macros.texi (gnusystems): New macro.
3380 (nongnusystems): Likewise.
3381 (gnulinuxhurdsystems): Likewise.
3382 (gnuhurdsystems): Likewise..
3383 (gnulinuxsystems): Likewise.
3384 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3385 variants of the GNU system, not "GNU system".
3386 * manual/conf.texi: Likewise.
3387 * manual/errno.texi: Likewise. Update example of errno macro
3389 * manual/filesys.texi: Likewise.
3390 (getumask): Document as specific to GNU/Hurd.
3391 * manual/install.texi: Likewise. Reword some references to
3393 * manual/intro.texi: Likewise.
3394 * manual/io.texi: Likewise.
3395 (File Name Portability): Detail which constraints are inapplicable
3396 to all GNU systems and which are only inapplicable to GNU/Hurd.
3397 * manual/job.texi: Likewise.
3398 * manual/llio.texi: Likewise.
3399 (O_NOCTTY): Document as present on GNU/Linux.
3400 * manual/maint.texi: Likewise.
3401 * manual/memory.texi: Likewise.
3402 * manual/pattern.texi: Likewise.
3403 * manual/pipe.texi: Likewise.
3404 * manual/process.texi: Likewise.
3405 * manual/resource.texi: Likewise.
3406 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3408 * manual/setjmp.texi: Likewise.
3409 * manual/signal.texi: Likewise.
3410 * manual/startup.texi: Likewise.
3411 * manual/stdio.texi: Likewise.
3412 * manual/terminal.texi: Likewise.
3413 (ONLCR): Document as POSIX.
3414 (OXTABS): Document availability on GNU/Linux as XTABS.
3415 (ONOEOT): Document availability separately from other bits.
3416 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3417 * manual/time.texi: Likewise.
3418 * manual/users.texi: Likewise.
3419 * INSTALL: Regenerated.
3420 * sysdeps/gnu/errlist.c: Regenerated.
3422 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3423 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3424 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3426 * configure: Regenerated.
3428 2012-03-07 Joseph Myers <joseph@codesourcery.com>
3430 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3431 default includes instead of AC_HEADER_CHECK.
3432 * sysdeps/i386/configure: Regenerated.
3435 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3436 * math/s_cacoshf.c (__cacoshf): Likewise.
3437 * math/s_cacoshl.c (__cacoshl): Likewise.
3438 * math/s_casinh.c (__casinh): Set signs of result from argument.
3439 * math/s_casinhf.c (__casinhf): Likewise.
3440 * math/s_casinhl.c (__casinhl): Likewise.
3441 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3442 (casinh_test): Add more tests.
3443 * sysdeps/i386/fpu/libm-test-ulps: Update.
3444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3446 2012-03-07 Ulrich Drepper <drepper@gmail.com>
3448 * po/zh_TW.po: Update from translation team.
3450 * login/Makefile (distribute): Remove variable.
3451 * catgets/Makefile: Likewise.
3452 * mach/Makefile: Likewise.
3453 * malloc/Makefile: Likewise.
3454 * misc/Makefile: Likewise.
3455 * iconv/Makefile: Likewise.
3456 * nscd/Makefile: Likewise.
3457 * hurd/Makefile: Likewise.
3458 * manual/Makefile: Likewise.
3459 * locale/Makefile: Likewise.
3460 * intl/Makefile: Likewise.
3461 * conform/Makefile: Likewise.
3462 * nss/Makefile: Likewise.
3463 * time/Makefile: Likewise.
3464 * soft-fp/Makefile: Likewise.
3465 * dirent/Makefile: Likewise.
3466 * gmon/Makefile: Likewise.
3467 * po/Makefile: Likewise.
3468 * rt/Makefile: Likewise.
3469 * socket/Makefile: Likewise.
3470 * math/Makefile: Likewise.
3471 * signal/Makefile: Likewise.
3472 * debug/Makefile: Likewise.
3473 * elf/Makefile: Likewise.
3474 * timezone/Makefile: Likewise.
3475 * stdlib/Makefile: Likewise.
3476 * iconvdata/Makefile: Likewise.
3477 * sunrpc/Makefile: Likewise.
3478 * io/Makefile: Likewise.
3479 * argp/Makefile: Likewise.
3480 * inet/Makefile: Likewise.
3481 * hesiod/Makefile: Likewise.
3482 * grp/Makefile: Likewise.
3483 * csu/Makefile: Likewise.
3484 * wctype/Makefile: Likewise.
3485 * crypt/Makefile: Likewise.
3486 * libio/Makefile: Likewise.
3487 * string/Makefile: Likewise.
3488 * nis/Makefile: Likewise.
3489 * resolv/Makefile: Likewise.
3490 * stdio-common/Makefile: Likewise.
3491 * wcsmbs/Makefile: Likewise.
3492 * dlfcn/Makefile: Likewise.
3493 * posix/Makefile: Likewise.
3496 * timezone/Makefile: Don't install timezone files, just the programs
3499 2012-03-06 Ulrich Drepper <drepper@gmail.com>
3501 * nss/databases.def: Add missing gshadow entry.
3503 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3505 2012-03-06 Marek Polacek <polacek@redhat.com>
3508 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3509 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3510 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3511 * stdio-common/tst-long-dbl-fphex.c: New file.
3513 2012-03-06 David S. Miller <davem@davemloft.net>
3515 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3516 (set_obp_int): New function.
3517 (get_obp_int): New function.
3518 (__get_clockfreq_via_dev_openprom): Likewise.
3519 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3520 Avoid unused variable warnings on 'val' and use builtin_expect.
3521 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3523 (INLINE_CLONE_SYSCALL): Likewise.
3525 2012-03-05 David S. Miller <davem@davemloft.net>
3527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3529 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3533 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3535 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3537 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
3539 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3540 Replace gettimeofday with __vdso_gettimeofday.
3542 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3543 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3544 __vdso_clock_gettime and __vdso_getcpu.
3546 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3547 time with __vdso_time.
3549 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3551 * manual/lang.texi (size_t): Note types to which size_t may be
3552 equivalent with the GNU C Library, but do not describe when
3553 differences between them are significant.
3555 2012-03-05 Andreas Jaeger <aj@suse.de>
3557 * sysdeps/i386/fpu/libm-test-ulps: Update.
3559 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3562 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3563 (__ieee754_pow): Save and restore rounding mode and use
3564 round-to-nearest for main computations.
3565 * math/libm-test.inc (pow_test_tonearest): New function.
3566 (pow_test_towardzero): Likewise.
3567 (pow_test_downward): Likewise.
3568 (pow_test_upward): Likewise.
3569 (main): Call the new functions.
3570 * sysdeps/i386/fpu/libm-test-ulps: Update.
3571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3574 * math/libm-test.inc (cosh_test_tonearest): New function.
3575 (cosh_test_towardzero): Likewise.
3576 (cosh_test_downward): Likewise.
3577 (cosh_test_upward): Likewise.
3578 (sinh_test_tonearest): Likewise.
3579 (sinh_test_towardzero): Likewise.
3580 (sinh_test_downward): Likewise.
3581 (sinh_test_upward): Likewise.
3582 (main): Call the new functions.
3583 * sysdeps/i386/fpu/libm-test-ulps: Update.
3584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3586 2012-03-05 Tom de Vries <tom@codesourcery.com>
3588 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3589 default stack guard is set in last bytes.
3590 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3592 2012-03-05 Kees Cook <keescook@chromium.org>
3594 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3597 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3598 possibly allocate from heap instead of stack.
3599 * stdio-common/bug-vfprintf-nargs.c: New file.
3600 * stdio-common/Makefile (tests): Add nargs overflow test.
3602 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3606 2012-03-03 Marek Polacek <polacek@redhat.com>
3608 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3609 * math/math_private.h: Likewise.
3610 * stdlib/tst-strtod.c: Likewise.
3611 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3612 * sysdeps/x86_64/bits/atomic.h: Likewise.
3614 2012-03-02 David S. Miller <davem@davemloft.net>
3616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3620 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3621 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3622 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3623 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3625 2012-03-02 Roland McGrath <roland@hack.frob.com>
3628 * manual/examples/README: New file, says the example source files
3629 can be used under GPL>=2.
3630 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3631 line containing just "*/".
3632 * manual/examples/add.c: Add copyright header (GPL>=2).
3633 * manual/examples/argp-ex1.c: Likewise.
3634 * manual/examples/argp-ex2.c: Likewise.
3635 * manual/examples/argp-ex3.c: Likewise.
3636 * manual/examples/argp-ex4.c: Likewise.
3637 * manual/examples/atexit.c: Likewise.
3638 * manual/examples/db.c: Likewise.
3639 * manual/examples/dir.c: Likewise.
3640 * manual/examples/dir2.c: Likewise.
3641 * manual/examples/execinfo.c: Likewise.
3642 * manual/examples/filecli.c: Likewise.
3643 * manual/examples/filesrv.c: Likewise.
3644 * manual/examples/fmtmsgexpl.c: Likewise.
3645 * manual/examples/genpass.c: Likewise.
3646 * manual/examples/inetcli.c: Likewise.
3647 * manual/examples/inetsrv.c: Likewise.
3648 * manual/examples/isockad.c: Likewise.
3649 * manual/examples/longopt.c: Likewise.
3650 * manual/examples/memopen.c: Likewise.
3651 * manual/examples/memstrm.c: Likewise.
3652 * manual/examples/mkfsock.c: Likewise.
3653 * manual/examples/mkisock.c: Likewise.
3654 * manual/examples/mygetpass.c: Likewise.
3655 * manual/examples/pipe.c: Likewise.
3656 * manual/examples/popen.c: Likewise.
3657 * manual/examples/rprintf.c: Likewise.
3658 * manual/examples/search.c: Likewise.
3659 * manual/examples/select.c: Likewise.
3660 * manual/examples/setjmp.c: Likewise.
3661 * manual/examples/sigh1.c: Likewise.
3662 * manual/examples/sigusr.c: Likewise.
3663 * manual/examples/stpcpy.c: Likewise.
3664 * manual/examples/strdupa.c: Likewise.
3665 * manual/examples/strftim.c: Likewise.
3666 * manual/examples/strncat.c: Likewise.
3667 * manual/examples/subopt.c: Likewise.
3668 * manual/examples/swapcontext.c: Likewise.
3669 * manual/examples/termios.c: Likewise.
3670 * manual/examples/testopt.c: Likewise.
3671 * manual/examples/testpass.c: Likewise.
3672 * manual/examples/timeval_subtract.c: Likewise.
3675 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3677 * manual/timeval_subtract.c.texi: ... here, new file.
3679 2012-03-02 David S. Miller <davem@davemloft.net>
3681 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3683 2012-03-02 Joseph Myers <joseph@codesourcery.com>
3686 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3687 (__sin): Save and restore rounding mode and use round-to-nearest
3688 for all computations.
3689 (__cos): Save and restore rounding mode and use round-to-nearest
3690 for all computations.
3691 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3693 (tan): Save and restore rounding mode and use round-to-nearest for
3695 * math/libm-test.inc (cos_test_tonearest): New function.
3696 (cos_test_towardzero): Likewise.
3697 (cos_test_downward): Likewise.
3698 (cos_test_upward): Likewise.
3699 (sin_test_tonearest): Likewise.
3700 (sin_test_towardzero): Likewise.
3701 (sin_test_downward): Likewise.
3702 (sin_test_upward): Likewise.
3703 (tan_test_tonearest): Likewise.
3704 (tan_test_towardzero): Likewise.
3705 (tan_test_downward): Likewise.
3706 (tan_test_upward): Likewise.
3707 (main): Call the new functions.
3708 * sysdeps/i386/fpu/libm-test-ulps: Update.
3709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3712 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3713 small n, then large n, before computing and testing k+n.
3714 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3717 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3719 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3720 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3723 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3724 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3725 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3726 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3727 * math/libm-test.inc (scalbn_test): Add more tests.
3728 (scalbln_test): Likewise.
3730 * manual/filesys.texi (mode_t): Describe constraints on size and
3731 signedness, not exact equivalence to a particular type.
3733 (ino64_t): Likewise.
3735 (nlink_t): Likewise.
3736 (blkcnt_t): Likewise.
3737 (blkcnt64_t): Likewise.
3738 * manual/llio.texi (off_t): Likewise.
3741 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3742 (__ieee754_exp): Save and restore rounding mode and use
3743 round-to-nearest for all computations.
3744 * math/libm-test.inc (exp_test_tonearest): New function.
3745 (exp_test_towardzero): Likewise.
3746 (exp_test_downward): Likewise.
3747 (exp_test_upward): Likewise.
3748 (main): Call the new functions.
3749 * sysdeps/i386/fpu/libm-test-ulps: Update.
3750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3752 2012-03-01 Chris Demetriou <cgd@google.com>
3754 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3755 have predictable order.
3757 2012-03-01 David S. Miller <davem@davemloft.net>
3759 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3761 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3762 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3763 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3764 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3766 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3767 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3768 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3770 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3771 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3772 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3773 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3774 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3778 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3779 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3780 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3782 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3784 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3785 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3786 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3787 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3788 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3789 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3790 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3791 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3792 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3793 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3794 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3795 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3796 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3797 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3798 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3799 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3800 * sysdeps/sparc/elf/configure: Regenerated.
3802 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3804 * configure.in (AS, LD): Require binutils 2.20 or later.
3805 * configure: Regenerated.
3806 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3807 as required minimum version.
3808 * INSTALL: Regenerated.
3812 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3813 before squaring exponent.
3814 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3815 bottom long double and 27 bits of top long double before squaring
3817 * math/libm-test.inc (erfc_test): Add more tests.
3818 * sysdeps/i386/fpu/libm-test-ulps: Update.
3819 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3822 2012-03-01 Kai Tietz <ktietz@redhat.com>
3824 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3825 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3826 containing bit-fields.
3827 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3828 * soft-fp/single.h (_FP_UNION_S): Likewise.
3829 * soft-fp/double.h (_FP_UNION_D): Likewise.
3831 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3834 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3835 not include ../strcmp.S.
3836 [USE_AS_STRNCASECMP_L]: Likewise.
3837 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3838 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3839 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3840 (__strncasecmp_l_ia32): Define as alias to
3841 __strncasecmp_l_nonascii.
3844 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3845 * sysdeps/i386/fpu/libm-test-ulps: Update.
3846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3848 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3851 2012-02-29 Jeff Law <law@redhat.com>
3853 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3856 2012-02-29 Marek Polacek <polacek@redhat.com>
3859 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3860 * elf/Makefile: Add rules to run tst-unused-dep.out.
3862 2012-02-28 David S. Miller <davem@davemloft.net>
3864 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3865 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3866 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3867 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3868 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3869 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3871 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3873 * math/libm-test.inc (llround_test): Move one test from
3874 lround_test. Use TEST_f_L in moved test.
3875 (lround_test): Move misplaced test to llround_test. Add testcase
3878 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3880 * sysdeps/x86_64/fpu/e_expf.S: New file.
3881 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3883 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3886 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3887 of remain_len that may cause incomplete multi-byte character and
3889 * posix/bug-regex33.c: New file.
3890 * posix/Makefile (tests): Add bug-regex33.
3892 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3894 * manual/macros.texi: New file.
3895 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3896 * manual/libc.texinfo: Include macros.texi.
3897 * manual/creatute.texi: Likewise.
3898 * manual/install.texi: Likewise.
3899 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3900 @glibcadj{} in references to the GNU C Library.
3901 * manual/charset.texi: Likewise.
3902 * manual/conf.texi: Likewise.
3903 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3904 when not using those macros.
3905 * manual/creature.texi: Likewise.
3906 * manual/crypt.texi: Likewise.
3907 * manual/errno.texi: Likewise.
3908 * manual/filesys.texi: Likewise.
3909 * manual/header.texi: Likewise.
3910 * manual/install.texi: Likewise.
3911 * manual/intro.texi: Likewise.
3912 * manual/io.texi: Likewise.
3913 * manual/job.texi: Likewise.
3914 * manual/lang.texi: Likewise.
3915 * manual/libc.texiinfo: Likewise.
3916 * manual/llio.texi: Likewise.
3917 * manual/locale.texi: Likewise.
3918 * manual/maint.texi: Likewise.
3919 * manual/math.texi: Likewise.
3920 * manual/memory.texi: Likewise.
3921 * manual/message.texi: Likewise.
3922 * manual/nss.texi: Likewise.
3923 * manual/pattern.texi: Likewise.
3924 * manual/process.texi: Likewise.
3925 * manual/resource.texi: Likewise.
3926 * manual/search.texi: Likewise.
3927 * manual/setjmp.texi: Likewise.
3928 * manual/signal.texi: Likewise.
3929 * manual/socket.texi: Likewise.
3930 * manual/startup.texi: Likewise.
3931 * manual/stdio.texi: Likewise.
3932 * manual/string.texi: Likewise.
3933 * manual/sysinfo.texi: Likewise.
3934 * manual/syslog.texi: Likewise.
3935 * manual/terminal.texi: Likewise.
3936 * manual/time.texi: Likewise.
3937 * manual/users.texi: Likewise.
3938 * INSTALL: Regenerated.
3939 * NOTES: Regenerated.
3940 * sysdeps/gnu/errlist.c: Regenerated.
3942 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3944 * include/dirent.h: Include <dirstream.h> before
3947 2012-02-28 David S. Miller <davem@davemloft.net>
3949 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3950 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3951 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3952 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3954 2012-02-27 David S. Miller <davem@davemloft.net>
3956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3958 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3959 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3962 frame pointer instead of stack pointer relative arg slot.
3963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3964 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3965 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3967 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3970 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3972 2012-02-27 David S. Miller <davem@davemloft.net>
3974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3978 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3979 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3980 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3981 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3983 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3985 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3986 later. Allow versions 5-9.
3987 * configure: Regenerated.
3988 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3989 required minimum version and 4.6 as recommended version. Do not
3990 mention bugs in GCC 2.7 and 2.8.
3991 * INSTALL: Regenerated.
3993 2012-02-27 David S. Miller <davem@davemloft.net>
3995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3999 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4000 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4001 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4002 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4004 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4005 manipulate bits before adding and subtracting TWO112[sx].
4006 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4008 2012-02-27 Roland McGrath <roland@hack.frob.com>
4011 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4012 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4013 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4014 being in POSIX, because they are in 1003.1-2008.
4016 * rt/tst-aio.c: Include <fcntl.h>.
4017 * rt/tst-aio7.c: Likewise.
4018 * rt/tst-aio64.c: Likewise.
4020 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4022 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4024 * manual/install.texi (--with-headers): Describe headers as
4025 interface headers, not private headers.
4026 (Specific advice for GNU/Linux systems): Describe use of headers
4027 from "make headers_install", not private headers from older
4029 * INSTALL: Regenerated.
4030 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4032 * sysdeps/unix/sysv/linux/configure: Regenerated.
4034 * manual/llio.texi (fclean): Remove documentation.
4036 * manual/Makefile (libc-texi-generated): New variable. Include
4038 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4039 $(libc-texi-generated), not duplicated list of files.
4040 (version.texi, stamp-version): New rules.
4041 (realclean): Remove $(libc-texi-generated), not individual files
4042 from that list. Do not remove dir-add.texinfo.
4043 * manual/libc.texinfo: Comment out uses of edition numbers and
4044 references to printed manual. Remove last-updated dates.
4045 (EDITION): Comment out.
4047 (VERSION, UPDATED): Remove.
4048 (version.texi): Include.
4050 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4052 * sysdeps/posix/spawni.c: Include <signal.h>.
4053 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4054 * sysdeps/pthread/aio_fsync.c: Likewise.
4056 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4058 * conform/Makefile (tests): Run only when not cross-compiling and
4059 when fast-check is not defined.
4061 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4062 * conform/data/limits.h-data: Fixes for POSIX2008.
4063 * conform/run-conformtest.sh: Run all tests.
4064 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4066 * include/bits/dlfcn.h: Likewise.
4067 * include/langinfo.h: Likewise.
4068 * include/monetary.h: Likewise.
4069 * include/sys/poll.h: Likewise.
4071 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4073 * posix/spawn.h: Define __need_sigset_t.
4074 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4075 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4076 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4077 to get sigevent_t only.
4078 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4080 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4081 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4082 process_vm_writev only for __USE_GNU.
4083 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4085 * conform/Makefile: For now ignore errors from run-conformtest.
4086 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4087 POSIX to avoid namespace pollution. Don't prepend headers.
4088 * conform/data/aio.h-data: Fixes for POSIX testing.
4089 * conform/data/fcntl.h-data: Likewise.
4090 * conform/data/glob.h-data: Likewise.
4091 * conform/data/grp.h-data: Likewise.
4092 * conform/data/pthread.h-data: Likewise.
4093 * conform/data/pwd.h-data: Likewise.
4094 * conform/data/signal.h-data: Likewise.
4095 * conform/data/spawn.h-data: Likewise.
4096 * conform/data/stdio.h-data: Likewise.
4097 * conform/data/stdlib.h-data: Likewise.
4098 * conform/data/stropts.h-data: Likewise.
4099 * conform/data/sys/mman.h-data: Likewise.
4100 * conform/data/sys/stat.h-data: Likewise.
4101 * conform/data/sys/types.h-data: Likewise.
4102 * conform/data/sys/wait.h-data: Likewise.
4103 * conform/data/time.h-data: Likewise.
4104 * conform/data/unistd.h-data: Likewise.
4105 * conform/data/utime.h-data: Likewise.
4107 * io/sys/stat.h: fchmod was always in POSIX.
4108 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4109 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4110 * rt/aio.h: Define __need_timespec before including <time.h>.
4111 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4112 struct. Add forward declaration of pthread_attr_t and use it in
4114 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4115 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4116 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4117 always remove CLK_TCK definition.
4119 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4121 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4123 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4125 * conform/run-conformtest.sh: New file.
4126 * conform/Makefile: Run run-conformtest for tests.
4127 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4130 * conform/data/uchar.h-data: New file.
4131 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4132 * conform/data/arpa/inet.h-data: Likewise.
4133 * conform/data/assert.h-data: Likewise.
4134 * conform/data/complex.h-data: Likewise.
4135 * conform/data/cpio.h-data: Likewise.
4136 * conform/data/ctype.h-data: Likewise.
4137 * conform/data/dirent.h-data: Likewise.
4138 * conform/data/dlfcn.h-data: Likewise.
4139 * conform/data/errno.h-data: Likewise.
4140 * conform/data/fcntl.h-data: Likewise.
4141 * conform/data/float.h-data: Likewise.
4142 * conform/data/fmtmsg.h-data: Likewise.
4143 * conform/data/fnmatch.h-data: Likewise.
4144 * conform/data/ftw.h-data: Likewise.
4145 * conform/data/glob.h-data: Likewise.
4146 * conform/data/grp.h-data: Likewise.
4147 * conform/data/iconv.h-data: Likewise.
4148 * conform/data/inttypes.h-data: Likewise.
4149 * conform/data/langinfo.h-data: Likewise.
4150 * conform/data/libgen.h-data: Likewise.
4151 * conform/data/limits.h-data: Likewise.
4152 * conform/data/locale.h-data: Likewise.
4153 * conform/data/math.h-data: Likewise.
4154 * conform/data/monetary.h-data: Likewise.
4155 * conform/data/mqueue.h-data: Likewise.
4156 * conform/data/ndbm.h-data: Likewise.
4157 * conform/data/net/if.h-data: Likewise.
4158 * conform/data/netdb.h-data: Likewise.
4159 * conform/data/netinet/in.h-data: Likewise.
4160 * conform/data/nl_types.h-data: Likewise.
4161 * conform/data/poll.h-data: Likewise.
4162 * conform/data/pthread.h-data: Likewise.
4163 * conform/data/pwd.h-data: Likewise.
4164 * conform/data/regex.h-data: Likewise.
4165 * conform/data/sched.h-data: Likewise.
4166 * conform/data/search.h-data: Likewise.
4167 * conform/data/semaphore.h-data: Likewise.
4168 * conform/data/setjmp.h-data: Likewise.
4169 * conform/data/signal.h-data: Likewise.
4170 * conform/data/spawn.h-data: Likewise.
4171 * conform/data/stdarg.h-data: Likewise.
4172 * conform/data/stdio.h-data: Likewise.
4173 * conform/data/stdlib.h-data: Likewise.
4174 * conform/data/string.h-data: Likewise.
4175 * conform/data/strings.h-data: Likewise.
4176 * conform/data/stropts.h-data: Likewise.
4177 * conform/data/sys/ipc.h-data: Likewise.
4178 * conform/data/sys/mman.h-data: Likewise.
4179 * conform/data/sys/msg.h-data: Likewise.
4180 * conform/data/sys/resource.h-data: Likewise.
4181 * conform/data/sys/select.h-data: Likewise.
4182 * conform/data/sys/sem.h-data: Likewise.
4183 * conform/data/sys/shm.h-data: Likewise.
4184 * conform/data/sys/socket.h-data: Likewise.
4185 * conform/data/sys/stat.h-data: Likewise.
4186 * conform/data/sys/statvfs.h-data: Likewise.
4187 * conform/data/sys/time.h-data: Likewise.
4188 * conform/data/sys/timeb.h-data: Likewise.
4189 * conform/data/sys/times.h-data: Likewise.
4190 * conform/data/sys/types.h-data: Likewise.
4191 * conform/data/sys/uio.h-data: Likewise.
4192 * conform/data/sys/un.h-data: Likewise.
4193 * conform/data/sys/utsname.h-data: Likewise.
4194 * conform/data/sys/wait.h-data: Likewise.
4195 * conform/data/syslog.h-data: Likewise.
4196 * conform/data/tar.h-data: Likewise.
4197 * conform/data/termios.h-data: Likewise.
4198 * conform/data/utime.h-data: Likewise.
4199 * conform/data/utmpx.h-data: Likewise.
4200 * conform/data/varargs.h-data: Likewise.
4201 * conform/data/wchar.h-data: Likewise.
4202 * conform/data/wctype.h-data: Likewise.
4203 * conform/data/wordexp.h-data: Likewise.
4205 * include/stropts.h: New file.
4206 * include/uchar.h: New file.
4207 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4208 * include/assert.h: Likewise.
4209 * include/ctype.h: Likewise.
4210 * include/dirent.h: Likewise.
4211 * include/dlfcn.h: Likewise.
4212 * include/fcntl.h: Likewise.
4213 * include/fnmatch.h: Likewise.
4214 * include/glob.h: Likewise.
4215 * include/grp.h: Likewise.
4216 * include/libio.h: Likewise.
4217 * include/locale.h: Likewise.
4218 * include/math.h: Likewise.
4219 * include/net/if.h: Likewise.
4220 * include/netdb.h: Likewise.
4221 * include/netinet/in.h: Likewise.
4222 * include/pthread.h: Likewise.
4223 * include/pwd.h: Likewise.
4224 * include/regex.h: Likewise.
4225 * include/sched.h: Likewise.
4226 * include/search.h: Likewise.
4227 * include/setjmp.h: Likewise.
4228 * include/signal.h: Likewise.
4229 * include/stdio.h: Likewise.
4230 * include/stdlib.h: Likewise.
4231 * include/string.h: Likewise.
4232 * include/sys/cdefs.h: Likewise.
4233 * include/sys/mman.h: Likewise.
4234 * include/sys/msg.h: Likewise.
4235 * include/sys/resource.h: Likewise.
4236 * include/sys/select.h: Likewise.
4237 * include/sys/socket.h: Likewise.
4238 * include/sys/stat.h: Likewise.
4239 * include/sys/statvfs.h: Likewise.
4240 * include/sys/time.h: Likewise.
4241 * include/sys/times.h: Likewise.
4242 * include/sys/uio.h: Likewise.
4243 * include/sys/utsname.h: Likewise.
4244 * include/sys/wait.h: Likewise.
4245 * include/termios.h: Likewise.
4246 * include/time.h: Likewise.
4247 * include/ulimit.h: Likewise.
4248 * include/unistd.h: Likewise.
4249 * include/utime.h: Likewise.
4250 * include/wchar.h: Likewise.
4251 * include/wctype.h: Likewise.
4252 * include/wordexp.h: Likewise.
4254 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4256 * time/time.h: TIME_UTC must be a macro.
4257 Make timespec_get available for ISO C11 only as well.
4259 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4261 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4262 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4264 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4266 * configure.in: Use -o not -a in test for unsupported multi-arch.
4268 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4270 * manual/texinfo.tex: Update to version 2012-01-19.16.
4272 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4274 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4276 2012-02-24 Roland McGrath <roland@hack.frob.com>
4279 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4280 * manual/fdl-1.3.texi: New file.
4281 * manual/fdl-1.1.texi: File removed.
4284 * manual/libc.texinfo (FDL_VERSION): New @set.
4285 Use it for mention of FDL in cover text.
4286 (Documentation License): Use it in @include file name.
4288 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4289 Roland McGrath <roland@hack.frob.com>
4292 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4293 not LONG_LONG_MAX and LONG_LONG_MIN.
4294 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4295 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4297 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4299 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4303 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4304 manipulate bits before adding and subtracting TWO23[sx].
4305 * math/libm-test.inc (nearbyint_test): Add more tests.
4307 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4310 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4311 bits before adding and subtracting TWO23[sx].
4312 * math/libm-test.inc (rint_test): Add more tests.
4313 (rint_test_tonearest): Likewise.
4314 (rint_test_towardzero): Likewise.
4315 (rint_test_downward): Likewise.
4316 (rint_test_upward: Likewise.
4318 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4321 * include/stdc-predef.h: New file. Extracted from features.h.
4322 * include/features.h: Include stdc-predef.h.
4323 * Makefile (headers): Add stdc-predef.h.
4324 * CONFORMANCE (Compiler limitations): Update.
4326 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4328 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4330 2012-02-21 David S. Miller <davem@davemloft.net>
4332 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4333 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4335 2012-02-20 David S. Miller <davem@davemloft.net>
4337 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4338 using a normal save/restore sequence, rather than allocating a
4339 dummy stack frame just to store a frame pointer and restore.
4340 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4342 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4344 * manual/install.texi: Fix stray word in line-wrapped comment.
4346 2012-02-20 David S. Miller <davem@davemloft.net>
4348 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4349 both binutils and gcc support GOTDATA.
4351 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4352 "rd %pc" in the PIC register setup sequences.
4354 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4355 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4356 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4357 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4358 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4359 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4360 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4361 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4363 (SYSCALL_ERROR_HANDLER): Likewise.
4364 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4365 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4366 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4367 (SYSCALL_ERROR_HANDLER): Likewise.
4369 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4370 (HAVE_GCC_GOTDATA): New.
4371 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4372 relocation support in both binutils and gcc.
4373 * sysdeps/sparc/elf/configure: Regenerate.
4375 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4376 * sysdeps/sparc/sparc32/elf/configure: Delete.
4377 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4378 * sysdeps/sparc/sparc64/elf/configure: Delete.
4379 * sysdeps/sparc/elf/configure.in: New file.
4380 * sysdeps/sparc/elf/configure: Generate.
4382 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4383 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4384 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4385 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4386 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4388 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4390 * manual/install.texi: Do not mention specific glibc version
4392 * manual/libc.texinfo (VERSION, UPDATED): Update.
4393 (@copying): Use @copyright{} and range of years.
4395 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4398 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4399 [crti.S not in sysdirs] (generated): Do not append.
4400 [crti.S not in sysdirs] (omit-deps): Likewise.
4401 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4402 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4403 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4404 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4405 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4407 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4408 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4409 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4410 * csu/defs.awk: Remove file.
4411 * sysdeps/generic/initfini.c: Likewise.
4412 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4414 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4417 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4419 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4420 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4421 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4422 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4423 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4424 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4426 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4427 (__EPOLL_PACKED): Define to empty if not defined by
4429 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4433 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4435 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4436 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4437 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4438 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4440 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4444 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4446 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4448 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4449 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4450 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4453 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4455 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4456 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4458 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4460 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4461 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4463 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4465 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4468 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4470 * math/w_acos.c: Use non-signaling floating-point comparisons.
4471 * math/w_acosf.c: Likewise.
4472 * math/w_acosh.c: Likewise.
4473 * math/w_acoshf.c: Likewise.
4474 * math/w_acoshl.c: Likewise.
4475 * math/w_acosl.c: Likewise.
4476 * math/w_asin.c: Likewise.
4477 * math/w_asinf.c: Likewise.
4478 * math/w_asinl.c: Likewise.
4479 * math/w_atanh.c: Likewise.
4480 * math/w_atanhf.c: Likewise.
4481 * math/w_atanhl.c: Likewise.
4482 * math/w_exp2.c: Likewise.
4483 * math/w_exp2f.c: Likewise.
4484 * math/w_exp2l.c: Likewise.
4485 * math/w_j0.c: Likewise.
4486 * math/w_j0f.c: Likewise.
4487 * math/w_j0l.c: Likewise.
4488 * math/w_j1.c: Likewise.
4489 * math/w_j1f.c: Likewise.
4490 * math/w_j1l.c: Likewise.
4491 * math/w_jn.c: Likewise.
4492 * math/w_jnf.c: Likewise.
4493 * math/w_log.c: Likewise.
4494 * math/w_log10.c: Likewise.
4495 * math/w_log10f.c: Likewise.
4496 * math/w_log10l.c: Likewise.
4497 * math/w_log2.c: Likewise.
4498 * math/w_log2f.c: Likewise.
4499 * math/w_log2l.c: Likewise.
4500 * math/w_logf.c: Likewise.
4501 * math/w_logl.c: Likewise.
4502 * math/w_sqrt.c: Likewise.
4503 * math/w_sqrtf.c: Likewise.
4504 * math/w_sqrtl.c: Likewise.
4505 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4506 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4507 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4508 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4509 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4511 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4514 * manual/string.texi (strnlen): Use correct parameter name in
4515 equivalent expression.
4517 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4520 * manual/users.texi (seteuid): Consistently use neweuid for
4523 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4526 * manual/nss.texi (Services in the NSS configuration): Correct
4527 list of services in example configuration file.
4529 2012-02-19 Nick Bowler <nbowler@draconx.ca>
4532 * manual/arith.texi: Remove statements about negative zero
4533 behaving identically to zero.
4535 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4538 * manual/install.texi: Do not document upgrading from libc5.
4540 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4543 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4545 2012-02-18 David S. Miller <davem@davemloft.net>
4547 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4548 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4549 %o7 across the call.
4550 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4554 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4555 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4556 * sysdeps/sparc/crtn.S: Likewise.
4558 2012-02-17 Ulrich Drepper <drepper@gmail.com>
4560 * aout/Makefile: Remove.
4562 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4565 * manual/examples/argp-ex1.c (main): Format definition in GNU
4567 * manual/examples/argp-ex2.c (main): Likewise.
4568 * manual/examples/argp-ex3.c (main): Likewise.
4569 * manual/examples/argp-ex4.c (main): Likewise.
4570 * manual/examples/longopt.c (main): Use new-style prototype
4572 * manual/examples/strncat.c (main): Specify return type and use
4573 (void) for arguments.
4574 * manual/examples/subopt.c (main): Use char **argv argument.
4576 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4579 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4582 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4585 * manual/string.texi (strchr): Change when strchrnul is
4588 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4591 * manual/locale.texi (setlocale): Document LOCPATH.
4593 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4596 * manual/process.texi (execle): Move @dots{} before last argument.
4598 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
4601 * manual/charset.texi (Generic Charset Conversion): Fix typo
4602 (LC_TYPE -> LC_CTYPE).
4604 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4607 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4608 (scalbnf): Likewise.
4609 (scalbnl): Likewise.
4610 (scalbln): Likewise.
4611 (scalblnf): Likewise.
4612 (scalblnl): Likewise.
4613 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4617 * manual/filesys.texi (telldir): Use braces around return type.
4618 * manual/llio.texi (mmap): Add space after comma.
4620 * manual/math.texi (jn): Use @var{} on parameter names.
4626 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4628 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4630 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4631 (sched_get_priority_max): Likewise.
4632 * manual/signal.texi (sigvec): Add space after comma.
4633 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4635 (if_indextoname): Likewise.
4636 (if_freenameindex): Likewise.
4637 (sendto): Use ',' instead of '.' in prototype.
4638 * manual/startup.texi (syscall): Use @dots{} instead of literal
4640 * manual/stdio.texi (__fpending): Separate initial words of
4641 paragraph from @deftypefun line.
4642 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4644 (vsyslog): Use @var{} on parameter names.
4645 * manual/terminal.texi (stty): Use @var{} on parameter names.
4646 * manual/users.texi (getutmp): Use @var{} on parameter names.
4647 (getutmpx): Likewise.
4649 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4652 * manual/stdio.texi (fopen): Fix typos in description of
4655 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4658 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4659 get clock_id definition.
4661 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
4664 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4665 (madvise): Cast every argument to void on its own.
4667 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4670 * manual/startup.texi (Exit Status): Fix typo.
4672 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4675 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4676 * manual/examples/argp-ex2.c: Likewise.
4677 * manual/examples/argp-ex3.c: Likewise.
4679 2012-02-16 Richard Henderson <rth@redhat.com>
4681 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4682 * sysdeps/s390/s390-32/initfini.c: Remove.
4683 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4684 * sysdeps/s390/s390-64/initfini.c: Remove.
4686 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4688 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4689 compiler output for sysdeps/generic/initfini.c.
4690 * sysdeps/sh/elf/initfini.c: Remove file.
4692 2012-02-16 David S. Miller <davem@davemloft.net>
4695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4697 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4698 * sysdeps/sparc/crti.S: New file.
4699 * sysdeps/sparc/crtn.S: New file.
4700 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4701 * sysdeps/sparc/sparc64/Makefile: Likewise.
4703 2012-02-15 Mike Frysinger <vapier@gentoo.org>
4706 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4708 2012-02-15 Roland McGrath <roland@hack.frob.com>
4711 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4713 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4714 (write, read, close): Likewise.
4715 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4717 2012-02-15 Joseph Myers <joseph@codesourcery.com>
4719 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4720 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4721 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4722 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4724 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4728 2012-02-14 Marek Polacek <polacek@redhat.com>
4730 * sysdeps/x86_64/crti.S: New file.
4731 * sysdeps/x86_64/crtn.S: New file.
4732 * sysdeps/x86_64/elf/initfini.c: Remove file.
4734 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4736 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4737 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4738 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4739 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4741 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4745 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4747 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4748 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4749 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4750 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4752 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4756 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4758 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4759 __feraiseexcept instead of feraiseexcept.
4761 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4762 nanosleep invocations.
4763 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4764 strings, and add error checking for a nanosleep invocations.
4766 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4768 Replace FSF snail mail address with URLs, as per GNU coding standards.
4769 Most of the snail mail addresses were wrong anyway, and omitting
4770 them makes the source code easier to maintain. Almost all of the
4771 changes are to license notices and to locale LC_IDENTIFICATION
4772 addresses, except for this one:
4773 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4774 not its snail mail address.
4776 2012-02-09 Richard Henderson <rth@twiddle.net>
4778 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4779 of kernel-features.h.
4781 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4783 2012-02-08 Marek Polacek <polacek@redhat.com>
4785 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4786 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4787 * sysdeps/gnu/_G_config.h: Likewise.
4788 * sysdeps/generic/_G_config.h: Likewise.
4790 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4792 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4796 * sysdeps/powerpc/powerpc32/crti.S: New file.
4797 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4798 * sysdeps/powerpc/powerpc64/crti.S: New file.
4799 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4801 * Makeconfig (have-initfini): Don't set.
4802 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4803 * configure.in (nopic_initfini): Don't substitute.
4804 * config.h.in (HAVE_INITFINI): Don't #undef.
4805 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4806 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4808 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4810 Support crti.S and crtn.S provided directly by architectures.
4811 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4812 [crti.S in sysdirs] (omit-deps): Likewise.
4813 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4814 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4815 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4816 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4817 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4818 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4819 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4820 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4821 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4822 compiler output for sysdeps/generic/initfini.c.
4823 * sysdeps/i386/elf/Makefile: Remove file.
4824 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4826 2012-02-07 Marek Polacek <polacek@redhat.com>
4828 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4829 * sysdeps/gnu/_G_config.h: Likewise.
4830 * sysdeps/mach/hurd/_G_config.h: Likewise.
4832 2012-02-07 Marek Polacek <polacek@redhat.com>
4834 * math/Makefile (tests): Add tst-CMPLX2.
4835 * math/tst-CMPLX2.c: New file.
4837 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4839 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4841 * math/libm-test.inc (jn_test): Add missing L suffix.
4843 2012-02-06 Marek Polacek <polacek@redhat.com>
4845 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4846 * sysdeps/i386/fpu/e_powf.S: Likewise.
4847 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4848 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4849 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4850 * sysdeps/i386/fpu/e_pow.S: Likewise.
4851 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4852 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4853 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4854 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4855 * sysdeps/i386/fpu/e_log2.S: Likewise.
4856 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4857 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4858 * sysdeps/i386/fpu/e_powl.S: Likewise.
4859 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4860 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4861 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4862 * sysdeps/i386/fpu/e_logl.S: Likewise.
4863 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4864 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4865 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4866 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4867 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4868 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4869 * sysdeps/i386/fpu/e_log.S: Likewise.
4870 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4871 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4872 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4873 * sysdeps/i386/fpu/e_logf.S: Likewise.
4874 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4875 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4876 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4877 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4878 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4879 * sysdeps/i386/fpu/e_log10.S: Likewise.
4880 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4881 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4882 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4883 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4884 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4885 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4886 * sysdeps/i386/asm-syntax.h: Likewise.
4887 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4888 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4889 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4890 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4891 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4892 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4893 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4894 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4895 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4896 * sysdeps/powerpc/sysdep.h: Likewise.
4897 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4898 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4900 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4903 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4905 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4907 * sysdeps/i386/sysdep.h: Include <features.h>.
4908 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4911 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4913 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4915 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4918 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4920 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4921 (SETUP_PIC_REG): Use GET_PC_THUNK.
4922 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4925 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4927 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4928 for non-PIC compilation.
4929 (SETUP_PIC_REG): Add .p2align directive.
4930 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4931 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4932 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4933 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4934 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4935 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4936 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4937 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4938 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4939 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4940 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4941 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4942 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4947 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4951 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4952 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4953 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4954 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4955 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4956 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4957 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4958 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4959 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4960 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4961 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4962 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4963 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4964 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4965 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4966 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4967 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4968 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4969 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4970 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4972 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4974 * math/tst-CMPLX.c: Include <stdio.h>.
4976 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4978 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4980 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4981 * sysdeps/sparc/bits/mathdef.h: Likewise.
4983 2012-01-31 Marek Polacek <polacek@redhat.com>
4985 * libio/libio.h: Don't define _PARAMS.
4986 * locale/programs/config.h: Don't define PARAMS.
4987 * stdlib/strtol_l.c: Likewise.
4988 (__strtol_l): Remove PARAMS from the prototype.
4990 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4992 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4993 names. Just use the correct names. Remove unnecessary wrapper
4995 * malloc/arena.c: Likewise.
4996 * malloc/hooks.c: Likewise.
4998 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4999 ARENA_TEST says not to. Simplify test for creation of a new arena.
5000 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5002 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5004 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5006 (update_get_addr): New function.
5007 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5008 GET_ADDR_MODULE parameter.
5010 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5012 * crypt/cert.c: Remove __STDC__ conditionals.
5013 * crypt/crypt-entry.c: Likewise.
5014 * crypt/crypt_util.c: Likewise.
5015 * libio/filedoalloc.c: Likewise.
5016 * libio/fileops.c: Likewise.
5017 * libio/genops.c: Likewise.
5018 * libio/iofclose.c: Likewise.
5019 * libio/iofdopen.c: Likewise.
5020 * libio/iofopen.c: Likewise.
5021 * libio/iofopen64.c: Likewise.
5022 * libio/iogetdelim.c: Likewise.
5023 * libio/iopopen.c: Likewise.
5024 * libio/obprintf.c: Likewise.
5025 * libio/oldfileops.c: Likewise.
5026 * libio/oldiofclose.c: Likewise.
5027 * libio/oldiofdopen.c: Likewise.
5028 * libio/oldiofopen.c: Likewise.
5029 * libio/oldiopopen.c: Likewise.
5030 * libio/wfiledoalloc.c: Likewise.
5031 * libio/wgenops.c: Likewise.
5032 * locale/programs/xmalloc.c: Likewise.
5033 * misc/syslog.c: Likewise.
5034 * stdio-common/xbug.c: Likewise.
5035 * string/memchr.c: Likewise.
5036 * string/memcmp.c: Likewise.
5037 * string/memrchr.c: Likewise.
5038 * string/rawmemchr.c: Likewise.
5039 * sysdeps/posix/getcwd.c: Likewise.
5040 * time/strftime_l.c: Likewise.
5042 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5044 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5045 * config.make.in (config-cflags-sse2avx): Define.
5046 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5049 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5051 * scripts/config.guess: Update from upstream config git repository.
5052 * scripts/config.sub: Likewise.
5054 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5056 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5058 (R_TILEPRO_*, R_TILEGX_*): New macros.
5060 * scripts/firstversions.awk: Fix bug in version range handling.
5062 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5064 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5066 * include/sys/epoll.h: New file.
5067 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5070 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5072 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5073 Avoid unnecessary __WORDSIZE == 64 test.
5074 (fmaxf): Use VEX format if possible.
5079 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5080 * math/math_private.h: Remove libc_fegetround* and
5082 * sysdeps/i386/configure.in: Check for -msse2avx.
5083 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5084 also if SSE2AVX is defined.
5085 Remove libc_fegetround* and libc_fesetround*.
5086 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5087 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5088 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5090 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5091 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5092 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5093 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5094 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5096 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5098 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5100 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5102 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5104 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5107 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5109 * Makeconfig (libm): Define.
5110 * elf/Makefile: Add rules to build and run tst-relsort1.
5111 * elf/tst-relsort1.c: New file.
5112 * elf/tst-relsort1mod1.c: New file.
5113 * elf/tst-relsort1mod2.c: New file.
5115 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5117 * math/s_ldexp.c: Remove __STDC__ conditionals.
5118 * math/s_ldexpf.c: Likewise.
5119 * math/s_ldexpl.c: Likewise.
5120 * math/s_nextafter.c: Likewise.
5121 * math/s_nexttowardf.c: Likewise.
5122 * math/s_significand.c: Likewise.
5123 * math/s_significandf.c: Likewise.
5124 * math/s_significandl.c: Likewise.
5125 * math/w_jnl.c: Likewise.
5126 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5127 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5128 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5129 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5130 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5131 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5132 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5133 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5134 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5135 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5136 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5137 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5138 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5139 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5140 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5141 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5142 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5143 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5145 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5146 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5147 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5148 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5149 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5150 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5151 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5152 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5153 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5154 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5155 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5156 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5157 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5158 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5159 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5160 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5161 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5162 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5163 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5164 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5165 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5166 * sysdeps/ieee754/k_standard.c: Likewise.
5167 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5168 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5169 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5170 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5171 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5174 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5175 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5176 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5178 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5179 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5215 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5226 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5228 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5233 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5238 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5241 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5242 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5244 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5246 * sysdeps/ieee754/s_matherr.c: Likewise.
5247 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5248 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5249 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5250 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5252 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5254 * crypt/md5.h: Remove __STDC__ conditionals.
5255 * libio/libioP.h: Likewise.
5256 * locale/programs/config.h: Likewise.
5257 * sysdeps/generic/sysdep.h: Likewise.
5258 * sysdeps/i386/asm-syntax.h: Likewise.
5259 * sysdeps/s390/asm-syntax.h: Likewise.
5260 * sysdeps/unix/sysdep.h: Likewise.
5261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5264 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5266 * libio/libio.h: Remove __STDC__ conditionals.
5267 * malloc/obstack.h: Likewise.
5268 * math/complex.h: Likewise.
5269 * math/math.h: Likewise.
5270 * sysdeps/generic/_G_config.h: Likewise.
5271 * sysdeps/gnu/_G_config.h: Likewise.
5272 * sysdeps/mach/hurd/_G_config.h: Likewise.
5273 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5274 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5275 * sysdeps/sparc/bits/mathdef.h: Likewise.
5277 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5280 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5281 Clean up HAS_* macros.
5282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5283 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5285 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5287 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5288 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5289 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5290 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5291 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5293 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5295 * elf/tst-unique3.cc (gets): Remove declaration.
5296 * elf/tst-unique3lib.cc (gets): Likewise.
5297 * elf/tst-unique3lib2.cc (gets): Likewise.
5298 * elf/tst-unique4.cc (gets): Likewise.
5300 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5302 * include/stdio.h: Add C++ protection. Add gets declarations and
5304 * debug/tst-chk1.c: Don't declare gets here.
5305 * stdio-common/tst-gets.c: Likewise.
5307 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5309 * posix/glob: Remove directory.
5311 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5313 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5315 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5317 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5318 of the non-standard EPFNOSUPPORT.
5320 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5322 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5323 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5324 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5326 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5328 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5330 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5332 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5334 * nscd/grpcache.c (cache_addgr): Likewise.
5335 * nscd/hstcache.c (cache_addhst): Likewise.
5336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5337 * nscd/pwdcache.c (cache_addpw): Likewise.
5338 * nscd/servicescache.c (cache_addserv): Likewise.
5340 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5342 * malloc/malloc.c: Various cleanups.
5343 * malloc/hooks.c: Likewise.
5345 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5346 * stdlib/bug-fmtmsg1.c: New file.
5348 * stdlib/fmtmsg.c (init): Add missing unlock.
5349 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5351 2012-01-12 Marek Polacek <polacek@redhat.com>
5353 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5356 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5358 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5359 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5360 macro to ensure uniqueness of label name.
5361 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5362 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5364 2012-01-11 Ulrich Drepper <drepper@gmail.com>
5366 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5368 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5369 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5370 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5373 2012-01-10 Ulrich Drepper <drepper@gmail.com>
5375 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5377 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5378 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5379 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5381 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5383 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5384 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5385 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5388 * math/bits/math-finite.h: Add ldexp support.
5390 2012-01-10 Marek Polacek <polacek@redhat.com>
5392 * locale/programs/localedef.h (show_archive_content): Add noreturn
5395 2012-01-09 Ulrich Drepper <drepper@gmail.com>
5397 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5399 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5401 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5403 * io/Makefile (headers): Add bits/poll2.h.
5405 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5408 typo #include statement.
5410 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5412 * include/sys/cdefs.h: Define __attribute_alloc_size.
5413 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5414 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5415 * elf/pldd.c: Likewise.
5416 * iconv/iconv_charmap.c: Likewise.
5417 * iconv/iconvconfig.c: Likewise.
5418 * iconv/strtab.c: Likewise.
5419 * locale/programs/locale.c: Likewise.
5420 * locale/programs/localedef.h: Likewise.
5421 * locale/programs/simple-hash.c: Likewise.
5422 * nscd/nscd.h: Likewise.
5423 * nss/makedb.c: Likewise.
5424 * sysdeps/generic/ldconfig.h: Likewise.
5425 * locale/programs/localedef.c: Remove xmalloc prototype.
5426 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5428 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5430 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5433 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5435 * math/Makefile (tests): Add tst-CMPLX.
5436 * math/tst-CMPLX.c: New file.
5438 * math/complex.h (CMPLXL): Fix typo.
5440 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5441 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5443 * debug/tst-chk1.c: Add poll and ppoll tests.
5444 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5445 * include/sys/poll.h: Add hidden proto for ppoll.
5446 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5447 * sysdeps/mach/hurd/ppoll.c: Likewise.
5448 * io/ppoll.c: Likewise.
5449 * debug/poll_chk.c: New file.
5450 * debug/ppoll_chk.c: New file.
5451 * include/bits/poll2.h: New file.
5452 * io/bits/poll2.h: New file.
5455 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5457 * configure.in: static is always set to yes. Remove.
5458 * config.make.in: Don't set build-static.
5459 * Makeconfig: Remove use of build-static.
5460 * dlfcn/Makefile: Likewise.
5461 * elf/Makefile: Likewise.
5462 * math/Makefile: Likewise.
5463 * misc/Makefile: Likewise.
5464 * nptl/Makefile: Likewise.
5465 * sysdeps/mach/hurd/Makefile: Likewise.
5467 * configure.in: PWD_P is not used anymore.
5468 * config.make.in: Remove PWD_P entry.
5470 * configure.in: Remove last remnants of RANLIB.
5471 No need to check for signed size_t anymore.
5472 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5474 Remove __builtin_expect test because we require at least gcc 3.4.
5475 * aclocal.m4: Likewise.
5477 * wcsmbs/mbrtoc16.c: Implement using towc function.
5478 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5479 * wcsmbs/wcsmbsload.c: Likewise.
5480 * iconv/gconv_simple.c: Likewise.
5481 * iconv/gconv_int.h: Likewise.
5482 * iconv/gconv_builtin.h: Likewise.
5483 * iconv/iconv_prog.c: Remove CHAR16 handling.
5485 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5487 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5489 * configure.in: Remove --with-elf and --enable-bounded options.
5490 Dont set base_machine for ia64. More non-ELF conditions removed.
5491 Remove testing and setting of leading underscore information.
5492 * config.make.in (build-bounded): Set to no.
5493 * config.h.in: Remove NO_UNDERSCORES entry.
5494 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5496 * csu/start.c: Remove !NO_UNDERSCORE code.
5497 * locale/localeinfo.h: Likewise.
5498 * sysdeps/generic/machine-gmon.h: Likewise.
5499 * sysdeps/generic/sysdep.h: Likewise.
5500 * sysdeps/i386/sysdep.h: Likewise.
5501 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5502 * sysdeps/mach/sysdep.h: Likewise.
5503 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5504 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5505 * sysdeps/sh/sysdep.h: Likewise.
5506 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5507 * sysdeps/unix/i386/sysdep.S: Likewise.
5508 * sysdeps/unix/sparc/start.c: Likewise.
5509 * sysdeps/unix/sparc/sysdep.S: Likewise.
5510 * sysdeps/unix/sparc/sysdep.h: Likewise.
5511 * sysdeps/unix/start.c: Likewise.
5512 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5513 * sysdeps/x86_64/sysdep.h: Likewise.
5515 2012-01-07 Ulrich Drepper <drepper@gmail.com>
5518 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5520 * argp/argp-fmtstream.h: Use const instead __const.
5521 * argp/argp.h: Likewise.
5522 * assert/assert.h: Likewise.
5523 * bits/fenv.h: Likewise.
5524 * bits/sched.h: Likewise.
5525 * bits/sigset.h: Likewise.
5526 * bits/sigthread.h: Likewise.
5527 * catgets/nl_types.h: Likewise.
5528 * conform/data/pthread.h-data: Likewise.
5529 * crypt/crypt-private.h: Likewise.
5530 * crypt/crypt.h: Likewise.
5531 * crypt/crypt_util.c: Likewise.
5532 * ctype/ctype.h: Likewise.
5533 * debug/execinfo.h: Likewise.
5534 * debug/mbsnrtowcs_chk.c: Likewise.
5535 * debug/mbsrtowcs_chk.c: Likewise.
5536 * debug/wcsnrtombs_chk.c: Likewise.
5537 * debug/wcsrtombs_chk.c: Likewise.
5538 * debug/wcstombs_chk.c: Likewise.
5539 * dirent/dirent.h: Likewise.
5540 * dlfcn/dlfcn.h: Likewise.
5541 * elf/neededtest4.c: Likewise.
5542 * grp/grp.h: Likewise.
5543 * gshadow/gshadow.h: Likewise.
5544 * iconv/gconv.h: Likewise.
5545 * iconv/gconv_int.h: Likewise.
5546 * iconv/gconv_simple.c: Likewise.
5547 * iconv/iconv.h: Likewise.
5548 * iconv/loop.c: Likewise.
5549 * iconv/skeleton.c: Likewise.
5550 * include/aio.h: Likewise.
5551 * include/aliases.h: Likewise.
5552 * include/argz.h: Likewise.
5553 * include/arpa/inet.h: Likewise.
5554 * include/assert.h: Likewise.
5555 * include/dirent.h: Likewise.
5556 * include/dlfcn.h: Likewise.
5557 * include/execinfo.h: Likewise.
5558 * include/fcntl.h: Likewise.
5559 * include/fenv.h: Likewise.
5560 * include/glob.h: Likewise.
5561 * include/grp.h: Likewise.
5562 * include/libintl.h: Likewise.
5563 * include/mntent.h: Likewise.
5564 * include/netdb.h: Likewise.
5565 * include/pwd.h: Likewise.
5566 * include/rpc/netdb.h: Likewise.
5567 * include/sched.h: Likewise.
5568 * include/search.h: Likewise.
5569 * include/shadow.h: Likewise.
5570 * include/signal.h: Likewise.
5571 * include/stdio.h: Likewise.
5572 * include/stdlib.h: Likewise.
5573 * include/string.h: Likewise.
5574 * include/sys/socket.h: Likewise.
5575 * include/sys/stat.h: Likewise.
5576 * include/sys/statfs.h: Likewise.
5577 * include/sys/statvfs.h: Likewise.
5578 * include/sys/syslog.h: Likewise.
5579 * include/sys/time.h: Likewise.
5580 * include/sys/uio.h: Likewise.
5581 * include/time.h: Likewise.
5582 * include/unistd.h: Likewise.
5583 * include/utmp.h: Likewise.
5584 * include/wchar.h: Likewise.
5585 * include/wctype.h: Likewise.
5586 * inet/aliases.h: Likewise.
5587 * inet/arpa/inet.h: Likewise.
5588 * inet/netinet/ether.h: Likewise.
5589 * inet/netinet/in.h: Likewise.
5590 * intl/libintl.h: Likewise.
5591 * io/bits/fcntl2.h: Likewise.
5592 * io/fcntl.h: Likewise.
5593 * io/ftw.h: Likewise.
5594 * io/sys/poll.h: Likewise.
5595 * io/sys/stat.h: Likewise.
5596 * io/sys/statfs.h: Likewise.
5597 * io/sys/statvfs.h: Likewise.
5598 * io/utime.h: Likewise.
5599 * libio/bits/stdio.h: Likewise.
5600 * libio/bits/stdio2.h: Likewise.
5601 * libio/libio.h: Likewise.
5602 * libio/libioP.h: Likewise.
5603 * libio/stdio.h: Likewise.
5604 * locale/lc-ctype.c: Likewise.
5605 * locale/locale.h: Likewise.
5606 * login/utmp.h: Likewise.
5607 * malloc/arena.c: Likewise.
5608 * malloc/malloc.c: Likewise.
5609 * malloc/malloc.h: Likewise.
5610 * malloc/mcheck.c: Likewise.
5611 * malloc/mtrace.c: Likewise.
5612 * math/bits/mathcalls.h: Likewise.
5613 * math/fenv.h: Likewise.
5614 * math/math_private.h: Likewise.
5615 * misc/bits/error.h: Likewise.
5616 * misc/bits/syslog.h: Likewise.
5617 * misc/err.h: Likewise.
5618 * misc/error.h: Likewise.
5619 * misc/fstab.h: Likewise.
5620 * misc/mntent.h: Likewise.
5621 * misc/regexp.h: Likewise.
5622 * misc/search.h: Likewise.
5623 * misc/sgtty.h: Likewise.
5624 * misc/sys/mman.h: Likewise.
5625 * misc/sys/syslog.h: Likewise.
5626 * misc/sys/uio.h: Likewise.
5627 * misc/sys/xattr.h: Likewise.
5628 * misc/ttyent.h: Likewise.
5629 * nis/rpcsvc/ypclnt.h: Likewise.
5630 * nss/nss.h: Likewise.
5631 * posix/bits/unistd.h: Likewise.
5632 * posix/fnmatch.h: Likewise.
5633 * posix/glob.h: Likewise.
5634 * posix/sched.h: Likewise.
5635 * posix/spawn.h: Likewise.
5636 * posix/sys/wait.h: Likewise.
5637 * posix/unistd.h: Likewise.
5638 * posix/wordexp.h: Likewise.
5639 * pwd/pwd.h: Likewise.
5640 * resolv/netdb.h: Likewise.
5641 * resource/sys/resource.h: Likewise.
5642 * rt/aio.h: Likewise.
5643 * rt/bits/mqueue2.h: Likewise.
5644 * rt/mqueue.h: Likewise.
5645 * shadow/shadow.h: Likewise.
5646 * signal/signal.h: Likewise.
5647 * socket/send.c: Likewise.
5648 * socket/sendto.c: Likewise.
5649 * socket/sys/socket.h: Likewise.
5650 * stdio-common/printf.h: Likewise.
5651 * stdlib/bits/stdlib.h: Likewise.
5652 * stdlib/fmtmsg.h: Likewise.
5653 * stdlib/monetary.h: Likewise.
5654 * stdlib/stdlib.h: Likewise.
5655 * stdlib/ucontext.h: Likewise.
5656 * streams/stropts.h: Likewise.
5657 * string/argz.h: Likewise.
5658 * string/bits/string2.h: Likewise.
5659 * string/string.h: Likewise.
5660 * string/strings.h: Likewise.
5661 * sunrpc/rpc/auth.h: Likewise.
5662 * sunrpc/rpc/auth_des.h: Likewise.
5663 * sunrpc/rpc/clnt.h: Likewise.
5664 * sunrpc/rpc/netdb.h: Likewise.
5665 * sunrpc/rpc/pmap_clnt.h: Likewise.
5666 * sunrpc/rpc/xdr.h: Likewise.
5667 * sysdeps/generic/inttypes.h: Likewise.
5668 * sysdeps/generic/net/if.h: Likewise.
5669 * sysdeps/generic/sys/swap.h: Likewise.
5670 * sysdeps/gnu/net/if.h: Likewise.
5671 * sysdeps/gnu/utmpx.h: Likewise.
5672 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5673 * sysdeps/i386/i486/bits/string.h: Likewise.
5674 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5675 * sysdeps/s390/bits/string.h: Likewise.
5676 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5677 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5678 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5679 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5680 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5681 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5682 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5683 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5684 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5685 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5686 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5687 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5688 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5689 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5690 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5691 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5692 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5693 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5694 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5695 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5696 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5697 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5698 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5699 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5700 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5701 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5702 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5703 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5704 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5705 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5706 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5707 * sysvipc/sys/ipc.h: Likewise.
5708 * sysvipc/sys/msg.h: Likewise.
5709 * sysvipc/sys/sem.h: Likewise.
5710 * sysvipc/sys/shm.h: Likewise.
5711 * termios/termios.h: Likewise.
5712 * time/sys/time.h: Likewise.
5713 * time/time.h: Likewise.
5714 * wcsmbs/bits/wchar2.h: Likewise.
5715 * wcsmbs/uchar.h: Likewise.
5716 * wcsmbs/wchar.h: Likewise.
5717 * wctype/wctype.h: Likewise.
5720 * Makeconfig: Remove all but ELF support including AIX support.
5721 * Makerules: Likewise.
5722 * config.h.in: Likewise.
5723 * config.make.in: Likewise.
5724 * configure: Likewise.
5725 * configure.in: Likewise.
5726 * csu/Makefile: Likewise.
5727 * csu/version.c: Likewise.
5728 * debug/Makefile: Likewise.
5729 * dlfcn/Makefile: Likewise.
5730 * elf/Makefile: Likewise.
5731 * extra-lib.mk: Likewise.
5732 * iconv/Makefile: Likewise.
5733 * include/libc-symbols.h: Likewise.
5734 * include/shlib-compat.h: Likewise.
5735 * resolv/Makefile: Likewise.
5736 * resolv/res_libc.c: Likewise.
5737 * rt/Makefile: Likewise.
5738 * sysdeps/i386/asm-syntax.h: Likewise.
5739 * sysdeps/i386/sysdep.h: Likewise.
5740 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5741 * sysdeps/mach/sysdep.h: Likewise.
5742 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5743 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5744 * sysdeps/s390/asm-syntax.h: Likewise.
5745 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5746 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5747 * sysdeps/sh/sysdep.h: Likewise.
5748 * sysdeps/unix/sparc/sysdep.h: Likewise.
5749 * sysdeps/wordsize-32/divdi3.c: Likewise.
5750 * sysdeps/x86_64/sysdep.h: Likewise.
5752 * argp/Versions: Remove _argp_unlock_xxx.
5755 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5756 * abilist/libBrokenLocale.abilist: Likewise.
5757 * abilist/libanl.abilist: Likewise.
5758 * abilist/libc.abilist: Likewise.
5759 * abilist/libcrypt.abilist: Likewise.
5760 * abilist/libdl.abilist: Likewise.
5761 * abilist/libm.abilist: Likewise.
5762 * abilist/libnsl.abilist: Likewise.
5763 * abilist/libpthread.abilist: Likewise.
5764 * abilist/libresolv.abilist: Likewise.
5765 * abilist/librt.abilist: Likewise.
5766 * abilist/libthread_db.abilist: Likewise.
5767 * abilist/libutil.abilist: Likewise.
5768 * abilist/libnss_db.abilist: New file.
5770 * scripts/abilist.awk: Add support for indirect functions.
5772 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5774 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5776 * shlib-versions: Remove entries for ports architectures.
5778 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5780 * elf/stackguard-macros.h: Remove support for IA-64.
5781 * elf/tst-auditmod1.c: Likewise.
5782 * sysdeps/generic/ldsodefs.h: Likewise.
5784 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5785 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5789 * configure.in: Remove --enable-omitfp support.
5791 * config.make.in: Likewise.
5792 * Makeconfig: Likewise.
5793 * manual/install.texi: Likewise.
5795 In case anyone cares, the IA-64 architecture could move to ports.
5796 * sysdeps/ia64/*: Removed.
5797 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5798 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5801 * configure.in: Remove entries for unsupported architectures.
5804 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5805 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5807 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5808 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5809 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5810 fall back to using wcrtomb.
5811 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5812 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5814 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5815 * wcsmbs/tst-c16c32-1.c: New file.
5817 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5820 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5822 * elf/tst-unique3.cc: Add explicit declaration of gets.
5823 * elf/tst-unique3lib.cc: Likewise.
5824 * elf/tst-unique3lib2.cc: Likewise.
5825 * elf/tst-unique4.cc: Likewise.
5827 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5829 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5832 * assert/assert.h (static_assert): Don't define for C++.
5833 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5834 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5836 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5838 * iconv/loop.c (single loop): Fix assertion in storing of
5841 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5843 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5845 * posix/getconf.c: Update copyright year.
5846 * nss/getent.c: Likewise.
5847 * nss/makedb.c: Likewise.
5848 * iconv/iconvconfig.c: Likewise.
5849 * iconv/iconv_prog.c: Likewise.
5850 * elf/ldconfig.c: Likewise.
5851 * elf/pldd.c: Likewise.
5852 * elf/sotruss.ksh: Likewise.
5853 * catgets/gencat.c: Likewise.
5854 * csu/version.c: Likewise.
5855 * elf/ldd.bash.in: Likewise.
5856 * elf/sprof.c (print_version): Likewise.
5857 * locale/programs/locale.c: Likewise.
5858 * locale/programs/localedef.c: Likewise.
5859 * login/programs/pt_chown.c: Likewise.
5860 * nscd/nscd.c (print_version): Likewise.
5861 * debug/xtrace.sh: Likewise.
5862 * malloc/memusage.sh: Likewise.
5863 * malloc/mtrace.pl: Likewise.
5864 * debug/catchsegv.sh: Likewise.
5866 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5868 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5871 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5874 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5875 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5877 * iconv/gconv_int.h: Likewise.
5878 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5879 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5880 from libc for GLIBC_2.16.
5881 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5882 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5883 * wcsmbs/uchar.h: Really define mbstate_t.
5884 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5885 * wcsmbs/c16rtomb.c: New file.
5886 * wcsmbs/mbrtoc16.c: New file.
5887 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5889 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5890 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5892 * wcsmbs/wchar.h: Add missing __restrict.
5894 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5897 * time/Makefile (routines): Add timespec_get.
5898 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5899 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5900 timespec for ISO C11.
5901 * time/timespec_get.c: New file.
5902 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5903 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5906 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5907 * stdlib/stdlib.h: Declare aligned_alloc.
5908 * Versions.def: Add GLIBC_2.16 for libc.
5909 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5912 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5915 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5919 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5922 * assert/assert.h (static_assert): Define.
5924 * version.h: Update for 2.16 development version.
5927 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5930 * version.h (RELEASE): Bump for 2.15 release.
5931 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5933 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5934 Patch by Marek Polacek <mpolacek@redhat.com>.
5936 * bits/byteswap.h: Protect long long constants with __extension__.
5937 * sysdeps/i386/bits/byteswap.h: Likewise.
5938 * sysdeps/ia64/bits/byteswap.h: Likewise.
5939 * sysdeps/s390/bits/byteswap.h: Likewise.
5940 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5942 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5945 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5947 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5949 2011-12-23 Marek Polacek <polacek@redhat.com>
5951 * elf/dl-addr.c (determine_info): Add inline keyword.
5952 * elf/tst-auditmod4b.c (check_avx): Likewise.
5953 * elf/tst-auditmod6b.c (check_avx): Likewise.
5954 * elf/tst-auditmod6c.c (check_avx): Likewise.
5955 * elf/tst-auditmod7b.c (check_avx): Likewise.
5957 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5959 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5962 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5965 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5966 processing for last bytes.
5968 2011-08-06 Bruno Haible <bruno@clisp.org>
5971 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5972 U+0385, not to U+1FEE.
5975 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5976 entry for U+00A5 U+0301.
5978 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5981 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5982 buffer for the output is too small.
5984 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5988 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5989 SSE flags if possible.
5991 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5994 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5995 processing for last bytes.
5997 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5999 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6000 (syscall-list-default-options, syscall-list-default-condition)
6001 (syscall-list-includes): Define.
6002 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6003 list of ABIs and options and #if conditions for each ABI. Do not
6004 handle common syscalls between ABIs specially.
6005 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6007 (syscall-list-variants, syscall-list-32bit-options)
6008 (syscall-list-32bit-condition, syscall-list-64bit-options)
6009 (syscall-list-64bit-condition): Define.
6010 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6011 (syscall-list-variants, syscall-list-32bit-options)
6012 (syscall-list-32bit-condition, syscall-list-64bit-options)
6013 (syscall-list-64bit-condition): Define.
6014 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6016 (syscall-list-variants, syscall-list-32bit-options)
6017 (syscall-list-32bit-condition, syscall-list-64bit-options)
6018 (syscall-list-64bit-condition): Define.
6019 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6021 (syscall-list-variants, syscall-list-32bit-options)
6022 (syscall-list-32bit-condition, syscall-list-64bit-options)
6023 (syscall-list-64bit-condition): Define.
6025 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6027 * locale/iso-639.def: Add brx entry.
6030 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6031 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6033 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6034 __feraiseexcept_renamed.
6036 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6039 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6040 EPOLLET with unsigned values.
6041 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6042 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6044 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6045 to large cancellation.
6046 * math/s_cacoshf.c: Likewise.
6047 * math/s_cacoshl.c: Likewise.
6049 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6053 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6054 * math/s_cacoshf.c: Likewise.
6055 * math/s_cacoshl.c: Likewise.
6057 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6060 * iconv/gconv.h: Define __GCONV_SWAP.
6061 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6062 * iconvdata/utf-16.c: Likewise.
6063 * iconvdata/utf-32.c: Likewise.
6065 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6068 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6069 numerator after shifting it by one limb.
6071 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6073 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6074 under [__USE_EXTERN_INLINES].
6076 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6079 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6081 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6083 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6084 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6086 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6087 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6088 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6089 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6090 for strncasecmp/strncasecmp_l compilation.
6091 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6092 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6094 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6097 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6100 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6103 * time/tzfile.c (__tzfile_read): Check values from file header.
6105 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6107 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6108 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6109 * powerpc/powerpc32/dl-start.S: Likewise.
6110 * powerpc/powerpc32/elf/start.S: Likewise.
6111 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6112 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6113 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6114 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6115 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6116 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6117 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6118 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6119 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6120 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6121 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6122 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6123 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6124 * powerpc/powerpc32/memset.S: Likewise.
6125 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6126 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6127 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6128 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6129 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6130 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6131 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6132 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6133 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6134 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6135 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6136 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6137 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6139 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6141 * math/libm-test.inc: Added more nearbyint tests.
6142 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6143 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6144 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6145 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6147 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6149 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6152 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6154 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6155 Add wcscpy-ssse3 wcscpy-c.
6156 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6157 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6158 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6159 * sysdeps/x86_64/wcschr.S: New file.
6160 * sysdeps/x86_64/wcsrchr.S: New file.
6161 * string/test-strcmp.c: Remove checking of wcscmp function for
6163 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6164 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6165 wcsrchr-sse2 wcsrchr-c.
6166 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6167 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6168 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6169 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6170 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6171 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6172 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6173 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6174 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6175 * wcsmbc/wcschr.c (WCSCHR): New macro.
6177 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6179 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6180 * wcsmbs/test-wcsrchr.c: New file.
6181 * string/test-strrchr.c: Add wcsrchr support.
6183 * wcsmbs/test-wcscpy.c: New file.
6184 * string/test-strcpy.c: Add wcscpy support.
6187 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6189 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6192 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6195 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6197 2011-12-04 Ulrich Drepper <drepper@gmail.com>
6199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6200 Minor optimizations.
6202 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6203 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6204 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6206 2011-12-03 Ulrich Drepper <drepper@gmail.com>
6208 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6209 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6210 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6211 for gcc to avoid warnings.
6212 * inet/Makefile (tests): Add tst-checks.
6213 * inet/tst-checks.c: New file.
6215 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6218 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6221 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6222 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6224 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6226 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6228 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6231 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6233 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6235 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6236 conditional on GCC version.
6237 (__arch_compare_and_exchange_val_8_acq)
6238 (__arch_compare_and_exchange_val_16_acq)
6239 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6240 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6241 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6243 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6245 * sysdeps/sh/backtrace.c: New file.
6247 2011-12-02 Andreas Schwab <schwab@redhat.com>
6249 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6252 2011-12-01 Andreas Schwab <schwab@redhat.com>
6254 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6255 falling back to utime.
6257 2011-11-30 Andreas Schwab <schwab@redhat.com>
6259 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6260 expectations for float.
6262 2011-11-29 Andreas Schwab <schwab@redhat.com>
6264 * locale/weight.h (findidx): Add parameter len.
6265 * locale/weightwc.h (findidx): Likewise.
6266 * posix/fnmatch_loop.c (FCT): Adjust caller.
6267 * posix/regcomp.c (build_equiv_class): Likewise.
6268 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6269 * posix/regexec.c (check_node_accept_bytes): Likewise.
6270 * string/strcoll_l.c (STRCOLL): Likewise.
6271 * string/strxfrm_l.c (STRXFRM): Likewise.
6273 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6275 * Makefile.in: Remove CVSOPT handling.
6276 * configure.in: Remove use of AC_REVISION.
6277 * iconvdata/Makefile (distribute): No need to filter out CVS.
6278 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6281 2011-11-16 Andreas Schwab <schwab@redhat.com>
6283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6284 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6285 [USE_AS_STRNCASECMP_L]: Likewise.
6286 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6287 NO_TLS_DIRECT_SEG_REFS.
6288 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6289 Fix argument offsets for non-PIC.
6290 [USE_AS_STRNCASECMP_L]: Likewise.
6291 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6292 NO_TLS_DIRECT_SEG_REFS.
6294 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6296 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6298 * locale/loadlocale.c (_nl_load_locale): Likewise.
6300 2011-11-15 Andreas Schwab <schwab@redhat.com>
6302 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6303 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6304 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6305 (SYSCALL_GETTIME): Set errno on error.
6307 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6308 count references to noai6ai_cached.
6310 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6312 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6314 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6315 FD_CLOEXEC for /proc/self/maps.
6317 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6318 FD_CLOEXEC for /proc/meminfo.
6320 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6323 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6324 FD_CLOEXEC for given file.
6326 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6328 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6329 FD_CLOEXEC for /etc/hosts.
6330 (_gethtent): Likewise.
6332 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6334 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6335 cancellation and set FD_CLOEXEC for /etc/netgroup.
6337 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6338 reading /etc/publickey.
6340 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6341 allow cancellation when reading /etc/group.
6343 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6345 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6347 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6348 when using data file.
6350 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6352 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6353 (write_nis_obj): Use "c" and "e" in fopen.
6355 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6357 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6359 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6361 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6363 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6366 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6368 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6370 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6372 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6373 file parsing and set FD_CLOEXEC.
6375 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6377 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6379 2011-11-14 Andreas Schwab <schwab@redhat.com>
6381 * malloc/arena.c (arena_get2): Don't call reused_arena when
6382 _int_new_arena failed.
6384 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6386 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6387 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6388 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6389 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6390 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6391 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6392 to compile strcasecmp and strncasecmp.
6393 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6394 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6396 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6398 2011-11-13 Ulrich Drepper <drepper@gmail.com>
6400 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6401 locale-defines.sym to gen-as-const-headers.
6402 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6403 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6405 to compile strcasecmp and strncasecmp.
6406 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6407 strcasecmp_l and strncasecmp_l.
6408 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6409 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6410 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6411 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6412 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6413 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6414 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6415 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6416 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6417 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6418 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6420 2011-11-12 Ulrich Drepper <drepper@gmail.com>
6422 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6423 result of SYSDEP_GETTIME_CPU to retval.
6424 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6425 parameter list to macro. Remove trailing semicolon. Adjust users.
6427 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6430 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6432 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6434 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6435 from unused variable.
6437 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6439 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6442 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6445 * sunrpc/rpc_prot.c (rejected): Fix case value.
6447 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6448 unsigned long long int to avoid warnings in shift.
6450 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6452 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6455 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6456 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6457 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6459 * nis/nis_table.c (nis_list): Use variable of correct type for
6460 result of __follow_path call.
6462 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6464 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6465 of math functions ceil, trunc, floor, round, and sqrt, when
6466 avaliable on the platform.
6467 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6469 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6470 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6471 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6473 2011-10-30 Marek Polacek <mpolacek@redhat.com>
6475 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6476 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6478 2011-11-11 Roland McGrath <roland@hack.frob.com>
6480 * include/unistd.h: Fix __readlink return type.
6481 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6483 2011-11-11 Ulrich Drepper <drepper@gmail.com>
6485 * stdlib/ucontext.h: Undo last change for makecontext.
6487 2011-11-11 Andreas Schwab <schwab@redhat.com>
6489 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6491 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6492 * setjmp/setjmp.h: Mark functions as non-leaf.
6493 * setjmp/bits/setjmp2.h: Likewise.
6494 * stdlib/ucontext.h: Likewise.
6496 2011-11-10 Andreas Schwab <schwab@redhat.com>
6498 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6499 (reused_arena): Don't check arena limit.
6500 (arena_get2): Atomically check arena limit.
6502 2011-11-08 Ulrich Drepper <drepper@gmail.com>
6504 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6505 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6510 2011-11-07 Andreas Schwab <schwab@redhat.com>
6512 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6513 handler when locking.
6515 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6516 Fix size of allocated buffer.
6518 2011-11-04 Andreas Schwab <schwab@redhat.com>
6521 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6522 declarations for long double functions.
6523 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6525 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6527 2011-11-03 Andreas Schwab <schwab@redhat.com>
6529 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6532 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6535 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6537 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6539 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6541 * include/alloca.h (stackinfo_alloca_round): Define.
6542 (extend_alloca): Use it.
6543 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6544 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6547 * scripts/check-local-headers.sh: Ignore libaudit.h.
6549 * nscd/Makefile (extra-objs): Make recursively expanded.
6551 2011-11-01 Ulrich Drepper <drepper@gmail.com>
6553 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6554 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6556 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6557 * posix/tst-rfc3484-2.c: Likewise.
6558 * posix/tst-rfc3484-3.c: Likewise.
6560 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6562 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6564 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6565 process_vm_writev from libc using GLIBC_2.15 version.
6567 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6569 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6571 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6574 2011-10-31 Ulrich Drepper <drepper@gmail.com>
6577 * nss/getent.c (initgroups_keys): Show error message in case no group
6580 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6581 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6582 __bump_nl_timestamp.
6583 * nscd/connections (nscd_init): When host database is served open
6584 netlink socket and request notification about configuration changes.
6585 (main_loop_poll): Track netlink file descriptor and bump timestamp
6586 in case data becomes available.
6587 (main_loop_epoll): Likewise.
6588 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6589 (database_pers_head): Add extra_data fileds.
6590 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6591 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6592 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6594 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6595 in6ai data, call __free_in6ai.
6596 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6598 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6599 interface information. Reuse previous data if netlink timestamp
6601 (__bump_nl_timestamp): New function.
6602 (__free_in6ai): New function.
6604 2011-10-30 Ulrich Drepper <drepper@gmail.com>
6606 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6607 close_not_cancel_no_status here.
6608 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6610 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6613 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6616 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6617 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6618 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6620 2011-07-03 Andreas Jaeger <aj@suse.de>
6623 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6624 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6625 * math/libm-test.inc (sin_test): Add test case.
6627 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6630 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6631 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6633 * elf/chroot_canon.c (chroot_canon): Cleanups.
6635 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6638 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6639 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6641 * string/test-strchr.c: Make usable for strchrnul testing.
6642 * string/test-strchrnul.c: New file.
6643 * string/Makefile (strop-tests): Add strchrnul.
6645 * po/it.po: Update from translation team.
6646 * po/es.po: Likewise.
6648 2011-10-28 Ulrich Drepper <drepper@gmail.com>
6650 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6651 the three constants needed as parameters. Drop the others.
6652 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6653 __m128i_strloadu_tolower.
6654 Create and initialize variable zero and use it in all the places
6655 where _mm_setzero_si128 was used.
6657 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6658 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6659 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6660 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6662 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6663 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6664 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6665 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6666 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6667 __mpranred, __mptan.
6668 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6669 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6670 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6671 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6672 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6673 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6674 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6675 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6676 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6678 2011-10-28 Andreas Schwab <schwab@redhat.com>
6680 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6682 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6685 wide char related routines to wcsmbs subdir.
6687 2011-10-27 Andreas Schwab <schwab@redhat.com>
6690 * misc/sys/cdefs.h (__THROWNL): Define.
6691 * posix/unistd.h: Use __THREADNL instead of __THREAD
6692 for memory synchronization functions.
6694 2011-10-26 Roland McGrath <roland@hack.frob.com>
6697 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6699 * manual/stdio.texi (Obstack Streams): Node removed.
6701 2011-10-26 Andreas Schwab <schwab@redhat.com>
6703 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6704 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6705 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6707 * math/math_private.h (math_force_eval): Allow non-addressable
6709 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6711 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6713 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6716 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6717 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6718 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6719 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6720 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6721 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6722 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6723 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6725 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6726 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6727 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6728 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6729 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6730 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6731 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6732 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6733 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6734 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6735 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6736 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6737 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6738 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6739 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6740 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6741 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6742 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6743 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6745 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6746 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6748 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6749 place. Use VEX encoding when compiling for AVX.
6751 2011-10-25 Andreas Schwab <schwab@redhat.com>
6753 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6754 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6756 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6758 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6760 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6761 useless if() expression.
6762 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6763 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6764 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6765 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6766 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6768 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6771 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6772 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6773 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6774 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6775 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6776 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6777 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6778 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6780 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6782 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6784 2011-10-25 Andreas Schwab <schwab@redhat.com>
6786 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6788 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6790 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6792 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6793 .text section. Avoid duplicate constants.
6794 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6797 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6802 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6804 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6805 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6806 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6807 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6808 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6809 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6810 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6811 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6812 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6813 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6814 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6815 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6816 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6817 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6818 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6819 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6820 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6821 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6822 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6823 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6824 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6825 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6826 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6827 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6828 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6829 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6830 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6831 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6832 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6833 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6834 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6835 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6836 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6837 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6838 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6840 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6842 * sysdeps/x86_64/dla.h: Move to ...
6843 * sysdeps/x86_64/fpu/dla.h: ...here.
6844 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6845 situations. Use __builtin_fma only for gcc 4.6 and up.
6847 * config.make.in: Add have-mfma4 entry.
6848 * configure.in: Substitute libc_cv_cc_fma4.
6849 * math/Makefile (dbl-only-routines): Add sincostab.
6850 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6851 Use __sincostab not sincos.
6852 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6854 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6855 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6856 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6859 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6860 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6861 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6862 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6864 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6865 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6867 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6868 define aliases when function name is a macro.
6869 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6870 sysdeps/ieee754/dbl-64/sincos.tbl.
6871 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6872 fma4-enabled routines.
6873 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6874 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6875 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6876 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6877 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6878 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6879 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6880 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6881 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6882 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6883 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6884 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6885 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6886 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6887 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6888 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6889 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6890 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6891 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6892 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6893 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6894 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6895 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6896 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6897 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6898 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6899 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6900 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6901 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6902 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6904 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6906 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6907 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6911 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6912 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6913 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6915 2011-10-24 Andreas Schwab <schwab@redhat.com>
6917 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6919 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6921 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6923 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6925 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6927 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6928 Remove unused variable magic_bits.
6929 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6931 * string/strnlen.c: Define and use STRNLEN macro.
6932 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6933 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6934 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6935 * wcsmbs/wcslen.c: Define and use WCSLEN.
6936 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6937 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6938 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6939 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6940 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6941 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6942 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6944 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6947 strnlen-sse2-no-bsf.
6948 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6950 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6951 Add strnlen support.
6952 (USE_AS_STRNLEN): New macro.
6953 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6954 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6955 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6956 * sysdeps/x86_64/wcslen.S: New file.
6958 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6960 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6961 XMM-moves are used for copying on small sizes.
6963 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6965 * wcsmbs/Makefile (strop-tests): Add wcschr.
6966 * wcsmbs/test-wcschr.c: New file.
6967 * string/test-strchr.c: Update.
6971 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6973 * wcsmbs/Makefile (strop-tests): Add wcslen.
6974 * wcsmbs/test-wcslen.c: New file.
6975 * string/test-strlen.c: Update.
6979 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6981 * po/it.po: Update from translation team.
6983 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6985 * sysdeps/x86_64/wcscmp.S: Update.
6986 Fix wrong comparison semantics.
6987 wcscmp shall use signed comparison not unsigned.
6988 Don't use substraction to avoid overflow bug.
6989 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6990 * wcsmbc/wcscmp.c: Likewise.
6991 * string/test-strcmp.c: Likewise.
6992 Add new tests to check cases with negative values.
6994 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6996 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6997 * sysdeps/x86_64/dla.h: ...here. New file.
6998 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6999 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7008 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7010 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7011 __ynl_finite aliases.
7013 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7017 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7019 [DLA_FMA] (EMULV): Use DLA_FMA.
7020 [DLA_FMA] (MUL12): Use EMULV.
7021 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7022 that are not needed.
7023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7031 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7033 * math/s_nan.c: Undef __nan.
7034 * math/s_nanf.c: Undef __nanf.
7035 * math/s_nanl.c: Undef __nanl.
7036 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7039 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7041 * math/s_catan.c: Add branch predictions.
7042 * math/s_catanf.c: Likewise.
7043 * math/s_catanh.c: Likewise.
7044 * math/s_catanhf.c: Likewise.
7045 * math/s_catanhl.c: Likewise.
7046 * math/s_catanl.c: Likewise.
7047 * math/s_cexp.c: Likewise.
7048 * math/s_cexpf.c: Likewise.
7049 * math/s_cexpl.c: Likewise.
7050 * math/s_clog.c: Likewise.
7051 * math/s_clog10.c: Likewise.
7052 * math/s_clog10f.c: Likewise.
7053 * math/s_clog10l.c: Likewise.
7054 * math/s_clogf.c: Likewise.
7055 * math/s_clogl.c: Likewise.
7056 * math/s_csqrt.c: Likewise.
7057 * math/s_csqrtf.c: Likewise.
7058 * math/s_csqrtl.c: Likewise.
7059 * math/s_ctanf.c: Likewise.
7060 * math/s_ctanh.c: Likewise.
7061 * math/s_ctanhf.c: Likewise.
7062 * math/s_ctanhl.c: Likewise.
7063 * math/s_ctanl.c: Likewise.
7065 * math/math_private.h: Define __nan, __nanf, __nanl.
7066 * math/s_cacosh.c: Include <math_private.h>.
7067 * math/s_cacoshl.c: Likewise.
7068 * math/s_casinh.c: Likewise.
7069 * math/s_casinhf.c: Likewise.
7070 * math/s_casinhl.c: Likewise.
7071 * math/s_ccos.c: Rely entire on ccosh.
7072 * math/s_ccosf.c: Rely entire on ccoshf.
7073 * math/s_ccosl.c: Rely entirely on ccoshl.
7074 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7075 Remove tests for FE_INVALID.
7076 * math/s_ccoshf.c: Likewise.
7077 * math/s_ccoshl.c: Likewise.
7078 * math/s_csin.c: Likewise.
7079 * math/s_csinf.c: Likewise.
7080 * math/s_csinh.c Likewise.
7081 * math/s_csinhf.c: Likewise.
7082 * math/s_csinhl.c: Likewise.
7083 * math/s_csinl.c: Likewise.
7084 * math/s_ctan.c: Likewise.
7085 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7086 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7087 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7089 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7092 compilation problems.
7094 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7097 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7099 * sysdeps/i386/configure.in: Test for -mfma4 option.
7100 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7101 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7102 COMMON_CPUID_INDEX_80000001.
7103 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7104 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7105 use it if FMA3 is not supported.
7106 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7108 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7109 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7111 2011-10-20 Andreas Schwab <schwab@redhat.com>
7114 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7115 it would create a cycle with a link time dependency.
7117 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7119 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7121 * string/Makefile (strop-tests): Add rawmemchr.
7122 * string/test-rawmemchr.c: New file.
7124 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7125 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7126 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7127 when compiling str{,n}casecmp and when AVX is available. Hook up
7128 new optimized code in initializers.
7130 2011-10-19 Andreas Schwab <schwab@redhat.com>
7132 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7133 __feraiseexcept instead of feraiseexcept.
7135 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7137 * math/math_private.h: Define defaults for libc_fetestexcept and
7139 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7140 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7141 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7142 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7143 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7144 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7145 libc_fetestexcept and libc_feupdateenv.
7147 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7148 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7149 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7150 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7151 libc_feholdexcept_setround.
7153 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7154 Add s_nearbyint-c and s_nearbyintf-c.
7155 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7157 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7158 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7159 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7160 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7162 * math/math_private.h: Define defaults for libc_fegetround,
7163 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7164 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7165 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7166 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7167 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7169 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7170 Remove comments and hacks for old compiler versions.
7171 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7172 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7175 2011-10-18 Andreas Schwab <schwab@redhat.com>
7177 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7178 (__feraiseexcept_renamed): Add __NTH.
7179 (feraiseexcept): Add __NTH. Rename local variables to fix
7180 namespace violations.
7182 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7184 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7186 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7188 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7189 recently added interfaces.
7190 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7192 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7193 about macro parameter expansion.
7195 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7196 __NO_MATH_INLINES is defined. Cleanups.
7198 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7199 and __floorf is target has SSE4.1.
7200 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7201 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7202 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7203 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7205 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7209 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7211 2011-10-17 Andreas Schwab <schwab@redhat.com>
7213 * misc/sys/cdefs.h: Fix last change.
7215 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7218 2011-10-16 Ulrich Drepper <drepper@gmail.com>
7220 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7222 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7223 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7224 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7225 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7226 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7227 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7228 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7229 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7230 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7231 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7232 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7233 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7234 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7235 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7236 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7237 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7238 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7239 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7240 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7241 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7242 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7243 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7245 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7246 ceil, ceilf, floor, floorf.
7248 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7249 Perform IRELATIVE relocations last.
7251 * elf/do-rel.h: Add another parameter nrelative, replacing the
7252 local variable with the same name. Change name of the function
7253 to end in Rel or Rela (uppercase).
7254 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7255 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7256 elf_dynamic_do_##reloc function.
7258 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7260 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7261 is sufficient, at least on modern CPUs.
7263 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7265 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7266 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7268 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7270 * math/bits/math-finite.h: Add entries for exp.
7271 * math/e_expl.c: Add __*_finite alias.
7272 * sysdeps/i386/fpu/e_exp.S: Likewise.
7273 * sysdeps/i386/fpu/e_expf.S: Likewise.
7274 * sysdeps/i386/fpu/e_expl.c: Likewise.
7275 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7276 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7279 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7280 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7281 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7283 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7284 is sufficient, at least on modern CPUs.
7286 * ctype/ctype-info.c (__ctype_init): Define.
7287 * include/ctype.h (__ctype_init): Declare.
7288 (__ctype_b_loc): The variable is always initialized.
7289 (__ctype_toupper_loc): Likewise.
7290 (__ctype_tolower_loc): Likewise.
7291 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7292 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7294 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7296 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7298 * configure.in: Also look in $cxxmachine/include for C++ system
7301 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7303 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7304 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7305 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7306 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7307 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7308 (USE_AS_WMEMCMP): New macro.
7310 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7311 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7312 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7313 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7314 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7315 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7316 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7317 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7318 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7319 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7320 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7321 (USE_AS_WMEMCMP): New macro.
7322 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7323 * sysdeps/string/test-memcmp.c: Update.
7326 * wcsmbs/wmemcmp.c: Update.
7327 (WMEMCMP): New macro.
7330 2011-10-12 Andreas Jaeger <aj@suse.de>
7333 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7335 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7337 * libio/iofwide.c (do_length): Avoid warning.
7339 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7341 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7343 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7345 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7346 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7347 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7348 * sysdeps/i386/i686/fpu/e_log.S: New file.
7349 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7350 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7352 * ctype/ctype.h: Add support for inlined isXXX functions when
7355 2011-10-14 Andreas Schwab <schwab@redhat.com>
7357 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7359 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7361 2011-10-13 Roland McGrath <roland@hack.frob.com>
7364 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7366 2011-10-13 Andreas Schwab <schwab@redhat.com>
7368 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7369 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7372 * sysdeps/x86_64/memrchr.S: Check for zero size.
7374 * string/stratcliff.c: Add memrchr tests.
7376 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7379 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7380 rawmemchr-sse2 rawmemchr-sse2-bsf.
7381 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7382 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7383 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7384 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7385 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7386 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7387 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7388 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7389 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7390 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7391 * string/memrchr.c (MEMRCHR): New macro.
7393 2011-10-12 Ulrich Drepper <drepper@gmail.com>
7395 Add integration with gcc's -ffinite-math-only and optimize wrapper
7397 * Versions.def: Define GLIBC_2.15 version for libm.
7398 * math/Makefile (headers): Add bits/math-finite.h.
7399 * math/bits/math-finite.h: New file.
7400 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7401 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7402 * math/e_acoshl.c: Add __*_finite alias.
7403 * math/e_acosl.c: Likewise.
7404 * math/e_asinl.c: Likewise.
7405 * math/e_atan2l.c: Likewise.
7406 * math/e_atanhl.c: Likewise.
7407 * math/e_coshl.c: Likewise.
7408 * math/e_exp10.c: Likewise.
7409 * math/e_exp10f.c: Likewise.
7410 * math/e_exp10l.c: Likewise.
7411 * math/e_exp2l.c: Likewise.
7412 * math/e_fmodl.c: Likewise.
7413 * math/e_gammal_r.c: Likewise.
7414 * math/e_hypotl.c: Likewise.
7415 * math/e_j0l.c: Likewise.
7416 * math/e_j1l.c: Likewise.
7417 * math/e_jnl.c: Likewise.
7418 * math/e_lgammal_r.c: Likewise.
7419 * math/e_log10l.c: Likewise.
7420 * math/e_log2l.c: Likewise.
7421 * math/e_logl.c: Likewise.
7422 * math/e_powl.c: Likewise.
7423 * math/e_sinhl.c: Likewise.
7424 * math/e_sqrtl.c: Likewise.
7425 * math/e_scalb.c: Completely rewritten and optimized.
7426 * math/e_scalbf.c: Likewise.
7427 * math/e_scalbl.c: Likewise.
7428 * math/w_acos.c: Likewise.
7429 * math/w_acosf.c: Likewise.
7430 * math/w_acosl.c: Likewise.
7431 * math/w_acosh.c: Likewise.
7432 * math/w_acoshf.c: Likewise.
7433 * math/w_acoshl.c: Likewise.
7434 * math/w_asin.c: Likewise.
7435 * math/w_asinf.c: Likewise.
7436 * math/w_asinl.c: Likewise.
7437 * math/w_atan2.c: Likewise.
7438 * math/w_atan2f.c: Likewise.
7439 * math/w_atan2l.c: Likewise.
7440 * math/w_atanh.c: Likewise.
7441 * math/w_atanhf.c: Likewise.
7442 * math/w_atanhl.c: Likewise.
7443 * math/w_exp10.c: Likewise.
7444 * math/w_exp10f.c: Likewise.
7445 * math/w_exp10l.c: Likewise.
7446 * math/w_fmod.c: Likewise.
7447 * math/w_fmodf.c: Likewise.
7448 * math/w_fmodl.c: Likewise.
7449 * math/w_j0.c: Likewise.
7450 * math/w_j0f.c: Likewise.
7451 * math/w_j0l.c: Likewise.
7452 * math/w_j1.c: Likewise.
7453 * math/w_j1f.c: Likewise.
7454 * math/w_j1l.c: Likewise.
7455 * math/w_jn.c: Likewise.
7456 * math/w_jnf.c: Likewise.
7457 * math/w_log.c: Likewise.
7458 * math/w_logf.c: Likewise.
7459 * math/w_logl.c: Likewise.
7460 * math/w_log10.c: Likewise.
7461 * math/w_log10f.c: Likewise.
7462 * math/w_log10l.c: Likewise.
7463 * math/w_log2.c: Likewise.
7464 * math/w_log2f.c: Likewise.
7465 * math/w_log2l.c: Likewise.
7466 * math/w_pow.c: Likewise.
7467 * math/w_powf.c: Likewise.
7468 * math/w_powl.c: Likewise.
7469 * math/w_remainder.c: Likewise.
7470 * math/w_remainderf.c: Likewise.
7471 * math/w_remainderl.c: Likewise.
7472 * math/w_scalb.c: Likewise.
7473 * math/w_scalbf.c: Likewise.
7474 * math/w_scalbl.c: Likewise.
7475 * math/w_sqrt.c: Likewise.
7476 * math/w_sqrtf.c: Likewise.
7477 * math/w_sqrtl.c: Likewise.
7478 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7479 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7481 * math/math_private.h: Declare __kernel_standard_f.
7482 * math/w_cosh.c: Remove cruft and optimize a bit.
7483 * math/w_coshf.c: Likewise.
7484 * math/w_coshl.c: Likewise.
7485 * math/w_exp2.c: Likewise.
7486 * math/w_exp2f.c: Likewise.
7487 * math/w_exp2l.c: Likewise.
7488 * math/w_hypot.c: Likewise.
7489 * math/w_hypotf.c: Likewise.
7490 * math/w_hypotl.c: Likewise.
7491 * math/w_lgamma.c: Likewise.
7492 * math/w_lgamma_r.c: Likewise.
7493 * math/w_lgammaf.c: Likewise.
7494 * math/w_lgammaf_r.c: Likewise.
7495 * math/w_lgammal.c: Likewise.
7496 * math/w_lgammal_r.c: Likewise.
7497 * math/w_sinh.c: Likewise.
7498 * math/w_sinhf.c: Likewise.
7499 * math/w_sinhl.c: Likewise.
7500 * math/w_tgamma.c: Likewise.
7501 * math/w_tgammaf.c: Likewise.
7502 * math/w_tgammal.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7504 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7505 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7506 Minor optimizations. Pretty printing. Remove cruft.
7507 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7508 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7509 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7510 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7511 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7512 * sysdeps/i386/fpu/e_asin.S: Likewise.
7513 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7514 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7515 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7516 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7517 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7518 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7519 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7520 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7521 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7522 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7523 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7524 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7525 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7526 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7527 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7528 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7529 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7530 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7531 * sysdeps/i386/fpu/e_log.S: Likewise.
7532 * sysdeps/i386/fpu/e_log10.S: Likewise.
7533 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7534 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7535 * sysdeps/i386/fpu/e_log2.S: Likewise.
7536 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7537 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7538 * sysdeps/i386/fpu/e_logf.S: Likewise.
7539 * sysdeps/i386/fpu/e_logl.S: Likewise.
7540 * sysdeps/i386/fpu/e_pow.S: Likewise.
7541 * sysdeps/i386/fpu/e_powf.S: Likewise.
7542 * sysdeps/i386/fpu/e_powl.S: Likewise.
7543 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7544 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7545 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7546 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7547 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7548 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7549 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7550 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7551 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7559 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7562 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7569 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7573 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7574 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7575 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7576 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7577 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7578 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7579 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7580 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7581 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7582 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7583 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7584 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7585 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7586 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7587 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7588 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7589 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7590 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7591 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7592 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7593 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7620 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7621 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7632 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7635 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7636 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7637 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7638 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7640 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7641 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7643 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7644 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7645 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7646 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7647 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7648 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7649 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7650 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7651 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7652 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7653 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7654 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7655 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7656 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7657 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7658 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7659 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7660 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7661 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7662 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7663 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7664 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7665 (__isnanf): Likewise.
7666 (__isinf_ns): Likewise.
7667 (__isinf_nsf): Likewise.
7668 (__finite): Likewise.
7669 (__finitef): Likewise.
7670 (__ieee754_sqrt): Define as macro.
7671 (__ieee754_sqrtf): Define as macro.
7672 (__ieee754_sqrtl): Define as macro.
7673 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7675 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7676 __FINITE_MATH_ONLY__ consistent.
7677 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7679 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7681 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7684 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7686 2011-10-09 Ulrich Drepper <drepper@gmail.com>
7688 * po/ja.po: Update from translation team.
7690 2011-10-08 Roland McGrath <roland@hack.frob.com>
7692 * locale/programs/locarchive.c (prepare_address_space): New function.
7693 (create_archive, enlarge_archive, open_archive): Use it.
7695 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7696 inside [SHARED], where it is used.
7698 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7700 * nss/getent.c (netgroup_keys): Remove unused variable.
7701 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7703 2011-10-08 Ulrich Drepper <drepper@gmail.com>
7705 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7706 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7707 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7708 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7709 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7710 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7711 * math/Makefile (libm-calls): Add s_isinf_ns.
7712 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7713 * math/multc3.c: Likewise.
7714 * math/s_casin.c: Likewise.
7715 * math/s_casinf.c: Likewise.
7716 * math/s_casinl.c: Likewise.
7717 * math/s_ccos.c: Likewise.
7718 * math/s_ccosf.c: Likewise.
7719 * math/s_ccosl.c: Likewise.
7720 * math/s_ctan.c: Likewise.
7721 * math/s_ctanf.c: Likewise.
7722 * math/s_ctanh.c: Likewise.
7723 * math/s_ctanhf.c: Likewise.
7724 * math/s_ctanhl.c: Likewise.
7725 * math/s_ctanl.c: Likewise.
7726 * math/w_fmod.c: Likewise.
7727 * math/w_fmodf.c: Likewise.
7728 * math/w_fmodl.c: Likewise.
7729 * math/w_remainder.c: Likewise.
7730 * math/w_remainderf.c: Likewise.
7731 * math/w_remainderl.c: Likewise.
7732 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7733 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7734 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7735 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7736 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7737 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7738 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7739 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7741 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7743 * stdio-common/printf_fphex.c: Likewise.
7744 * stdio-common/printf_size.c: Likewise.
7746 * math/e_exp10.c: Include math_private.h using <...> not "...".
7747 * math/e_exp10f.c: Likewise.
7748 * math/e_exp10l.c: Likewise.
7749 * math/e_exp2l.c: Likewise.
7750 * math/e_j0l.c: Likewise.
7751 * math/e_j1l.c: Likewise.
7752 * math/e_jnl.c: Likewise.
7753 * math/e_lgammal_r.c: Likewise.
7754 * math/e_rem_pio2l.c: Likewise.
7755 * math/e_scalb.c: Likewise.
7756 * math/e_scalbf.c: Likewise.
7757 * math/e_scalbl.c: Likewise.
7758 * math/k_cosl.c: Likewise.
7759 * math/k_sinl.c: Likewise.
7760 * math/k_tanl.c: Likewise.
7761 * math/s_cacoshf.c: Likewise.
7762 * math/s_catan.c: Likewise.
7763 * math/s_catanf.c: Likewise.
7764 * math/s_catanh.c: Likewise.
7765 * math/s_catanhf.c: Likewise.
7766 * math/s_catanhl.c: Likewise.
7767 * math/s_catanl.c: Likewise.
7768 * math/s_ccosh.c: Likewise.
7769 * math/s_ccoshf.c: Likewise.
7770 * math/s_ccoshl.c: Likewise.
7771 * math/s_cexp.c: Likewise.
7772 * math/s_cexpf.c: Likewise.
7773 * math/s_cexpl.c: Likewise.
7774 * math/s_clog.c: Likewise.
7775 * math/s_clog10.c: Likewise.
7776 * math/s_clog10f.c: Likewise.
7777 * math/s_clog10l.c: Likewise.
7778 * math/s_clogf.c: Likewise.
7779 * math/s_clogl.c: Likewise.
7780 * math/s_csin.c: Likewise.
7781 * math/s_csinf.c: Likewise.
7782 * math/s_csinh.c: Likewise.
7783 * math/s_csinhf.c: Likewise.
7784 * math/s_csinhl.c: Likewise.
7785 * math/s_csinl.c: Likewise.
7786 * math/s_csqrt.c: Likewise.
7787 * math/s_csqrtf.c: Likewise.
7788 * math/s_csqrtl.c: Likewise.
7789 * math/s_ctan.c: Likewise.
7790 * math/s_ctanf.c: Likewise.
7791 * math/s_ctanh.c: Likewise.
7792 * math/s_ctanhf.c: Likewise.
7793 * math/s_ctanhl.c: Likewise.
7794 * math/s_ctanl.c: Likewise.
7795 * math/s_ldexp.c: Likewise.
7796 * math/s_ldexpf.c: Likewise.
7797 * math/s_ldexpl.c: Likewise.
7798 * math/s_significand.c: Likewise.
7799 * math/s_significandf.c: Likewise.
7800 * math/s_significandl.c: Likewise.
7801 * math/w_acos.c: Likewise.
7802 * math/w_acosf.c: Likewise.
7803 * math/w_acosh.c: Likewise.
7804 * math/w_acoshf.c: Likewise.
7805 * math/w_acoshl.c: Likewise.
7806 * math/w_acosl.c: Likewise.
7807 * math/w_asin.c: Likewise.
7808 * math/w_asinf.c: Likewise.
7809 * math/w_asinl.c: Likewise.
7810 * math/w_atan2.c: Likewise.
7811 * math/w_atan2f.c: Likewise.
7812 * math/w_atan2l.c: Likewise.
7813 * math/w_atanh.c: Likewise.
7814 * math/w_atanhf.c: Likewise.
7815 * math/w_atanhl.c: Likewise.
7816 * math/w_cosh.c: Likewise.
7817 * math/w_coshf.c: Likewise.
7818 * math/w_coshl.c: Likewise.
7819 * math/w_dremf.c: Likewise.
7820 * math/w_exp10.c: Likewise.
7821 * math/w_exp10f.c: Likewise.
7822 * math/w_exp10l.c: Likewise.
7823 * math/w_exp2.c: Likewise.
7824 * math/w_exp2f.c: Likewise.
7825 * math/w_fmod.c: Likewise.
7826 * math/w_fmodf.c: Likewise.
7827 * math/w_fmodl.c: Likewise.
7828 * math/w_hypot.c: Likewise.
7829 * math/w_hypotf.c: Likewise.
7830 * math/w_hypotl.c: Likewise.
7831 * math/w_j0.c: Likewise.
7832 * math/w_j0f.c: Likewise.
7833 * math/w_j0l.c: Likewise.
7834 * math/w_j1.c: Likewise.
7835 * math/w_j1f.c: Likewise.
7836 * math/w_j1l.c: Likewise.
7837 * math/w_jn.c: Likewise.
7838 * math/w_jnf.c: Likewise.
7839 * math/w_jnl.c: Likewise.
7840 * math/w_lgamma.c: Likewise.
7841 * math/w_lgamma_r.c: Likewise.
7842 * math/w_lgammaf.c: Likewise.
7843 * math/w_lgammaf_r.c: Likewise.
7844 * math/w_lgammal.c: Likewise.
7845 * math/w_lgammal_r.c: Likewise.
7846 * math/w_log.c: Likewise.
7847 * math/w_log10.c: Likewise.
7848 * math/w_log10f.c: Likewise.
7849 * math/w_log10l.c: Likewise.
7850 * math/w_log2.c: Likewise.
7851 * math/w_log2f.c: Likewise.
7852 * math/w_log2l.c: Likewise.
7853 * math/w_logf.c: Likewise.
7854 * math/w_logl.c: Likewise.
7855 * math/w_pow.c: Likewise.
7856 * math/w_powf.c: Likewise.
7857 * math/w_powl.c: Likewise.
7858 * math/w_remainder.c: Likewise.
7859 * math/w_remainderf.c: Likewise.
7860 * math/w_remainderl.c: Likewise.
7861 * math/w_scalb.c: Likewise.
7862 * math/w_scalbf.c: Likewise.
7863 * math/w_scalbl.c: Likewise.
7864 * math/w_sinh.c: Likewise.
7865 * math/w_sinhf.c: Likewise.
7866 * math/w_sinhl.c: Likewise.
7867 * math/w_sqrt.c: Likewise.
7868 * math/w_sqrtf.c: Likewise.
7869 * math/w_sqrtl.c: Likewise.
7870 * math/w_tgamma.c: Likewise.
7871 * math/w_tgammaf.c: Likewise.
7872 * math/w_tgammal.c: Likewise.
7874 * po/ja.po: Update from translation team.
7876 2011-09-29 Andreas Jaeger <aj@suse.de>
7879 * sunrpc/netname.c (netname2host): Fix logic.
7883 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7885 * math/w_remainder.c (__remainder): Likewise.
7886 * math/w_remainderf.c (__remainderf): Likewise.
7887 * math/libm-test.inc (remainder_test): Add test cases.
7889 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7891 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7894 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7896 * string/test-memcmp.c: Avoid unncessary #defines.
7897 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7899 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7901 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7902 Use new sse2 version for core i3 - i7 as it's faster
7904 (bit_Prefer_PMINUB_for_stringop): New.
7905 * sysdeps/x86_64/rawmemchr.S: Update.
7906 Replace with faster SSE2 version.
7907 * sysdeps/x86_64/memrchr.S: New file.
7908 * sysdeps/x86_64/memchr.S: Update.
7909 Replace with faster SSE2 version.
7911 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7913 * elf/dl-load.c (lose): Add cast to avoid warning.
7915 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7917 * po/ca.po: Update from translation team.
7919 * inet/getnetgrent_r.c: Hook up nscd.
7920 * nscd/Makefile (routines): Add nscd_netgroup.
7921 (nscd-modules): Add netgroupcache.
7922 (CFLAGS-netgroupcache.c): Define.
7923 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7924 (cache_search): Add const to second parameter.
7925 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7927 (dbs): Add netgrdb entry.
7928 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7929 (verify_persistent_db): Handle netgrdb.
7930 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7931 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7933 (netgroup_response_header): Define.
7934 (innetgroup_response_header): Define.
7935 (datahead): Add netgroup_response_header and innetgroup_response_header
7937 * nscd/nscd.conf: Add entries for netgroup cache.
7938 * nscd/nscd.h (dbtype): Add netgrdb.
7939 (_PATH_NSCD_NETGROUP_DB): Define.
7940 (netgroup_iov_disabled): Declare.
7941 (xmalloc, xcalloc, xrealloc): Move declarations here.
7942 (cache_search): Adjust prototype.
7943 Add netgroup-related prototypes.
7944 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7945 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7946 (__nscd_innetgr): Declare.
7947 * nscd/selinux.c (perms): Use access_vector_t as element type and
7948 add netgroup-related initializers.
7949 * nscd/netgroupcache.c: New file.
7950 * nscd/nscd_netgroup.c: New file.
7951 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7952 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7953 For four parameters use innetgr.
7954 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7955 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7956 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7957 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7959 * nscd/connections.c (register_traced_file): Don't register file
7960 for disabled databases.
7962 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7964 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7966 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7967 from tree and freeing node.
7969 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7971 * nss/nsswitch.c (__nss_database_lookup): Handle
7972 nss_parse_service_list out of memory case.
7974 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7976 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7979 2011-10-04 Andreas Schwab <schwab@redhat.com>
7981 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7982 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7984 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7985 elf_machine_rela, elf_machine_lazy_rel.
7986 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7987 (ELF_DYNAMIC_DO_REL): Likewise.
7988 (ELF_DYNAMIC_DO_RELA): Likewise.
7989 (ELF_DYNAMIC_RELOCATE): Likewise.
7990 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7991 to ELF_DYNAMIC_DO_REL.
7992 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7993 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7994 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7996 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7997 skip_ifunc, don't call ifunc function if non-zero.
7998 (elf_machine_rela): Likewise.
7999 (elf_machine_lazy_rel): Likewise.
8000 (elf_machine_lazy_rela): Likewise.
8001 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8002 (elf_machine_lazy_rel): Likewise.
8003 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8005 (elf_machine_lazy_rel): Likewise.
8006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8008 (elf_machine_lazy_rel): Likewise.
8009 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8010 (elf_machine_lazy_rel): Likewise.
8011 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8012 (elf_machine_lazy_rel): Likewise.
8013 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8014 (elf_machine_lazy_rel): Likewise.
8015 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8016 (elf_machine_lazy_rel): Likewise.
8017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8018 (elf_machine_lazy_rel): Likewise.
8019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8020 (elf_machine_lazy_rel): Likewise.
8022 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8024 * nss/nss_files/files-init.c (_nss_files_init): Use static
8025 initialization for all the *_traced_file variables.
8027 2011-09-28 Andreas Schwab <schwab@redhat.com>
8029 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8031 2011-09-27 Roland McGrath <roland@hack.frob.com>
8034 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8036 2011-09-27 Andreas Schwab <schwab@redhat.com>
8038 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8039 Reread the line before reparsing it.
8041 2011-09-26 Andreas Schwab <schwab@redhat.com>
8043 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8045 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8046 Maxim Kuvyrkov <maxim@codesourcery.com>
8047 Joseph Myers <joseph@codesourcery.com>
8049 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8050 if needed for __stack_chk_guard.
8052 2011-09-19 Roland McGrath <roland@hack.frob.com>
8054 * sysdeps/posix/spawni.c (script_execute): Always define it.
8055 It will be optimized away if unused.
8056 (maybe_script_execute): New function.
8057 (__spawni): Call it.
8059 * Makerules: Don't include tls.make.
8060 (config-tls): Always set to thread.
8061 * tls.make.c: File removed.
8063 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8065 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8066 * config.make.in (CPPFLAGS-config): New substituted variable.
8068 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8070 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8073 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8074 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8076 2011-09-15 Roland McGrath <roland@hack.frob.com>
8078 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8079 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8080 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8081 (CALL_FAIL): Likewise.
8082 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8083 (CALL_FAIL): Macro removed.
8084 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8086 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8088 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8089 for __FINITE_MATH_ONLY__ == 1.
8091 2011-09-15 Andreas Schwab <schwab@redhat.com>
8093 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8094 __ieee754_sqrt instead of sqrt.
8095 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8096 __ieee754_sqrtf instead of sqrtf.
8097 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8098 __floorf instead of floorf.
8099 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8100 __floorf, __truncf instead of floorf, truncf.
8102 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8104 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8106 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8107 __extern_always_inline.
8108 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8111 2011-09-14 Andreas Schwab <schwab@redhat.com>
8113 * elf/rtld.c (dl_main): Also relocate in dependency order when
8114 doing symbol dependency testing.
8116 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8118 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8119 Always define `refsym'.
8121 2011-09-13 Andreas Schwab <schwab@redhat.com>
8123 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8124 (__FD_ELT): Renamed from __FDELT.
8125 * misc/bits/select2.h (__FD_ELT): Likewise.
8126 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8127 __FD_MASK instead of __FDELT, __FDMASK.
8128 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8130 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8133 * elf/Makefile (gen-ldd): Fix pattern.
8135 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8136 (init_tls): Likewise.
8138 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8140 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8142 2011-09-12 Andreas Schwab <schwab@redhat.com>
8144 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8145 `struct cmsghdr *' instead of `void *'.
8146 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8149 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8151 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8153 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8156 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8158 * configure.in: Remove --with-tls option.
8159 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8160 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8161 out in case it is missing.
8162 * sysdeps/ia64/elf/configure.in: Likewise.
8163 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8164 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8165 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8166 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8167 * sysdeps/sh/elf/configure.in: Likewise.
8168 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8169 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8170 * sysdeps/x86_64/elf/configure.in: Likewise.
8171 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8172 * sysdeps/mach/hurd/tls.h: Likewise.
8175 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8178 * configure.in: Fix use of AC_INIT.
8180 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8182 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8184 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8186 * malloc/hooks.c: Likewise.
8189 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8190 variables statically.
8191 (narenas): Initialize.
8192 (list_lock): Initialize.
8193 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8194 initializtion of main_arena and list_lock. Small cleanups.
8195 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8196 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8197 Add initializers to main_arena and mp_.
8198 (malloc_state): Remove pagesize member. Change all users to use
8201 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8202 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8203 is always initialized.
8205 * malloc/malloc.c: Removed unused configurations and dead code.
8206 * malloc/arena.c: Likewise.
8207 * malloc/hooks.c: Likewise.
8208 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8210 * include/tls.h: Removed. USE___THREAD must always be defined.
8211 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8212 * elf/dl-libc.c: Likewise.
8213 * elf/dl-tsd.c: Likewise.
8214 * include/errno.h: Likewise.
8215 * include/netdb.h: Likewise.
8216 * include/resolv.h: Likewise.
8217 * inet/herrno-loc.c: Likewise.
8218 * inet/herrno.c: Likewise.
8219 * malloc/arena.c: Likewise.
8220 * malloc/hooks.c: Likewise.
8221 * malloc/malloc.c: Likewise.
8222 * resolv/res-state.c: Likewise.
8223 * resolv/res_libc.c: Likewise.
8224 * sysdeps/i386/dl-machine.h: Likewise.
8225 * sysdeps/ia64/dl-machine.h: Likewise.
8226 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8227 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8228 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8229 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8230 * sysdeps/sh/dl-machine.h: Likewise.
8231 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8232 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8233 * sysdeps/unix/i386/sysdep.S: Likewise.
8234 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8235 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8236 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8237 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8238 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8239 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8240 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8241 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8242 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8244 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8245 * sysdeps/x86_64/dl-machine.h: Likewise.
8246 * tls.make.c: Likewise.
8248 * configure.in: Remove --with-__thread option. Make tests for
8249 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8250 tls_model attribute fail if no support is available. Remove
8252 * Makeconfig: Adjust for dropped configure option. All features are
8254 * Makerules: Likewise.
8255 * Versions.def: Likewise.
8256 * argp/argp-fmtstream.c: Likewise.
8257 * argp/argp-fmtstream.h: Likewise.
8258 * argp/argp-help.c: Likewise.
8259 * assert/assert.c: Likewise.
8260 * config.h.in: Likewise.
8261 * config.make.in: Likewise.
8262 * configure: Likewise.
8263 * configure.in: Likewise.
8264 * csu/Versions: Likewise.
8265 * csu/init.c: Likewise.
8266 * elf/tst-audit2.c: Likewise.
8267 * elf/tst-tls10.c: Likewise.
8268 * elf/tst-tls10.h: Likewise.
8269 * elf/tst-tls11.c: Likewise.
8270 * elf/tst-tls12.c: Likewise.
8271 * elf/tst-tls14.c: Likewise.
8272 * elf/tst-tlsmod11.c: Likewise.
8273 * elf/tst-tlsmod12.c: Likewise.
8274 * elf/tst-tlsmod13.c: Likewise.
8275 * elf/tst-tlsmod13a.c: Likewise.
8276 * elf/tst-tlsmod14a.c: Likewise.
8277 * elf/tst-tlsmod15b.c: Likewise.
8278 * elf/tst-tlsmod16a.c: Likewise.
8279 * elf/tst-tlsmod16b.c: Likewise.
8280 * elf/tst-tlsmod7.c: Likewise.
8281 * elf/tst-tlsmod8.c: Likewise.
8282 * elf/tst-tlsmod9.c: Likewise.
8283 * gmon/gmon.c: Likewise.
8284 * grp/fgetgrent_r.c: Likewise.
8285 * grp/putgrent.c: Likewise.
8286 * hurd/fopenport.c: Likewise.
8287 * include/libc-symbols.h: Likewise.
8288 * include/tls.h: Likewise.
8289 * intl/gettextP.h: Likewise.
8290 * intl/loadinfo.h: Likewise.
8291 * locale/global-locale.c: Likewise.
8292 * locale/localeinfo.h: Likewise.
8293 * mach/devstream.c: Likewise.
8294 * malloc/arena.c: Likewise.
8295 * malloc/set-freeres.c: Likewise.
8296 * misc/err.c: Likewise.
8297 * misc/getttyent.c: Likewise.
8298 * misc/mntent_r.c: Likewise.
8299 * posix/getopt.c: Likewise.
8300 * posix/wordexp.c: Likewise.
8301 * pwd/fgetpwent_r.c: Likewise.
8302 * resolv/Versions: Likewise.
8303 * resolv/res_hconf.c: Likewise.
8304 * shadow/fgetspent_r.c: Likewise.
8305 * shadow/putspent.c: Likewise.
8306 * stdio-common/printf_fphex.c: Likewise.
8307 * stdio-common/tmpfile.c: Likewise.
8308 * stdlib/abort.c: Likewise.
8309 * stdlib/fmtmsg.c: Likewise.
8310 * sunrpc/auth_unix.c: Likewise.
8311 * sunrpc/clnt_perr.c: Likewise.
8312 * sunrpc/clnt_tcp.c: Likewise.
8313 * sunrpc/clnt_udp.c: Likewise.
8314 * sunrpc/clnt_unix.c: Likewise.
8315 * sunrpc/openchild.c: Likewise.
8316 * sunrpc/svc_simple.c: Likewise.
8317 * sunrpc/svc_tcp.c: Likewise.
8318 * sunrpc/svc_udp.c: Likewise.
8319 * sunrpc/svc_unix.c: Likewise.
8320 * sunrpc/xdr.c: Likewise.
8321 * sunrpc/xdr_array.c: Likewise.
8322 * sunrpc/xdr_rec.c: Likewise.
8323 * sunrpc/xdr_ref.c: Likewise.
8324 * sunrpc/xdr_stdio.c: Likewise.
8326 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8328 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8330 2011-07-03 Andreas Jaeger <aj@suse.de>
8332 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8333 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8334 regenerate with gen-libm-tests.pl.
8336 2010-05-12 Petr Baudis <pasky@suse.cz>
8339 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8340 around j0() zero points by switching to j1().
8341 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8342 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8346 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8348 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8350 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8352 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8353 Patch in part by Pavel Roskin <proski@gnu.org>.
8356 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8358 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8359 Free memory block if necessary.
8362 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8363 be NULL. Don't lock in this case.
8365 2011-09-09 Roland McGrath <roland@hack.frob.com>
8367 * elf/elf.h (ELFOSABI_GNU): New macro.
8368 (ELFOSABI_LINUX): Define to that.
8370 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8372 * string/strncat.c (strncat): Undef the symbol in case it has been
8373 defined in bits/string.h.
8375 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8377 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8379 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8382 2011-08-17 Andreas Jaeger <aj@suse.de>
8384 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8386 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8387 Ian Lance Taylor <iant@google.com>
8389 * math/libm-test.inc (lround_test): New testcase.
8390 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8392 2011-09-08 Ulrich Drepper <drepper@gmail.com>
8394 * Makefile: Remove support for automatic cvs check-ins.
8395 * Makerules: Likewise.
8396 * config.make.in: Likewise.
8397 * configure.in: Likewise.
8398 * intl/Makefile: Likewise.
8399 * locale/Makefile: Likewise.
8400 * po/Makefile: Likewise.
8401 * posix/Makefile: Likewise.
8402 * sysdeps/gnu/Makefile: Likewise.
8403 * sysdeps/mach/hurd/Makefile: Likewise.
8404 * sysdeps/sparc/sparc32/Makefile: Likewise.
8407 * posix/Makefile (bug-regex32-ENV): Define.
8408 Patch by John Stanley <jpsinthemix@verizon.net>.
8410 * misc/Makefile (headers): Add bits/select2.h.
8411 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8412 * misc/bits/select2.h: New file.
8413 * include/bits/select2.h: New file.
8414 * debug/Makefile (routines): Add fdelt_chk.
8415 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8416 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8418 * debug/fdelt_chk.c: New file.
8420 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8421 * wcsmbs/test-wmemcmp.c: Likewise.
8422 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8423 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8425 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8427 * string/Makefile (strop-tests): Add memcmp.
8428 * string/test-wmemcmp.c: New file.
8429 * string/test-memcmp.c: Add wmemcmp support.
8431 2011-09-08 Roland McGrath <roland@hack.frob.com>
8434 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8437 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8438 garbage value in a __mach_port_mod_refs call in the cases of the
8439 task-self and thread-self ports.
8441 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8443 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8445 2011-09-08 Andreas Schwab <schwab@redhat.com>
8447 * elf/dl-load.c (lose): Check for non-null L.
8449 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8451 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8453 * elf/dl-libc.c (dlerror_run): Pass back error code from
8457 * elf/dl-load.c (lose): Free l_origin if it is valid.
8459 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8461 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8462 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8463 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8464 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8465 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8466 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8468 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8470 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8471 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8472 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8473 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8474 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8475 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8476 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8477 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8478 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8479 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8481 2011-08-15 Alan Modra <amodra@gmail.com>
8484 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8485 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8486 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8487 ppc_mcount to static-only-routines.
8488 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8490 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8491 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8493 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8495 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8496 for finite and infinity parameters.
8498 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8500 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8501 and add nop instructions for throughput optimization.
8502 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8504 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8506 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8507 aligned copy for power7 with vector-scalar instructions.
8508 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8510 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8515 2011-09-07 Andreas Schwab <schwab@redhat.com>
8518 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8521 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8523 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8524 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8525 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8526 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8529 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8531 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8532 Forgot to demangle the pointer.
8534 * sysdeps/i386/sysdep.h: Define atom_text_section.
8535 * sysdeps/x86_64/sysdep.h: Likewise.
8536 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8537 section with atom_text_section.
8538 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8539 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8540 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8541 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8542 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8544 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8545 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8546 already be defined. Change to take two parameters and don't assign
8547 result to variable. Adjust all users.
8548 Define INTERNAL_GETTIME if not already defined.
8549 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8551 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8552 HAVE_CLOCK_GETTIME_VSYSCALL.
8553 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8555 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8556 gettimeofday vsyscall, just use time.
8558 2011-09-06 Andreas Schwab <schwab@redhat.com>
8560 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8563 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8565 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8567 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8569 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8570 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8571 syscall if possible.
8573 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8575 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8576 e_ident. Don't pass to find_mapsXX.
8577 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8579 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8582 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8583 * sysdeps/x86_64/multiarch/strchr.S: Update.
8584 Check bit_slow_BSF bit.
8585 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8586 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8587 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8589 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8592 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8595 (__spawni): Change last parameter to be flag. Test
8596 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8597 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8598 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8599 * posix/spawni.c: Likewise.
8600 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8601 * posix/spawnp.c: Likewise. Change normal version to use
8602 SPAWN_XFLAGS_USE_PATH.
8603 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8604 SPAWN_XFLAGS_TRY_SHELL.
8607 * posix/glob.h: Remove gcc 1.x support.
8610 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8612 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8614 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8615 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8617 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8618 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8619 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8620 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8621 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8622 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8624 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8626 * sysdeps/x86_64/wcscmp.S: New file.
8628 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8629 wcscmp-c wcscmp-sse2
8630 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8631 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8632 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8633 * wcsmbs/wcscmp.c: Allow renaming.
8635 2011-09-05 David S. Miller <davem@davemloft.net>
8637 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8638 stack slot, rather than the struct return pointer slot.
8639 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8640 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8642 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8644 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8646 * po/ja.po: Update from translation team.
8649 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8650 kernel in 64-bit binaries.
8652 2011-09-01 David S. Miller <davem@davemloft.net>
8654 * elf/elf.h (HWCAP_SPARC_*): Move to..
8655 * sysdeps/sparc/sysdep.h: this new file and add new values.
8656 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8657 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8658 _DL_HWCAP_COUNT to 24.
8659 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8661 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8662 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8663 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8664 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8665 instead of magic constants.
8666 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8668 2011-08-31 David S. Miller <davem@davemloft.net>
8670 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8672 Reimplement to do errno handling inline.
8673 (SYSCALL_ERROR_HANDLER): New macro.
8674 (__SYSCALL_STRING): Do not do errno handling in asm.
8675 (__CLONE_SYSCALL_STRING): Delete.
8676 (__INTERNAL_SYSCALL_STRING): Delete.
8677 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8678 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8679 (PSEUDO): Reimplement to do errno handling inline.
8680 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8681 (SYSCALL_ERROR_HANDLER): New macro.
8682 (__SYSCALL_STRING): Do not do errno handling in asm.
8683 (__CLONE_SYSCALL_STRING): Delete.
8684 (__INTERNAL_SYSCALL_STRING): Delete.
8685 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8686 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8688 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8689 (inline_syscall*): Add 'err' argument.
8690 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8691 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8692 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8693 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8695 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8696 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8698 2011-08-30 Andreas Schwab <schwab@redhat.com>
8700 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8702 2011-08-29 Jiri Olsa <jolsa@redhat.com>
8704 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8707 2011-08-24 David S. Miller <davem@davemloft.net>
8709 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8711 2011-08-24 Andreas Schwab <schwab@redhat.com>
8713 * elf/Makefile: Add rules to build and run unload8 test.
8714 * elf/unload8.c: New file.
8715 * elf/unload8mod1.c: New file.
8716 * elf/unload8mod1x.c: New file.
8717 * elf/unload8mod2.c: New file.
8718 * elf/unload8mod3.c: New file.
8720 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8723 2011-08-23 David S. Miller <davem@davemloft.net>
8725 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8726 subtract stack bias.
8727 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8728 %sp not %fp in calculations.
8729 (_JMPBUF_UNWINDS_ADJ): Likewise.
8731 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8732 (aio_suspend): Call it to force an exception region around the
8733 AIO_MISC_WAIT() invocation.
8735 2011-08-23 Andreas Schwab <schwab@redhat.com>
8737 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8740 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8742 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8744 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8746 (Elf64_FuncDesc): Remove.
8748 2011-08-22 David S. Miller <davem@davemloft.net>
8750 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8751 sigaltstack check, add missing cfi directives.
8752 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8753 missing cfi directives, and sigaltstack handling.
8755 2011-08-16 Andreas Schwab <schwab@redhat.com>
8758 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8759 object is seen twice.
8760 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8762 * elf/Makefile (distribute): Add tst-initorder2.c.
8763 (tests): Add tst-initorder2.
8764 (modules-names): Add tst-initorder2a tst-initorder2b
8765 tst-initorder2c tst-initorder2d. Add rules to build them.
8766 ($(objpfx)tst-initorder2.out): New rule.
8767 * elf/tst-initorder2.c: New file.
8768 * elf/tst-initorder2.exp: New file.
8770 2011-08-22 Andreas Schwab <schwab@redhat.com>
8772 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8774 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8775 dependencies back to end of function.
8777 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8780 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8782 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8783 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8784 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8785 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8786 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8787 of __vdso_gettimeofday.
8788 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8789 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8791 (_libc_vdso_platform_setup): Remove initialization of
8792 __vdso_gettimeofday and __vdso_time.
8794 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8796 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8798 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8801 * elf/dl-open.c (add_to_global): Report additions to the global scope
8802 for LD_DEBUG=scopes.
8803 (dl_open_worker): Also print scope of newly loaded dependencies.
8804 (_dl_show_scope): Indicate if there is no scope.
8807 * stdio-common/Makefile (tests): Add bug24.
8808 * stdio-common/bug24.c: New file.
8810 2011-08-19 Andreas Jaeger <aj@suse.de>
8813 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8814 non-existant file when using close-on-exec mode.
8816 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8818 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8819 the very first instruction.
8821 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8822 the CFI state in the end.
8823 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8824 inclusion of dl-trampoline.h.
8825 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8827 2011-08-19 Andreas Schwab <schwab@redhat.com>
8829 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8830 expectations for long double.
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8833 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8835 2011-08-14 David S. Miller <davem@davemloft.net>
8837 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8838 artificual limit depends upon the system page size.
8840 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8842 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8843 * resolv/Makefile: Define CFLAGS-libresolv.
8845 2011-08-17 Andreas Schwab <schwab@redhat.com>
8847 * nss/makedb.c (compute_tables): Make variables used in nested
8850 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8852 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8853 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8854 if buffer was too small.
8856 * elf/pldd.c (main): Attach to all threads in the process.
8857 Rewrite /proc handling to use *at functions.
8859 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8861 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8862 specifies first scope to show.
8863 (dl_open_worker): Update callers. Move printing scope of new
8864 object to before the relocation.
8865 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8866 * sysdeps/generic/ldsodefs.h: Update declaration.
8868 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8869 string for the scope number.
8871 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8873 * nscd/servicescache.c (cache_addserv): Make sure written is always
8876 2011-08-14 Roland McGrath <roland@hack.frob.com>
8878 * sysdeps/i386/i486/bits/atomic.h
8879 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8880 statement expression, so as to suppress "set but not used" warning.
8881 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8883 * string/strncat.c (STRNCAT): Use prototype definition.
8885 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8886 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8888 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8889 (localedef-modules): Add localedef.
8890 (locale-modules): Add locale.
8892 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8893 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8896 2011-08-14 David S. Miller <davem@davemloft.net>
8898 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8899 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8901 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8903 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8904 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8905 * elf/rtld.c (dl_main): Set l_name of vDSO.
8906 Call _dl_show_scope when DL_DEBUG_SCOPES.
8907 (process_dl_debug): Recognize scopes flag and also set it for all.
8908 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8909 Declare _dl_show_scope.
8911 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8912 (do_dlopen): Pass caller_dlopen to dl_open.
8913 (__libc_dlopen_mode): Initialize caller_dlopen.
8915 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8916 of libc. Make tolower call locale-independent. Optimize a bit by
8917 using isdigit instead of isalnum.
8918 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8920 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8922 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8923 was a dependency or dynamically loaded.
8925 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8927 * intl/l10nflist.c: Allow architecture-specific pop function.
8928 * sysdeps/x86_64/l10nflist.c: New file.
8930 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8933 2011-08-10 Andreas Schwab <schwab@redhat.com>
8935 * include/dirent.h: Add libc_hidden_proto for scandirat and
8936 scandirat64. Don't declare __scandirat64.
8937 * dirent/scandirat.c: Add libc_hidden_def.
8938 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8939 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8941 2011-08-10 David S. Miller <davem@davemloft.net>
8943 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8945 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8946 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8947 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8949 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8951 * Versions.def [libc]: Add GLIBC_2.15.
8952 * dirent/Makefile (routines): Add scandirat and scandirat64.
8953 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8955 * dirent/dirent.h: Declare scandirat and scandirat64.
8956 * dirent/scandirat.c: New file.
8957 * dirent/scandirat64.c: New file.
8958 * sysdeps/wordsize-64/scandirat.c: New file.
8959 * sysdeps/wordsize-64/scandirat64.c: New file.
8960 * dirent/opendir.c: Define opendirat.
8961 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8963 * dirent/scandir64.c: Adjust for scandir.c change.
8964 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8965 __scandirat64, and __scandir_cancel_handler.
8966 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8967 additional parameter and use openat instead of open (outside of ld.so).
8968 Add new __opendir as wrapper around __opendirat.
8969 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8970 here without requiring old scandirat implementation.
8972 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8974 * dirent/scandir.c (cancel_handler): Renamed to
8975 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8976 defined. Adjust users.
8977 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8978 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8980 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8982 * string/test-string.h (IMPL): Use __STRING to expand name and then
8985 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8988 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8990 * string/Makefile: Update.
8991 (strop-tests): Append strncat.
8992 * string/test-wcscmp.c: New file.
8993 New comprehensive test for wcscmp.
8994 * string/test-strcmp.c: Update.
8997 2011-07-22 Andreas Schwab <schwab@redhat.com>
8999 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9002 2011-07-26 Andreas Schwab <schwab@redhat.com>
9004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9005 encoding to ACE if AI_IDN.
9007 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9009 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9010 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9012 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9014 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9015 Fix overflow bug in strncat.
9016 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9018 * string/test-strncat.c: Update.
9019 Add new tests for checking overflow bugs.
9021 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9024 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9025 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9026 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9027 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9028 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9029 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9030 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9031 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9033 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9034 (USE_AS_STRCAT): Define.
9035 Add strcat and strncat support.
9036 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9038 2011-07-25 Andreas Schwab <schwab@redhat.com>
9040 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9041 __n bigger than INT_MAX+1.
9042 (__strncmp_g): Likewise.
9044 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9046 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9047 * libio/stido.h: Likewise.
9049 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9054 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9055 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9056 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9057 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9058 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9061 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9066 (_dl_x86_64_save_sse): Likewise.
9068 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9072 (_dl_x86_64_save_sse): Likewise.
9074 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9076 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9078 2011-07-21 Andreas Schwab <schwab@redhat.com>
9080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9082 (_dl_x86_64_save_sse): Use correct AVX check.
9084 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9086 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9087 bug in strncpy/strncat.
9088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9090 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9092 * string/tester.c (test_strcat): Add tests for different alignments
9093 of source and destination.
9094 (test_strncat): Likewise.
9096 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9099 * posix/glob.c (glob): Check passed in values before using them in
9100 expressions to avoid some overflows.
9101 (glob_in_dir): Likewise.
9104 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9105 check for AVX enablement so that we don't crash with old kernels and
9107 * elf/tst-audit4.c: Add same checks here.
9108 * elf/tst-audit6.c: Likewise.
9110 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9112 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9114 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9116 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9118 * po/cs.po: Update from translation team.
9119 * po/bg.po: Likewise.
9121 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9123 * misc/sys/cdefs.h: Add support for const attribute.
9124 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9125 to gnu_dev_{major,minor,makedev} functions.
9127 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9129 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9131 2011-07-20 Andreas Schwab <schwab@redhat.com>
9133 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9136 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9138 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9139 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9140 register in order to avoid conflicts with the soft frame pointer
9141 being held in r11 when necessary.
9142 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9143 (INTERNAL_VSYSCALL_NCS): Likewise.
9145 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9147 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9148 * elf/dl-fini.c (_dl_fini): Adjust caller.
9149 * elf/dl-close.c (_dl_close_worker): Likewise.
9150 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9152 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9154 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9155 "aux_cache->nlibs < 0".
9157 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9158 in the reload-count case.
9160 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9163 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9164 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9165 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9166 * sysdeps/x86_64/multiarch/strcat.S: New file.
9167 * sysdeps/x86_64/multiarch/strncat.S: New file.
9168 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9169 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9170 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9171 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9172 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9173 (USE_AS_STRCAT): Define.
9174 Add strcat and strncat support.
9175 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9176 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9177 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9178 * string/strncat.c: Update.
9179 (USE_AS_STRNCAT): Define.
9180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9181 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9183 * sysdeps/x86_64/multiarch/init-arch.h
9184 (bit_Prefer_PMINUB_for_stringop): New.
9185 (index_Prefer_PMINUB_for_stringop): Likewise.
9186 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9187 bit_Prefer_PMINUB_for_stringop.
9189 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9191 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9193 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9194 of casting of buffer.
9195 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9196 buffer32 and buffer64.
9197 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9198 writes instead of casting of buffer.
9199 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9201 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9204 2011-07-19 Andreas Schwab <schwab@redhat.com>
9206 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9208 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9210 * nscd/nscd.c (termination_handler): Don't do anything for a database
9211 if it has not yet been initialized.
9213 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9215 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9217 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9219 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9221 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9223 * po/nl.po: Update from translation team.
9224 * po/sv.po: Likewise.
9226 2011-07-16 Roland McGrath <roland@hack.frob.com>
9228 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9229 now disallowed by GCC.
9231 * configure.in (use-default-link): Default to yes if a test -shared
9232 link meets our qualifications.
9233 * configure: Regenerated.
9235 * config.make.in (output-format): New variable.
9236 * configure.in: Check for ld --print-output-format support.
9237 * configure: Regenerated.
9238 * Makerules ($(common-objpfx)format.lds)
9239 [$(output-format) != unknown]: Just use $(output-format),
9240 instead of the linker-script munging.
9242 2011-07-14 Roland McGrath <roland@hack.frob.com>
9244 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9245 of $(common-objpfx)shlib.lds.
9246 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9248 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9249 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9251 * configure.in (-z relro check): Adjust test code to add a large
9252 writable data section after it.
9253 * configure: Regenerated.
9255 2011-07-11 Roland McGrath <roland@hack.frob.com>
9257 * configure.in (-z relro check): Fix test code to make the variable
9259 * configure: Regenerated.
9261 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9263 * nscd/nscd.h (struct traced_file): Define.
9264 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9265 elements. Add traced_files.
9266 (inotify_fd): Declare.
9267 (register_traced_file): Declare.
9268 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9269 (inotify_fd): Export.
9270 (resolv_conf_descr): Remove.
9271 (nscd_init): Move inotify descriptor creation to main.
9272 Don't register files for notification here.
9273 (register_traced_file): New function.
9274 (invalidate_cache): Don't use reset_res to determine whether to call
9275 res_init, go through the list of registered files.
9276 (main_loop_poll): The inotify descriptors are now stored in the
9277 structures for the traced files.
9278 (main_loop_epoll): Likewise
9279 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9280 to __nss_disable_nscd.
9281 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9282 for a database anymore. Check the records for all the registered
9284 * nss/Makefile (libnss_files-routines): Add files-init.
9285 (libnss_db-routines): Add db-init.
9286 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9287 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9288 * nss/nss_db/db-init.c: New file.
9289 * nss/nss_files/files-init.c: New file.
9290 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9291 __nss_lookup_function.
9292 (__nss_lookup_function): Call nss_load_library.
9293 (nss_load_all_libraries): New function.
9294 (__nss_disable_nscd): Take parameter with callback function for files
9295 to register. Set is_nscd. Load all the DSOs for the NSS modules
9296 used for the cached services.
9297 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9298 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9299 options for features to all the files in nscd.
9301 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9303 2011-07-10 Roland McGrath <roland@hack.frob.com>
9305 * csu/elf-init.c (__libc_csu_init): Comment typo.
9307 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9309 * po/pl.po: Update from translation team.
9310 * po/ja.po: Likewise.
9311 * po/ru.po: Likewise.
9312 * po/ko.po: Likewise.
9313 * po/fr.po: Likewise.
9315 2011-07-09 Roland McGrath <roland@hack.frob.com>
9317 * configure.in (.ctors/.dtors header and trailer check):
9318 Use an empirical test on a built program.
9319 * configure: Regenerated.
9321 * configure.in (-z relro check): Use an empirical test on a built DSO.
9322 Detect, but do not require, on ia64.
9323 * configure: Regenerated.
9325 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9326 Update tests that use readelf to use $READELF instead.
9327 * configure: Regenerated.
9329 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9331 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9332 if the result is not used.
9334 2011-07-05 Andreas Jaeger <aj@suse.de>
9337 * stdlib/tst-strtod.c: Add testcase.
9339 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9341 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9342 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9343 The latter has a higher limit. Take additional parameter to pass to
9345 (__pathconf): Pass file to __statfs_link_max.
9346 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9348 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9352 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9353 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9355 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9356 (__statfs_filesize_max): Likewise.
9357 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9359 2011-07-05 Andreas Jaeger <aj@suse.de>
9361 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9363 2011-07-06 Marek Polacek <mpolacek@redhat.com>
9365 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9367 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9370 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9372 * Makefile (strop-tests): Add strncat.
9373 * string/test-strncat.c: New file.
9375 2011-06-30 Marek Polacek <mpolacek@redhat.com>
9377 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9379 2011-06-21 Andreas Jaeger <aj@suse.de>
9381 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9382 Copy rule from iconvdata/Makefile.
9384 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9387 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9388 but no long options are defined, just return 'W'.
9390 2011-06-22 Marek Polacek <mpolacek@redhat.com>
9393 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9395 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9397 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9399 (innetgr): Likewise.
9401 2011-07-05 Roland McGrath <roland@hack.frob.com>
9403 * config.make.in (install_root): Default to $(DESTDIR).
9405 2011-07-05 Ulrich Drepper <drepper@gmail.com>
9407 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9409 2011-07-02 Roland McGrath <roland@hack.frob.com>
9411 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9413 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9414 containing directory rather than embedding absolute directory names.
9416 * scripts/check-local-headers.sh: Rewritten using awk.
9417 Match by word, not by line. Print error messages for matches.
9418 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9420 * Makerules [shlib-lds-flags empty]:
9421 ($(common-objpfx)libc_pic.opts): New target.
9422 ($(common-objpfx)libc_pic.os.clean): New target.
9423 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9425 * config.make.in (OBJCOPY): New variable.
9426 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9427 * configure: Regenerated.
9429 * config.make.in (use-default-link): New variable.
9430 * configure.in (use_default_link): Grok --with-default-link to set it.
9431 * configure: Regenerated.
9432 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9433 (shlib-lds, shlib-lds-flags): Define to empty.
9435 * Makerules (shlib-lds): New variable.
9436 (shlib-lds-flags): New variable.
9437 (build-shlib, build-moduile, build-module-asneeded): Use it.
9438 ($(common-objpfx)libc.so): Use $(shlib-lds).
9439 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9440 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9442 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9443 DT_FLAGS/DT_FLAGS_1 with zero flags.
9445 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9446 linker script munging.
9448 2011-07-02 Ulrich Drepper <drepper@gmail.com>
9450 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9452 * crypt/sha512.c (sha512_process_block): Perform total addition using
9453 128-bit if possible.
9454 (__sha512_finish_ctx): Likewise.
9455 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9457 * crypt/sha256.c (SWAP64): Define.
9458 (sha256_process_block): Perform total addition using 64-bit if
9460 (__sha256_finish_ctx): Likewise.
9462 2011-07-01 Ulrich Drepper <drepper@gmail.com>
9464 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9465 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9466 * nscd/hstcache.c (cache_addhst): Likewise.
9467 * nscd/grpcache.c (cache_addgr): Likewise.
9468 * nscd/aicache.c (addhstaiX): Likewise
9469 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9471 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
9473 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9474 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9475 * nscd/hstcache.c (cache_addhst): Likewise.
9476 * nscd/grpcache.c (cache_addgr): Likewise.
9477 * nscd/aicache.c (addhstaiX): Likewise
9479 2011-07-01 Andreas Schwab <schwab@redhat.com>
9481 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9482 domain only when needed.
9484 2011-06-30 Andreas Schwab <schwab@redhat.com>
9486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9489 2011-06-29 Ulrich Drepper <drepper@gmail.com>
9491 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9492 are re-adding the entry.
9493 * nscd/servicescache.c (cache_addserv): Likewise.
9495 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9497 * sysdeps/generic/dl-irel.h: fix protection against multiple
9499 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9501 2011-06-28 Ulrich Drepper <drepper@gmail.com>
9504 * malloc/memusage.sh: Fix quoting in message.
9505 * debug/xtrace.sh: Likewise.
9507 * configure.in: Remove support for --experimental-malloc option, make
9509 * config.make.in: Likewise.
9510 * malloc/Makefile: Likewise.
9512 2011-06-27 Andreas Schwab <schwab@redhat.com>
9514 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9515 two-byte characters.
9517 2011-06-27 Roland McGrath <roland@hack.frob.com>
9519 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9520 AC_CACHE_CHECK invocation.
9521 * configure: Regenerated.
9523 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9525 2011-06-27 Ulrich Drepper <drepper@gmail.com>
9528 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9529 bit from old_res_options.
9531 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9533 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9534 value type for setfct.
9536 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9538 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9539 __gettimeofday instead of gettimeofday.
9541 2011-06-26 Ulrich Drepper <drepper@gmail.com>
9543 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9545 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9547 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9549 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9552 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9555 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9556 strcpy-sse2-unaligned strncpy-sse2-unaligned
9557 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9558 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9559 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9560 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9561 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9562 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9563 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9564 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9565 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9566 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9567 (STRCPY): Support SSE2 and SSSE3 versions.
9569 2011-06-24 Ulrich Drepper <drepper@gmail.com>
9572 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9573 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9574 kernels which artificially limit size of requests.
9576 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9579 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9580 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9581 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9582 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9583 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9584 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9585 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9586 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9587 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9588 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9589 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9590 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9591 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9592 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9594 Enable unaligned load optimization for Intel Core i3, i5 and i7
9596 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9598 (index_Fast_Unaligned_Load): Define.
9599 (HAS_FAST_UNALIGNED_LOAD): Define.
9601 2011-06-23 Marek Polacek <mpolacek@redhat.com>
9603 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9605 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9608 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9609 until it is clear that the information is realy needed.
9610 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9612 2011-06-22 Andreas Schwab <schwab@redhat.com>
9614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9616 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9618 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9619 /sys/devices/system/cpu/online if it is usable.
9621 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9622 reading the information from the /proc filesystem to once a second.
9624 2011-06-21 Andreas Jaeger <aj@suse.de>
9626 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9627 NULL after inclusion of kernel headers.
9629 2011-06-21 Ulrich Drepper <drepper@gmail.com>
9631 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9632 calls to internal_setent.
9635 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9636 addresses using gethostbyname4_r ignore IPv4 addresses.
9638 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9639 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9641 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9643 2011-06-20 David S. Miller <davem@davemloft.net>
9645 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9647 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9649 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9651 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9652 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9653 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9654 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9655 * sysdeps/x86_64/dl-irel.h: Likewise.
9657 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9658 * elf/dl-sym.c: Likewise.
9660 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9662 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9663 need to dereference resplen2.
9665 2011-06-14 Andreas Schwab <schwab@redhat.com>
9667 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9669 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9671 * Makeconfig: Define vardbdir and inst_vardbdir.
9672 * nss/Makefile: Add rules to install db-Makefile.
9674 * nss/nss_db/db-XXX.c: Cleanup.
9676 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9677 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9679 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9680 * nss/makedb.c: Implement -g option to specify that value strings
9681 are generated and should not be added to table iterated over for
9683 * nss/nss_db/db-initgroups.c: New file.
9685 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9688 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9689 (internal_getgrouplist): Adjust to name change.
9690 Update use_initgroups_entry if this is not the first call.
9691 * nss/databases.def: Add initgroups entry.
9693 * nss/makedb.c (compute_tables): Check result of multiple hash table
9694 sizes to minimize maximum chain length.
9696 2011-06-14 Ulrich Drepper <drepper@gmail.com>
9698 * Versions.def: Add entry for libnss_db.
9699 * shlib-versions: Likewise.
9700 * nss/Makefile: Add rules to build libnss_db.
9701 * nss/Versions: Add libnss_db information. Organize libnss_files
9703 * nss/db-Makefile: Add gshadow support. Change rules for the new
9704 makedb progra. Some minor improvements to generate smaller files.
9705 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9707 * nss/makedb.c: ...here.
9708 Improve database format to be smaller and require less memory at
9710 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9712 * nss/nss_db/db-netgrp.c: Likewise.
9713 * nss/nss_db/db-open.c: Likewise.
9714 * nss/nss_files/flies-XXX.x: Adjust comments.
9715 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9716 * nss/nss_files/files-grp.c: Likewise.
9717 * nss/nss_files/files-hosts.c: Likewise.
9718 * nss/nss_files/files-network.c: Likewise.
9719 * nss/nss_files/files-proto.c: Likewise.
9720 * nss/nss_files/files-pwd.c: Likewise.
9721 * nss/nss_files/files-rpc.c: Likewise.
9722 * nss/nss_files/files-service.c: Likewise.
9723 * nss/nss_files/files-sgrp.c: Likewise.
9724 * nss/nss_files/files-spwd.c: Likewise.
9725 * nss/nss_db/db-alias.c: Removed.
9726 * nss/nss_db/dummy-db.h: Removed.
9728 2011-06-02 Ulrich Drepper <drepper@gmail.com>
9730 * nss/makedb.c: Rewritten to not use database library.
9731 * nss/Makefile: Update to build new makedb program.
9733 2011-06-14 Andreas Jaeger <aj@suse.de>
9735 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9738 2011-06-10 Andreas Schwab <schwab@redhat.com>
9740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9743 2011-06-10 Roland McGrath <roland@hack.frob.com>
9745 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9746 * elf/Makefile ($(objpfx)ld.so): Likewise.
9748 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9749 Don't list ld.so twice in dependencies.
9751 * posix/bug-regex31.c: Include <stdlib.h>.
9753 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9755 * nis/nss_compat/compat-spwd.c
9756 (getspent_next_nss_netgr): Remove unused variable.
9757 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9759 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9760 nonmembers" output to use the right array.
9762 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9764 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9766 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9767 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9768 * catgets/gencat.c (read_input_file): Likewise.
9769 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9771 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9772 variable definition inside #if's controlling its use.
9774 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9776 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9778 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9780 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9783 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9785 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9786 * configure: Regenerated.
9788 * Makerules: Revert last change.
9789 * elf/Makefile: Likewise.
9791 2011-06-09 Roland McGrath <roland@hack.frob.com>
9793 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9794 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9795 (reloc-link): Likewise.
9797 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9799 * elf/Makefile: Add rules to build pldd.
9800 * elf/pldd.c: New file.
9801 * elf/pldd-xx.c: New file.
9803 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9805 * version.h: Update for 2.15 development version.
9807 2011-06-07 David S. Miller <davem@davemloft.net>
9809 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9812 elf_machine_lazy_rel): Likewise.
9813 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9814 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9815 elf_machine_lazy_rel): Likewise.
9816 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9817 dl_hwcap via passed in argument.
9818 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9821 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9823 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9825 2011-06-06 Roland McGrath <roland@hack.frob.com>
9828 * manual/fdl-1.1.texi: New file, verbatim from:
9829 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9830 * manual/lgpl-2.1.texi: New file, verbatim from:
9831 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9832 * manual/Makefile (licenses): New variable, list those new file names.
9834 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9836 * manual/fdl.texi: File removed.
9837 * manual/lesser.texi: File removed.
9838 * manual/libc.texinfo (Copying, Documentation License):
9839 Use new @include file names, put @appendix directive before @include.
9841 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9844 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9845 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9846 (mq_open): Add __NTH.
9848 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9851 Assume Intel Core i3/i5/i7 processor if AVX is available.
9853 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9855 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9858 2011-05-31 Andreas Schwab <schwab@redhat.com>
9860 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9861 memory. Use alloca_account. Fix memory leak when retrying.
9863 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9865 * version.h (RELEASE): Bump for 2.14 release.
9866 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9868 * config.make.in (RANLIB): Remove entry.
9870 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9872 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9873 (libc.pot): Work around missing support for .ksh extension in xgettext.
9876 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9877 if both request failed.
9878 (send_dg): In case of server errors clear resplen or *resplen2.
9881 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9882 when there are multiple maps.
9883 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9884 (_dl_fini): Remove test here.
9886 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9888 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9891 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9892 bit from old_res_options.
9893 (gaih_inet): Likewise.
9896 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9899 * resolv/res_init.c (res_setoptions): Make the code more compact.
9902 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9906 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9908 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9911 * malloc/malloc.h: Declare malloc hook variables as volatile.
9913 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9917 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9918 raise in the comment.
9919 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9920 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9921 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9923 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9926 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9927 grow the buffers more if it already has to be sufficient.
9928 (build_wcs_upper_buffer): Likewise.
9929 * posix/regexec.c (check_matching): Likewise.
9930 (clean_state_log_if_needed): Likewise.
9931 (extend_buffers): Don't enlarge buffers beyond size of the input
9933 Patches mostly by Emil Wojak <emil@wojak.eu>.
9934 * posix/bug-regex32.c: New file.
9935 * posix/Makefile (tests): Add bug-regex32.
9937 * locale/findlocale.c (_nl_find_locale): Return right away if
9938 _nl_explode_name failed.
9939 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9941 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9943 * debug/xtrace.sh: Unify messages.
9944 * malloc/memusage.sh: Likewise.
9947 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9948 time symbol from vDSO. Substitute with vsyscall if not available.
9949 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9952 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9953 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9954 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9955 Add sendmmsg and internal_sendmmsg.
9956 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9957 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9958 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9960 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9961 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9964 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9967 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9968 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9970 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9974 * iconvdata/Makefile (tests): Add bug-iconv9.
9975 * iconvdata/bug-iconv9.c: New file.
9977 2011-05-27 Andreas Schwab <schwab@redhat.com>
9980 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9982 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9984 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9985 (struct user_regs_struct): Change intcs field back to cs.
9987 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9989 * po/ja.po: Update from translation team.
9991 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9994 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9995 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9997 2011-05-20 Andreas Schwab <schwab@redhat.com>
9999 * stdlib/longlong.h: Update from GCC.
10001 2011-05-23 Andreas Schwab <schwab@redhat.com>
10003 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10005 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10006 Add parameter name.
10007 (__sysconf): Pass it down.
10009 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10012 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10014 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10015 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10016 add in in __libc_use_alloca calls. Adjust callers.
10017 (glob): Use malloc in some situations.
10019 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10020 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10023 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10025 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10026 and CLOCK_BOOTTIME_ALARM.
10029 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10032 * string/_strerror.c (__strerror_r): Print negative errors as signed
10036 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10037 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10038 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10040 * configure.in: Fix typo in redirection and correct removal of test
10041 files in two cases.
10044 * locale/setlocale.c (new_composite_name): Fix test to check for
10045 identical name of all categories.
10048 * libio/filedoalloc.c (local_isatty): New function.
10049 (_IO_file_doallocate): Use local_isatty.
10050 * stdio-common/perror.c (perror): In case a new stream is used
10051 forward the stream error.
10052 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10055 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10060 * include/alloca.h (extend_alloca_account): Define.
10063 * posix/regex.h: Fix comments with documentation of user-accessible
10064 fields after compilation and describe correct free'ing of pattern
10065 after re_compile_pattern.
10066 Patch by Reuben Thomas <rrt@sc3d.org>.
10068 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10070 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10071 and -mno-altivec to prevent the compiler from using Altivec and/or
10072 VSX instructions when the corresponding registers are not available.
10074 2011-05-19 Andreas Schwab <schwab@redhat.com>
10076 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10078 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10080 * libio/freopen.c (freopen): Use __dup2, not dup2.
10081 * libio/freopen64.c (freopen64): Likewise.
10083 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10086 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10087 * math/Makefile (tests): Add test-powl.
10088 (CFLAGS-test-powl.c): Define.
10089 * math/test-powl.c: New file.
10091 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10093 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10095 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10098 * iconvdata/gb18030.c: Update to GB18020-2005.
10100 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10102 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10103 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10104 Patch by Aharon Robbins <arnold@skeeve.com>.
10107 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10111 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10112 through underflows.
10115 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10116 point to strings before performing equality test for error_one_per_line
10120 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10123 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10124 (struct user_fpregs_struct): Avoid __uint*_t types.
10127 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10128 symbol info. Use it instead of calling _dl_addr locally.
10129 (lock_and_info): New function.
10130 (tr_freehook): Call lock_and_info and pass symbol info as additional
10131 parameter to tr_where.
10132 (tr_mallochook): Likewise.
10133 (tr_reallochook): Likewise.
10134 (tr_memalignhook): Likewise.
10136 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10137 used and couldn't be at all thread-safe.
10139 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10141 * libio/freopen.c (freopen): Don't close old file descriptor
10142 before the new one is opened. Instead dup the new file descriptor
10143 to the old one after the new stream is created.
10144 * libio/freopen64.c (freopen64): Likewise.
10145 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10146 * libio/fileops.c (_IO_new_file_close_it): Handle new
10147 _IO_FLAGS2_NOCLOSE flag.
10148 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10149 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10150 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10151 _IO_FLAGS2_NOCLOSE flag.
10152 * include/unistd.h: Add hidden_proto for dup3.
10153 Define __have_dup3.
10154 * io/dup3.c: Define hidden symbol.
10155 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10158 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10159 when an incomplete long option is used.
10160 * posix/tst-getopt_long1.c: New file.
10161 * posix/Makefile (tests): Add tst-getopt_long1.
10164 * scripts/config.guess: Update from autoconf-2.68.
10165 * scripts/config.sub: Likewise.
10168 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10170 (has_cpuclock): ...this. New function.
10171 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10172 macro here based on has_cpuclock code.
10175 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10176 First byte (not low byte) is now always NUL.
10177 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10179 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10180 Use non-cancelable interfaces.
10183 * locale/iso-639.def: Add entry for Sorani.
10186 * include/stdlib.h: Move include protection to the right place.
10187 Define abort_msg_s. Declare __abort_msg with it.
10188 * stdlib/abort.c (__abort_msg): Adjust type.
10189 * assert/assert.c (__assert_fail_base): New function. Majority
10190 of code from __assert_fail. Allocate memory for __abort_msg with
10192 (__assert_fail): Now call __assert_fail_base.
10193 * assert/assert-perr.c: Remove bulk of implementation. Use
10194 __assert_fail_base.
10195 * include/assert.hL Declare __assert_fail_base.
10196 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10198 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10200 2011-05-14 Ulrich Drepper <drepper@gmail.com>
10204 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10205 until all modules are registered in the DTV.
10206 * elf/Makefile: Add rules to build and run tst-tls19.
10207 * elf/tst-tls19.c: New file.
10208 * elf/tst-tls19mod1.c: New file.
10209 * elf/tst-tls19mod2.c: New file.
10210 * elf/tst-tls19mod3.c: New file.
10211 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10214 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10218 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10219 two-byte sequence errors.
10220 * iconvdata/Makefile (tests): Add bug-iconv8.
10221 * iconvdata/bug-iconv8.c: New file.
10224 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10227 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10230 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10231 (dummy_getcfa): New function.
10232 (init): Get _Unwind_GetCFA address, use dummy if not found.
10233 (backtrace_helper): In recursion check, also check whether CFA changes.
10234 (__backtrace): Completely initialize arg.
10236 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10237 storing incomplete byte sequence in state object. Avoid testing for
10238 guaranteed too small input if we know there is enough data available.
10240 2011-05-11 Andreas Schwab <schwab@redhat.com>
10242 * Makeconfig (+link-pie): Indent.
10243 * Rules (binaries-pie): Define if $(have-fpie) and
10245 (binaries-shared): Also filter out $(binaries-pie).
10246 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10247 * nscd/Makefile (others-pie): Add nscd.
10248 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10249 ($(objpfx)nscd): Remove command override.
10250 * login/Makefile (others-pie): Add pt_chown.
10251 ($(objpfx)pt_chown): Remove command override.
10252 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10253 remove command overrides.
10255 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10257 * libio/tst_putwc.c: Fix error messages.
10260 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10261 currently writing and seek to current position when not.
10262 * libio/Makefile (tests): Add bug-fclose1.
10263 * libio/bug-fclose1.c: New file.
10265 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10268 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10269 don't set DF_1_NODELETE here.
10270 (do_lookup_x): When entering new entry test for copy relocation
10271 and if necessary set DF_1_NODELETE flag.
10272 * elf/tst-unique4.cc: New file.
10273 * elf/tst-unique4.h: New file.
10274 * elf/tst-unique4lib.cc: New file.
10275 * elf/Makefile: Add rules to build and run tst-unique4.
10276 Patch by Piotr Bury <pbury@goahead.com>.
10278 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10281 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10284 * misc/mntent_r.c (addmntent): Flush the stream after the output
10287 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10288 (is_trusted_path_normalize): Skip initial colon. Append slash
10289 to empty buffer. Duplicate is_trusted_path code but allow
10290 constructed patch to be prefix.
10291 (is_dst): Allow $ORIGIN followed by /.
10292 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10293 Correct testing of result of is_trusted_path_normalize
10294 (decompose_rpath): Fix warning.
10296 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10299 * grp/initgroups.c (internal_getgrouplist): When we found the service
10300 list through the initgroups entry in nsswitch.conf do not always
10301 continue on a successful lookup. Don't always use the
10302 __nss_group_database value if it is set.
10303 * nss/nsswitch.conf (initgroups): Change action for successful db
10304 lookup to continue for compatibility.
10306 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10309 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10311 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10313 * iconvdata/tst-tables.sh: Likewise.
10314 * iconvdata/cp770.c: New file.
10315 * iconvdata/cp771.c: New file.
10316 * iconvdata/cp772.c: New file.
10317 * iconvdata/cp773.c: New file.
10318 * iconvdata/cp774.c: New file.
10319 * iconvdata/testdata/CP770: New file.
10320 * iconvdata/testdata/CP770..UTF8: New file.
10321 * iconvdata/testdata/CP771: New file.
10322 * iconvdata/testdata/CP771..UTF8: New file.
10323 * iconvdata/testdata/CP772: New file.
10324 * iconvdata/testdata/CP772..UTF8: New file.
10325 * iconvdata/testdata/CP773: New file.
10326 * iconvdata/testdata/CP773..UTF8: New file.
10327 * iconvdata/testdata/CP774: New file.
10328 * iconvdata/testdata/CP774..UTF8: New file.
10330 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10332 * iconvdata/gen-8bit-gap.sh: Likewise.
10333 * iconvdata/gen-8bit.sh: Likewise.
10335 * locale/iso-639.def: Add ary entry.
10338 * locale/C-translit.h.in: Add U20A1 transliteration.
10341 * locale/iso-639.def: Add wae entry.
10342 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10345 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10349 * locale/C-translit.h.in: Add entry for U20B9.
10350 Patch by pravin.d.s@gmail.com.
10352 2011-05-08 Ulrich Drepper <drepper@gmail.com>
10355 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10356 ENAMETOOLONG use generic getcwd.
10357 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10358 in rtld. Use *stat64.
10359 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10360 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10361 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10362 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10363 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10364 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10365 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10366 __fstatat64 macros.
10367 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10368 * dirent/rewinddir.c: Add libc_hidden_def.
10369 * sysdeps/mach/hurd/rewinddir.c: Likewise.
10370 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
10372 * include/dirent.h (__alloc_dir): Add flags parameter.
10373 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10374 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10376 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10377 from fdopendir if O_CLOEXEC is already set.
10379 2011-03-15 Alan Modra <amodra@gmail.com>
10381 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10382 l_tls_firstbyte_offset non-zero. Save padding offset in
10383 l_tls_firstbyte_offset for later use.
10384 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10385 freeing static tls block.
10387 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10389 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10390 where #ifdef was intended. The intent is to prevent ARG_MAX from
10391 being defined by the kernel headers.
10393 2011-05-07 Ulrich Drepper <drepper@gmail.com>
10396 * resolv/resolv.h: Define RES_NOTLDQUERY.
10397 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10398 no-tld-query and set RES_NOTLDQUERY.
10399 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10400 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10401 modern BIND to search name as TLD unless forbidden.
10403 2011-05-07 Petr Baudis <pasky@suse.cz>
10404 Ulrich Drepper <drepper@gmail.com>
10407 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10408 (is_trusted_path): ...to here.
10409 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10410 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10411 using is_trusted_path_normalize() in setuid scripts.
10413 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10415 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10416 __BEGIN/__END_DECLS.
10418 2011-05-06 Ulrich Drepper <drepper@gmail.com>
10420 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10421 NSS_STATUS_NOTFOUND if no record was found.
10423 2011-05-05 Andreas Schwab <schwab@redhat.com>
10425 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10426 (headers-not-in-tirpc): Remove rpc/netdb.h
10427 * resolv/netdb.h: Revert last change.
10429 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10431 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10432 circular dependency between libgcc.a and libc.a.
10434 2011-05-05 Andreas Schwab <schwab@redhat.com>
10436 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10437 * nis/Makefile: Don't install rpcsvc/*.
10438 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10439 instead of <rpc/types.h>.
10440 (MAXHOSTNAMELEN): Define.
10442 2011-05-03 Andreas Schwab <schwab@redhat.com>
10444 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10446 2011-04-28 Maciej Babinski <mbabinski@google.com>
10449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10450 gethostbyname4_r when IPv6 results are possible.
10452 2011-05-02 Ulrich Drepper <drepper@gmail.com>
10455 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10456 _PC_PIPE_BUF handling.
10458 2011-04-30 Bruno Haible <bruno@clisp.org>
10461 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10462 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10464 * inet/getnameinfo.c (getnameinfo): Likewise.
10466 2011-04-29 Ulrich Drepper <drepper@gmail.com>
10468 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10469 to groups setting in database lookup.
10470 * nss/nsswitch.conf: Add initgroups entry.
10472 2011-04-22 Ulrich Drepper <drepper@gmail.com>
10475 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10477 Patch by Eric Blake <eblake@redhat.com>.
10479 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10481 * sunrpc/Makefile (need-export-routines): Add svc_run.
10482 (routines): Remove svc_run.
10483 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10484 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10485 * sunrpc/svc_run.c (svc_run): Likewise.
10486 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10488 2011-04-21 Ulrich Drepper <drepper@gmail.com>
10490 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10491 problem in reallocation in last patch.
10493 2011-04-20 Ulrich Drepper <drepper@gmail.com>
10495 * sunrpc/Makefile: Move inclusion of Rules.
10497 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10499 * nss/nss_files/files-initgroups.c: New file.
10500 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10501 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10502 _nss_files_initgroups_dyn.
10504 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10506 * elf/elf.h (R_ARM_IRELATIVE): Define.
10508 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10510 * po/ru.po: Update from translation team.
10512 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10514 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10517 2011-02-06 Mike Frysinger <vapier@gentoo.org>
10520 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10521 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10522 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10523 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10524 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10526 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10528 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10530 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10531 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10532 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10534 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10537 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10539 * stdlib/bug-getcontext.c: New file.
10540 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10542 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10544 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10545 instructions into .machine "z9-109".
10546 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10547 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10549 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10551 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10552 between environment variables and auxiliary vector.
10554 2011-04-16 Ulrich Drepper <drepper@gmail.com>
10556 * Makefile: Add rules to build linkobj/libc.so.
10557 * include/libc-symbols.h: Define libc_hidden_nolink.
10558 * include/rpc/auth.h: Mark functions which are to be hidden.
10559 * include/rpc/auth_des.h: Likewise.
10560 * include/rpc/auth_unix.h: Likewise.
10561 * include/rpc/clnt.h: Likewise.
10562 * include/rpc/des_crypt.h: Likewise.
10563 * include/rpc/key_prot.h: Likewise.
10564 * include/rpc/pmap_clnt.h: Likewise.
10565 * include/rpc/pmap_prot.h: Likewise.
10566 * include/rpc/pmap_rmt.h: Likewise.
10567 * include/rpc/rpc_msg.h: Likewise.
10568 * include/rpc/svc.h: Likewise.
10569 * include/rpc/svc_auth.h: Likewise.
10570 * include/rpc/xdr.h: Likewise.
10571 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10572 * nss/Makefile: Likewise.
10573 * sunrpc/Makefile: Don't install headers. Build library with normal
10574 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10575 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10576 for the compat linking library. Remove use of INTDEF/INTUSE.
10577 * sunrpc/auth_none.c: Likewise.
10578 * sunrpc/auth_unix.c: Likewise.
10579 * sunrpc/authdes_prot.c: Likewise.
10580 * sunrpc/authuxprot.c: Likewise.
10581 * sunrpc/clnt_gen.c: Likewise.
10582 * sunrpc/clnt_perr.c: Likewise.
10583 * sunrpc/clnt_raw.c: Likewise.
10584 * sunrpc/clnt_simp.c: Likewise.
10585 * sunrpc/clnt_tcp.c: Likewise.
10586 * sunrpc/clnt_udp.c: Likewise.
10587 * sunrpc/clnt_unix.c: Likewise.
10588 * sunrpc/des_crypt.c: Likewise.
10589 * sunrpc/des_soft.c: Likewise.
10590 * sunrpc/get_myaddr.c: Likewise.
10591 * sunrpc/key_call.c: Likewise.
10592 * sunrpc/key_prot.c: Likewise.
10593 * sunrpc/netname.c: Likewise.
10594 * sunrpc/pm_getmaps.c: Likewise.
10595 * sunrpc/pm_getport.c: Likewise.
10596 * sunrpc/pmap_clnt.c: Likewise.
10597 * sunrpc/pmap_prot.c: Likewise.
10598 * sunrpc/pmap_prot2.c: Likewise.
10599 * sunrpc/pmap_rmt.c: Likewise.
10600 * sunrpc/publickey.c: Likewise.
10601 * sunrpc/rpc_cmsg.c: Likewise.
10602 * sunrpc/rpc_common.c: Likewise.
10603 * sunrpc/rpc_dtable.c: Likewise.
10604 * sunrpc/rpc_prot.c: Likewise.
10605 * sunrpc/rpc_thread.c: Likewise.
10606 * sunrpc/rtime.c: Likewise.
10607 * sunrpc/svc.c: Likewise.
10608 * sunrpc/svc_auth.c: Likewise.
10609 * sunrpc/svc_authux.c: Likewise.
10610 * sunrpc/svc_raw.c: Likewise.
10611 * sunrpc/svc_run.c: Likewise.
10612 * sunrpc/svc_simple.c: Likewise.
10613 * sunrpc/svc_tcp.c: Likewise.
10614 * sunrpc/svc_udp.c: Likewise.
10615 * sunrpc/svc_unix.c: Likewise.
10616 * sunrpc/svcauth_des.c: Likewise.
10617 * sunrpc/xcrypt.c: Likewise.
10618 * sunrpc/xdr.c: Likewise.
10619 * sunrpc/xdr_array.c: Likewise.
10620 * sunrpc/xdr_float.c: Likewise.
10621 * sunrpc/xdr_intXX_t.c: Likewise.
10622 * sunrpc/xdr_mem.c: Likewise.
10623 * sunrpc/xdr_rec.c: Likewise.
10624 * sunrpc/xdr_ref.c: Likewise.
10625 * sunrpc/xdr_sizeof.c: Likewise.
10626 * sunrpc/xdr_stdio.c: Likewise.
10628 2011-04-10 Ulrich Drepper <drepper@gmail.com>
10631 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10632 * sysdeps/ia64/dl-tls.h: Likewise.
10633 * sysdeps/powerpc/dl-tls.h: Likewise.
10634 * sysdeps/s390/dl-tls.h: Likewise.
10635 * sysdeps/sh/dl-tls.h: Likewise.
10636 * sysdeps/sparc/dl-tls.h: Likewise.
10637 * sysdeps/x86_64/dl-tls.h: Likewise.
10638 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10640 2011-03-14 Andreas Schwab <schwab@redhat.com>
10642 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10643 rpath element also skip the following colon.
10644 (expand_dynamic_string_token): Add is_path parameter and pass
10645 down to DL_DST_REQUIRED and _dl_dst_substitute.
10646 (decompose_rpath): Call expand_dynamic_string_token with
10647 non-zero is_path. Ignore empty rpaths.
10648 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10651 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10656 2011-04-09 Ulrich Drepper <drepper@gmail.com>
10659 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10660 Patch by Filipe David Manana <fdmanana@apache.org>.
10662 2011-04-07 Andreas Schwab <schwab@redhat.com>
10664 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10665 Maintain aligned stack.
10666 (CHECK_RSP): Remove unused macro.
10668 2011-04-03 Ulrich Drepper <drepper@gmail.com>
10670 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10671 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10673 2011-04-02 Ulrich Drepper <drepper@gmail.com>
10675 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10677 * include/features.h: Mention __USE_XOPEN2K8 in comment.
10679 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10682 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10683 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10684 * sysdeps/x86_64/memmove.c: New file.
10685 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10686 (memcpy): Renamed to ...
10687 (__new_memcpy): This.
10688 (memcpy): Provide GLIBC_2_14 memcpy.
10689 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10690 (memcpy): Provide GLIBC_2_2_5 memcpy.
10692 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10695 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10697 2011-03-30 Andreas Schwab <schwab@redhat.com>
10699 * misc/syncfs.c: New file.
10700 * misc/Makefile (routines): Add syncfs.
10701 * posix/unistd.h: Declare syncfs.
10702 * sysdeps/unix/syscalls.list: Add syncfs.
10704 2011-04-01 Andreas Schwab <schwab@redhat.com>
10706 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10708 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10709 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10710 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10711 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10713 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10714 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10716 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10719 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10720 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10722 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10724 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10726 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10727 sync_file_range.c with -fexceptions.
10728 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10729 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10730 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10731 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10732 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10733 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10734 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10735 sync_file_range as cancellation point
10736 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10737 now a wrapper around __call_sync_file_range with cancellation handling.
10738 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10739 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10740 function name to __call_sync_file_range.
10741 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10742 Add call_sync_file_range.
10744 2011-04-01 Andreas Schwab <schwab@redhat.com>
10746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10749 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10751 * iconv/iconv.h: Fix typo in comment.
10752 * io/fcntl.h: Likewise.
10753 * libio/stdio.h: Likewise.
10754 * posix/spawn.h: Likewise.
10755 * posix/unistd.h: Likewise.
10756 * stdlib/stdlib.h: Likewise.
10757 * time/time.h: Likewise.
10758 * wcsmbs/wchar.h: Likewise.
10760 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10761 open_by_handle): Add.
10762 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10763 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10764 Augment a few comments.
10765 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10766 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10767 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10770 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10773 * io/fcntl.h (AT_EMPTY_PATH): Define.
10775 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10777 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10778 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10779 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10781 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10782 * Versions.def: Add GLIBC_2.14.
10783 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10786 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10788 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10790 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10792 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10795 * string/test-strncmp.c (do_page_test): New function.
10796 (check2): Likewise.
10797 (test_main): Call check2.
10798 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10800 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10803 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10804 Handle cache information in CPU leaf 4.
10805 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10807 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10810 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10811 character representation.
10812 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10814 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10816 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10817 END(__isnan) to END(__isnanf) to match function entry point/label
10818 EALIGN(__isnanf,...).
10820 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10822 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10824 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10827 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10828 copy from the symbol referenced in the relocation to initialize the
10830 Patch by Piotr Bury <pbury@goahead.com>.
10831 * elf/Makefile: Add rules to build and tst-unique3.
10832 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10833 * elf/tst-unique3.cc: New file.
10834 * elf/tst-unique3.h: New file.
10835 * elf/tst-unique3lib.cc: New file.
10836 * elf/tst-unique3lib2.cc: New file.
10838 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10840 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10842 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10843 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10846 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10848 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10849 to-be-loaded object along a path to loader is ld.so.
10851 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10852 Ulrich Drepper <drepper@gmail.com>
10854 * sysdeps/x86_64/memset.S: After aligning destination, code
10855 branches to different locations depending on the value of
10856 misalignment, when multiarch is enabled. Fix this.
10858 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10860 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10861 Set _x86_64_preferred_memory_instruction for AMD processsors.
10862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10863 Set bit_Prefer_SSE_for_memop for AMD processors.
10865 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10867 * libio/fmemopen.c (fmemopen): Optimize a bit.
10869 2011-03-03 Andreas Schwab <schwab@redhat.com>
10871 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10873 2011-03-03 Roland McGrath <roland@redhat.com>
10875 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10877 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10879 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10880 __bzero_ultra1 instead of __memset_ultra1.
10882 2011-02-23 Andreas Schwab <schwab@redhat.com>
10883 Ulrich Drepper <drepper@gmail.com>
10886 * include/link.h (struct link_map): Add l_orig_initfini.
10887 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10888 returning unsuccessfully.
10889 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10890 close of a file loaded at startup, restore the original l_initfini
10892 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10893 list, store the pointer.
10894 * elf/Makefile ($(objpfx)noload-mem): New rule.
10895 (noload-ENV): Define.
10896 (tests): Add $(objpfx)noload-mem.
10897 * elf/noload.c: Include <memcheck.h>.
10898 (main): Call mtrace. Close all opened handles.
10900 2011-02-17 Andreas Schwab <schwab@redhat.com>
10903 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10904 dependencies are missing.
10906 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10908 Fix __if_freereq crash: Unlike the generic version which uses free,
10910 * sysdeps/mach/hurd/ifreq.h: New file.
10912 2011-01-27 Petr Baudis <pasky@suse.cz>
10913 Ulrich Drepper <drepper@gmail.com>
10916 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10917 to extend_alloca().
10918 * stdio-common/bug23.c: New file.
10919 * stdio-common/Makefile (tests): Add bug23.
10921 2010-09-28 Andreas Schwab <schwab@redhat.com>
10922 Ulrich Drepper <drepper@gmail.com>
10925 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10926 before performing relro protection. At old place add assertion
10927 to make sure nothing changed.
10929 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10930 Glauber de Oliveira Costa <glommer@gmail.com>
10932 * elf/elf.h: Add new ARM TLS relocs.
10934 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10937 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10939 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10941 * sysdeps/wordsize-64/tst-writev.c: New file.
10943 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10945 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10946 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10947 insns in _dl_start to prevent a TOC reference before relocs are
10950 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10953 * Makeconfig: Remove RANLIB definition.
10954 * Makerules: Don't use RANLIB.
10955 * aclocal.m4: Remove ranlib test.
10956 * configure.in: No need to check for ranlib.
10957 * elf/rtld-Rules: Don't use RANLIB.
10959 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10961 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10963 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10964 inclusion protection macro.
10966 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10967 SIGRTMIN and SIGRTMAX and print information in that case only when
10968 SIGRTMIN is defined.
10970 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10972 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10973 arginfo fn returning -1.
10975 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10976 and thousands string is zero terminated.
10978 2011-02-03 Andreas Schwab <schwab@redhat.com>
10980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10981 sysdeps/unix/sysv/linux/bits/socket.h.
10983 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10985 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10986 (__CPU_COUNT): Remove old macros.
10987 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10988 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10989 (__CPU_ALLOC, __CPU_FREE): Add macros.
10990 (__sched_cpualloc, __sched_cpufree): Add declarations.
10992 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10994 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10995 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10996 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10997 (readdhstai): Return value of addhstaiX call.
10998 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10999 (addgrbyX): Return value returned by cache_addgr.
11000 (readdgrbyname): Return value returned by addgrbyX.
11001 (readdgrbygid): Likewise.
11002 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11003 (addpwbyX): Return value returned by cache_addpw.
11004 (readdpwbyname): Return value returned by addhstbyX.
11005 (readdpwbyuid): Likewise.
11006 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11007 (addservbyX): Return value returned by cache_addserv.
11008 (readdservbyname): Return value returned by addservbyX:
11009 (readdservbyport): Likewise.
11010 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11011 (addhstbyX): Return value returned by cache_addhst.
11012 (readdhstbyname): Return value returned by addhstbyX.
11013 (readdhstbyaddr): Likewise.
11014 (readdhstbynamev6): Likewise.
11015 (readdhstbyaddrv6): Likewise.
11016 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11017 (readdinitgroups): Return value returned by addinitgroupsX.
11018 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11019 (prune_cache): Keep track of timeout value of re-added entries.
11020 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11021 * nscd/nscd.h: Adjust prototypes of readd* functions.
11023 2011-02-04 Roland McGrath <roland@redhat.com>
11025 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11026 (nis_stats): Likewise.
11027 * nis/nis_modify.c (nis_modify): Likewise.
11028 * nis/nis_remove.c (nis_remove): Likewise.
11029 * nis/nis_add.c (nis_add): Likewise.
11031 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11033 * posix/fnmatch_loop.c: Add some consts.
11035 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11037 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11040 * config.make.in (config-cflags-novzeroupper): Define.
11041 * configure.in: Substitute libc_cv_cc_novzeroupper.
11042 * elf/Makefile (AVX-CFLAGS): Define.
11043 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11044 (CFLAGS-tst-auditmod4a.c): Likewise.
11045 (CFLAGS-tst-auditmod4b.c): Likewise.
11046 (CFLAGS-tst-auditmod6b.c): Likewise.
11047 (CFLAGS-tst-auditmod6c.c): Likewise.
11048 (CFLAGS-tst-auditmod7b.c): Likewise.
11049 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11051 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11053 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11054 function to the callback.
11055 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11057 2011-02-02 Andreas Schwab <schwab@redhat.com>
11059 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11062 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11065 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11067 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11069 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11072 * elf/Makefile: Add rules to build and run new test.
11073 * elf/tst-initorder.c: New file.
11074 * elf/tst-initorder.exp: New file.
11075 * elf/tst-initordera1.c: New file.
11076 * elf/tst-initordera2.c: New file.
11077 * elf/tst-initordera3.c: New file.
11078 * elf/tst-initordera4.c: New file.
11079 * elf/tst-initorderb1.c: New file.
11080 * elf/tst-initorderb2.c: New file.
11081 * elf/tst-order-a1.c: New file.
11082 * elf/tst-order-a2.c: New file.
11083 * elf/tst-order-a3.c: New file.
11084 * elf/tst-order-a4.c: New file.
11085 * elf/tst-order-b1.c: New file.
11086 * elf/tst-order-b2.c: New file.
11087 * elf/tst-order-main.c: New file.
11088 New test case by George Gensure <werkt0@gmail.com>.
11090 2010-10-01 Andreas Schwab <schwab@redhat.com>
11092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11093 decoding ACE if AI_CANONIDN.
11095 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11097 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11099 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11101 * version.h (RELEASE): Bump for 2.13 release.
11102 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11104 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11106 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11108 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11109 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11110 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11111 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11112 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11113 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11115 * posix/getconf.c: Update copyright year.
11116 * catgets/gencat.c: Likewise.
11117 * csu/version.c: Likewise.
11118 * debug/catchsegv.sh: Likewise.
11119 * debug/xtrace.sh: Likewise.
11120 * elf/ldconfig.c: Likewise.
11121 * elf/ldd.bash.in: Likewise.
11122 * elf/sprof.c (print_version): Likewise.
11123 * iconv/iconv_prog.c: Likewise.
11124 * iconv/iconvconfig.c: Likewise.
11125 * locale/programs/locale.c: Likewise.
11126 * locale/programs/localedef.c: Likewise.
11127 * malloc/memusage.sh: Likewise.
11128 * malloc/mtrace.pl: Likewise.
11129 * nscd/nscd.c (print_version): Likewise.
11130 * nss/getent.c: Likewise.
11132 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11133 PF_CAIF, and PF_ALG.
11134 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11136 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11138 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11139 (modules-names): Use them.
11140 (ifunc-test-modules, ifunc-pie-tests): Define.
11141 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11142 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11143 (test-extras): Likewise.
11144 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11145 $(compile-command.c).
11146 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11147 (all-built-dso): Define.
11148 (check-textrel.out, check-execstack.out): Depend on it.
11150 * configure.in: Don't override --enable-multi-arch.
11152 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11155 * nscd/hstcache.c (tryagain): Define.
11156 (cache_addhst): Return tryagain not notfound for temporary errors.
11157 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11160 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11163 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11164 to make the syscall.
11165 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11168 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11169 and fall back to matching as normal character if the string ends before
11170 the matching ']' is found. This is what POSIX requires.
11171 * posix/testfnm.c: Adjust test result.
11172 * posix/globtest.sh: Adjust test result. Add new test.
11173 * posix/tst-fnmatch.input: Likewise.
11174 * posix/tst-fnmatch2.c: Add new test.
11176 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11178 * elf/Makefile (check-execstack): Revert last change. Depend on
11180 (check-execstack.h): New target.
11181 (generated): Add check-execstack.h.
11182 * elf/check-execstack.c: Include "check-execstack.h".
11183 (main): Revert last change.
11184 (handle_file): Return zero if GNU_STACK is absent and
11185 DEFAULT_STACK_PERMS doesn't include PF_X.
11187 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11189 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11190 in child fails because the descriptor is already closed.
11191 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11192 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11193 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11196 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11200 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11201 temporary buffer used to handle multi lookups locally.
11202 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11204 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11206 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11209 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11211 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11212 alignment for SSE2.
11214 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11217 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11218 characters. When rounding increased number of integer digits recompute
11220 * stdio-common/tst-grouping.c: New file.
11221 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11223 2011-01-09 Ulrich Drepper <drepper@gmail.com>
11225 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11226 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11228 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11230 * bits/select.h: Likewise.
11232 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11234 * po/ja.po: Update from translation team.
11236 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11239 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11240 implementation just like for lxstat, fxstatat, et al.
11242 2010-12-27 Jim Meyering <meyering@redhat.com>
11245 * posix/regexec.c (build_trtable): Return failure indication upon
11246 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11248 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11251 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11252 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11253 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11254 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11257 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11260 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11261 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11263 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11265 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11266 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11267 script has SORT_BY_INIT_PRIORITY.
11268 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11269 NO_CTORS_DTORS_SECTIONS is defined.
11270 * elf/soinit.c: Likewise.
11271 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11272 NO_CTORS_DTORS_SECTIONS is defined.
11273 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11274 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11275 * sysdeps/sh/init-first.c: Likewise.
11276 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11278 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11280 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11281 always use the slow path.
11283 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11285 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11286 similar rule which adds the sysdep directories to the header search in
11287 order to pick up the correct platform stackinfo.h.
11288 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11289 perform test if it is, otherwise return successfully without testing.
11290 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11291 DEFAULT_STACK_PERMS define in stackinfo.h.
11292 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11293 defined in stackinfo.h.
11294 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11295 DEFAULT_STACK_PERMS defined in stackinfo.h.
11296 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11297 * sysdeps/ia64/stackinfo.h: Likewise.
11298 * sysdeps/s390/stackinfo.h: Likewise.
11299 * sysdeps/sh/stackinfo.h: Likewise.
11300 * sysdeps/sparc/stackinfo.h: Likewise.
11301 * sysdeps/x86_64/stackinfo.h: Likewise.
11302 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11303 PF_X for powerpc64. Retain PF_X for powerpc32.
11305 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11307 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11309 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11310 GETDENTS_64BIT_ALIGNED.
11312 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11314 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11316 2010-12-10 Andreas Schwab <schwab@redhat.com>
11318 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11321 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11322 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11324 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11325 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11327 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11330 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11333 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11335 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11337 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11339 * po/it.po: Update from translation team.
11341 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11343 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11346 2010-11-30 Ulrich Drepper <drepper@gmail.com>
11348 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11350 2010-11-24 Andreas Schwab <schwab@redhat.com>
11352 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11354 (gaih_getanswer_slice): Likewise.
11356 2010-10-20 Jakub Jelinek <jakub@redhat.com>
11358 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11360 2010-05-31 Petr Baudis <pasky@suse.cz>
11363 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11364 silently even in the chroot mode.
11366 2010-11-22 Ulrich Drepper <drepper@gmail.com>
11368 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11369 last patch a bit. Pretty printing
11371 2010-05-31 Petr Baudis <pasky@suse.cz>
11374 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11375 initialization of skip_initgroups_dyn.
11377 2010-11-19 Ulrich Drepper <drepper@gmail.com>
11379 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11380 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11382 2010-11-16 Ulrich Drepper <drepper@gmail.com>
11384 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11386 2010-11-11 Andreas Schwab <schwab@redhat.com>
11388 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11389 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11390 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11391 ($(objpfx)tst-fnmatch-mem): New rule.
11392 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11393 * posix/tst-fnmatch.c (main): Call mtrace.
11395 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11398 Support Intel processor model 6 and model 0x2c.
11400 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
11402 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11405 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11408 * string/test-strncasecmp.c (check_result): New function.
11409 (do_one_test): Use it.
11410 (check1): New function.
11411 (test_main): Use it.
11412 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11413 Support strcasecmp and strncasecmp.
11415 2010-11-08 Ulrich Drepper <drepper@gmail.com>
11418 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11419 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11421 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11423 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11427 * sysdeps/x86_64/multiarch/bzero.S: New file.
11428 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11429 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11430 * sysdeps/x86_64/multiarch/memset.S: New file.
11431 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11433 Set bit_Prefer_SSE_for_memop for Intel processors.
11434 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11436 (index_Prefer_SSE_for_memop): Define.
11437 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11439 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
11441 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11442 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11444 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11447 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11448 (__x86_64_raw_data_cache_size_half): Likewise.
11449 (__x86_64_raw_shared_cache_size): Likewise.
11450 (__x86_64_raw_shared_cache_size_half): Likewise.
11452 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11453 (__x86_64_raw_data_cache_size_half): Likewise.
11454 (__x86_64_raw_shared_cache_size): Likewise.
11455 (__x86_64_raw_shared_cache_size_half): Likewise.
11456 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11457 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11458 and __x86_64_raw_shared_cache_size_half. Round
11459 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11460 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11461 to multiple of 256 bytes.
11463 2010-11-03 Ulrich Drepper <drepper@gmail.com>
11466 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11467 of inacessible symlinks. Verify result of symlink before returning it.
11468 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11469 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11471 2010-10-28 Erich Ritz <erichritz@gmail.com>
11473 * math/math.h (isinf): Fix typo in comment.
11475 2010-11-01 Ulrich Drepper <drepper@gmail.com>
11477 * po/da.po: Update from translation team.
11479 2010-10-26 Ulrich Drepper <drepper@gmail.com>
11481 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11482 is added to the list.
11484 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11485 Ulrich Drepper <drepper@gmail.com>
11487 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11488 the global list here. Move code to...
11489 (_dl_add_to_namespace_list): ...here. New function.
11490 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11491 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11492 * elf/dl-load.c (lose): Don't remove the element from the list.
11493 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11494 (_dl_map_object): Likewise.
11496 2010-10-25 Ulrich Drepper <drepper@gmail.com>
11499 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11500 into all bytes of SSE register.
11501 Patch by Richard Li <richardpku@gmail.com>.
11503 2010-10-24 Ulrich Drepper <drepper@gmail.com>
11506 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11509 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11511 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11512 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11513 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11514 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11519 2010-10-22 Andreas Schwab <schwab@redhat.com>
11521 * include/dlfcn.h (__RTLD_SECURE): Define.
11522 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11523 mode & __RTLD_SECURE instead.
11524 (open_path): Rename preloaded parameter to secure.
11525 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11526 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11527 * elf/dl-deps.c (openaux): Likewise.
11528 * elf/rtld.c (struct map_args): Remove is_preloaded.
11529 (map_doit): Don't use it.
11530 (dl_main): Likewise.
11531 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11532 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11534 2010-09-09 Andreas Schwab <schwab@redhat.com>
11536 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11537 (sysd-rules-targets): Remove duplicates.
11538 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11539 rtld-%.$o dependency.
11541 2010-10-18 Andreas Schwab <schwab@redhat.com>
11543 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11544 _dl_map_object do it.
11546 2010-10-19 Ulrich Drepper <drepper@gmail.com>
11548 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11549 fast fma builtins, define the macros in the C99 standard.
11550 (FP_FAST_FMAF): Likewise.
11551 (FP_FAST_FMAL): Likewise.
11552 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11554 * bits/mathdef.h: Update copyright year.
11555 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11557 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11559 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11560 builtins, define the macros in the C99 standard.
11561 (FP_FAST_FMAF): Likewise.
11562 (FP_FAST_FMAL): Likewise.
11563 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11565 (FP_FAST_FMAF): Likewise.
11567 2010-10-15 Jakub Jelinek <jakub@redhat.com>
11570 * math/libm-test.inc (fma_test): Some new testcases.
11571 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11572 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11573 y and infinite z. Do multiplication by C already in long double.
11574 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11575 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11576 y and infinite z. Do bitwise or of inexact bit into u.d.
11577 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11578 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11579 * sysdeps/i386/fpu/s_fma.S: Removed.
11580 * sysdeps/i386/fpu/s_fmal.S: Removed.
11582 2010-10-16 Jakub Jelinek <jakub@redhat.com>
11585 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11587 computation is not scheduled after fetestexcept. Fix value
11588 of minimum denormal long double.
11590 2010-10-14 Jakub Jelinek <jakub@redhat.com>
11593 * math/libm-test.inc (fma_test): Add some more tests.
11594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11597 2010-10-15 Andreas Schwab <schwab@redhat.com>
11599 * scripts/data/localplt-s390-linux-gnu.data: New file.
11600 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11602 2010-10-13 Jakub Jelinek <jakub@redhat.com>
11605 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11606 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11608 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11610 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11612 if one of x and y is very large and the other is subnormal.
11613 * sysdeps/s390/fpu/s_fmaf.c: New file.
11614 * sysdeps/s390/fpu/s_fma.c: New file.
11615 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11616 * sysdeps/powerpc/fpu/s_fma.S: New file.
11617 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11618 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11619 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11621 2010-10-12 Jakub Jelinek <jakub@redhat.com>
11624 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11626 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11627 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11628 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11629 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11630 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11631 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11632 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11634 2010-10-12 Ulrich Drepper <drepper@redhat.com>
11637 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11638 * posix/bug-regex31.input: Add test case.
11640 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11642 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11643 * posix/bug-regex31.input: New file.
11646 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11647 (parse_sub_exp): Fix last change, use postorder.
11649 * posix/bug-regex31.c: New file.
11650 * posix/Makefile: Add rules to build and run bug-regex31.
11652 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11655 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11658 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11659 to have entries in sys_siglist.
11662 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11665 2010-10-07 Jakub Jelinek <jakub@redhat.com>
11668 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11669 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11670 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11671 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11672 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11673 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11674 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11675 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11676 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11677 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11678 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11679 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11680 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11681 * math/ftestexcept.c (fetestexcept): Likewise.
11682 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11683 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11684 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11685 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11686 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11687 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11688 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11690 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11693 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11696 2010-10-06 Ulrich Drepper <drepper@gmail.com>
11698 * string/bug-strstr1.c: New file.
11699 * string/Makefile: Add rules to build and run bug-strstr1.
11701 2010-10-05 Eric Blake <eblake@redhat.com>
11704 * string/str-two-way.h (two_way_long_needle): Always clear memory
11705 when skipping input due to the shift table.
11707 2010-10-03 Ulrich Drepper <drepper@gmail.com>
11710 * malloc/mcheck.c: Handle large requests.
11713 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11714 for strncmp and strncasecmp.
11715 * string/stratcliff.c: Add tests for strcmp and strncmp.
11716 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11718 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11720 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11723 2010-09-30 Andreas Jaeger <aj@suse.de>
11725 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11726 (CGROUP_SUPER_MAGIC): Define.
11727 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11728 Handle btrfs and cgroup file systems.
11729 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11732 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
11734 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11735 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11737 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11740 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11741 trying to locate the ELF header.
11743 2010-09-27 Andreas Schwab <schwab@redhat.com>
11746 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11747 Mask out sign-bit copies when constructing f_fsid.
11749 2010-09-24 Petr Baudis <pasky@suse.cz>
11751 * debug/stack_chk_fail_local.c: Add missing licence exception.
11752 * debug/warning-nop.c: Likewise.
11754 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11756 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11757 implementing getdents64 using getdents syscall, set d_type if
11758 __ASSUME_GETDENTS32_D_TYPE.
11760 2010-09-16 Andreas Schwab <schwab@redhat.com>
11762 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11763 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11765 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11768 * posix/unistd.h: Undo change of feature selection for ftruncate from
11771 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11773 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11776 2010-09-20 Andreas Schwab <schwab@redhat.com>
11778 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11780 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11782 2010-09-14 Andreas Schwab <schwab@redhat.com>
11784 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11785 variables after CHECK_SP call.
11786 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11788 2010-09-13 Andreas Schwab <schwab@redhat.com>
11789 Ulrich Drepper <drepper@redhat.com>
11791 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11792 re-relocationg ld.so.
11793 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11794 _dl_init_paths call.
11795 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11798 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11800 * resolv/res_init.c (__res_vinit): Count the default server we added.
11802 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11803 Ulrich Drepper <drepper@redhat.com>
11806 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11807 (____longjmp_chk): Use %ebx for saving value across system call.
11810 2010-09-06 Andreas Schwab <schwab@redhat.com>
11812 * manual/Makefile: Don't mix pattern rules with normal rules.
11814 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11816 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11818 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11819 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11820 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11821 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11825 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11828 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11829 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11831 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11833 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11834 * sysdeps/x86_64/addmul_1.S: Likewise.
11835 * sysdeps/x86_64/lshift.S: Likewise.
11836 * sysdeps/x86_64/mul_1.S: Likewise.
11837 * sysdeps/x86_64/rshift.S: Likewise.
11838 * sysdeps/x86_64/sub_n.S: Likewise.
11839 * sysdeps/x86_64/submul_1.S: Likewise.
11841 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11843 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11844 Define __sched_param instead of SCHED_* and sched_param when
11845 <bits/sched.h> is included with __need_schedparam defined.
11846 * bits/sched.h [__need_schedparam]
11847 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11848 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11849 (__defined_schedparam): Define to 1.
11850 (__sched_param): New structure, identical to sched_param.
11851 (__need_schedparam): Undefine.
11853 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11855 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11856 (epoll_create1): Declare.
11858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11860 2010-08-31 Andreas Schwab <schwab@redhat.com>
11863 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11864 shifting retval into place.
11866 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11868 * nis/rpcsvc/nis.h: Update copyright notice.
11869 * nis/rpcsvc/nis.x: Likewise.
11870 * nis/rpcsvc/nis_callback.h: Likewise.
11871 * nis/rpcsvc/nis_callback.x: Likewise.
11872 * nis/rpcsvc/nis_object.x: Likewise.
11873 * nis/rpcsvc/nis_tags.h: Likewise.
11874 * nis/rpcsvc/yp.h: Likewise.
11875 * nis/rpcsvc/yp.x: Likewise.
11876 * nis/rpcsvc/ypupd.h: Likewise.
11877 * nis/yp_xdr.c: Likewise.
11878 * nis/ypupdate_xdr.c: Likewise.
11880 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11881 mainly the body of pmap_getport. Add parameters to specify timeouts.
11882 (pmap_getport): Use __libc_rpc_getport.
11883 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11884 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11885 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11887 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11892 2010-08-27 Roland McGrath <roland@redhat.com>
11894 * sysdeps/i386/i686/multiarch/Makefile
11895 (CFLAGS-varshift.c): New variable.
11897 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11899 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11900 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11902 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11904 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11906 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11908 * sysdeps/x86_64/strlen.S: Unroll the loop.
11909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11910 strlen-sse2 strlen-sse2-bsf.
11911 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11912 __strlen_no_bsf if bit_Slow_BSF is set.
11913 (__strlen_sse42): Removed.
11914 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11915 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11917 2010-08-25 Roland McGrath <roland@redhat.com>
11919 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11920 * sysdeps/x86_64/multiarch/varshift.c: New file.
11921 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11922 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11923 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11924 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11926 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11929 strlen-sse2 strlen-sse2-bsf.
11930 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11931 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11932 (__strlen_sse2): Removed.
11933 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11934 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11936 bit_Slow_BSF for Atom.
11937 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11938 (index_Slow_BSF): Define.
11939 (HAS_SLOW_BSF): Define.
11941 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11944 * resolv/res_init.c (__res_vinit): When no server address at all
11945 is given default to loopback.
11947 2010-08-24 Roland McGrath <roland@redhat.com>
11949 * configure.in: Remove config-name.h generation.
11950 * configure: Regenerated.
11951 * config-name.in: File removed.
11952 * scripts/config-uname.sh: New file.
11953 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11954 ($(objdir)config-name.h): New target.
11956 * sunrpc/rpc_parse.h: Avoid nested comment.
11958 2010-08-24 Richard Henderson <rth@redhat.com>
11959 Ulrich Drepper <drepper@redhat.com>
11960 H.J. Lu <hongjiu.lu@intel.com>
11962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11964 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11965 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11966 _mm_alignr_epi8 with _mm_loadu_si128.
11967 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11968 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11969 (__m128i_shift_right): Removed.
11970 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11971 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11972 * sysdeps/x86_64/multiarch/varshift.h: New file.
11973 * sysdeps/x86_64/multiarch/varshift.S: New file.
11975 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11977 * configure.in: Move assembler checks to before sysdep dir checking.
11979 2010-08-20 Petr Baudis <pasky@suse.cz>
11981 * LICENSES: Sync the sunrpc license.
11983 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11985 * sunrpc/auth_des.c: Update copyright notice once again.
11986 * sunrpc/auth_none.c: Likewise.
11987 * sunrpc/auth_unix.c: Likewise.
11988 * sunrpc/authdes_prot.c: Likewise.
11989 * sunrpc/authuxprot.c: Likewise.
11990 * sunrpc/bindrsvprt.c: Likewise.
11991 * sunrpc/clnt_gen.c: Likewise.
11992 * sunrpc/clnt_perr.c: Likewise.
11993 * sunrpc/clnt_raw.c: Likewise.
11994 * sunrpc/clnt_simp.c: Likewise.
11995 * sunrpc/clnt_tcp.c: Likewise.
11996 * sunrpc/clnt_udp.c: Likewise.
11997 * sunrpc/clnt_unix.c: Likewise.
11998 * sunrpc/des_crypt.c: Likewise.
11999 * sunrpc/des_soft.c: Likewise.
12000 * sunrpc/get_myaddr.c: Likewise.
12001 * sunrpc/getrpcport.c: Likewise.
12002 * sunrpc/key_call.c: Likewise.
12003 * sunrpc/key_prot.c: Likewise.
12004 * sunrpc/openchild.c: Likewise.
12005 * sunrpc/pm_getmaps.c: Likewise.
12006 * sunrpc/pm_getport.c: Likewise.
12007 * sunrpc/pmap_clnt.c: Likewise.
12008 * sunrpc/pmap_prot.c: Likewise.
12009 * sunrpc/pmap_prot2.c: Likewise.
12010 * sunrpc/pmap_rmt.c: Likewise.
12011 * sunrpc/rpc/auth.h: Likewise.
12012 * sunrpc/rpc/auth_unix.h: Likewise.
12013 * sunrpc/rpc/clnt.h: Likewise.
12014 * sunrpc/rpc/des_crypt.h: Likewise.
12015 * sunrpc/rpc/key_prot.h: Likewise.
12016 * sunrpc/rpc/netdb.h: Likewise.
12017 * sunrpc/rpc/pmap_clnt.h: Likewise.
12018 * sunrpc/rpc/pmap_prot.h: Likewise.
12019 * sunrpc/rpc/pmap_rmt.h: Likewise.
12020 * sunrpc/rpc/rpc.h: Likewise.
12021 * sunrpc/rpc/rpc_des.h: Likewise.
12022 * sunrpc/rpc/rpc_msg.h: Likewise.
12023 * sunrpc/rpc/svc.h: Likewise.
12024 * sunrpc/rpc/svc_auth.h: Likewise.
12025 * sunrpc/rpc/types.h: Likewise.
12026 * sunrpc/rpc/xdr.h: Likewise.
12027 * sunrpc/rpc_clntout.c: Likewise.
12028 * sunrpc/rpc_cmsg.c: Likewise.
12029 * sunrpc/rpc_common.c: Likewise.
12030 * sunrpc/rpc_cout.c: Likewise.
12031 * sunrpc/rpc_dtable.c: Likewise.
12032 * sunrpc/rpc_hout.c: Likewise.
12033 * sunrpc/rpc_main.c: Likewise.
12034 * sunrpc/rpc_parse.c: Likewise.
12035 * sunrpc/rpc_parse.h: Likewise.
12036 * sunrpc/rpc_prot.c: Likewise.
12037 * sunrpc/rpc_sample.c: Likewise.
12038 * sunrpc/rpc_scan.c: Likewise.
12039 * sunrpc/rpc_scan.h: Likewise.
12040 * sunrpc/rpc_svcout.c: Likewise.
12041 * sunrpc/rpc_tblout.c: Likewise.
12042 * sunrpc/rpc_util.c: Likewise.
12043 * sunrpc/rpc_util.h: Likewise.
12044 * sunrpc/rpcinfo.c: Likewise.
12045 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12046 * sunrpc/rpcsvc/key_prot.x: Likewise.
12047 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12048 * sunrpc/rpcsvc/mount.x: Likewise.
12049 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12050 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12051 * sunrpc/rpcsvc/rex.x: Likewise.
12052 * sunrpc/rpcsvc/rstat.x: Likewise.
12053 * sunrpc/rpcsvc/rusers.x: Likewise.
12054 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12055 * sunrpc/rpcsvc/spray.x: Likewise.
12056 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12057 * sunrpc/rtime.c: Likewise.
12058 * sunrpc/svc.c: Likewise.
12059 * sunrpc/svc_auth.c: Likewise.
12060 * sunrpc/svc_authux.c: Likewise.
12061 * sunrpc/svc_raw.c: Likewise.
12062 * sunrpc/svc_run.c: Likewise.
12063 * sunrpc/svc_simple.c: Likewise.
12064 * sunrpc/svc_tcp.c: Likewise.
12065 * sunrpc/svc_udp.c: Likewise.
12066 * sunrpc/svc_unix.c: Likewise.
12067 * sunrpc/svcauth_des.c: Likewise.
12068 * sunrpc/xcrypt.c: Likewise.
12069 * sunrpc/xdr.c: Likewise.
12070 * sunrpc/xdr_array.c: Likewise.
12071 * sunrpc/xdr_float.c: Likewise.
12072 * sunrpc/xdr_mem.c: Likewise.
12073 * sunrpc/xdr_rec.c: Likewise.
12074 * sunrpc/xdr_ref.c: Likewise.
12075 * sunrpc/xdr_sizeof.c: Likewise.
12076 * sunrpc/xdr_stdio.c: Likewise.
12078 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12081 2010-08-19 Andreas Schwab <schwab@redhat.com>
12083 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12085 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12087 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12088 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12089 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12090 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12091 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12092 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12093 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12094 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12095 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12096 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12097 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12098 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12099 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12100 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12102 2010-07-26 Anton Blanchard <anton@samba.org>
12104 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12105 * malloc/arena.c (heap_trim): Likewise.
12107 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12109 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12112 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12114 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12116 * sysdeps/i386/elf/Makefile: New file.
12118 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12120 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12121 from fanotify_init.
12122 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12123 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12125 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12127 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12129 * sysdeps/multiarch/strcmp.S: Likewise.
12131 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12133 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12134 strncase_l-nonascii.
12135 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12136 Add strncase_l-ssse3.
12137 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12138 * sysdeps/x86_64/strcmp.S: Likewise.
12139 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12140 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12141 * sysdeps/x86_64/strncase.S: New file.
12142 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12143 * sysdeps/x86_64/strncase_l.S: New file.
12144 * string/Makefile (strop-tests): Add strncasecmp.
12145 * string/test-strncasecmp.c: New file.
12147 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12150 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12151 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12153 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12155 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12157 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12159 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12160 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12161 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12163 2010-05-01 Alan Modra <amodra@gmail.com>
12165 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12166 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12167 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12168 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12169 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12170 tidying. Don't tail-call __sigjmp_save for static lib.
12171 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12173 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12174 (CALL_MCOUNT): Add eh info, and nop after bl.
12175 (TAIL_CALL_SYSCALL_ERROR): New macro.
12176 (PSEUDO_RET): Use it.
12177 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12178 Correct save location of integer regs and cr.
12179 (_dl_profile_resolve): Correct cr save location. Delete nops
12180 after bl when SHARED. Reduce cfi size a little by better
12181 placement of cfi directives.
12182 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12183 make a stack frame. Instead use parm save area as a temp.
12184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12185 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12187 Don't make a stack frame for parent, use parm save area.
12188 Increase child stack frame to 112 bytes. Don't save unused reg,
12189 and adjust reg usage. Set up cfi on error recovery and
12190 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12192 (__makecontext): Add dummy nop after jump to exit.
12193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12194 Use correct parm save area and cr save, reduce stack frame.
12195 Correct cfi for possible PSEUDO_RET frame setup.
12196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12197 Branch to local label emitted by PSEUDO_RET rather than
12200 2010-08-12 Andreas Schwab <schwab@redhat.com>
12203 * locale/programs/locale.c (print_assignment): New function.
12204 (show_locale_vars): Use it.
12206 2010-08-11 Ulrich Drepper <drepper@redhat.com>
12208 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12210 (struct statfs64): Likewise.
12211 (_STATFS_F_FLAGS): Define.
12212 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12213 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12214 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12215 (ST_VALID): Define locally.
12216 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12217 __statvfs_getflags, use the provided value.
12218 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12219 __ASSUME_STATFS_F_FLAGS.
12221 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12223 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12224 Add sys/fanotify.h.
12225 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12226 fanotify_mask for GLIBC_2.13.
12227 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12228 fanotify_init and fanotify_mark.
12229 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12230 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12232 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12234 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12235 prlimit64 for GLIBC_2.13.
12236 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12238 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12241 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12242 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12243 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12246 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12249 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12250 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12252 * nss/Makefile: Add rules to build and run tst-nss-test1.
12253 * shlib-versions: Add entry for libnss_test1.
12254 * nss/nss_test1.c: New file.
12255 * nss/tst-nss-test1.c: New file.
12257 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12258 (__nss_configure_lookup): Set appropriate entry in
12259 __nss_configure_lookup to true.
12260 * nss/nsswitch.h: Define enum with indeces of databases in
12261 databases and __nss_database_custom arrays. Declare
12262 __nss_database_custom.
12263 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12264 to avoid using nscd when custom rules are installed.
12265 * nss/getXXbyYY_r.c: Likewise.
12266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12268 * nss/nss_files/files-parse.c: Whitespace fixes.
12270 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12273 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12274 * posix/fnmatch_loop.c: Likewise.
12276 2010-07-17 Andi Kleen <ak@linux.intel.com>
12278 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12279 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12280 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12281 * Versions.def [GLIBC_2.13]: Add.
12283 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12285 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12286 Also fail if tpwd after pwuid call is NULL.
12288 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12290 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12291 when converting to ms.
12293 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12295 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12296 EOPNOTSUPP errors with ENOTTY.
12297 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12298 EOPNOTSUPP errors with ENOTTY.
12300 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12302 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12303 Add strcasecmp_l-ssse3.
12304 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12306 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12307 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12308 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12310 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12312 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12314 * string/Makefile (strop-tests): Add strcasecmp.
12315 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12316 strcasecmp_l-nonascii.
12317 (gen-as-const-headers): Add locale-defines.sym.
12318 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12319 * sysdeps/x86_64/strcasecmp.S: New file.
12320 * sysdeps/x86_64/strcasecmp_l.S: New file.
12321 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12322 * sysdeps/x86_64/locale-defines.sym: New file.
12323 * string/test-strcasecmp.c: New file.
12325 * string/test-strcasestr.c: Test both ends of the range of characters.
12326 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12328 2010-07-29 Roland McGrath <roland@redhat.com>
12331 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12333 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12335 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12338 2010-07-27 Andreas Schwab <schwab@redhat.com>
12340 * manual/memory.texi (Malloc Tunable Parameters): Document
12343 2010-07-26 Roland McGrath <roland@redhat.com>
12346 * configure.in (-fgnu89-inline check): Set and substitute
12347 gnu89_inline, not libc_cv_gnu89_inline.
12348 * configure: Regenerated.
12349 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12351 2010-07-26 Ulrich Drepper <drepper@redhat.com>
12353 * string/test-strnlen.c: New file.
12354 * string/Makefile (strop-tests): Add strnlen.
12355 * string/tester.c (test_strnlen): Add a few more test cases.
12356 * string/tst-strlen.c: Better error reporting.
12358 * sysdeps/x86_64/strnlen.S: New file.
12360 2010-07-24 Ulrich Drepper <drepper@redhat.com>
12362 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12363 lower-latency instructions.
12365 2010-07-23 Ulrich Drepper <drepper@redhat.com>
12367 * string/test-strcasestr.c: New file.
12368 * string/test-strstr.c: New file.
12369 * string/Makefile (strop-tests): Add strstr and strcasestr.
12370 * string/str-two-way.h: Don't undefine MAX.
12371 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12373 2010-07-21 Andreas Schwab <schwab@redhat.com>
12375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12376 strcasestr-nonascii.
12377 (CFLAGS-strcasestr-nonascii.c): Define.
12378 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12379 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12380 Remove unused attribute.
12382 2010-07-20 Roland McGrath <roland@redhat.com>
12384 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12385 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12386 ld.so.cache was broken. With it, there is no way to disable dsocaps
12387 like LD_HWCAP_MASK can disable hwcaps.
12389 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12391 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12393 2010-07-16 Ulrich Drepper <drepper@redhat.com>
12395 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12396 call in strcasestr.
12397 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12398 __strcasestr_sse42_nonascii.
12399 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12400 strcasestr-nonascii.c.
12401 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12403 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
12405 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12406 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12407 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12408 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12410 2010-07-09 Ulrich Drepper <drepper@redhat.com>
12412 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12415 2010-07-06 Andreas Schwab <schwab@redhat.com>
12418 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12421 2010-07-06 Ulrich Drepper <drepper@redhat.com>
12423 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12424 _PC_PIPE_BUF using F_GETPIPE_SZ.
12426 2010-07-05 Roland McGrath <roland@redhat.com>
12428 * manual/arith.texi (Rounding Functions): Fix rint description
12429 implicit in round description.
12431 2010-07-02 Ulrich Drepper <drepper@redhat.com>
12433 * elf/Makefile: Fix linking for a few tests to make recent linker
12436 2010-06-30 Andreas Schwab <schwab@redhat.com>
12438 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12439 $(common-objpfx)libc_nonshared.a.
12441 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
12443 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12444 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12445 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12446 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12447 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12448 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12449 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12450 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12465 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12466 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12467 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12468 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12469 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12470 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12471 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12472 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12473 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12474 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12475 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12476 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12492 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12494 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12495 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12496 * string/memmove.c (memmove): Renamed to ...
12497 (MEMMOVE): ...this. Default to memmove.
12498 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12499 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12502 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12503 mempcpy-ssse3-back memmove-ssse3-back.
12504 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12505 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12506 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12507 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12508 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12509 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12510 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12511 * sysdeps/x86_64/multiarch/memmove.c: New file.
12512 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12513 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12514 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12515 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12516 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12517 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12519 (index_Fast_Copy_Backward): Define.
12520 (HAS_ARCH_FEATURE): Define.
12521 (HAS_FAST_REP_STRING): Define.
12522 (HAS_FAST_COPY_BACKWARD): Define.
12524 2010-06-21 Andreas Schwab <schwab@redhat.com>
12526 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12527 Restore proper fallback handling.
12529 2010-06-19 Ulrich Drepper <drepper@redhat.com>
12532 * posix/group_member.c (__group_member): Correct checking loop.
12534 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12535 OOM in getpwuid_r correctly. Return error number when the caller
12536 should return, otherwise -1.
12537 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12538 call returning > 0 value.
12539 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12541 2010-06-07 Andreas Schwab <schwab@redhat.com>
12543 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12544 libc_nonshared.a from targets in modules-names.
12546 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12548 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12551 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
12553 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12554 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12555 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12556 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12558 2010-06-02 Andreas Schwab <schwab@redhat.com>
12560 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12562 2010-06-14 Ulrich Drepper <drepper@redhat.com>
12564 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12566 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12567 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12570 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12571 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12573 2010-06-14 Roland McGrath <roland@redhat.com>
12575 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12577 2010-06-07 Jakub Jelinek <jakub@redhat.com>
12579 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12580 __REDIRECT followed by __THROW.
12581 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12582 * posix/getopt.h (getopt): Likewise.
12584 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12586 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12587 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12588 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12590 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12591 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12593 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
12595 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12597 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12601 Properly check family and model.
12603 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12605 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12607 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
12609 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12611 2010-05-21 Ulrich Drepper <drepper@redhat.com>
12613 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12616 2010-05-19 Andreas Schwab <schwab@redhat.com>
12618 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12621 2010-05-21 Andreas Schwab <schwab@redhat.com>
12623 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12624 and internal_recvmmsg.
12625 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12626 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12627 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12628 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12630 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12631 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12632 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12634 2010-05-20 Andreas Schwab <schwab@redhat.com>
12636 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12638 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
12640 POWER7 optimizations.
12641 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12642 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12644 2010-05-19 Ulrich Drepper <drepper@redhat.com>
12646 * version.h: Update for 2.13 development version.
12648 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
12650 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12651 exceptions. Return 0.
12653 2010-05-07 Roland McGrath <roland@redhat.com>
12655 * elf/ldconfig.c (main): Add a const.
12657 2010-05-06 Ulrich Drepper <drepper@redhat.com>
12659 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12660 (args_options): Add no-idn option.
12661 (ahosts_keys_int): Add idn_flags to ai_flags.
12662 (parse_option): Handle 'i' option to clear idn_flags.
12664 * malloc/malloc.c (_int_free): Possible race in the most recently
12665 added check. Only act on the data if no current modification
12668 See ChangeLog.17 for earlier changes.