1 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3 * conform/conformtest.pl: Handle "optional-" at start of lines in
4 one place rather than duplicating several cases. Handle each
5 format of "macro" line with initial "optional-".
7 * conform/conformtest.pl: Only accept expected constant or
8 optional-constant values with "==". Parse all "constant" lines in
9 one place. Parse all "optional-constant" lines in one place.
10 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11 * conform/data/fmtmsg.h-data: Likewise.
12 * conform/data/netinet/in.h-data: Likewise.
13 * conform/data/tar.h-data: Likewise.
14 * conform/data/limits.h-data: Use "==" form on "constant" and
15 "optional-constant" lines.
17 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18 Use -std=c99 for XOPEN2K.
19 (@knownproblems): Remove.
20 (newtoken): Don't check %isknown.
22 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
28 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
46 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
54 [XPG3] (acosh): Likewise.
55 [XPG3] (asinh): Likewise.
56 [XPG3] (atanh): Likewise.
57 [XPG3] (cbrt): Likewise.
58 [XPG3] (expm1): Likewise.
59 [XPG3] (ilogb): Likewise.
60 [XPG3] (log1p): Likewise.
61 [XPG3] (logb): Likewise.
62 [XPG3] (nextafter): Likewise.
63 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65 [XPG3] (remainder): Likewise.
66 [XPG3] (rint): Likewise.
67 [XPG3 || XPG4 || UNIX98] (round): Likewise.
68 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
69 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
71 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
72 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
74 [UNIX98 || XOPEN2K] (scalb): Expect.
75 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
76 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
77 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
78 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
79 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
80 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
81 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
82 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
84 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
85 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
86 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
87 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
88 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
89 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
90 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
91 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
92 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
93 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
94 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
95 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
96 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
97 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
98 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
99 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
100 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
101 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
102 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
103 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
104 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
105 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
106 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
107 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
108 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
109 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
110 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
111 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
112 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
113 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
114 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
115 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
116 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
117 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
118 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
119 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
120 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
121 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
122 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
123 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
124 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
125 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
126 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
127 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
128 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
129 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
130 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
131 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
132 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
133 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
134 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
135 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
136 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
137 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
138 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
139 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
140 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
141 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
142 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
143 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
144 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
145 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
146 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
147 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
148 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
149 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
150 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
151 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
152 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
153 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
154 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
155 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
156 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
157 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
158 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
159 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
160 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
161 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
162 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
163 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
164 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
165 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
166 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
167 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
168 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
169 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
170 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
171 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
172 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
173 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
174 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
175 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
176 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
177 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
178 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
179 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
180 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
181 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
182 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
183 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
184 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
185 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
186 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
187 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
188 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
189 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
190 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
191 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
192 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
193 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
194 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
195 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
196 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
197 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
198 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
199 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
200 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
201 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
202 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
203 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
204 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
205 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
206 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
207 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
208 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
209 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
210 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
211 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
213 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
214 _XOPEN_SOURCE_EXTENDED for XPG4.
216 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
218 * Makeconfig (localtime): Remove variable.
219 (inst_localtime-file): Likewise.
221 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
242 2012-05-01 Joseph Myers <joseph@codesourcery.com>
246 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
247 comparisons to determine direction to adjust input.
248 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
249 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
250 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
252 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
256 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
257 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
259 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
261 * math/libm-test.inc (nexttoward_test): Add more tests.
263 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
266 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
267 in version GLIBC_2.1, not GLIBC_2.0.
268 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
271 2012-04-30 Joseph Myers <joseph@codesourcery.com>
274 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
276 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
277 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
278 * math/libm-test.inc (acos_test): Add more tests.
279 (asin_test): Likewise.
280 * sysdeps/i386/fpu/libm-test-ulps: Update.
281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
284 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
286 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
287 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
288 * math/libm-test.inc (acos_test_tonearest): New function.
289 (acos_test_towardzero): Likewise.
290 (acos_test_downward): Likewise.
291 (acos_test_upward): Likewise.
292 (asin_test_tonearest): Likewise.
293 (asin_test_towardzero): Likewise.
294 (asin_test_downward): Likewise.
295 (asin_test_upward): Likewise.
296 (main): Call the new functions.
297 * sysdeps/i386/fpu/libm-test-ulps: Update.
298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
302 * math/e_exp10.c: Include <float.h>.
303 (__ieee754_exp10): Handle underflow here rather than multiplying
304 large negative argument by M_LN10.
305 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
307 * math/e_exp10l.c: Include <float.h>.
308 (__ieee754_exp10l): Handle underflow here rather than multiplying
309 large negative argument by M_LN10l.
310 * math/libm-test.inc (exp10_test): Add another test. Do not allow
311 spurious overflow exception on underflow.
313 2012-04-29 Marek Polacek <polacek@redhat.com>
315 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
316 (__fortify_function): New macro.
317 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
318 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
319 __extern_always_inline.
320 * libio/bits/stdio2.h: Likewise.
321 * libio/bits/stdio.h: Likewise.
322 * string/string.h: Likewise.
323 * string/bits/string3.h: Likewise.
324 * include/stdio.h: Likewise.
325 * stdlib/bits/stdlib.h: Likewise.
326 * stdlib/stdlib.h: Likewise.
327 * rt/bits/mqueue2.h: Likewise.
328 * rt/mqueue.h: Likewise.
329 * posix/bits/unistd.h: Likewise.
330 * posix/unistd.h: Likewise.
331 * io/bits/poll2.h: Likewise.
332 * io/bits/fcntl2.h: Likewise.
333 * io/fcntl.h: Likewise.
334 * io/sys/poll.h: Likewise.
335 * misc/bits/syslog.h: Likewise.
336 * misc/bits/syslog-ldbl.h: Likewise.
337 * misc/sys/syslog.h: Likewise.
338 * socket/bits/socket2.h: Likewise.
339 * socket/sys/socket.h: Likewise.
340 * debug/tst-chk1.c: Likewise.
341 * wcsmbs/bits/wchar2.h: Likewise.
342 * wcsmbs/bits/wchar-ldbl.h: Likewise.
343 * wcsmbs/wchar.h: Likewise.
345 2012-04-29 Andreas Jaeger <aj@suse.de>
347 * Makerules (tests): Remove enable-check-abi protection.
348 (check-abi-warn): Remove.
349 (check-abi-%): Remove check-abi-warn usage.
351 * configure.in: Remove check-abi configure option.
352 * configure: Regenerated.
353 * config.make.in (enable-check-abi): Remove.
355 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
358 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
359 double functions to double *_finite functions.
362 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
363 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
365 * stdio-common/Makefile (tests): Add tst-sprintf3.
366 * stdio-common/tst-sprintf3.c: New file.
368 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
369 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
371 2012-04-28 Joseph Myers <joseph@codesourcery.com>
373 * conform/conformtest.pl: Remove duplicate typed-constant
376 2012-04-28 David S. Miller <davem@davemloft.net>
378 * Makerules (%.abilist): Add vpath on sysdep_dirs.
379 (check-abi-%): Remove AWK script prerequisite and explicit
381 (check-abi): Rewrite to just diff the symlist with the abilist.
382 (config-tls, config-abi-config): Delete, no longer used.
383 (update-abi-%): Remove AWK script and explicit abilist directory.
384 (update-abi): Rewrite to simply compare and conditionally copy the
385 symlist and the sysdep abilist file. Remove update-abi-config
387 * abilist/ld.abilist: Remove.
388 * abilist/libBrokenLocale.abilist: Remove.
389 * abilist/libanl.abilist: Remove.
390 * abilist/libcrypt.abilist: Remove.
391 * abilist/libdl.abilist: Remove.
392 * abilist/librt.abilist: Remove.
393 * abilist/libthread_db.abilist: Remove.
394 * abilist/libutil.abilist: Remove.
395 * scripts/extract-abilist.awk: Remove.
396 * scripts/merge-abilist.awk: Remove.
397 * sysdeps/generic/libcidn.abilist: New file.
398 * sysdeps/generic/libnss_compat.abilist: New file.
399 * sysdeps/generic/libnss_db.abilist: New file.
400 * sysdeps/generic/libnss_dns.abilist: New file.
401 * sysdeps/generic/libnss_files.abilist: New file.
402 * sysdeps/generic/libnss_hesiod.abilist: New file.
403 * sysdeps/generic/libnss_nis.abilist: New file.
404 * sysdeps/generic/libnss_nisplus.abilist: New file.
405 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
406 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
407 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
409 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
410 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
411 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
412 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
413 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
414 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
415 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
416 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
417 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
419 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
420 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
421 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
422 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
424 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
425 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
426 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
427 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
428 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
429 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
431 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
432 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
433 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
435 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
538 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
539 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
540 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
542 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
543 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
544 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
545 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
546 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
547 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
548 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
549 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
550 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
551 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
603 2012-04-28 Joseph Myers <joseph@codesourcery.com>
605 * conform/conformtest.pl: Fix typo in handling typed-constant from
608 2012-04-27 Joseph Myers <joseph@codesourcery.com>
610 * README: Cut down references to pre-2.6 Linux kernels and
611 Linuxthreads. Update lists of configurations in libc and ports
612 and sort alphabetically. Say "or newer" with Linux kernel version
615 * config.h.in [IS_IN_build]: Allow compiling without optimization.
617 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
620 * math/libm-test.inc (logb_test_downward): New test to expose
621 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
624 2012-04-27 Joseph Myers <joseph@codesourcery.com>
627 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
629 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
630 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
632 2012-04-26 Joseph Myers <joseph@codesourcery.com>
634 * sysdeps/unix/i386/brk.S: Remove file.
635 * sysdeps/unix/i386/dl-brk.S: Likewise.
636 * sysdeps/unix/i386/pipe.S: Likewise.
637 * sysdeps/unix/i386/sigreturn.S: Likewise.
638 * sysdeps/unix/i386/syscall.S: Likewise.
639 * sysdeps/unix/i386/vfork.S: Likewise.
640 * sysdeps/unix/i386/wait.S: Likewise.
642 * sysdeps/unix/common/tcsendbrk.c: Move to ...
643 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
645 * configure.in (arm*-none*): Do not allow without
646 --enable-hacker-mode.
647 (netbsd*): Remove case setting base_os.
649 (freebsd*): Likewise.
664 (solaris[2-9]*): Likewise.
666 * configure: Regenerated.
668 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
671 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
672 overflow or cancellation in calculating denominator.
673 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
675 down expression to avoid unexpected rounding in newer GCCs.
676 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
678 2012-04-26 David S. Miller <davem@davemloft.net>
680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
681 long-double compat symbols.
682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
696 2012-04-25 David S. Miller <davem@davemloft.net>
698 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
699 HWCAP_* values only after the memory barriers have been defined.
700 (atomic_full_barrier): Define.
701 (atomic_read_barrier): Define.
702 (atomic_write_barrier): Define.
704 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
706 * shlib-versions: Add libgcc_s version information.
707 * sysdeps/generic/libgcc_s.h: Remove.
708 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
710 * sysdeps/gnu/unwind-resume.c: Likewise.
711 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
713 2012-04-25 David S. Miller <davem@davemloft.net>
715 * sysdeps/unix/sparc/brk.S: Delete.
716 * sysdeps/unix/sparc/dl-brk.S: Delete.
717 * sysdeps/unix/sparc/pipe.S: Delete.
718 * sysdeps/unix/sparc/sysdep.S: Delete.
719 * sysdeps/unix/sparc/sysdep.h: Delete.
720 * sysdeps/unix/sparc/vfork.S: Delete.
721 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
722 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
723 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
724 ret_ERRVAL, r0, r1, MOVE): Define.
725 (JUMPTARGET): Remove.
726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
727 sysdeps/unix/sparc/sysdep.h
728 (ENTRY, END): Remove.
729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
731 2012-04-25 Joseph Myers <joseph@codesourcery.com>
733 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
734 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
737 * timezone/README: Update upstream location and email address for
739 * timezone/zdump.c: Update from tzcode 2012b.
740 * timezone/zic.c: Likewise.
742 * configure.in (libc_cv_as_needed): Remove test.
743 * configure: Regenerated.
744 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
745 conditional definition.
746 [$(have-as-needed) != yes] (no-as-needed): Likewise.
747 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
748 * config.make.in (have-as-needed): Remove variable.
750 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
751 Paul Pluzhnikov <ppluzhnikov@google.com>
753 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
756 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
758 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
759 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
760 * sysdeps/sh/strlen.S: Likewise.
762 2012-04-24 Joseph Myers <joseph@codesourcery.com>
764 * sysdeps/unix/fork.S: Remove file.
765 * sysdeps/unix/i386/fork.S: Likewise.
766 * sysdeps/unix/sparc/fork.S: Likewise.
768 * sysdeps/unix/system.c: Remove file.
769 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
771 * sysdeps/unix/getegid.S: Remove file.
772 * sysdeps/unix/geteuid.S: Likewise.
774 2012-04-24 Roland McGrath <roland@hack.frob.com>
776 * scripts/check-localplt.awk: New file.
777 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
779 * scripts/data/localplt-generic.data: Add a comment.
781 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
782 NODE when __dir_mkfile failed.
783 * sysdeps/mach/hurd/symlinkat.c: Likewise.
784 Reported by Ludovic Courtès <ludo@gnu.org>.
786 2012-04-24 Andreas Jaeger <aj@suse.de>
788 * Makerules (common-clean): Also remove gen-as-const-headers
791 2012-04-24 Joseph Myers <joseph@codesourcery.com>
793 * Makerules (native-compile): Do not change working directory for
794 build. Use $(OUTPUT_OPTION) in command.
795 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
797 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
800 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
801 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
802 * math/libm-test.inc (floor_test): Add more tests.
803 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
805 2012-04-24 Joseph Myers <joseph@codesourcery.com>
807 * sysdeps/unix/getdents.c: Remove file.
808 * sysdeps/unix/sysv/getdents.c: Likewise.
809 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
811 * sysdeps/unix/syscalls.list (madvise): Add syscall from
812 sysdeps/unix/mman/syscalls.list.
814 (mprotect): Likewise.
817 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
818 * sysdeps/unix/mman/syscalls.list: Remove.
819 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
821 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
822 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
823 * configure: Regenerated.
824 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
826 * config.make.in (libgcc_s_suffix): Remove variable.
828 2012-04-23 Joseph Myers <joseph@codesourcery.com>
830 * sysdeps/unix/sysv/gethostname.c: Move to ...
831 * sysdeps/posix/gethostname.c: ... here.
833 * sysdeps/unix/execve.S: Remove file.
835 * sysdeps/unix/_exit.S: Remove file.
837 2012-04-23 Andreas Jaeger <aj@suse.de>
840 * manual/Makefile: Remove make dist support, there's no
841 need for a stand-alone documentation tar ball.
842 (TEXI2DVI): Define always, it's not in Makeconfig.
846 (glibc-doc-$(edition).tar): Removed
850 (ETAGS): Remove, it's in Makeconfig.
851 (move-if-change): Remove, it's in Makeconfig.
853 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
856 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
857 (strtod, strtof, strtold, strtol, strtoul, strtoq)
858 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
859 (strtod_l, strtof_l, strtold_l): Remove __wur.
860 It is not necessarily an error to ignore strtol's return value.
861 One can reliably look at the stored endptr to decide whether
862 the number had valid syntax.
864 2012-04-21 Andreas Jaeger <aj@suse.de>
867 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
869 2012-04-21 Joseph Myers <joseph@codesourcery.com>
871 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
872 * sysdeps/unix/sysv/Versions: Remove file.
874 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
879 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
882 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
885 2012-04-20 Joseph Myers <joseph@codesourcery.com>
887 * sysdeps/unix/common/lxstat.c: Remove file.
888 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
890 * sysdeps/unix/sysv/Makefile: Remove file.
892 * sysdeps/unix/sysv/direct.h: Remove file.
894 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
895 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
896 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
897 * sysdeps/unix/sysv/bits/signum.h: Likewise.
898 * sysdeps/unix/sysv/bits/stat.h: Likewise.
899 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
900 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
902 * sysdeps/unix/sysv/setrlimit.c: Remove file.
904 * sysdeps/unix/xmknod.c: Remove file.
905 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
907 * sysdeps/unix/sysv/settimeofday.c: Remove file.
909 * sysdeps/unix/sysv/i386/time.S: Remove file.
911 * sysdeps/unix/fxstat.c: Remove file.
912 * sysdeps/unix/xstat.c: Likewise.
913 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
915 * sysdeps/unix/sysv/sigaction.c: Remove file.
917 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
918 (sysdep_headers): Remove variable.
919 [termio.h not in sysdep_headers] (generated): Likewise.
920 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
921 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
922 * sysdeps/unix/sysv/tcdrain.c: Likewise.
923 * sysdeps/unix/sysv/tcflow.c: Likewise.
924 * sysdeps/unix/sysv/tcflush.c: Likewise.
925 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
926 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
927 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
928 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
929 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
931 * sysdeps/unix/siglist.c: Remove file.
933 * sysdeps/unix/getppid.S: Remove file.
935 * sysdeps/unix/mkdir.c: Remove file.
936 * sysdeps/unix/rmdir.c: Likewise.
938 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
940 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
942 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
943 errlist-compat value.
945 2012-04-18 David S. Miller <davem@davemloft.net>
947 * sysdeps/generic/memcopy.h (reg_char): Delete.
948 * debug/strcat_chk.c: Use char, not reg_char.
949 * debug/strcpy_chk.c: Likewise.
950 * debug/strncat_chk.c: Likewise.
951 * debug/strncpy_chk.c: Likewise.
952 * string/memchr.c: Likewise.
953 * string/memrchr.c: Likewise.
954 * string/rawmemchr.c: Likewise.
955 * string/strcat.c: Likewise.
956 * string/strchr.c: Likewise.
957 * string/strchrnul.c: Likewise.
958 * string/strcmp.c: Likewise.
959 * string/strcpy.c: Likewise.
960 * string/strncat.c: Likewise.
961 * string/strncmp.c: Likewise.
962 * string/strncpy.c: Likewise.
964 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
966 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
967 __builtin_memcopy is called when src and dest ranges are known to not
970 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
972 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
973 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
974 fwd_align_merge macro call.
975 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
976 bwd_align_merge macro call.
977 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
979 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
981 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
982 bwd_align_merge macros.
983 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
984 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
985 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
987 2012-04-18 David S. Miller <davem@davemloft.net>
989 * sysdeps/sparc/sparc64/memcopy.h: Delete.
991 2012-04-18 Andreas Jaeger <aj@suse.de>
994 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
995 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
996 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
998 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
999 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1000 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1002 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1003 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1004 Adjust for changed ldbl-128 files.
1006 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1007 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1008 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1010 2012-04-17 David S. Miller <davem@davemloft.net>
1012 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1014 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1016 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1017 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1018 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1019 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1020 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1021 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1023 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1026 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1027 * math/libm-test.inc: Add ilogb errno and exception tests.
1028 * math/w_ilogb.c: New file: ilogb wrapper.
1029 * math/w_ilogbf.c: New file: ilogbf wrapper.
1030 * math/w_ilogbl.c: New file: ilogbl wrapper.
1031 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1032 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1033 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1034 exception being thrown with 0.0 as argument.
1035 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1036 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1037 exception being thrown with 0.0 as argument.
1038 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1039 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1040 exception being thrown with 0.0 as argument.
1041 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1042 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1043 exception being thrown with 0.0 as argument.
1044 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1045 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1046 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1047 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1048 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1049 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1050 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1051 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1052 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1054 2012-04-17 Petr Baudis <pasky@ucw.cz>
1056 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1059 2012-04-16 Marek Polacek <polacek@redhat.com>
1061 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1063 2012-04-16 Marek Polacek <polacek@redhat.com>
1065 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1066 operands of fdivp instruction.
1068 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1070 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1071 * elf/tst-auditmod3b.c: Likewise.
1072 * elf/tst-auditmod4b.c: Likewise.
1073 * elf/tst-auditmod5b.c: Likewise.
1074 * elf/tst-auditmod6b.c: Likewise.
1075 * elf/tst-auditmod6c.c: Likewise.
1076 * elf/tst-auditmod7b.c: Likewise.
1077 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1078 * sysdeps/x86_64/preconfigure.in: Likewise.
1079 * sysdeps/x86_64/preconfigure: Regenerated.
1081 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1083 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1086 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1089 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1091 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1094 * locale/iso-639.def: Fix gl language name. Spotted by
1097 2012-04-12 Roland McGrath <roland@hack.frob.com>
1100 * libio/libio.h (__io_write_fn): Update comment.
1102 2012-04-12 Petr Baudis <pasky@ucw.cz>
1105 * stdio.texi (Hook Functions): The user provided writer function
1106 is not allowed to return -1.
1108 2012-04-11 David S. Miller <davem@davemloft.net>
1110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1112 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1114 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1115 Add a leading slash to rtkaio.
1117 2012-04-11 Jim Meyering <meyering@redhat.com>
1120 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1121 It is not necessarily an error to ignore fwrite's return
1122 value. One can reliably use ferror to test for errors after
1125 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1127 * bits/types.h (__snseconds_t): New type.
1128 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1130 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1132 (__SNSECONDS_T_TYPE): Likewise.
1133 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1134 (__SNSECONDS_T_TYPE): Likewise.
1135 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1136 (__SNSECONDS_T_TYPE): Likewise.
1138 2012-04-10 Andreas Jaeger <aj@suse.de>
1141 * manual/time.texi (Processor Time): Return type of times is
1142 elapsed real time since an arbitrary point in the past.
1143 (CPU Time): Move CLK_TCK from here...
1144 (Processor Time): ...to here. Correct description.
1145 * manual/conf.texi (Constants for Sysconf): Correct description of
1148 2012-04-10 David S. Miller <davem@davemloft.net>
1151 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1152 where the is a gap between DT_REL(A) and DT_JMPREL.
1154 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1156 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1157 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1158 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1160 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1162 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1163 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1164 (dl_main): Handle --inhibit-cache.
1165 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1167 * elf/dl-load.c (_dl_map_object): Use it.
1168 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1170 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1173 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1174 (__ieee754_powl): Saturate large exponents rather than testing for
1175 overflow of y*log2(x).
1176 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1177 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1181 * math/s_ctan.c: Include <float.h>.
1182 (__ctan): Avoid internal overflow or cancellation in calculating
1184 * math/s_ctanf.c: Likewise.
1185 * math/s_ctanl.c: Likewise.
1186 * math/s_ctanh.c: Likewise.
1187 * math/s_ctanhf.c: Likewise.
1188 * math/s_ctanhl.c: Likewise.
1189 * math/libm-test.inc (ctan_test): Add more tests.
1190 (ctanh_test): Likewise.
1191 * sysdeps/i386/fpu/libm-test-ulps: Update.
1192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1194 2012-04-09 Andreas Jaeger <aj@suse.de>
1197 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1198 is an optional BSD extension.
1201 * manual/stdio.texi (Opening Streams): Document additional fopen
1204 2012-04-09 Roland McGrath <roland@hack.frob.com>
1206 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1207 %eax without telling the compiler.
1209 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1212 * manual/install.texi: Use sourceware.org.
1214 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1217 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1218 (__ieee754_pow): Generate overflow and underflow using huge*huge
1219 and tiny*tiny rather than just returning constant infinity or zero
1220 for large exponents.
1221 * math/libm-test.inc (pow_test): Require overflow exceptions for
1222 applicable cases of large exponents.
1225 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1226 (__ieee754_pow): Use iterative multiplication algorithm only for
1227 integer exponents with absolute value below 1024. Check for odd
1228 integer exponents when using algorithm for real exponents.
1229 * math/libm-test.inc (pow_test): Add more tests.
1230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1232 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1235 * math/libm-test.inc (exp_test): Do not allow overflow exception
1238 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1241 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1242 instead of __kernel_standard_f.
1244 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1246 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1247 * sysdeps/x86_64/memset_chk.S: Likewise.
1249 2012-04-08 Andreas Jaeger <aj@suse.de>
1252 * manual/startup.texi (Environment Access): Describe return value
1253 for putenv and setenv.
1256 * manual/filesys.texi (Directory Entries): Add description for
1260 * manual/filesys.texi (Directory Entries): Clarify that it's file
1261 system not operating system in the description of DT_UNKNOWN.
1264 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1266 2012-04-08 Stephen Compall <s11@member.fsf.org>
1269 * manual/llio.texi (Opening and Closing Files): Add cross
1270 reference to explain mode argument.
1272 2012-04-07 Mike Frysinger <vapier@gentoo.org>
1274 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1275 * sysdeps/x86_64/memset_chk.S: Likewise.
1277 2012-04-07 David S. Miller <davem@davemloft.net>
1279 * elf/elf.h (R_SPARC_WDISP10): Define.
1280 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1282 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1283 R_SPARC_SIZE64 and R_SPARC_H34.
1285 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1287 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1288 conditions and remove no longer applicable assertion.
1290 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1292 * bits/byteswap.h: Include <features.h>.
1293 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1294 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1296 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1298 * bits/byteswap.h (__bswap_16): Removed.
1299 Include <bits/byteswap-16.h> to get __bswap_16.
1300 * sysdeps/i386/bits/byteswap.h: Likewise.
1301 * sysdeps/s390/bits/byteswap.h: Likewise.
1302 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1303 * bits/byteswap-16.h: New file.
1304 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1305 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1306 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1307 * string/Makefile (headers): Add bits/byteswap-16.h.
1309 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1312 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1314 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1315 * nss/tst-nss-static.c: New.
1317 2012-04-06 Robert Millan <rmh@gnu.org>
1320 * manual/llio.texi (File Position Primitive): lseek
1321 refers to WHENCE when it really means OFFSET.
1323 2012-04-06 Andreas Jaeger <aj@suse.de>
1325 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1326 strncmp declarations.
1328 * abilist/libc.abilist: Add __poll and __ppoll.
1330 2012-04-05 David S. Miller <davem@davemloft.net>
1332 * scripts/check-local-headers.sh: Accept a host triplet in the
1333 path matched by the exclude regexp.
1335 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1337 * sysdeps/powerpc/powerpc32/dl-machine.h
1338 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1339 * sysdeps/s390/s390-32/dl-machine.h
1340 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1341 * sysdeps/sparc/sparc32/dl-machine.h
1342 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1343 * sysdeps/sparc/sparc64/dl-machine.h
1344 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1346 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1348 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1349 undefined symbol errors.
1351 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1354 2012-04-05 Michael Matz <matz@suse.de>
1357 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1359 2012-04-05 Andreas Jaeger <aj@suse.de>
1362 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1365 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1367 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1368 which ROUND is no valid rounding mode.
1370 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1372 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1374 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1376 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1378 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1379 an exception using FPU order intentionally.
1381 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1383 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1384 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1385 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1386 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1388 2012-04-05 Simon Josefsson <simon@josefsson.org>
1391 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1392 EINVAL when BUFLEN is too smal.
1394 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1397 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1398 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1400 2012-04-03 Andreas Jaeger <aj@suse.de>
1403 * manual/setjmp.texi (System V contexts): Fix sentence.
1406 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1407 New macro for this case.
1408 [!__GNUC__] (__bswap_64): New inline function for this case.
1409 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1410 * bits/byteswap.h: Likewise.
1411 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1412 ull, guard with __GLIBC_HAVE_LONG_LONG.
1414 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1415 __GLIBC_HAVE_LONG_LONG.
1417 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1418 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1420 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1423 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1424 inptr and inend, rather than using last_ch.
1426 2012-04-02 David S. Miller <davem@davemloft.net>
1428 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1429 * stdio-common/printf-parse.h (read_int): Change return type to
1430 'int', return -1 on INT_MAX overflow.
1431 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1432 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1433 overflows INT_MAX. Check for overflow of in-format-string precision
1434 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1435 SIZE_MAX not INT_MAX for integer overflow test.
1436 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1437 skip the construct in the format string but do not record anything.
1438 * stdio-common/bug22.c: Adjust to test both width/prevision
1439 INT_MAX overflow as well as total length INT_MAX overflow. Check
1440 explicitly for proper errno values.
1442 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1444 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1446 * string/test-strcmp.c [! WIDE]: Likewise.
1447 * time/tst-mktime2.c: Likewise for INT_MAX.
1448 * string/test-string.h: #include <sys/param.h> for MIN.
1450 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1451 * sysdeps/i386/init-first.c (init): Likewise.
1452 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1453 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1454 * sysdeps/sh/init-first.c (init): Likewise.
1456 2012-04-01 Ulrich Drepper <drepper@gmail.com>
1458 * po/ru.po: Update from translation team.
1459 * po/vi.po: Likewise.
1461 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1463 * resolv/nss_dns/dns-host.c: Merge copyright years.
1465 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1467 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1468 Optimize memcpy with prefetch if
1469 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1470 src, dst pointers have unequal 16 byte alignments.
1472 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1475 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1476 from a CNAME entry and return the minimum ttl for the query.
1477 (gaih_getanswer_slice): Likewise.
1479 2012-03-30 Jeff Law <law@redhat.com>
1481 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1483 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1484 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1486 * resolv/nss_dns/dns-host.c: Update copyright year.
1488 2012-03-30 Ulrich Drepper <drepper@gmail.com>
1490 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1491 requests to save a system call. Fix check that all bytes are sent.
1493 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1494 comments for sendmmsg.
1496 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1499 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1500 with only 1 character between 0x0041 and 0x01b0.
1501 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1502 * wcsmbs/tst-mbsnrtowcs.c: New file.
1504 2012-03-29 David S. Miller <davem@davemloft.net>
1506 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1507 small copies by hand.
1509 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1512 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1513 _nss_compat_initgroups_dyn): Fall back to malloc/free
1514 for large group memberships.
1516 2012-03-28 David S. Miller <davem@davemloft.net>
1518 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1519 that branches into memcpy.
1520 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1521 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1523 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1524 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1526 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1528 * sysdeps/sparc/mempcpy.S: New file.
1530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1531 the IFUNC routine in the libc case.
1532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1534 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1535 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1536 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1537 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1538 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1539 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1540 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1541 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1543 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1544 loop to 256 bytes instead of 64 bytes and fix test signedness.
1546 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1547 * sysdeps/sparc/sparc32/Makefile: rather than here...
1548 * sysdeps/sparc/sparc64/Makefile: and here.
1550 2012-03-28 Ulrich Drepper <drepper@gmail.com>
1552 * malloc/mallocbug.c: Avoid warnings about unused variables.
1554 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1557 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1558 in the right place. Discard and retry query if response is
1559 larger than input buffer size.
1561 2012-03-28 Joseph Myers <joseph@codesourcery.com>
1566 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1567 x for large integer exponent.
1568 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1569 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1570 sign of result as needed afterwards.
1571 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1572 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1573 result for underflowing pow the same as for overflow.
1574 (__kernel_standard_l): Handle powl overflow and underflow here
1575 rather than calling __kernel_standard.
1576 * math/libm-test.inc (pow_test): Add more tests.
1591 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1592 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1593 (__kernel_standard_l): New function.
1594 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1596 * math/w_acosl.c (__acosl): Likewise.
1597 * math/w_asinl.c (__asinl): Likewise.
1598 * math/w_atan2l.c (__atan2l): Likewise.
1599 * math/w_atanhl.c (__atanhl): Likewise.
1600 * math/w_coshl.c (__coshl): Likewise.
1601 * math/w_exp10l.c (__exp10l): Likewise.
1602 * math/w_exp2l.c (__exp2l): Likewise.
1603 * math/w_fmodl.c (__fmodl): Likewise.
1604 * math/w_hypotl.c (__hypotl): Likewise.
1605 * math/w_j0l.c (__j0l, __y0l): Likewise.
1606 * math/w_j1l.c (__j1l, __y1l): Likewise.
1607 * math/w_jnl.c (__jnl, __ynl): Likewise.
1608 * math/w_lgammal.c (__lgammal): Likewise.
1609 * math/w_log10l.c (__log10l): Likewise.
1610 * math/w_log2l.c (__log2l): Likewise.
1611 * math/w_logl.c (__logl): Likewise.
1612 * math/w_powl.c (__powl): Likewise.
1613 * math/w_remainderl.c (__remainderl): Likewise.
1614 * math/w_scalbl.c (sysv_scalbl): Likewise.
1615 * math/w_sinhl.c (__sinhl): Likewise.
1616 * math/w_sqrtl.c (__sqrtl): Likewise.
1617 * math/w_tgammal.c (__tgammal): Likewise.
1618 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1619 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1620 * math/libm-test.inc (acos_test): Add more tests.
1621 (acosh_test): Likewise.
1622 (asin_test): Likewise.
1623 (atanh_test): Likewise.
1624 (exp_test): Likewise.
1625 (exp10_test): Likewise.
1626 (exp2_test): Likewise.
1627 (expm1_test): Likewise.
1628 (lgamma_test): Likewise.
1629 (log_test): Likewise.
1630 (log10_test): Likewise.
1631 (log1p_test): Likewise.
1632 (log2_test): Likewise.
1633 (pow_test): Do not allow some spurious overflow exceptions.
1634 (sqrt_test): Add more tests.
1635 (tgamma_test): Likewise.
1636 (y0_test): Likewise.
1637 (y1_test): Likewise.
1638 (yn_test): Likewise.
1640 2012-03-27 Anton Blanchard <anton@samba.org>
1642 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1644 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1645 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1646 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1648 2012-03-27 David S. Miller <davem@davemloft.net>
1650 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1652 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1655 2012-03-27 Andreas Jaeger <aj@suse.de>
1657 * sysdeps/x86_64/elf/configure.in: Moved to ...
1658 * sysdeps/x86_64/configure.in: ... here.
1659 * sysdeps/x86_64/elf/start.S: Moved to ...
1660 * sysdeps/x86_64/start.S: ... here.
1661 * sysdeps/x86_64/elf/configure: Delete.
1663 * sysdeps/x86_64/configure.in: Merge contents from
1664 sysdeps/i386/configure.in (without i686 check).
1666 * sysdeps/i386/elf/Versions: Merge into ...
1667 * sysdeps/i386/Versions: ... this.
1668 * sysdeps/i386/elf/Versions: Delete file.
1669 * sysdeps/i386/elf/start.S: Moved to ...
1670 * sysdeps/i386/start.S: ...here.
1671 * sysdeps/i386/elf/configure.in: Merge into...
1672 * sysdeps/i386/configure.in: ...here.
1673 * sysdeps/i386/elf/configure.in: Delete file.
1674 * sysdeps/i386/elf/configure: Delete file.
1676 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1677 * debug/backtracesyms.c: ... here.
1678 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1679 * debug/backtracesymsfd.c: ... here.
1680 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1681 * sysdeps/generic/ifunc-sel.h: ... here.
1683 * sysdeps/unix/i386/start.c: Delete file.
1684 * sysdeps/unix/sparc/start.c: Delete file.
1685 * sysdeps/unix/start.c: Delete file.
1687 * sysdeps/sh/elf/configure.in: Moved to ...
1688 * sysdeps/sh/configure.in: ... here.
1689 * sysdeps/sh/elf/start.S: Moved to ...
1690 * sysdeps/sh/start.S: ... here.
1691 * sysdeps/sh/elf/configure: Delete file.
1693 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1694 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1695 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1696 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1697 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1698 * sysdeps/powerpc/powerpc64/start.S: here.
1699 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1700 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1701 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1702 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1703 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1705 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1706 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1707 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1708 * sysdeps/powerpc/powerpc32/start.S: ... here.
1709 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1710 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1711 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1713 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1714 * sysdeps/powerpc/ifunc-sel.h: ... here.
1715 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1716 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1718 * sysdeps/sparc/elf/configure.in: Moved to ...
1719 * sysdeps/sparc/configure.in: ... here.
1720 * sysdeps/sparc/elf/configure: Delete file.
1721 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1722 * sysdeps/sparc/sparc32/start.S: ... here.
1723 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1724 * sysdeps/sparc/sparc64/start.S: ... here.
1725 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1726 * sysdeps/sparc/sparc32/Makefile: ... this.
1727 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1728 * sysdeps/sparc/sparc64/Makefile: ... this.
1730 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1731 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1732 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1733 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1734 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1735 * sysdeps/s390/s390-32/setjmp.S: ... here.
1736 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1737 * sysdeps/s390/s390-32/configure.in: ... here.
1738 * sysdeps/s390/s390-32/elf/configure: Delete file.
1739 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1740 * sysdeps/s390/s390-32/start.S: ... here.
1742 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1743 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1744 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1745 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1746 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1747 * sysdeps/s390/s390-64/setjmp.S: ... here.
1748 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1749 * sysdeps/s390/s390-64/configure.in: ... here
1750 * sysdeps/s390/s390-64/elf/configure: Delete file.
1751 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1752 * sysdeps/s390/s390-64/start.S: ... here.
1753 * sysdeps/s390/s390-64/elf/configure: Delete.
1755 * configure.in: Remove support for elf directories in sysdeps.
1757 * configure: Regenerated.
1758 * sysdeps/i386/configure: Regenerated.
1759 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1760 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1761 * sysdeps/s390/s390-32/configure: Regenerated.
1762 * sysdeps/s390/s390-64/configure: Regenerated.
1763 * sysdeps/sh/configure: Regenerated.
1764 * sysdeps/sparc/configure: Regenerated.
1765 * sysdeps/x86_64/configure: Regenerated.
1767 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1772 denormal result into account.
1774 2012-03-25 Roland McGrath <roland@hack.frob.com>
1776 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1777 Reported by Allan McRae <allan@archlinux.org>.
1779 2012-03-23 Jeff Law <law@redhat.com>
1781 * nss/getnssent.c (__nss_getent): Fix typo.
1783 2012-03-23 David S. Miller <davem@davemloft.net>
1785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1787 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1789 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1790 to pad to uint64_t for each field.
1791 (dl_tls_index): Replace unsigned long with uint64_t.
1793 2012-03-23 Daniel Jacobowitz <dmj@google.com>
1794 Paul Pluzhnikov <ppluzhnikov@google.com>
1797 * grp/Makefile (otherlibs): Don't set it.
1798 * inet/Makefile (otherlibs): Likewise.
1799 * login/Makefile (otherlibs): Likewise.
1800 * nscd/Makefile (otherlibs): Likewise.
1801 * posix/Makefile (otherlibs): Likewise.
1802 * pwd/Makefile (otherlibs): Likewise.
1803 * rt/Makefile (otherlibs): Likewise.
1804 * sunrpc/Makefile (otherlibs): Likewise.
1805 * nss/Makefile (otherlibs): Likewise.
1806 Add libnss_files to routines and static-only-routines.
1807 ($(objpfx)getent): Remove rule.
1808 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1809 static-only-routines.
1811 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1814 * math/s_cexp.c: Include <float.h>.
1815 (__cexp): Handle exp result overflowing not necessarily
1816 overflowing both real and imaginary parts of result.
1817 * math/s_cexpf.c: Likewise.
1818 * math/s_cexpl.c: Likewise.
1819 * math/libm-test.inc (cexp_test): Add more tests.
1820 * sysdeps/i386/fpu/libm-test-ulps: Update.
1821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1823 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1825 * include/link.h (ELFW): New macro.
1826 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1827 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1829 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1831 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1834 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1836 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1838 (struct La_x32_retval): Likewise.
1840 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1842 * sysdeps/x86_64/preconfigure.in: New file.
1843 * sysdeps/x86_64/preconfigure: New generated file.
1845 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1848 * math/e_exp2l.c: Include <float.h>.
1849 (__ieee754_exp2l): Handle overflow and underflow cases
1850 separately. Only pass fractional part of argument to
1852 * math/libm-test.inc (exp2_test): Add more tests.
1854 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1855 negating x to take absolute value.
1856 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1858 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1859 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1861 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1862 computing low part if x was negated.
1863 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1865 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1867 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1869 (pltexit): Cast int_retval to ptrdiff_t.
1870 * elf/tst-auditmod3b.c: Likewise.
1871 * elf/tst-auditmod4b.c: Likewise.
1872 * elf/tst-auditmod5b.c: Likewise.
1873 * elf/tst-auditmod6b.c: Likewise.
1874 * elf/tst-auditmod6c.c: Likewise.
1875 * elf/tst-auditmod7b.c: Likewise.
1877 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1878 and x32_gnu_pltexit.
1880 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1882 (La_x32_regs): New macro.
1883 (La_x32_retval): Likewise.
1884 (la_x32_gnu_pltenter): New function prototype.
1885 (la_x32_gnu_pltexit): Likewise.
1887 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1889 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1894 * configure.in (libc_cv_cc_nofma): Check for option to disable
1895 generation of FMA instructions.
1896 * configure: Regenerate.
1897 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1898 * sysdeps/ieee754/dbl-64/Makefile: New file.
1899 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1900 Remove brandred-fma4.
1901 (CFLAGS-brandred-fma4.c): Remove.
1902 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1903 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1905 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1908 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1910 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1911 LLONG_MAX != LONG_MAX.
1912 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1913 (_fitoa_word): Likewise.
1914 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1915 LLONG_MAX != LONG_MAX.
1916 * stdio-common/_itowa.h: Include <_itoa.h>.
1917 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1918 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1919 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1920 only if not defined.
1921 (_ITOA_WORD_TYPE): Likewise.
1922 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1923 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1925 2012-03-21 David S. Miller <davem@davemloft.net>
1927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1929 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1931 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1932 of x86_64 when setting libc_cv_slibdir, libdir and
1934 * sysdeps/unix/sysv/linux/configure: Regenerated.
1936 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1938 * manual/lang.texi (Old Varargs): Remove section.
1939 (How Variadic): Update menu.
1940 (va_start): Do not mention varargs.h.
1942 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1943 Joseph Myers <joseph@codesourcery.com>
1945 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1947 * configure: Regenerated.
1949 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1951 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1952 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1955 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1958 * Makefile (files-for-dist): Remove NOTES.
1959 (NOTES): Remove rule.
1960 * README: Don't refer to NOTES.
1961 * manual/creature.texi: Don't include macros.texi.
1962 * manual/intro.texi (creature.texi): Remove comment referring to
1965 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1966 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1967 * configure: Regenerated.
1968 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1970 (libc_cv_as_i686): Likewise.
1971 (libc_cv_cc_avx): Likewise.
1972 (libc_cv_cc_sse2avx): Likewise.
1973 (libc_cv_cc_fma4): Likewise.
1974 (libc_cv_cc_novzeroupper): Likewise.
1975 * sysdeps/i386/configure: Regenerated.
1978 * sysdeps/i386/fpu/s_cexp.S: Remove.
1979 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1980 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1981 * math/libm-test.inc (cexp_test): Add more tests.
1982 * sysdeps/i386/fpu/libm-test-ulps: Update.
1983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1985 2012-03-21 Allan McRae <allan@archlinux.org>
1987 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1989 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1992 * math/w_exp2.c: Do not include <float.h>.
1993 (o_threshold, u_threshold): Remove.
1994 (__exp2): Calculate result before checking finiteness and calling
1996 * math/w_exp2f.c: Likewise.
1997 * math/w_exp2l.c: Likewise.
1998 * math/libm-test.inc (exp2_test): Require overflow exception for
2002 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2003 range of signed 64-bit integers before using fistpll. Remove
2004 checks for whether integers fit in mantissa bits.
2005 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2006 the range of signed 32-bit integers before using fistpl. Remove
2007 checks for whether integers fit in mantissa bits.
2008 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2009 (__ieee754_powl): Test for y outside the range of signed 64-bit
2010 integers before using fistpll. Reduce 64-bit values to 63-bit
2012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2013 divide-by-zero is raised for zero to large negative powers.
2014 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2015 (__ieee754_powl): Test for y outside the range of signed 64-bit
2016 integers before using fistpll. Reduce 64-bit values to 63-bit
2018 * math/libm-test.inc (pow_test): Add more tests.
2020 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2022 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2023 <stdio-common/_itoa.h>.
2024 * debug/segfault.c: Likewise.
2025 * elf/dl-cache.c: Likewise.
2026 * elf/dl-minimal.c: Likewise.
2027 * elf/dl-misc.c: Likewise.
2028 * elf/dl-sysdep.c: Likewise.
2029 * elf/dl-version.c: Likewise.
2030 * elf/rtld.c: Likewise.
2031 * hurd/hurdsock.c: Likewise.
2032 * hurd/lookup-retry.c: Likewise.
2033 * malloc/malloc.c: Likewise.
2034 * malloc/mtrace.c: Likewise.
2035 * nscd/nscd_getgr_r.c: Likewise.
2036 * nscd/nscd_getpw_r.c: Likewise.
2037 * nscd/nscd_getserv_r.c: Likewise.
2038 * posix/getopt_init.c: Likewise.
2039 * posix/wordexp.c: Likewise.
2040 * stdio-common/_itoa.c: Likewise.
2041 * stdio-common/printf_fphex.c: Likewise.
2042 * stdio-common/vfprintf.c: Likewise.
2043 * string/_strerror.c: Likewise.
2044 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2045 * sysdeps/i386/i686/hp-timing.h: Likewise.
2046 * sysdeps/mach/_strerror.c: Likewise.
2047 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2048 * sysdeps/mach/hurd/sethostid.c: Likewise.
2049 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2050 * sysdeps/mach/xpg-strerror.c: Likewise.
2051 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2052 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2053 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2054 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2055 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2056 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2057 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2058 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2059 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2060 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2061 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2062 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2063 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2064 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2065 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2066 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2067 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2068 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2069 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2070 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2071 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2073 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2075 * stdio-common/_itoa.h: Moved to ...
2076 * sysdeps/generic/_itoa.h: Here.
2078 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2080 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2081 instead of "_itoa.h" and "_itowa.h".
2082 * stdio-common/vfprintf.: Likewise.
2084 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2086 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2088 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2089 (__signbit): Likwise.
2093 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2095 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2098 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2100 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2101 OVERFLOW_EXCEPTION_OK.
2102 * math/libm-test.inc ("Philosophy"): Update comment about
2104 (OVERFLOW_EXCEPTION): Define.
2105 (OVERFLOW_EXCEPTION_OK): Likewise.
2106 (INVALID_EXCEPTION_OK): Renumber.
2107 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2108 (IGNORE_ZERO_INF_SIGN): Likewise.
2109 (test_exceptions): Handle FE_OVERFLOW.
2110 (exp10_test): Expect overflow exceptions.
2111 (exp2_test): Likewise.
2112 (expm1_test): Likewise.
2113 (nextafter_test): Likewise.
2114 (pow_test): Likewise.
2115 (scalbn_test): Likewise.
2116 (scalbln_test): Likewise.
2118 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2120 * sysdeps/x86_64/bits/atomic.h
2121 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2123 (atomic_exchange_acq): Likewise.
2124 (__arch_exchange_and_add_body): Likewise.
2125 (__arch_add_body): Likewise.
2126 (atomic_add_negative): Likewise.
2127 (atomic_add_zero): Likewise.
2129 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2131 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2132 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2134 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2136 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2137 Check __x86_64__ instead of __WORDSIZE.
2139 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2141 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2143 2012-03-19 David S. Miller <davem@davemloft.net>
2145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2147 * sysdeps/sparc/fpu/fenv_private.h: New file.
2148 * sysdeps/sparc/fpu/math_private.h: Use it.
2149 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2151 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2152 (libc_feholdexcept_setroundl): Remove.
2153 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2155 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2156 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2158 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2160 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2161 int64_t instead of long int.
2162 (INSERT_WORDS64): Likwise.
2164 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2166 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2167 _Unwind_GetCFA return to _Unwind_Ptr first.
2169 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2172 * math/s_clog.c: Include <float.h>.
2173 (__clog): Scale large or subnormal inputs.
2174 * math/s_clogf.c: Likewise.
2175 * math/s_clogl.c: Likewise.
2176 * math/s_clog10.c: Include <float.h>.
2177 (M_LOG10_2): Define.
2178 (__clog10): Scale large or subnormal inputs.
2179 * math/s_clog10f.c: Likewise.
2180 * math/s_clog10l.c: Likewise.
2181 * math/libm-test.inc (clog_test): Add more tests.
2182 (clog10_test): Likewise.
2183 * sysdeps/i386/fpu/libm-test-ulps: Update.
2184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2187 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2189 * math/libm-test.inc (atan2_test): Add another test.
2191 * Makerules (common-objdir-compile): Remove.
2192 * sysdeps/unix/Makefile (config-generated): Do not add
2193 $(unix-generated) to variable.
2194 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2195 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2197 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2199 [generic bits/local_lim.h] (before-compile): Do not append to
2201 [generic bits/local_lim.h] (common-generated): Likewise.
2202 [generic sys/param.h] (before-compile): Do not append to variable.
2203 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2204 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2205 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2206 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2208 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2209 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2210 [generic sys/param.h] ($(addprefix
2211 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2212 [generic sys/param.h] (common-generated): Do not append to
2214 [generic sys/param.h] (sysdep_headers): Likewise.
2215 [generic bits/errno.h] (before-compile): Do not append to
2217 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2219 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2220 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2221 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2222 [generic bits/errno.h] (common-generated): Do not append to
2224 [generic bits/ioctls.h] (before-compile): Do not append to
2226 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2228 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2229 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2230 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2232 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2233 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2234 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2235 [generic bits/ioctls.h] (common-generated): Do not append to
2237 [generic sys/syscall.h] (syscall.h): Remove variable.
2238 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2240 [generic sys/syscall.h] (before-compile): Do not append to
2242 [generic sys/syscall.h] (common-generated): Likewise.
2243 * sysdeps/unix/errnos-tmpl.c: Remove file.
2244 * sysdeps/unix/errnos.awk: Likewise.
2245 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2246 * sysdeps/unix/ioctls.awk: Likewise.
2247 * sysdeps/unix/mk-local_lim.c: Likewise.
2248 * sysdeps/unix/snarf-ioctls: Likewise.
2250 2012-03-19 Richard Henderson <rth@twiddle.net>
2252 * sysdeps/i386/fpu/fenv_private.h: New file.
2253 * sysdeps/i386/fpu/math_private.h: Use it.
2254 (math_opt_barrier, math_force_eval): Remove.
2255 (libc_feholdexcept_setround_53bit): Remove.
2256 (libc_feupdateenv_53bit): Remove.
2257 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2258 (math_opt_barrier, math_force_eval): Remove.
2259 (libc_feholdexcept): Remove.
2260 (libc_feholdexcept_setround): Remove.
2261 (libc_fetestexcept, libc_fesetenv): Remove.
2262 (libc_feupdateenv_test): Remove.
2263 (libc_feupdateenv, libc_feholdsetround): Remove.
2264 (libc_feresetround): Remove.
2266 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2267 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2269 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2270 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2271 (libc_feupdateenv_testl): New.
2272 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2273 (libc_feupdateenv_testf): New.
2274 (libc_feupdateenv): Use libc_feupdateenv_test.
2275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2276 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2278 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2279 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2280 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2281 (libc_feresetround_noex): New.
2282 (libc_feresetround_noexf): New.
2283 (libc_feresetround_noexl): New.
2284 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2285 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2286 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2287 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2292 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2293 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2294 SET_RESTORE_ROUND_NOEX.
2295 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2296 SET_RESTORE_ROUND_NOEXF.
2297 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2298 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2299 (libc_feholdsetroundf): New.
2300 (libc_feresetround, libc_feresetroundf): New.
2302 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2303 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2304 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2306 * sysdeps/generic/math_private.h: Include <fenv.h>.
2307 (default_libc_feholdexcept): New.
2308 (default_libc_feholdexcept_setround): New.
2309 (default_libc_fesetenv, default_libc_feupdateenv): New.
2310 (libc_feholdexcept): Only define if undefined.
2311 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2312 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2313 (libc_feholdexcept_setroundl): Likewise.
2314 (libc_feholdexcept_setround_53bit): Likewise.
2315 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2316 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2317 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2318 (libc_feupdateenv_53bit): Likewise.
2319 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2320 (libc_feholdexcept): Convert from macro to inline function.
2321 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2322 (libc_fesetenv, libc_feupdateenv): Likewise.
2324 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2325 not previously defined.
2326 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2327 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2328 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2329 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2330 * sysdeps/ieee754/flt-32/math_private.h: New file.
2331 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2332 math_private.h below SET_FLOAT_WORD.
2333 (__isnan, __isinf_ns, __finite): Remove.
2334 (__isnanf, __isinf_nsf, __finitef): Remove.
2336 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2340 2012-03-17 David S. Miller <davem@davemloft.net>
2343 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2346 2012-03-16 David S. Miller <davem@davemloft.net>
2348 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2352 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2354 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2355 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2356 sysdep_routines when subdir is sysvipc.
2357 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2360 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2362 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2364 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2367 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2369 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2370 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2371 (__lround): Renamed to ...
2372 (__llround): This. Replace long int with long long int.
2373 Define lround functions as aliases of llround functions.
2374 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2376 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2378 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2379 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2380 adresses to uintptr_t. Replace "long int" and "unsigned long
2381 int" with "greg_t" on va_arg.
2383 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2385 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2386 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2388 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2389 Move e_machine check before EI_CLASS check. Handle x32
2390 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2391 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2392 SKIP_EM_IA_64 and include
2393 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2395 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2396 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2397 (add_system_dir): New macro.
2399 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2400 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2402 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2413 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2415 * math/w_j0f.c (j0f): Likewise.
2417 * math/w_j0l.c (__j0l): Likewise.
2419 * math/w_j1.c (j1): Likewise.
2421 * math/w_j1f.c (j1f): Likewise.
2423 * math/w_j1l.c (__j1l): Likewise.
2425 * math/w_jn.c (jn): Likewise.
2427 * math/w_jnf.c (jnf): Likewise.
2429 * math/w_jnl.c (__jnl): Likewise.
2431 * math/libm-test.inc (j0_test): Add more tests.
2432 (j1_test): Likewise.
2433 (jn_test): Likewise. Add trailing semicolon to existing test.
2434 (y0_test): Likewise.
2435 (y1_test): Likewise.
2436 * sysdeps/i386/fpu/libm-test-ulps: Update.
2437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2441 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2442 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2443 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2444 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2445 (__tanl): Set errno for infinite argument.
2446 * sysdeps/i386/fpu/mptan.c: Remove.
2447 * sysdeps/i386/fpu/s_tan.S: Likewise.
2448 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2449 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2450 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2451 * math/libm-test.inc (tan_test): Add more tests and enable more
2452 tests for double and long double.
2453 * sysdeps/i386/fpu/libm-test-ulps: Update.
2454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2456 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2458 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2459 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2461 2012-03-16 Roland McGrath <roland@hack.frob.com>
2463 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2464 * configure.in: Use it for both main tree and add-ons.
2465 * configure: Regenerated.
2467 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2469 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2471 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2473 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2477 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2478 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2479 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2480 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2481 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2483 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2484 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2486 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2487 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2488 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2489 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2490 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2491 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2492 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2493 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2494 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2495 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2496 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2497 * math/libm-test.inc (cos_test): Add more tests and enable more
2498 tests for long double.
2499 (sin_test): Likewise.
2500 (sincos_test): Likewise.
2501 * sysdeps/i386/fpu/libm-test-ulps: Update.
2502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2504 2012-03-16 David S. Miller <davem@davemloft.net>
2506 * sysdeps/sparc/fpu/math_private.h: New file.
2508 2012-03-15 David S. Miller <davem@davemloft.net>
2510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2524 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2525 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2527 * sysdeps/sparc/sparc-ifunc.h: New file.
2528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2554 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2566 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2567 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2568 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2573 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2575 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2579 2012-03-15 Andreas Jaeger <aj@suse.de>
2582 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2583 ieee754/flt-32 implementation for sin, cos and sincos.
2584 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2585 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2586 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2587 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2588 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2589 ieee754/flt-32 implementation for tan.
2591 * math/libm-test.inc (cos_test): Enable some large input tests for
2593 (sin_test): Likewise.
2594 (sincos_test): Likewise.
2595 (tan_test): Add tests for large input.
2597 * sysdeps/i386/fpu/libm-test-ulps: Update.
2599 2012-03-15 Andreas Jaeger <aj@suse.de>
2602 * math/libm-test.inc (cos_test): Add more test cases.
2603 (sin_test): Likewise.
2604 (sincos_test): Likewise.
2606 2012-03-15 Andreas Jaeger <aj@suse.de>
2609 * math/libm-test.inc (cos_test): Add a test case for large input
2611 (sin_test): Likewise.
2612 (sincos_test): Likewise.
2614 2012-03-15 Andreas Jaeger <aj@suse.de>,
2615 Joseph Myers <joseph@codesourcery.com>
2618 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2619 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2620 * sysdeps/i386/fpu/branred.c: Likewise.
2621 * sysdeps/i386/fpu/dosincos.c: Likewise.
2622 * sysdeps/i386/fpu/mpa.c: Likewise.
2623 * sysdeps/i386/fpu/s_cos.S: Likewise.
2624 * sysdeps/i386/fpu/s_sin.S: Likewise.
2625 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2626 * sysdeps/i386/fpu/sincos32.c: Likewise.
2628 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2630 (libc_feupdateenv_53bit): Define.
2631 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2633 (libc_feupdateenv_53bit): Define.
2635 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2636 53 bit (without extend i386 double precision).
2638 * math/libm-test.inc (sincos_test): Add tests for large input.
2642 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2644 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2648 2012-03-15 David S. Miller <davem@davemloft.net>
2650 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2651 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2652 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2653 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2677 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2678 fmin/fmax sysdep routines.
2679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2681 2012-03-14 David S. Miller <davem@davemloft.net>
2683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2689 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2710 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2755 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2760 * sysdeps/sparc/configure.in: New file.
2761 * sysdeps/sparc/configure: Generate.
2762 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2763 * configure: Regenerate.
2764 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2765 * config.make.in (have-as-vis3): New.
2766 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2767 available use -Av9d instead of -Av9a.
2768 * sysdeps/sparc/sparc64/Makefile: Likewise.
2769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2779 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2781 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2784 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2785 fzeros/fnegs to load 0x80000000 into a float register instead of
2787 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2789 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2793 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2794 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2795 ($(inst_includedir)/bits/syscall.h): Remove rule.
2796 ($(objpfx)bits/syscall.d): Include instead of
2797 $(objpfx)syscall-list.d.
2798 (generated): Change syscall-list.h and syscall-list.d to
2799 bits/syscall.h and bits/syscall.d.
2801 2012-03-14 Roland McGrath <roland@hack.frob.com>
2804 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2806 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2809 * math/s_csqrt.c: Include <float.h>.
2810 (__csqrt): Scale large or subnormal inputs.
2811 * math/s_csqrtf.c: Likewise.
2812 * math/s_csqrtl.c: Likewise.
2813 * math/libm-test.inc (csqrt_test): Add more tests.
2814 * sysdeps/i386/fpu/libm-test-ulps: Update.
2815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2818 * math/libm-test.inc (hypot_test): Add more tests.
2820 2012-03-13 David S. Miller <davem@davemloft.net>
2823 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2824 double-precision for the calculation instead of scaling.
2826 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2828 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2829 manipulate bits before adding and subtracting TWO52[sx].
2830 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2831 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2833 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2835 2012-03-13 David S. Miller <davem@davemloft.net>
2837 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2838 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2839 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2840 rtld-global-offsets.h
2841 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2843 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2846 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2848 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2849 'err' in the ifdef scope in which it is actually used.
2851 * nss/nss_db/db-init.c: Include string.h
2853 2012-03-12 David S. Miller <davem@davemloft.net>
2855 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2856 masking out of the most significant byte of random value used.
2857 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2858 Fix coding style in previous change.
2860 * sysdeps/unix/sysv/linux/kernel-features.h
2861 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2862 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2864 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2867 2012-03-11 David S. Miller <davem@davemloft.net>
2869 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2870 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2871 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2872 for 'resultvar' otherwise things get truncated on 64-bit.
2874 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2875 Fix masking out of the most significant byte of random value used.
2877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2879 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2883 2012-03-09 David S. Miller <davem@davemloft.net>
2885 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2886 variables with appropriate CPP guards.
2887 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2888 frame pointer, not the stack pointer. Correct layout comments. Fix test
2889 on resulting framesize and the management of the outregs buffer for pltexit.
2890 Preserve floating point return values across _dl_call_pltexit call.
2891 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2892 framesize and the management of the outregs buffer for pltexit.
2893 Preserve floating point return values across _dl_call_pltexit
2895 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2896 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2897 (print_exit): Fix format string for return register value.
2899 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2901 * sunrpc/Makefile (others): Add rpcgen.
2902 ($(objpfx)rpcgen): Remove special build rule and dependency on
2904 * sunrpc/rpcgen.c: New file.
2906 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2909 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2910 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2911 * sysdeps/i386/crti.S: Likewise.
2912 * sysdeps/i386/crtn.S: Likewise.
2913 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2914 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2915 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2916 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2917 * sysdeps/sh/crti.S: Likewise.
2918 * sysdeps/sh/crtn.S: Likewise.
2919 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2922 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2924 * locale/programs/locfile-kw.gperf: Likewise.
2925 * locale/programs/charmap-kw.h: Regenerated.
2926 * locale/programs/locfile-kw.h: Likewise.
2929 * intl/plural.y: Replace FSF snail mail address with URL.
2930 * intl/plural.c: Regenerated.
2932 2012-03-09 Richard Henderson <rth@twiddle.net>
2934 * include/math_private.h: Remove file.
2935 * math/math_private.h: Move file ...
2936 * sysdeps/generic/math_private.h: ... here.
2938 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2939 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2940 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2942 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2943 and <math_private.h>.
2944 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2945 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2946 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2947 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2948 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2949 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2950 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2952 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2953 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2955 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2956 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2957 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2958 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2959 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2960 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2961 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2962 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2963 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2965 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2966 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2968 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2969 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2970 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2971 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2973 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2974 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2978 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2979 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2983 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2984 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2985 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2986 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2987 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2988 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2989 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2990 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2991 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2992 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2993 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2994 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2995 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2996 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3002 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3003 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3013 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3014 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3015 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3017 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3018 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3019 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3021 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3022 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3023 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3024 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3025 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3026 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3027 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3028 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3031 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3032 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3033 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3034 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3035 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3036 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3037 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3038 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3039 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3040 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3041 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3042 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3043 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3044 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3045 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3046 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3047 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3048 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3049 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3050 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3051 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3052 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3053 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3054 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3055 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3056 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3057 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3058 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3059 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3060 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3061 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3062 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3063 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3064 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3065 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3066 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3067 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3068 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3069 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3070 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3071 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3072 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3073 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3074 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3075 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3076 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3077 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3078 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3079 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3080 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3081 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3082 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3083 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3084 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3085 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3086 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3087 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3088 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3089 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3090 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3091 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3092 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3093 * sysdeps/ieee754/k_standard.c: Likewise.
3094 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3095 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3096 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3097 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3098 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3099 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3100 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3101 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3102 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3103 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3104 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3105 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3106 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3107 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3108 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3109 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3111 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3112 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3113 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3114 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3115 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3116 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3117 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3119 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3120 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3121 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3122 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3123 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3124 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3125 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3126 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3127 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3129 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3130 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3131 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3132 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3133 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3134 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3135 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3136 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3137 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3138 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3139 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3140 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3141 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3142 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3143 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3144 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3145 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3146 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3147 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3148 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3149 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3150 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3151 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3152 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3153 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3154 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3155 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3156 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3161 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3162 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3164 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3166 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3167 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3168 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3171 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3172 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3173 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3177 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3179 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3181 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3182 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3183 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3185 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3186 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3187 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3189 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3190 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3191 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3192 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3193 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3194 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3195 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3196 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3197 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3198 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3201 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3202 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3203 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3204 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3205 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3206 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3207 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3208 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3209 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3210 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3211 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3212 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3213 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3214 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3215 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3216 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3217 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3218 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3219 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3220 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3221 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3222 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3224 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3225 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3226 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3230 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3231 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3232 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3233 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3234 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3235 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3237 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3238 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3239 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3240 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3241 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3242 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3243 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3244 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3245 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3246 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3247 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3248 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3249 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3250 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3251 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3252 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3253 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3254 * sysdeps/ieee754/s_lib_version.c: Likewise.
3255 * sysdeps/ieee754/s_matherr.c: Likewise.
3256 * sysdeps/ieee754/s_signgam.c: Likewise.
3257 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3258 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3259 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3260 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3261 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3262 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3263 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3264 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3265 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3266 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3267 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3268 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3269 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3270 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3271 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3272 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3273 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3274 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3275 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3277 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3279 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3281 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3282 * sunrpc/rpc_main.c: Likewise.
3283 * sunrpc/rpc_svcout.c: Likewise.
3285 2012-03-09 David S. Miller <davem@davemloft.net>
3287 * include/math_private.h: New file.
3289 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3291 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3292 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3293 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3294 from <bits/socket_type.h>.
3295 (enum __socket_type): Don't define here.
3296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3301 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3304 * Makerules ($(inst_includedir)/%.h): New rule.
3305 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3306 (install-others): Remove variable setting.
3307 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3309 2012-03-08 Richard Henderson <rth@twiddle.net>
3311 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3312 from macro to inline function; merge with the
3313 !__LIBC_INTERNAL_MATH_INLINES version.
3314 (__ieee754_sqrtf): Likewise.
3316 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3318 (__rintf, __floor, __floorf): Likewise.
3320 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3321 macro to inline function.
3322 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3324 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3325 not <math/math_private.h>.
3327 2012-03-08 David S. Miller <davem@davemloft.net>
3329 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3331 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3333 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3335 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3337 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3338 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3340 2012-03-08 Ulrich Drepper <drepper@gmail.com>
3342 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3343 be defined individually, they must be defined as a block. Define
3344 S for printing a string instead of hidint the different by using a
3345 macro for adding the 'l'.
3346 * stdio-common/tst-fphex-wide.c: Adjust.
3348 2012-03-07 Marek Polacek <polacek@redhat.com>
3350 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3352 2012-03-08 Marek Polacek <polacek@redhat.com>
3355 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3356 * stdio-common/tst-fphex.c: Define a few macros to make the
3357 test reusable. Use them.
3358 * stdio-common/tst-fphex-wide.c: New file.
3360 2012-03-08 Joseph Myers <joseph@codesourcery.com>
3363 * manual/macros.texi (gnusystems): New macro.
3364 (nongnusystems): Likewise.
3365 (gnulinuxhurdsystems): Likewise.
3366 (gnuhurdsystems): Likewise..
3367 (gnulinuxsystems): Likewise.
3368 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3369 variants of the GNU system, not "GNU system".
3370 * manual/conf.texi: Likewise.
3371 * manual/errno.texi: Likewise. Update example of errno macro
3373 * manual/filesys.texi: Likewise.
3374 (getumask): Document as specific to GNU/Hurd.
3375 * manual/install.texi: Likewise. Reword some references to
3377 * manual/intro.texi: Likewise.
3378 * manual/io.texi: Likewise.
3379 (File Name Portability): Detail which constraints are inapplicable
3380 to all GNU systems and which are only inapplicable to GNU/Hurd.
3381 * manual/job.texi: Likewise.
3382 * manual/llio.texi: Likewise.
3383 (O_NOCTTY): Document as present on GNU/Linux.
3384 * manual/maint.texi: Likewise.
3385 * manual/memory.texi: Likewise.
3386 * manual/pattern.texi: Likewise.
3387 * manual/pipe.texi: Likewise.
3388 * manual/process.texi: Likewise.
3389 * manual/resource.texi: Likewise.
3390 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3392 * manual/setjmp.texi: Likewise.
3393 * manual/signal.texi: Likewise.
3394 * manual/startup.texi: Likewise.
3395 * manual/stdio.texi: Likewise.
3396 * manual/terminal.texi: Likewise.
3397 (ONLCR): Document as POSIX.
3398 (OXTABS): Document availability on GNU/Linux as XTABS.
3399 (ONOEOT): Document availability separately from other bits.
3400 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3401 * manual/time.texi: Likewise.
3402 * manual/users.texi: Likewise.
3403 * INSTALL: Regenerated.
3404 * sysdeps/gnu/errlist.c: Regenerated.
3406 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3407 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3408 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3410 * configure: Regenerated.
3412 2012-03-07 Joseph Myers <joseph@codesourcery.com>
3414 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3415 default includes instead of AC_HEADER_CHECK.
3416 * sysdeps/i386/configure: Regenerated.
3419 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3420 * math/s_cacoshf.c (__cacoshf): Likewise.
3421 * math/s_cacoshl.c (__cacoshl): Likewise.
3422 * math/s_casinh.c (__casinh): Set signs of result from argument.
3423 * math/s_casinhf.c (__casinhf): Likewise.
3424 * math/s_casinhl.c (__casinhl): Likewise.
3425 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3426 (casinh_test): Add more tests.
3427 * sysdeps/i386/fpu/libm-test-ulps: Update.
3428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3430 2012-03-07 Ulrich Drepper <drepper@gmail.com>
3432 * po/zh_TW.po: Update from translation team.
3434 * login/Makefile (distribute): Remove variable.
3435 * catgets/Makefile: Likewise.
3436 * mach/Makefile: Likewise.
3437 * malloc/Makefile: Likewise.
3438 * misc/Makefile: Likewise.
3439 * iconv/Makefile: Likewise.
3440 * nscd/Makefile: Likewise.
3441 * hurd/Makefile: Likewise.
3442 * manual/Makefile: Likewise.
3443 * locale/Makefile: Likewise.
3444 * intl/Makefile: Likewise.
3445 * conform/Makefile: Likewise.
3446 * nss/Makefile: Likewise.
3447 * time/Makefile: Likewise.
3448 * soft-fp/Makefile: Likewise.
3449 * dirent/Makefile: Likewise.
3450 * gmon/Makefile: Likewise.
3451 * po/Makefile: Likewise.
3452 * rt/Makefile: Likewise.
3453 * socket/Makefile: Likewise.
3454 * math/Makefile: Likewise.
3455 * signal/Makefile: Likewise.
3456 * debug/Makefile: Likewise.
3457 * elf/Makefile: Likewise.
3458 * timezone/Makefile: Likewise.
3459 * stdlib/Makefile: Likewise.
3460 * iconvdata/Makefile: Likewise.
3461 * sunrpc/Makefile: Likewise.
3462 * io/Makefile: Likewise.
3463 * argp/Makefile: Likewise.
3464 * inet/Makefile: Likewise.
3465 * hesiod/Makefile: Likewise.
3466 * grp/Makefile: Likewise.
3467 * csu/Makefile: Likewise.
3468 * wctype/Makefile: Likewise.
3469 * crypt/Makefile: Likewise.
3470 * libio/Makefile: Likewise.
3471 * string/Makefile: Likewise.
3472 * nis/Makefile: Likewise.
3473 * resolv/Makefile: Likewise.
3474 * stdio-common/Makefile: Likewise.
3475 * wcsmbs/Makefile: Likewise.
3476 * dlfcn/Makefile: Likewise.
3477 * posix/Makefile: Likewise.
3480 * timezone/Makefile: Don't install timezone files, just the programs
3483 2012-03-06 Ulrich Drepper <drepper@gmail.com>
3485 * nss/databases.def: Add missing gshadow entry.
3487 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3489 2012-03-06 Marek Polacek <polacek@redhat.com>
3492 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3493 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3494 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3495 * stdio-common/tst-long-dbl-fphex.c: New file.
3497 2012-03-06 David S. Miller <davem@davemloft.net>
3499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3500 (set_obp_int): New function.
3501 (get_obp_int): New function.
3502 (__get_clockfreq_via_dev_openprom): Likewise.
3503 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3504 Avoid unused variable warnings on 'val' and use builtin_expect.
3505 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3507 (INLINE_CLONE_SYSCALL): Likewise.
3509 2012-03-05 David S. Miller <davem@davemloft.net>
3511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3513 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3517 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3519 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3521 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
3523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3524 Replace gettimeofday with __vdso_gettimeofday.
3526 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3527 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3528 __vdso_clock_gettime and __vdso_getcpu.
3530 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3531 time with __vdso_time.
3533 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3535 * manual/lang.texi (size_t): Note types to which size_t may be
3536 equivalent with the GNU C Library, but do not describe when
3537 differences between them are significant.
3539 2012-03-05 Andreas Jaeger <aj@suse.de>
3541 * sysdeps/i386/fpu/libm-test-ulps: Update.
3543 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3546 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3547 (__ieee754_pow): Save and restore rounding mode and use
3548 round-to-nearest for main computations.
3549 * math/libm-test.inc (pow_test_tonearest): New function.
3550 (pow_test_towardzero): Likewise.
3551 (pow_test_downward): Likewise.
3552 (pow_test_upward): Likewise.
3553 (main): Call the new functions.
3554 * sysdeps/i386/fpu/libm-test-ulps: Update.
3555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3558 * math/libm-test.inc (cosh_test_tonearest): New function.
3559 (cosh_test_towardzero): Likewise.
3560 (cosh_test_downward): Likewise.
3561 (cosh_test_upward): Likewise.
3562 (sinh_test_tonearest): Likewise.
3563 (sinh_test_towardzero): Likewise.
3564 (sinh_test_downward): Likewise.
3565 (sinh_test_upward): Likewise.
3566 (main): Call the new functions.
3567 * sysdeps/i386/fpu/libm-test-ulps: Update.
3568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3570 2012-03-05 Tom de Vries <tom@codesourcery.com>
3572 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3573 default stack guard is set in last bytes.
3574 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3576 2012-03-05 Kees Cook <keescook@chromium.org>
3578 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3581 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3582 possibly allocate from heap instead of stack.
3583 * stdio-common/bug-vfprintf-nargs.c: New file.
3584 * stdio-common/Makefile (tests): Add nargs overflow test.
3586 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3590 2012-03-03 Marek Polacek <polacek@redhat.com>
3592 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3593 * math/math_private.h: Likewise.
3594 * stdlib/tst-strtod.c: Likewise.
3595 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3596 * sysdeps/x86_64/bits/atomic.h: Likewise.
3598 2012-03-02 David S. Miller <davem@davemloft.net>
3600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3604 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3605 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3606 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3607 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3609 2012-03-02 Roland McGrath <roland@hack.frob.com>
3612 * manual/examples/README: New file, says the example source files
3613 can be used under GPL>=2.
3614 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3615 line containing just "*/".
3616 * manual/examples/add.c: Add copyright header (GPL>=2).
3617 * manual/examples/argp-ex1.c: Likewise.
3618 * manual/examples/argp-ex2.c: Likewise.
3619 * manual/examples/argp-ex3.c: Likewise.
3620 * manual/examples/argp-ex4.c: Likewise.
3621 * manual/examples/atexit.c: Likewise.
3622 * manual/examples/db.c: Likewise.
3623 * manual/examples/dir.c: Likewise.
3624 * manual/examples/dir2.c: Likewise.
3625 * manual/examples/execinfo.c: Likewise.
3626 * manual/examples/filecli.c: Likewise.
3627 * manual/examples/filesrv.c: Likewise.
3628 * manual/examples/fmtmsgexpl.c: Likewise.
3629 * manual/examples/genpass.c: Likewise.
3630 * manual/examples/inetcli.c: Likewise.
3631 * manual/examples/inetsrv.c: Likewise.
3632 * manual/examples/isockad.c: Likewise.
3633 * manual/examples/longopt.c: Likewise.
3634 * manual/examples/memopen.c: Likewise.
3635 * manual/examples/memstrm.c: Likewise.
3636 * manual/examples/mkfsock.c: Likewise.
3637 * manual/examples/mkisock.c: Likewise.
3638 * manual/examples/mygetpass.c: Likewise.
3639 * manual/examples/pipe.c: Likewise.
3640 * manual/examples/popen.c: Likewise.
3641 * manual/examples/rprintf.c: Likewise.
3642 * manual/examples/search.c: Likewise.
3643 * manual/examples/select.c: Likewise.
3644 * manual/examples/setjmp.c: Likewise.
3645 * manual/examples/sigh1.c: Likewise.
3646 * manual/examples/sigusr.c: Likewise.
3647 * manual/examples/stpcpy.c: Likewise.
3648 * manual/examples/strdupa.c: Likewise.
3649 * manual/examples/strftim.c: Likewise.
3650 * manual/examples/strncat.c: Likewise.
3651 * manual/examples/subopt.c: Likewise.
3652 * manual/examples/swapcontext.c: Likewise.
3653 * manual/examples/termios.c: Likewise.
3654 * manual/examples/testopt.c: Likewise.
3655 * manual/examples/testpass.c: Likewise.
3656 * manual/examples/timeval_subtract.c: Likewise.
3659 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3661 * manual/timeval_subtract.c.texi: ... here, new file.
3663 2012-03-02 David S. Miller <davem@davemloft.net>
3665 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3667 2012-03-02 Joseph Myers <joseph@codesourcery.com>
3670 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3671 (__sin): Save and restore rounding mode and use round-to-nearest
3672 for all computations.
3673 (__cos): Save and restore rounding mode and use round-to-nearest
3674 for all computations.
3675 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3677 (tan): Save and restore rounding mode and use round-to-nearest for
3679 * math/libm-test.inc (cos_test_tonearest): New function.
3680 (cos_test_towardzero): Likewise.
3681 (cos_test_downward): Likewise.
3682 (cos_test_upward): Likewise.
3683 (sin_test_tonearest): Likewise.
3684 (sin_test_towardzero): Likewise.
3685 (sin_test_downward): Likewise.
3686 (sin_test_upward): Likewise.
3687 (tan_test_tonearest): Likewise.
3688 (tan_test_towardzero): Likewise.
3689 (tan_test_downward): Likewise.
3690 (tan_test_upward): Likewise.
3691 (main): Call the new functions.
3692 * sysdeps/i386/fpu/libm-test-ulps: Update.
3693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3696 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3697 small n, then large n, before computing and testing k+n.
3698 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3701 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3703 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3704 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3705 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3706 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3707 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3708 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3709 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3710 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3711 * math/libm-test.inc (scalbn_test): Add more tests.
3712 (scalbln_test): Likewise.
3714 * manual/filesys.texi (mode_t): Describe constraints on size and
3715 signedness, not exact equivalence to a particular type.
3717 (ino64_t): Likewise.
3719 (nlink_t): Likewise.
3720 (blkcnt_t): Likewise.
3721 (blkcnt64_t): Likewise.
3722 * manual/llio.texi (off_t): Likewise.
3725 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3726 (__ieee754_exp): Save and restore rounding mode and use
3727 round-to-nearest for all computations.
3728 * math/libm-test.inc (exp_test_tonearest): New function.
3729 (exp_test_towardzero): Likewise.
3730 (exp_test_downward): Likewise.
3731 (exp_test_upward): Likewise.
3732 (main): Call the new functions.
3733 * sysdeps/i386/fpu/libm-test-ulps: Update.
3734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3736 2012-03-01 Chris Demetriou <cgd@google.com>
3738 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3739 have predictable order.
3741 2012-03-01 David S. Miller <davem@davemloft.net>
3743 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3745 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3746 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3747 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3748 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3750 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3751 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3752 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3754 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3755 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3756 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3757 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3758 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3762 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3763 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3764 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3766 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3767 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3768 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3769 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3770 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3772 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3773 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3774 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3775 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3776 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3777 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3779 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3780 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3781 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3782 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3783 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3784 * sysdeps/sparc/elf/configure: Regenerated.
3786 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3788 * configure.in (AS, LD): Require binutils 2.20 or later.
3789 * configure: Regenerated.
3790 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3791 as required minimum version.
3792 * INSTALL: Regenerated.
3796 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3797 before squaring exponent.
3798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3799 bottom long double and 27 bits of top long double before squaring
3801 * math/libm-test.inc (erfc_test): Add more tests.
3802 * sysdeps/i386/fpu/libm-test-ulps: Update.
3803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3806 2012-03-01 Kai Tietz <ktietz@redhat.com>
3808 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3809 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3810 containing bit-fields.
3811 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3812 * soft-fp/single.h (_FP_UNION_S): Likewise.
3813 * soft-fp/double.h (_FP_UNION_D): Likewise.
3815 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3818 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3819 not include ../strcmp.S.
3820 [USE_AS_STRNCASECMP_L]: Likewise.
3821 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3822 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3823 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3824 (__strncasecmp_l_ia32): Define as alias to
3825 __strncasecmp_l_nonascii.
3828 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3829 * sysdeps/i386/fpu/libm-test-ulps: Update.
3830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3832 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3835 2012-02-29 Jeff Law <law@redhat.com>
3837 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3840 2012-02-29 Marek Polacek <polacek@redhat.com>
3843 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3844 * elf/Makefile: Add rules to run tst-unused-dep.out.
3846 2012-02-28 David S. Miller <davem@davemloft.net>
3848 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3849 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3850 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3851 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3852 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3853 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3855 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3857 * math/libm-test.inc (llround_test): Move one test from
3858 lround_test. Use TEST_f_L in moved test.
3859 (lround_test): Move misplaced test to llround_test. Add testcase
3862 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3864 * sysdeps/x86_64/fpu/e_expf.S: New file.
3865 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3867 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3870 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3871 of remain_len that may cause incomplete multi-byte character and
3873 * posix/bug-regex33.c: New file.
3874 * posix/Makefile (tests): Add bug-regex33.
3876 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3878 * manual/macros.texi: New file.
3879 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3880 * manual/libc.texinfo: Include macros.texi.
3881 * manual/creatute.texi: Likewise.
3882 * manual/install.texi: Likewise.
3883 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3884 @glibcadj{} in references to the GNU C Library.
3885 * manual/charset.texi: Likewise.
3886 * manual/conf.texi: Likewise.
3887 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3888 when not using those macros.
3889 * manual/creature.texi: Likewise.
3890 * manual/crypt.texi: Likewise.
3891 * manual/errno.texi: Likewise.
3892 * manual/filesys.texi: Likewise.
3893 * manual/header.texi: Likewise.
3894 * manual/install.texi: Likewise.
3895 * manual/intro.texi: Likewise.
3896 * manual/io.texi: Likewise.
3897 * manual/job.texi: Likewise.
3898 * manual/lang.texi: Likewise.
3899 * manual/libc.texiinfo: Likewise.
3900 * manual/llio.texi: Likewise.
3901 * manual/locale.texi: Likewise.
3902 * manual/maint.texi: Likewise.
3903 * manual/math.texi: Likewise.
3904 * manual/memory.texi: Likewise.
3905 * manual/message.texi: Likewise.
3906 * manual/nss.texi: Likewise.
3907 * manual/pattern.texi: Likewise.
3908 * manual/process.texi: Likewise.
3909 * manual/resource.texi: Likewise.
3910 * manual/search.texi: Likewise.
3911 * manual/setjmp.texi: Likewise.
3912 * manual/signal.texi: Likewise.
3913 * manual/socket.texi: Likewise.
3914 * manual/startup.texi: Likewise.
3915 * manual/stdio.texi: Likewise.
3916 * manual/string.texi: Likewise.
3917 * manual/sysinfo.texi: Likewise.
3918 * manual/syslog.texi: Likewise.
3919 * manual/terminal.texi: Likewise.
3920 * manual/time.texi: Likewise.
3921 * manual/users.texi: Likewise.
3922 * INSTALL: Regenerated.
3923 * NOTES: Regenerated.
3924 * sysdeps/gnu/errlist.c: Regenerated.
3926 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3928 * include/dirent.h: Include <dirstream.h> before
3931 2012-02-28 David S. Miller <davem@davemloft.net>
3933 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3934 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3935 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3936 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3938 2012-02-27 David S. Miller <davem@davemloft.net>
3940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3942 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3943 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3946 frame pointer instead of stack pointer relative arg slot.
3947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3948 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3949 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3951 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3954 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3956 2012-02-27 David S. Miller <davem@davemloft.net>
3958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3962 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3963 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3964 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3965 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3967 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3969 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3970 later. Allow versions 5-9.
3971 * configure: Regenerated.
3972 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3973 required minimum version and 4.6 as recommended version. Do not
3974 mention bugs in GCC 2.7 and 2.8.
3975 * INSTALL: Regenerated.
3977 2012-02-27 David S. Miller <davem@davemloft.net>
3979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3983 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3984 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3985 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3986 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3988 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3989 manipulate bits before adding and subtracting TWO112[sx].
3990 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3992 2012-02-27 Roland McGrath <roland@hack.frob.com>
3995 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3996 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3997 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3998 being in POSIX, because they are in 1003.1-2008.
4000 * rt/tst-aio.c: Include <fcntl.h>.
4001 * rt/tst-aio7.c: Likewise.
4002 * rt/tst-aio64.c: Likewise.
4004 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4006 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4008 * manual/install.texi (--with-headers): Describe headers as
4009 interface headers, not private headers.
4010 (Specific advice for GNU/Linux systems): Describe use of headers
4011 from "make headers_install", not private headers from older
4013 * INSTALL: Regenerated.
4014 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4016 * sysdeps/unix/sysv/linux/configure: Regenerated.
4018 * manual/llio.texi (fclean): Remove documentation.
4020 * manual/Makefile (libc-texi-generated): New variable. Include
4022 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4023 $(libc-texi-generated), not duplicated list of files.
4024 (version.texi, stamp-version): New rules.
4025 (realclean): Remove $(libc-texi-generated), not individual files
4026 from that list. Do not remove dir-add.texinfo.
4027 * manual/libc.texinfo: Comment out uses of edition numbers and
4028 references to printed manual. Remove last-updated dates.
4029 (EDITION): Comment out.
4031 (VERSION, UPDATED): Remove.
4032 (version.texi): Include.
4034 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4036 * sysdeps/posix/spawni.c: Include <signal.h>.
4037 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4038 * sysdeps/pthread/aio_fsync.c: Likewise.
4040 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4042 * conform/Makefile (tests): Run only when not cross-compiling and
4043 when fast-check is not defined.
4045 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4046 * conform/data/limits.h-data: Fixes for POSIX2008.
4047 * conform/run-conformtest.sh: Run all tests.
4048 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4050 * include/bits/dlfcn.h: Likewise.
4051 * include/langinfo.h: Likewise.
4052 * include/monetary.h: Likewise.
4053 * include/sys/poll.h: Likewise.
4055 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4057 * posix/spawn.h: Define __need_sigset_t.
4058 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4059 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4060 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4061 to get sigevent_t only.
4062 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4065 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4066 process_vm_writev only for __USE_GNU.
4067 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4069 * conform/Makefile: For now ignore errors from run-conformtest.
4070 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4071 POSIX to avoid namespace pollution. Don't prepend headers.
4072 * conform/data/aio.h-data: Fixes for POSIX testing.
4073 * conform/data/fcntl.h-data: Likewise.
4074 * conform/data/glob.h-data: Likewise.
4075 * conform/data/grp.h-data: Likewise.
4076 * conform/data/pthread.h-data: Likewise.
4077 * conform/data/pwd.h-data: Likewise.
4078 * conform/data/signal.h-data: Likewise.
4079 * conform/data/spawn.h-data: Likewise.
4080 * conform/data/stdio.h-data: Likewise.
4081 * conform/data/stdlib.h-data: Likewise.
4082 * conform/data/stropts.h-data: Likewise.
4083 * conform/data/sys/mman.h-data: Likewise.
4084 * conform/data/sys/stat.h-data: Likewise.
4085 * conform/data/sys/types.h-data: Likewise.
4086 * conform/data/sys/wait.h-data: Likewise.
4087 * conform/data/time.h-data: Likewise.
4088 * conform/data/unistd.h-data: Likewise.
4089 * conform/data/utime.h-data: Likewise.
4091 * io/sys/stat.h: fchmod was always in POSIX.
4092 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4093 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4094 * rt/aio.h: Define __need_timespec before including <time.h>.
4095 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4096 struct. Add forward declaration of pthread_attr_t and use it in
4098 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4099 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4100 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4101 always remove CLK_TCK definition.
4103 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4105 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4107 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4109 * conform/run-conformtest.sh: New file.
4110 * conform/Makefile: Run run-conformtest for tests.
4111 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4114 * conform/data/uchar.h-data: New file.
4115 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4116 * conform/data/arpa/inet.h-data: Likewise.
4117 * conform/data/assert.h-data: Likewise.
4118 * conform/data/complex.h-data: Likewise.
4119 * conform/data/cpio.h-data: Likewise.
4120 * conform/data/ctype.h-data: Likewise.
4121 * conform/data/dirent.h-data: Likewise.
4122 * conform/data/dlfcn.h-data: Likewise.
4123 * conform/data/errno.h-data: Likewise.
4124 * conform/data/fcntl.h-data: Likewise.
4125 * conform/data/float.h-data: Likewise.
4126 * conform/data/fmtmsg.h-data: Likewise.
4127 * conform/data/fnmatch.h-data: Likewise.
4128 * conform/data/ftw.h-data: Likewise.
4129 * conform/data/glob.h-data: Likewise.
4130 * conform/data/grp.h-data: Likewise.
4131 * conform/data/iconv.h-data: Likewise.
4132 * conform/data/inttypes.h-data: Likewise.
4133 * conform/data/langinfo.h-data: Likewise.
4134 * conform/data/libgen.h-data: Likewise.
4135 * conform/data/limits.h-data: Likewise.
4136 * conform/data/locale.h-data: Likewise.
4137 * conform/data/math.h-data: Likewise.
4138 * conform/data/monetary.h-data: Likewise.
4139 * conform/data/mqueue.h-data: Likewise.
4140 * conform/data/ndbm.h-data: Likewise.
4141 * conform/data/net/if.h-data: Likewise.
4142 * conform/data/netdb.h-data: Likewise.
4143 * conform/data/netinet/in.h-data: Likewise.
4144 * conform/data/nl_types.h-data: Likewise.
4145 * conform/data/poll.h-data: Likewise.
4146 * conform/data/pthread.h-data: Likewise.
4147 * conform/data/pwd.h-data: Likewise.
4148 * conform/data/regex.h-data: Likewise.
4149 * conform/data/sched.h-data: Likewise.
4150 * conform/data/search.h-data: Likewise.
4151 * conform/data/semaphore.h-data: Likewise.
4152 * conform/data/setjmp.h-data: Likewise.
4153 * conform/data/signal.h-data: Likewise.
4154 * conform/data/spawn.h-data: Likewise.
4155 * conform/data/stdarg.h-data: Likewise.
4156 * conform/data/stdio.h-data: Likewise.
4157 * conform/data/stdlib.h-data: Likewise.
4158 * conform/data/string.h-data: Likewise.
4159 * conform/data/strings.h-data: Likewise.
4160 * conform/data/stropts.h-data: Likewise.
4161 * conform/data/sys/ipc.h-data: Likewise.
4162 * conform/data/sys/mman.h-data: Likewise.
4163 * conform/data/sys/msg.h-data: Likewise.
4164 * conform/data/sys/resource.h-data: Likewise.
4165 * conform/data/sys/select.h-data: Likewise.
4166 * conform/data/sys/sem.h-data: Likewise.
4167 * conform/data/sys/shm.h-data: Likewise.
4168 * conform/data/sys/socket.h-data: Likewise.
4169 * conform/data/sys/stat.h-data: Likewise.
4170 * conform/data/sys/statvfs.h-data: Likewise.
4171 * conform/data/sys/time.h-data: Likewise.
4172 * conform/data/sys/timeb.h-data: Likewise.
4173 * conform/data/sys/times.h-data: Likewise.
4174 * conform/data/sys/types.h-data: Likewise.
4175 * conform/data/sys/uio.h-data: Likewise.
4176 * conform/data/sys/un.h-data: Likewise.
4177 * conform/data/sys/utsname.h-data: Likewise.
4178 * conform/data/sys/wait.h-data: Likewise.
4179 * conform/data/syslog.h-data: Likewise.
4180 * conform/data/tar.h-data: Likewise.
4181 * conform/data/termios.h-data: Likewise.
4182 * conform/data/utime.h-data: Likewise.
4183 * conform/data/utmpx.h-data: Likewise.
4184 * conform/data/varargs.h-data: Likewise.
4185 * conform/data/wchar.h-data: Likewise.
4186 * conform/data/wctype.h-data: Likewise.
4187 * conform/data/wordexp.h-data: Likewise.
4189 * include/stropts.h: New file.
4190 * include/uchar.h: New file.
4191 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4192 * include/assert.h: Likewise.
4193 * include/ctype.h: Likewise.
4194 * include/dirent.h: Likewise.
4195 * include/dlfcn.h: Likewise.
4196 * include/fcntl.h: Likewise.
4197 * include/fnmatch.h: Likewise.
4198 * include/glob.h: Likewise.
4199 * include/grp.h: Likewise.
4200 * include/libio.h: Likewise.
4201 * include/locale.h: Likewise.
4202 * include/math.h: Likewise.
4203 * include/net/if.h: Likewise.
4204 * include/netdb.h: Likewise.
4205 * include/netinet/in.h: Likewise.
4206 * include/pthread.h: Likewise.
4207 * include/pwd.h: Likewise.
4208 * include/regex.h: Likewise.
4209 * include/sched.h: Likewise.
4210 * include/search.h: Likewise.
4211 * include/setjmp.h: Likewise.
4212 * include/signal.h: Likewise.
4213 * include/stdio.h: Likewise.
4214 * include/stdlib.h: Likewise.
4215 * include/string.h: Likewise.
4216 * include/sys/cdefs.h: Likewise.
4217 * include/sys/mman.h: Likewise.
4218 * include/sys/msg.h: Likewise.
4219 * include/sys/resource.h: Likewise.
4220 * include/sys/select.h: Likewise.
4221 * include/sys/socket.h: Likewise.
4222 * include/sys/stat.h: Likewise.
4223 * include/sys/statvfs.h: Likewise.
4224 * include/sys/time.h: Likewise.
4225 * include/sys/times.h: Likewise.
4226 * include/sys/uio.h: Likewise.
4227 * include/sys/utsname.h: Likewise.
4228 * include/sys/wait.h: Likewise.
4229 * include/termios.h: Likewise.
4230 * include/time.h: Likewise.
4231 * include/ulimit.h: Likewise.
4232 * include/unistd.h: Likewise.
4233 * include/utime.h: Likewise.
4234 * include/wchar.h: Likewise.
4235 * include/wctype.h: Likewise.
4236 * include/wordexp.h: Likewise.
4238 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4240 * time/time.h: TIME_UTC must be a macro.
4241 Make timespec_get available for ISO C11 only as well.
4243 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4245 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4246 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4248 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4250 * configure.in: Use -o not -a in test for unsupported multi-arch.
4252 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4254 * manual/texinfo.tex: Update to version 2012-01-19.16.
4256 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4258 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4260 2012-02-24 Roland McGrath <roland@hack.frob.com>
4263 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4264 * manual/fdl-1.3.texi: New file.
4265 * manual/fdl-1.1.texi: File removed.
4268 * manual/libc.texinfo (FDL_VERSION): New @set.
4269 Use it for mention of FDL in cover text.
4270 (Documentation License): Use it in @include file name.
4272 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4273 Roland McGrath <roland@hack.frob.com>
4276 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4277 not LONG_LONG_MAX and LONG_LONG_MIN.
4278 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4279 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4281 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4283 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4287 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4288 manipulate bits before adding and subtracting TWO23[sx].
4289 * math/libm-test.inc (nearbyint_test): Add more tests.
4291 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4294 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4295 bits before adding and subtracting TWO23[sx].
4296 * math/libm-test.inc (rint_test): Add more tests.
4297 (rint_test_tonearest): Likewise.
4298 (rint_test_towardzero): Likewise.
4299 (rint_test_downward): Likewise.
4300 (rint_test_upward: Likewise.
4302 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4305 * include/stdc-predef.h: New file. Extracted from features.h.
4306 * include/features.h: Include stdc-predef.h.
4307 * Makefile (headers): Add stdc-predef.h.
4308 * CONFORMANCE (Compiler limitations): Update.
4310 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4312 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4314 2012-02-21 David S. Miller <davem@davemloft.net>
4316 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4317 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4319 2012-02-20 David S. Miller <davem@davemloft.net>
4321 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4322 using a normal save/restore sequence, rather than allocating a
4323 dummy stack frame just to store a frame pointer and restore.
4324 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4326 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4328 * manual/install.texi: Fix stray word in line-wrapped comment.
4330 2012-02-20 David S. Miller <davem@davemloft.net>
4332 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4333 both binutils and gcc support GOTDATA.
4335 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4336 "rd %pc" in the PIC register setup sequences.
4338 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4339 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4340 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4341 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4344 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4347 (SYSCALL_ERROR_HANDLER): Likewise.
4348 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4349 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4351 (SYSCALL_ERROR_HANDLER): Likewise.
4353 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4354 (HAVE_GCC_GOTDATA): New.
4355 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4356 relocation support in both binutils and gcc.
4357 * sysdeps/sparc/elf/configure: Regenerate.
4359 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4360 * sysdeps/sparc/sparc32/elf/configure: Delete.
4361 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4362 * sysdeps/sparc/sparc64/elf/configure: Delete.
4363 * sysdeps/sparc/elf/configure.in: New file.
4364 * sysdeps/sparc/elf/configure: Generate.
4366 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4367 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4368 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4369 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4370 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4372 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4374 * manual/install.texi: Do not mention specific glibc version
4376 * manual/libc.texinfo (VERSION, UPDATED): Update.
4377 (@copying): Use @copyright{} and range of years.
4379 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4382 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4383 [crti.S not in sysdirs] (generated): Do not append.
4384 [crti.S not in sysdirs] (omit-deps): Likewise.
4385 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4386 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4387 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4388 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4389 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4391 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4392 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4393 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4394 * csu/defs.awk: Remove file.
4395 * sysdeps/generic/initfini.c: Likewise.
4396 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4398 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4401 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4403 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4404 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4405 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4406 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4407 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4408 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4410 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4411 (__EPOLL_PACKED): Define to empty if not defined by
4413 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4417 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4419 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4420 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4421 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4422 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4424 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4428 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4430 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4432 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4433 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4434 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4437 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4439 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4440 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4442 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4444 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4445 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4447 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4449 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4452 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4454 * math/w_acos.c: Use non-signaling floating-point comparisons.
4455 * math/w_acosf.c: Likewise.
4456 * math/w_acosh.c: Likewise.
4457 * math/w_acoshf.c: Likewise.
4458 * math/w_acoshl.c: Likewise.
4459 * math/w_acosl.c: Likewise.
4460 * math/w_asin.c: Likewise.
4461 * math/w_asinf.c: Likewise.
4462 * math/w_asinl.c: Likewise.
4463 * math/w_atanh.c: Likewise.
4464 * math/w_atanhf.c: Likewise.
4465 * math/w_atanhl.c: Likewise.
4466 * math/w_exp2.c: Likewise.
4467 * math/w_exp2f.c: Likewise.
4468 * math/w_exp2l.c: Likewise.
4469 * math/w_j0.c: Likewise.
4470 * math/w_j0f.c: Likewise.
4471 * math/w_j0l.c: Likewise.
4472 * math/w_j1.c: Likewise.
4473 * math/w_j1f.c: Likewise.
4474 * math/w_j1l.c: Likewise.
4475 * math/w_jn.c: Likewise.
4476 * math/w_jnf.c: Likewise.
4477 * math/w_log.c: Likewise.
4478 * math/w_log10.c: Likewise.
4479 * math/w_log10f.c: Likewise.
4480 * math/w_log10l.c: Likewise.
4481 * math/w_log2.c: Likewise.
4482 * math/w_log2f.c: Likewise.
4483 * math/w_log2l.c: Likewise.
4484 * math/w_logf.c: Likewise.
4485 * math/w_logl.c: Likewise.
4486 * math/w_sqrt.c: Likewise.
4487 * math/w_sqrtf.c: Likewise.
4488 * math/w_sqrtl.c: Likewise.
4489 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4490 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4492 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4493 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4495 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4498 * manual/string.texi (strnlen): Use correct parameter name in
4499 equivalent expression.
4501 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4504 * manual/users.texi (seteuid): Consistently use neweuid for
4507 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4510 * manual/nss.texi (Services in the NSS configuration): Correct
4511 list of services in example configuration file.
4513 2012-02-19 Nick Bowler <nbowler@draconx.ca>
4516 * manual/arith.texi: Remove statements about negative zero
4517 behaving identically to zero.
4519 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4522 * manual/install.texi: Do not document upgrading from libc5.
4524 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4527 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4529 2012-02-18 David S. Miller <davem@davemloft.net>
4531 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4532 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4533 %o7 across the call.
4534 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4539 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4540 * sysdeps/sparc/crtn.S: Likewise.
4542 2012-02-17 Ulrich Drepper <drepper@gmail.com>
4544 * aout/Makefile: Remove.
4546 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4549 * manual/examples/argp-ex1.c (main): Format definition in GNU
4551 * manual/examples/argp-ex2.c (main): Likewise.
4552 * manual/examples/argp-ex3.c (main): Likewise.
4553 * manual/examples/argp-ex4.c (main): Likewise.
4554 * manual/examples/longopt.c (main): Use new-style prototype
4556 * manual/examples/strncat.c (main): Specify return type and use
4557 (void) for arguments.
4558 * manual/examples/subopt.c (main): Use char **argv argument.
4560 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4563 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4566 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4569 * manual/string.texi (strchr): Change when strchrnul is
4572 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4575 * manual/locale.texi (setlocale): Document LOCPATH.
4577 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4580 * manual/process.texi (execle): Move @dots{} before last argument.
4582 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
4585 * manual/charset.texi (Generic Charset Conversion): Fix typo
4586 (LC_TYPE -> LC_CTYPE).
4588 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4591 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4592 (scalbnf): Likewise.
4593 (scalbnl): Likewise.
4594 (scalbln): Likewise.
4595 (scalblnf): Likewise.
4596 (scalblnl): Likewise.
4597 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4601 * manual/filesys.texi (telldir): Use braces around return type.
4602 * manual/llio.texi (mmap): Add space after comma.
4604 * manual/math.texi (jn): Use @var{} on parameter names.
4610 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4612 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4614 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4615 (sched_get_priority_max): Likewise.
4616 * manual/signal.texi (sigvec): Add space after comma.
4617 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4619 (if_indextoname): Likewise.
4620 (if_freenameindex): Likewise.
4621 (sendto): Use ',' instead of '.' in prototype.
4622 * manual/startup.texi (syscall): Use @dots{} instead of literal
4624 * manual/stdio.texi (__fpending): Separate initial words of
4625 paragraph from @deftypefun line.
4626 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4628 (vsyslog): Use @var{} on parameter names.
4629 * manual/terminal.texi (stty): Use @var{} on parameter names.
4630 * manual/users.texi (getutmp): Use @var{} on parameter names.
4631 (getutmpx): Likewise.
4633 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4636 * manual/stdio.texi (fopen): Fix typos in description of
4639 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4642 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4643 get clock_id definition.
4645 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
4648 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4649 (madvise): Cast every argument to void on its own.
4651 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4654 * manual/startup.texi (Exit Status): Fix typo.
4656 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4659 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4660 * manual/examples/argp-ex2.c: Likewise.
4661 * manual/examples/argp-ex3.c: Likewise.
4663 2012-02-16 Richard Henderson <rth@redhat.com>
4665 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4666 * sysdeps/s390/s390-32/initfini.c: Remove.
4667 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4668 * sysdeps/s390/s390-64/initfini.c: Remove.
4670 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4672 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4673 compiler output for sysdeps/generic/initfini.c.
4674 * sysdeps/sh/elf/initfini.c: Remove file.
4676 2012-02-16 David S. Miller <davem@davemloft.net>
4679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4681 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4682 * sysdeps/sparc/crti.S: New file.
4683 * sysdeps/sparc/crtn.S: New file.
4684 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4685 * sysdeps/sparc/sparc64/Makefile: Likewise.
4687 2012-02-15 Mike Frysinger <vapier@gentoo.org>
4690 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4692 2012-02-15 Roland McGrath <roland@hack.frob.com>
4695 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4697 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4698 (write, read, close): Likewise.
4699 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4701 2012-02-15 Joseph Myers <joseph@codesourcery.com>
4703 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4704 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4705 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4706 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4708 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4712 2012-02-14 Marek Polacek <polacek@redhat.com>
4714 * sysdeps/x86_64/crti.S: New file.
4715 * sysdeps/x86_64/crtn.S: New file.
4716 * sysdeps/x86_64/elf/initfini.c: Remove file.
4718 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4720 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4721 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4722 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4723 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4725 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4729 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4731 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4732 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4733 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4734 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4736 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4740 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4742 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4743 __feraiseexcept instead of feraiseexcept.
4745 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4746 nanosleep invocations.
4747 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4748 strings, and add error checking for a nanosleep invocations.
4750 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4752 Replace FSF snail mail address with URLs, as per GNU coding standards.
4753 Most of the snail mail addresses were wrong anyway, and omitting
4754 them makes the source code easier to maintain. Almost all of the
4755 changes are to license notices and to locale LC_IDENTIFICATION
4756 addresses, except for this one:
4757 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4758 not its snail mail address.
4760 2012-02-09 Richard Henderson <rth@twiddle.net>
4762 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4763 of kernel-features.h.
4765 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4767 2012-02-08 Marek Polacek <polacek@redhat.com>
4769 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4770 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4771 * sysdeps/gnu/_G_config.h: Likewise.
4772 * sysdeps/generic/_G_config.h: Likewise.
4774 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4776 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4780 * sysdeps/powerpc/powerpc32/crti.S: New file.
4781 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4782 * sysdeps/powerpc/powerpc64/crti.S: New file.
4783 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4785 * Makeconfig (have-initfini): Don't set.
4786 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4787 * configure.in (nopic_initfini): Don't substitute.
4788 * config.h.in (HAVE_INITFINI): Don't #undef.
4789 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4790 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4792 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4794 Support crti.S and crtn.S provided directly by architectures.
4795 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4796 [crti.S in sysdirs] (omit-deps): Likewise.
4797 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4798 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4799 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4800 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4801 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4802 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4803 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4804 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4805 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4806 compiler output for sysdeps/generic/initfini.c.
4807 * sysdeps/i386/elf/Makefile: Remove file.
4808 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4810 2012-02-07 Marek Polacek <polacek@redhat.com>
4812 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4813 * sysdeps/gnu/_G_config.h: Likewise.
4814 * sysdeps/mach/hurd/_G_config.h: Likewise.
4816 2012-02-07 Marek Polacek <polacek@redhat.com>
4818 * math/Makefile (tests): Add tst-CMPLX2.
4819 * math/tst-CMPLX2.c: New file.
4821 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4823 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4825 * math/libm-test.inc (jn_test): Add missing L suffix.
4827 2012-02-06 Marek Polacek <polacek@redhat.com>
4829 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4830 * sysdeps/i386/fpu/e_powf.S: Likewise.
4831 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4832 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4833 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4834 * sysdeps/i386/fpu/e_pow.S: Likewise.
4835 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4836 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4837 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4838 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4839 * sysdeps/i386/fpu/e_log2.S: Likewise.
4840 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4841 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4842 * sysdeps/i386/fpu/e_powl.S: Likewise.
4843 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4844 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4845 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4846 * sysdeps/i386/fpu/e_logl.S: Likewise.
4847 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4848 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4849 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4850 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4851 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4852 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4853 * sysdeps/i386/fpu/e_log.S: Likewise.
4854 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4855 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4856 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4857 * sysdeps/i386/fpu/e_logf.S: Likewise.
4858 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4859 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4860 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4861 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4862 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4863 * sysdeps/i386/fpu/e_log10.S: Likewise.
4864 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4865 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4866 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4867 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4868 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4869 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4870 * sysdeps/i386/asm-syntax.h: Likewise.
4871 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4872 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4873 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4874 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4875 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4876 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4877 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4878 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4879 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4880 * sysdeps/powerpc/sysdep.h: Likewise.
4881 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4882 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4884 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4887 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4889 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4891 * sysdeps/i386/sysdep.h: Include <features.h>.
4892 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4895 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4897 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4899 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4902 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4904 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4905 (SETUP_PIC_REG): Use GET_PC_THUNK.
4906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4909 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4911 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4912 for non-PIC compilation.
4913 (SETUP_PIC_REG): Add .p2align directive.
4914 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4915 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4916 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4917 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4918 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4919 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4920 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4922 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4923 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4924 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4925 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4926 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4927 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4928 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4929 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4930 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4931 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4932 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4933 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4934 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4935 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4936 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4937 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4938 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4940 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4942 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4947 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4951 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4952 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4953 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4954 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4956 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4958 * math/tst-CMPLX.c: Include <stdio.h>.
4960 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4962 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4964 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4965 * sysdeps/sparc/bits/mathdef.h: Likewise.
4967 2012-01-31 Marek Polacek <polacek@redhat.com>
4969 * libio/libio.h: Don't define _PARAMS.
4970 * locale/programs/config.h: Don't define PARAMS.
4971 * stdlib/strtol_l.c: Likewise.
4972 (__strtol_l): Remove PARAMS from the prototype.
4974 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4976 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4977 names. Just use the correct names. Remove unnecessary wrapper
4979 * malloc/arena.c: Likewise.
4980 * malloc/hooks.c: Likewise.
4982 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4983 ARENA_TEST says not to. Simplify test for creation of a new arena.
4984 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4986 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4988 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4990 (update_get_addr): New function.
4991 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4992 GET_ADDR_MODULE parameter.
4994 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4996 * crypt/cert.c: Remove __STDC__ conditionals.
4997 * crypt/crypt-entry.c: Likewise.
4998 * crypt/crypt_util.c: Likewise.
4999 * libio/filedoalloc.c: Likewise.
5000 * libio/fileops.c: Likewise.
5001 * libio/genops.c: Likewise.
5002 * libio/iofclose.c: Likewise.
5003 * libio/iofdopen.c: Likewise.
5004 * libio/iofopen.c: Likewise.
5005 * libio/iofopen64.c: Likewise.
5006 * libio/iogetdelim.c: Likewise.
5007 * libio/iopopen.c: Likewise.
5008 * libio/obprintf.c: Likewise.
5009 * libio/oldfileops.c: Likewise.
5010 * libio/oldiofclose.c: Likewise.
5011 * libio/oldiofdopen.c: Likewise.
5012 * libio/oldiofopen.c: Likewise.
5013 * libio/oldiopopen.c: Likewise.
5014 * libio/wfiledoalloc.c: Likewise.
5015 * libio/wgenops.c: Likewise.
5016 * locale/programs/xmalloc.c: Likewise.
5017 * misc/syslog.c: Likewise.
5018 * stdio-common/xbug.c: Likewise.
5019 * string/memchr.c: Likewise.
5020 * string/memcmp.c: Likewise.
5021 * string/memrchr.c: Likewise.
5022 * string/rawmemchr.c: Likewise.
5023 * sysdeps/posix/getcwd.c: Likewise.
5024 * time/strftime_l.c: Likewise.
5026 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5028 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5029 * config.make.in (config-cflags-sse2avx): Define.
5030 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5033 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5035 * scripts/config.guess: Update from upstream config git repository.
5036 * scripts/config.sub: Likewise.
5038 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5040 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5042 (R_TILEPRO_*, R_TILEGX_*): New macros.
5044 * scripts/firstversions.awk: Fix bug in version range handling.
5046 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5048 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5050 * include/sys/epoll.h: New file.
5051 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5054 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5056 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5057 Avoid unnecessary __WORDSIZE == 64 test.
5058 (fmaxf): Use VEX format if possible.
5063 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5064 * math/math_private.h: Remove libc_fegetround* and
5066 * sysdeps/i386/configure.in: Check for -msse2avx.
5067 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5068 also if SSE2AVX is defined.
5069 Remove libc_fegetround* and libc_fesetround*.
5070 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5071 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5072 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5074 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5075 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5076 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5077 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5078 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5080 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5082 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5084 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5086 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5088 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5091 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5093 * Makeconfig (libm): Define.
5094 * elf/Makefile: Add rules to build and run tst-relsort1.
5095 * elf/tst-relsort1.c: New file.
5096 * elf/tst-relsort1mod1.c: New file.
5097 * elf/tst-relsort1mod2.c: New file.
5099 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5101 * math/s_ldexp.c: Remove __STDC__ conditionals.
5102 * math/s_ldexpf.c: Likewise.
5103 * math/s_ldexpl.c: Likewise.
5104 * math/s_nextafter.c: Likewise.
5105 * math/s_nexttowardf.c: Likewise.
5106 * math/s_significand.c: Likewise.
5107 * math/s_significandf.c: Likewise.
5108 * math/s_significandl.c: Likewise.
5109 * math/w_jnl.c: Likewise.
5110 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5111 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5112 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5113 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5114 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5116 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5117 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5118 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5119 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5120 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5122 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5123 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5124 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5125 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5126 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5127 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5129 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5130 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5131 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5132 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5133 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5134 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5135 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5136 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5137 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5138 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5139 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5140 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5141 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5142 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5143 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5144 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5145 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5146 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5147 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5148 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5149 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5150 * sysdeps/ieee754/k_standard.c: Likewise.
5151 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5152 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5153 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5154 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5155 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5156 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5157 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5158 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5159 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5160 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5161 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5164 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5165 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5166 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5167 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5168 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5169 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5170 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5171 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5174 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5175 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5176 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5178 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5208 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5212 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5215 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5217 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5225 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5226 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5230 * sysdeps/ieee754/s_matherr.c: Likewise.
5231 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5232 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5233 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5234 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5236 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5238 * crypt/md5.h: Remove __STDC__ conditionals.
5239 * libio/libioP.h: Likewise.
5240 * locale/programs/config.h: Likewise.
5241 * sysdeps/generic/sysdep.h: Likewise.
5242 * sysdeps/i386/asm-syntax.h: Likewise.
5243 * sysdeps/s390/asm-syntax.h: Likewise.
5244 * sysdeps/unix/sysdep.h: Likewise.
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5248 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5250 * libio/libio.h: Remove __STDC__ conditionals.
5251 * malloc/obstack.h: Likewise.
5252 * math/complex.h: Likewise.
5253 * math/math.h: Likewise.
5254 * sysdeps/generic/_G_config.h: Likewise.
5255 * sysdeps/gnu/_G_config.h: Likewise.
5256 * sysdeps/mach/hurd/_G_config.h: Likewise.
5257 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5258 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5259 * sysdeps/sparc/bits/mathdef.h: Likewise.
5261 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5264 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5265 Clean up HAS_* macros.
5266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5267 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5272 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5277 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5279 * elf/tst-unique3.cc (gets): Remove declaration.
5280 * elf/tst-unique3lib.cc (gets): Likewise.
5281 * elf/tst-unique3lib2.cc (gets): Likewise.
5282 * elf/tst-unique4.cc (gets): Likewise.
5284 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5286 * include/stdio.h: Add C++ protection. Add gets declarations and
5288 * debug/tst-chk1.c: Don't declare gets here.
5289 * stdio-common/tst-gets.c: Likewise.
5291 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5293 * posix/glob: Remove directory.
5295 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5297 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5299 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5301 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5302 of the non-standard EPFNOSUPPORT.
5304 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5306 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5307 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5308 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5310 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5312 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5314 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5316 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5318 * nscd/grpcache.c (cache_addgr): Likewise.
5319 * nscd/hstcache.c (cache_addhst): Likewise.
5320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5321 * nscd/pwdcache.c (cache_addpw): Likewise.
5322 * nscd/servicescache.c (cache_addserv): Likewise.
5324 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5326 * malloc/malloc.c: Various cleanups.
5327 * malloc/hooks.c: Likewise.
5329 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5330 * stdlib/bug-fmtmsg1.c: New file.
5332 * stdlib/fmtmsg.c (init): Add missing unlock.
5333 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5335 2012-01-12 Marek Polacek <polacek@redhat.com>
5337 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5340 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5342 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5343 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5344 macro to ensure uniqueness of label name.
5345 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5346 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5348 2012-01-11 Ulrich Drepper <drepper@gmail.com>
5350 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5352 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5353 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5354 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5355 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5357 2012-01-10 Ulrich Drepper <drepper@gmail.com>
5359 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5361 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5362 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5363 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5365 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5367 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5368 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5369 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5372 * math/bits/math-finite.h: Add ldexp support.
5374 2012-01-10 Marek Polacek <polacek@redhat.com>
5376 * locale/programs/localedef.h (show_archive_content): Add noreturn
5379 2012-01-09 Ulrich Drepper <drepper@gmail.com>
5381 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5383 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5385 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5387 * io/Makefile (headers): Add bits/poll2.h.
5389 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5392 typo #include statement.
5394 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5396 * include/sys/cdefs.h: Define __attribute_alloc_size.
5397 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5398 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5399 * elf/pldd.c: Likewise.
5400 * iconv/iconv_charmap.c: Likewise.
5401 * iconv/iconvconfig.c: Likewise.
5402 * iconv/strtab.c: Likewise.
5403 * locale/programs/locale.c: Likewise.
5404 * locale/programs/localedef.h: Likewise.
5405 * locale/programs/simple-hash.c: Likewise.
5406 * nscd/nscd.h: Likewise.
5407 * nss/makedb.c: Likewise.
5408 * sysdeps/generic/ldconfig.h: Likewise.
5409 * locale/programs/localedef.c: Remove xmalloc prototype.
5410 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5412 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5414 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5417 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5419 * math/Makefile (tests): Add tst-CMPLX.
5420 * math/tst-CMPLX.c: New file.
5422 * math/complex.h (CMPLXL): Fix typo.
5424 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5425 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5427 * debug/tst-chk1.c: Add poll and ppoll tests.
5428 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5429 * include/sys/poll.h: Add hidden proto for ppoll.
5430 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5431 * sysdeps/mach/hurd/ppoll.c: Likewise.
5432 * io/ppoll.c: Likewise.
5433 * debug/poll_chk.c: New file.
5434 * debug/ppoll_chk.c: New file.
5435 * include/bits/poll2.h: New file.
5436 * io/bits/poll2.h: New file.
5439 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5441 * configure.in: static is always set to yes. Remove.
5442 * config.make.in: Don't set build-static.
5443 * Makeconfig: Remove use of build-static.
5444 * dlfcn/Makefile: Likewise.
5445 * elf/Makefile: Likewise.
5446 * math/Makefile: Likewise.
5447 * misc/Makefile: Likewise.
5448 * nptl/Makefile: Likewise.
5449 * sysdeps/mach/hurd/Makefile: Likewise.
5451 * configure.in: PWD_P is not used anymore.
5452 * config.make.in: Remove PWD_P entry.
5454 * configure.in: Remove last remnants of RANLIB.
5455 No need to check for signed size_t anymore.
5456 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5458 Remove __builtin_expect test because we require at least gcc 3.4.
5459 * aclocal.m4: Likewise.
5461 * wcsmbs/mbrtoc16.c: Implement using towc function.
5462 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5463 * wcsmbs/wcsmbsload.c: Likewise.
5464 * iconv/gconv_simple.c: Likewise.
5465 * iconv/gconv_int.h: Likewise.
5466 * iconv/gconv_builtin.h: Likewise.
5467 * iconv/iconv_prog.c: Remove CHAR16 handling.
5469 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5471 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5473 * configure.in: Remove --with-elf and --enable-bounded options.
5474 Dont set base_machine for ia64. More non-ELF conditions removed.
5475 Remove testing and setting of leading underscore information.
5476 * config.make.in (build-bounded): Set to no.
5477 * config.h.in: Remove NO_UNDERSCORES entry.
5478 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5480 * csu/start.c: Remove !NO_UNDERSCORE code.
5481 * locale/localeinfo.h: Likewise.
5482 * sysdeps/generic/machine-gmon.h: Likewise.
5483 * sysdeps/generic/sysdep.h: Likewise.
5484 * sysdeps/i386/sysdep.h: Likewise.
5485 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5486 * sysdeps/mach/sysdep.h: Likewise.
5487 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5488 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5489 * sysdeps/sh/sysdep.h: Likewise.
5490 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5491 * sysdeps/unix/i386/sysdep.S: Likewise.
5492 * sysdeps/unix/sparc/start.c: Likewise.
5493 * sysdeps/unix/sparc/sysdep.S: Likewise.
5494 * sysdeps/unix/sparc/sysdep.h: Likewise.
5495 * sysdeps/unix/start.c: Likewise.
5496 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5497 * sysdeps/x86_64/sysdep.h: Likewise.
5499 2012-01-07 Ulrich Drepper <drepper@gmail.com>
5502 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5504 * argp/argp-fmtstream.h: Use const instead __const.
5505 * argp/argp.h: Likewise.
5506 * assert/assert.h: Likewise.
5507 * bits/fenv.h: Likewise.
5508 * bits/sched.h: Likewise.
5509 * bits/sigset.h: Likewise.
5510 * bits/sigthread.h: Likewise.
5511 * catgets/nl_types.h: Likewise.
5512 * conform/data/pthread.h-data: Likewise.
5513 * crypt/crypt-private.h: Likewise.
5514 * crypt/crypt.h: Likewise.
5515 * crypt/crypt_util.c: Likewise.
5516 * ctype/ctype.h: Likewise.
5517 * debug/execinfo.h: Likewise.
5518 * debug/mbsnrtowcs_chk.c: Likewise.
5519 * debug/mbsrtowcs_chk.c: Likewise.
5520 * debug/wcsnrtombs_chk.c: Likewise.
5521 * debug/wcsrtombs_chk.c: Likewise.
5522 * debug/wcstombs_chk.c: Likewise.
5523 * dirent/dirent.h: Likewise.
5524 * dlfcn/dlfcn.h: Likewise.
5525 * elf/neededtest4.c: Likewise.
5526 * grp/grp.h: Likewise.
5527 * gshadow/gshadow.h: Likewise.
5528 * iconv/gconv.h: Likewise.
5529 * iconv/gconv_int.h: Likewise.
5530 * iconv/gconv_simple.c: Likewise.
5531 * iconv/iconv.h: Likewise.
5532 * iconv/loop.c: Likewise.
5533 * iconv/skeleton.c: Likewise.
5534 * include/aio.h: Likewise.
5535 * include/aliases.h: Likewise.
5536 * include/argz.h: Likewise.
5537 * include/arpa/inet.h: Likewise.
5538 * include/assert.h: Likewise.
5539 * include/dirent.h: Likewise.
5540 * include/dlfcn.h: Likewise.
5541 * include/execinfo.h: Likewise.
5542 * include/fcntl.h: Likewise.
5543 * include/fenv.h: Likewise.
5544 * include/glob.h: Likewise.
5545 * include/grp.h: Likewise.
5546 * include/libintl.h: Likewise.
5547 * include/mntent.h: Likewise.
5548 * include/netdb.h: Likewise.
5549 * include/pwd.h: Likewise.
5550 * include/rpc/netdb.h: Likewise.
5551 * include/sched.h: Likewise.
5552 * include/search.h: Likewise.
5553 * include/shadow.h: Likewise.
5554 * include/signal.h: Likewise.
5555 * include/stdio.h: Likewise.
5556 * include/stdlib.h: Likewise.
5557 * include/string.h: Likewise.
5558 * include/sys/socket.h: Likewise.
5559 * include/sys/stat.h: Likewise.
5560 * include/sys/statfs.h: Likewise.
5561 * include/sys/statvfs.h: Likewise.
5562 * include/sys/syslog.h: Likewise.
5563 * include/sys/time.h: Likewise.
5564 * include/sys/uio.h: Likewise.
5565 * include/time.h: Likewise.
5566 * include/unistd.h: Likewise.
5567 * include/utmp.h: Likewise.
5568 * include/wchar.h: Likewise.
5569 * include/wctype.h: Likewise.
5570 * inet/aliases.h: Likewise.
5571 * inet/arpa/inet.h: Likewise.
5572 * inet/netinet/ether.h: Likewise.
5573 * inet/netinet/in.h: Likewise.
5574 * intl/libintl.h: Likewise.
5575 * io/bits/fcntl2.h: Likewise.
5576 * io/fcntl.h: Likewise.
5577 * io/ftw.h: Likewise.
5578 * io/sys/poll.h: Likewise.
5579 * io/sys/stat.h: Likewise.
5580 * io/sys/statfs.h: Likewise.
5581 * io/sys/statvfs.h: Likewise.
5582 * io/utime.h: Likewise.
5583 * libio/bits/stdio.h: Likewise.
5584 * libio/bits/stdio2.h: Likewise.
5585 * libio/libio.h: Likewise.
5586 * libio/libioP.h: Likewise.
5587 * libio/stdio.h: Likewise.
5588 * locale/lc-ctype.c: Likewise.
5589 * locale/locale.h: Likewise.
5590 * login/utmp.h: Likewise.
5591 * malloc/arena.c: Likewise.
5592 * malloc/malloc.c: Likewise.
5593 * malloc/malloc.h: Likewise.
5594 * malloc/mcheck.c: Likewise.
5595 * malloc/mtrace.c: Likewise.
5596 * math/bits/mathcalls.h: Likewise.
5597 * math/fenv.h: Likewise.
5598 * math/math_private.h: Likewise.
5599 * misc/bits/error.h: Likewise.
5600 * misc/bits/syslog.h: Likewise.
5601 * misc/err.h: Likewise.
5602 * misc/error.h: Likewise.
5603 * misc/fstab.h: Likewise.
5604 * misc/mntent.h: Likewise.
5605 * misc/regexp.h: Likewise.
5606 * misc/search.h: Likewise.
5607 * misc/sgtty.h: Likewise.
5608 * misc/sys/mman.h: Likewise.
5609 * misc/sys/syslog.h: Likewise.
5610 * misc/sys/uio.h: Likewise.
5611 * misc/sys/xattr.h: Likewise.
5612 * misc/ttyent.h: Likewise.
5613 * nis/rpcsvc/ypclnt.h: Likewise.
5614 * nss/nss.h: Likewise.
5615 * posix/bits/unistd.h: Likewise.
5616 * posix/fnmatch.h: Likewise.
5617 * posix/glob.h: Likewise.
5618 * posix/sched.h: Likewise.
5619 * posix/spawn.h: Likewise.
5620 * posix/sys/wait.h: Likewise.
5621 * posix/unistd.h: Likewise.
5622 * posix/wordexp.h: Likewise.
5623 * pwd/pwd.h: Likewise.
5624 * resolv/netdb.h: Likewise.
5625 * resource/sys/resource.h: Likewise.
5626 * rt/aio.h: Likewise.
5627 * rt/bits/mqueue2.h: Likewise.
5628 * rt/mqueue.h: Likewise.
5629 * shadow/shadow.h: Likewise.
5630 * signal/signal.h: Likewise.
5631 * socket/send.c: Likewise.
5632 * socket/sendto.c: Likewise.
5633 * socket/sys/socket.h: Likewise.
5634 * stdio-common/printf.h: Likewise.
5635 * stdlib/bits/stdlib.h: Likewise.
5636 * stdlib/fmtmsg.h: Likewise.
5637 * stdlib/monetary.h: Likewise.
5638 * stdlib/stdlib.h: Likewise.
5639 * stdlib/ucontext.h: Likewise.
5640 * streams/stropts.h: Likewise.
5641 * string/argz.h: Likewise.
5642 * string/bits/string2.h: Likewise.
5643 * string/string.h: Likewise.
5644 * string/strings.h: Likewise.
5645 * sunrpc/rpc/auth.h: Likewise.
5646 * sunrpc/rpc/auth_des.h: Likewise.
5647 * sunrpc/rpc/clnt.h: Likewise.
5648 * sunrpc/rpc/netdb.h: Likewise.
5649 * sunrpc/rpc/pmap_clnt.h: Likewise.
5650 * sunrpc/rpc/xdr.h: Likewise.
5651 * sysdeps/generic/inttypes.h: Likewise.
5652 * sysdeps/generic/net/if.h: Likewise.
5653 * sysdeps/generic/sys/swap.h: Likewise.
5654 * sysdeps/gnu/net/if.h: Likewise.
5655 * sysdeps/gnu/utmpx.h: Likewise.
5656 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5657 * sysdeps/i386/i486/bits/string.h: Likewise.
5658 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5659 * sysdeps/s390/bits/string.h: Likewise.
5660 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5661 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5662 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5663 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5664 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5665 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5666 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5667 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5668 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5669 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5670 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5671 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5672 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5673 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5674 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5675 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5676 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5677 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5678 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5679 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5680 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5681 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5682 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5683 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5684 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5685 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5686 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5687 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5688 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5689 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5690 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5691 * sysvipc/sys/ipc.h: Likewise.
5692 * sysvipc/sys/msg.h: Likewise.
5693 * sysvipc/sys/sem.h: Likewise.
5694 * sysvipc/sys/shm.h: Likewise.
5695 * termios/termios.h: Likewise.
5696 * time/sys/time.h: Likewise.
5697 * time/time.h: Likewise.
5698 * wcsmbs/bits/wchar2.h: Likewise.
5699 * wcsmbs/uchar.h: Likewise.
5700 * wcsmbs/wchar.h: Likewise.
5701 * wctype/wctype.h: Likewise.
5704 * Makeconfig: Remove all but ELF support including AIX support.
5705 * Makerules: Likewise.
5706 * config.h.in: Likewise.
5707 * config.make.in: Likewise.
5708 * configure: Likewise.
5709 * configure.in: Likewise.
5710 * csu/Makefile: Likewise.
5711 * csu/version.c: Likewise.
5712 * debug/Makefile: Likewise.
5713 * dlfcn/Makefile: Likewise.
5714 * elf/Makefile: Likewise.
5715 * extra-lib.mk: Likewise.
5716 * iconv/Makefile: Likewise.
5717 * include/libc-symbols.h: Likewise.
5718 * include/shlib-compat.h: Likewise.
5719 * resolv/Makefile: Likewise.
5720 * resolv/res_libc.c: Likewise.
5721 * rt/Makefile: Likewise.
5722 * sysdeps/i386/asm-syntax.h: Likewise.
5723 * sysdeps/i386/sysdep.h: Likewise.
5724 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5725 * sysdeps/mach/sysdep.h: Likewise.
5726 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5727 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5728 * sysdeps/s390/asm-syntax.h: Likewise.
5729 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5730 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5731 * sysdeps/sh/sysdep.h: Likewise.
5732 * sysdeps/unix/sparc/sysdep.h: Likewise.
5733 * sysdeps/wordsize-32/divdi3.c: Likewise.
5734 * sysdeps/x86_64/sysdep.h: Likewise.
5736 * argp/Versions: Remove _argp_unlock_xxx.
5739 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5740 * abilist/libBrokenLocale.abilist: Likewise.
5741 * abilist/libanl.abilist: Likewise.
5742 * abilist/libc.abilist: Likewise.
5743 * abilist/libcrypt.abilist: Likewise.
5744 * abilist/libdl.abilist: Likewise.
5745 * abilist/libm.abilist: Likewise.
5746 * abilist/libnsl.abilist: Likewise.
5747 * abilist/libpthread.abilist: Likewise.
5748 * abilist/libresolv.abilist: Likewise.
5749 * abilist/librt.abilist: Likewise.
5750 * abilist/libthread_db.abilist: Likewise.
5751 * abilist/libutil.abilist: Likewise.
5752 * abilist/libnss_db.abilist: New file.
5754 * scripts/abilist.awk: Add support for indirect functions.
5756 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5758 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5760 * shlib-versions: Remove entries for ports architectures.
5762 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5764 * elf/stackguard-macros.h: Remove support for IA-64.
5765 * elf/tst-auditmod1.c: Likewise.
5766 * sysdeps/generic/ldsodefs.h: Likewise.
5768 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5769 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5773 * configure.in: Remove --enable-omitfp support.
5775 * config.make.in: Likewise.
5776 * Makeconfig: Likewise.
5777 * manual/install.texi: Likewise.
5779 In case anyone cares, the IA-64 architecture could move to ports.
5780 * sysdeps/ia64/*: Removed.
5781 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5782 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5785 * configure.in: Remove entries for unsupported architectures.
5788 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5789 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5791 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5792 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5793 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5794 fall back to using wcrtomb.
5795 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5796 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5798 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5799 * wcsmbs/tst-c16c32-1.c: New file.
5801 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5804 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5806 * elf/tst-unique3.cc: Add explicit declaration of gets.
5807 * elf/tst-unique3lib.cc: Likewise.
5808 * elf/tst-unique3lib2.cc: Likewise.
5809 * elf/tst-unique4.cc: Likewise.
5811 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5813 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5816 * assert/assert.h (static_assert): Don't define for C++.
5817 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5818 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5820 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5822 * iconv/loop.c (single loop): Fix assertion in storing of
5825 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5827 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5829 * posix/getconf.c: Update copyright year.
5830 * nss/getent.c: Likewise.
5831 * nss/makedb.c: Likewise.
5832 * iconv/iconvconfig.c: Likewise.
5833 * iconv/iconv_prog.c: Likewise.
5834 * elf/ldconfig.c: Likewise.
5835 * elf/pldd.c: Likewise.
5836 * elf/sotruss.ksh: Likewise.
5837 * catgets/gencat.c: Likewise.
5838 * csu/version.c: Likewise.
5839 * elf/ldd.bash.in: Likewise.
5840 * elf/sprof.c (print_version): Likewise.
5841 * locale/programs/locale.c: Likewise.
5842 * locale/programs/localedef.c: Likewise.
5843 * login/programs/pt_chown.c: Likewise.
5844 * nscd/nscd.c (print_version): Likewise.
5845 * debug/xtrace.sh: Likewise.
5846 * malloc/memusage.sh: Likewise.
5847 * malloc/mtrace.pl: Likewise.
5848 * debug/catchsegv.sh: Likewise.
5850 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5852 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5855 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5858 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5859 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5861 * iconv/gconv_int.h: Likewise.
5862 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5863 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5864 from libc for GLIBC_2.16.
5865 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5866 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5867 * wcsmbs/uchar.h: Really define mbstate_t.
5868 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5869 * wcsmbs/c16rtomb.c: New file.
5870 * wcsmbs/mbrtoc16.c: New file.
5871 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5873 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5874 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5876 * wcsmbs/wchar.h: Add missing __restrict.
5878 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5881 * time/Makefile (routines): Add timespec_get.
5882 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5883 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5884 timespec for ISO C11.
5885 * time/timespec_get.c: New file.
5886 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5887 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5890 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5891 * stdlib/stdlib.h: Declare aligned_alloc.
5892 * Versions.def: Add GLIBC_2.16 for libc.
5893 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5896 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5899 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5903 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5906 * assert/assert.h (static_assert): Define.
5908 * version.h: Update for 2.16 development version.
5911 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5914 * version.h (RELEASE): Bump for 2.15 release.
5915 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5917 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5918 Patch by Marek Polacek <mpolacek@redhat.com>.
5920 * bits/byteswap.h: Protect long long constants with __extension__.
5921 * sysdeps/i386/bits/byteswap.h: Likewise.
5922 * sysdeps/ia64/bits/byteswap.h: Likewise.
5923 * sysdeps/s390/bits/byteswap.h: Likewise.
5924 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5926 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5929 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5931 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5933 2011-12-23 Marek Polacek <polacek@redhat.com>
5935 * elf/dl-addr.c (determine_info): Add inline keyword.
5936 * elf/tst-auditmod4b.c (check_avx): Likewise.
5937 * elf/tst-auditmod6b.c (check_avx): Likewise.
5938 * elf/tst-auditmod6c.c (check_avx): Likewise.
5939 * elf/tst-auditmod7b.c (check_avx): Likewise.
5941 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5943 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5946 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5949 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5950 processing for last bytes.
5952 2011-08-06 Bruno Haible <bruno@clisp.org>
5955 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5956 U+0385, not to U+1FEE.
5959 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5960 entry for U+00A5 U+0301.
5962 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5965 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5966 buffer for the output is too small.
5968 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5972 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5973 SSE flags if possible.
5975 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5979 processing for last bytes.
5981 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5983 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5984 (syscall-list-default-options, syscall-list-default-condition)
5985 (syscall-list-includes): Define.
5986 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5987 list of ABIs and options and #if conditions for each ABI. Do not
5988 handle common syscalls between ABIs specially.
5989 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5991 (syscall-list-variants, syscall-list-32bit-options)
5992 (syscall-list-32bit-condition, syscall-list-64bit-options)
5993 (syscall-list-64bit-condition): Define.
5994 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5995 (syscall-list-variants, syscall-list-32bit-options)
5996 (syscall-list-32bit-condition, syscall-list-64bit-options)
5997 (syscall-list-64bit-condition): Define.
5998 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6000 (syscall-list-variants, syscall-list-32bit-options)
6001 (syscall-list-32bit-condition, syscall-list-64bit-options)
6002 (syscall-list-64bit-condition): Define.
6003 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6005 (syscall-list-variants, syscall-list-32bit-options)
6006 (syscall-list-32bit-condition, syscall-list-64bit-options)
6007 (syscall-list-64bit-condition): Define.
6009 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6011 * locale/iso-639.def: Add brx entry.
6014 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6015 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6017 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6018 __feraiseexcept_renamed.
6020 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6023 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6024 EPOLLET with unsigned values.
6025 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6026 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6028 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6029 to large cancellation.
6030 * math/s_cacoshf.c: Likewise.
6031 * math/s_cacoshl.c: Likewise.
6033 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6037 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6038 * math/s_cacoshf.c: Likewise.
6039 * math/s_cacoshl.c: Likewise.
6041 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6044 * iconv/gconv.h: Define __GCONV_SWAP.
6045 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6046 * iconvdata/utf-16.c: Likewise.
6047 * iconvdata/utf-32.c: Likewise.
6049 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6052 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6053 numerator after shifting it by one limb.
6055 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6057 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6058 under [__USE_EXTERN_INLINES].
6060 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6063 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6065 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6067 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6068 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6070 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6071 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6072 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6073 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6074 for strncasecmp/strncasecmp_l compilation.
6075 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6076 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6078 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6081 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6084 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6087 * time/tzfile.c (__tzfile_read): Check values from file header.
6089 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6091 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6092 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6093 * powerpc/powerpc32/dl-start.S: Likewise.
6094 * powerpc/powerpc32/elf/start.S: Likewise.
6095 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6096 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6097 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6098 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6099 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6100 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6101 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6102 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6103 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6104 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6105 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6106 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6107 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6108 * powerpc/powerpc32/memset.S: Likewise.
6109 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6110 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6111 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6112 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6113 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6114 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6115 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6116 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6117 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6118 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6119 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6120 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6121 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6123 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6125 * math/libm-test.inc: Added more nearbyint tests.
6126 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6127 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6128 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6129 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6131 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6133 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6136 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6138 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6139 Add wcscpy-ssse3 wcscpy-c.
6140 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6141 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6142 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6143 * sysdeps/x86_64/wcschr.S: New file.
6144 * sysdeps/x86_64/wcsrchr.S: New file.
6145 * string/test-strcmp.c: Remove checking of wcscmp function for
6147 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6148 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6149 wcsrchr-sse2 wcsrchr-c.
6150 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6151 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6152 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6153 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6154 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6155 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6156 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6157 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6158 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6159 * wcsmbc/wcschr.c (WCSCHR): New macro.
6161 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6163 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6164 * wcsmbs/test-wcsrchr.c: New file.
6165 * string/test-strrchr.c: Add wcsrchr support.
6167 * wcsmbs/test-wcscpy.c: New file.
6168 * string/test-strcpy.c: Add wcscpy support.
6171 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6173 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6176 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6179 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6181 2011-12-04 Ulrich Drepper <drepper@gmail.com>
6183 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6184 Minor optimizations.
6186 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6187 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6188 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6190 2011-12-03 Ulrich Drepper <drepper@gmail.com>
6192 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6193 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6194 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6195 for gcc to avoid warnings.
6196 * inet/Makefile (tests): Add tst-checks.
6197 * inet/tst-checks.c: New file.
6199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6202 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6205 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6206 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6208 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6210 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6212 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6215 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6217 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6219 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6220 conditional on GCC version.
6221 (__arch_compare_and_exchange_val_8_acq)
6222 (__arch_compare_and_exchange_val_16_acq)
6223 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6224 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6225 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6227 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6229 * sysdeps/sh/backtrace.c: New file.
6231 2011-12-02 Andreas Schwab <schwab@redhat.com>
6233 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6236 2011-12-01 Andreas Schwab <schwab@redhat.com>
6238 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6239 falling back to utime.
6241 2011-11-30 Andreas Schwab <schwab@redhat.com>
6243 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6244 expectations for float.
6246 2011-11-29 Andreas Schwab <schwab@redhat.com>
6248 * locale/weight.h (findidx): Add parameter len.
6249 * locale/weightwc.h (findidx): Likewise.
6250 * posix/fnmatch_loop.c (FCT): Adjust caller.
6251 * posix/regcomp.c (build_equiv_class): Likewise.
6252 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6253 * posix/regexec.c (check_node_accept_bytes): Likewise.
6254 * string/strcoll_l.c (STRCOLL): Likewise.
6255 * string/strxfrm_l.c (STRXFRM): Likewise.
6257 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6259 * Makefile.in: Remove CVSOPT handling.
6260 * configure.in: Remove use of AC_REVISION.
6261 * iconvdata/Makefile (distribute): No need to filter out CVS.
6262 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6265 2011-11-16 Andreas Schwab <schwab@redhat.com>
6267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6268 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6269 [USE_AS_STRNCASECMP_L]: Likewise.
6270 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6271 NO_TLS_DIRECT_SEG_REFS.
6272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6273 Fix argument offsets for non-PIC.
6274 [USE_AS_STRNCASECMP_L]: Likewise.
6275 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6276 NO_TLS_DIRECT_SEG_REFS.
6278 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6280 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6282 * locale/loadlocale.c (_nl_load_locale): Likewise.
6284 2011-11-15 Andreas Schwab <schwab@redhat.com>
6286 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6287 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6288 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6289 (SYSCALL_GETTIME): Set errno on error.
6291 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6292 count references to noai6ai_cached.
6294 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6296 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6298 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6299 FD_CLOEXEC for /proc/self/maps.
6301 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6302 FD_CLOEXEC for /proc/meminfo.
6304 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6307 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6308 FD_CLOEXEC for given file.
6310 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6312 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6313 FD_CLOEXEC for /etc/hosts.
6314 (_gethtent): Likewise.
6316 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6318 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6319 cancellation and set FD_CLOEXEC for /etc/netgroup.
6321 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6322 reading /etc/publickey.
6324 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6325 allow cancellation when reading /etc/group.
6327 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6329 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6331 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6332 when using data file.
6334 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6336 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6337 (write_nis_obj): Use "c" and "e" in fopen.
6339 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6341 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6343 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6345 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6347 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6350 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6352 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6354 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6356 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6357 file parsing and set FD_CLOEXEC.
6359 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6361 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6363 2011-11-14 Andreas Schwab <schwab@redhat.com>
6365 * malloc/arena.c (arena_get2): Don't call reused_arena when
6366 _int_new_arena failed.
6368 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6370 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6371 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6372 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6373 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6374 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6375 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6376 to compile strcasecmp and strncasecmp.
6377 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6378 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6382 2011-11-13 Ulrich Drepper <drepper@gmail.com>
6384 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6385 locale-defines.sym to gen-as-const-headers.
6386 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6387 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6389 to compile strcasecmp and strncasecmp.
6390 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6391 strcasecmp_l and strncasecmp_l.
6392 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6393 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6394 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6395 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6396 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6397 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6398 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6399 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6400 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6401 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6402 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6404 2011-11-12 Ulrich Drepper <drepper@gmail.com>
6406 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6407 result of SYSDEP_GETTIME_CPU to retval.
6408 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6409 parameter list to macro. Remove trailing semicolon. Adjust users.
6411 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6414 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6416 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6418 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6419 from unused variable.
6421 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6423 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6426 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6429 * sunrpc/rpc_prot.c (rejected): Fix case value.
6431 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6432 unsigned long long int to avoid warnings in shift.
6434 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6436 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6439 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6440 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6441 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6443 * nis/nis_table.c (nis_list): Use variable of correct type for
6444 result of __follow_path call.
6446 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6448 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6449 of math functions ceil, trunc, floor, round, and sqrt, when
6450 avaliable on the platform.
6451 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6453 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6454 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6455 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6457 2011-10-30 Marek Polacek <mpolacek@redhat.com>
6459 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6460 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6462 2011-11-11 Roland McGrath <roland@hack.frob.com>
6464 * include/unistd.h: Fix __readlink return type.
6465 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6467 2011-11-11 Ulrich Drepper <drepper@gmail.com>
6469 * stdlib/ucontext.h: Undo last change for makecontext.
6471 2011-11-11 Andreas Schwab <schwab@redhat.com>
6473 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6475 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6476 * setjmp/setjmp.h: Mark functions as non-leaf.
6477 * setjmp/bits/setjmp2.h: Likewise.
6478 * stdlib/ucontext.h: Likewise.
6480 2011-11-10 Andreas Schwab <schwab@redhat.com>
6482 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6483 (reused_arena): Don't check arena limit.
6484 (arena_get2): Atomically check arena limit.
6486 2011-11-08 Ulrich Drepper <drepper@gmail.com>
6488 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6489 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6494 2011-11-07 Andreas Schwab <schwab@redhat.com>
6496 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6497 handler when locking.
6499 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6500 Fix size of allocated buffer.
6502 2011-11-04 Andreas Schwab <schwab@redhat.com>
6505 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6506 declarations for long double functions.
6507 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6509 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6511 2011-11-03 Andreas Schwab <schwab@redhat.com>
6513 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6516 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6519 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6521 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6523 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6525 * include/alloca.h (stackinfo_alloca_round): Define.
6526 (extend_alloca): Use it.
6527 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6528 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6531 * scripts/check-local-headers.sh: Ignore libaudit.h.
6533 * nscd/Makefile (extra-objs): Make recursively expanded.
6535 2011-11-01 Ulrich Drepper <drepper@gmail.com>
6537 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6538 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6540 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6541 * posix/tst-rfc3484-2.c: Likewise.
6542 * posix/tst-rfc3484-3.c: Likewise.
6544 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6546 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6548 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6549 process_vm_writev from libc using GLIBC_2.15 version.
6551 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6553 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6555 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6558 2011-10-31 Ulrich Drepper <drepper@gmail.com>
6561 * nss/getent.c (initgroups_keys): Show error message in case no group
6564 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6565 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6566 __bump_nl_timestamp.
6567 * nscd/connections (nscd_init): When host database is served open
6568 netlink socket and request notification about configuration changes.
6569 (main_loop_poll): Track netlink file descriptor and bump timestamp
6570 in case data becomes available.
6571 (main_loop_epoll): Likewise.
6572 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6573 (database_pers_head): Add extra_data fileds.
6574 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6575 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6576 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6578 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6579 in6ai data, call __free_in6ai.
6580 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6582 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6583 interface information. Reuse previous data if netlink timestamp
6585 (__bump_nl_timestamp): New function.
6586 (__free_in6ai): New function.
6588 2011-10-30 Ulrich Drepper <drepper@gmail.com>
6590 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6591 close_not_cancel_no_status here.
6592 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6594 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6597 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6600 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6601 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6602 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6604 2011-07-03 Andreas Jaeger <aj@suse.de>
6607 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6608 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6609 * math/libm-test.inc (sin_test): Add test case.
6611 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6614 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6615 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6617 * elf/chroot_canon.c (chroot_canon): Cleanups.
6619 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6622 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6623 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6625 * string/test-strchr.c: Make usable for strchrnul testing.
6626 * string/test-strchrnul.c: New file.
6627 * string/Makefile (strop-tests): Add strchrnul.
6629 * po/it.po: Update from translation team.
6630 * po/es.po: Likewise.
6632 2011-10-28 Ulrich Drepper <drepper@gmail.com>
6634 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6635 the three constants needed as parameters. Drop the others.
6636 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6637 __m128i_strloadu_tolower.
6638 Create and initialize variable zero and use it in all the places
6639 where _mm_setzero_si128 was used.
6641 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6642 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6643 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6644 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6646 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6647 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6648 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6649 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6650 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6651 __mpranred, __mptan.
6652 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6653 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6654 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6655 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6656 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6657 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6658 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6659 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6660 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6662 2011-10-28 Andreas Schwab <schwab@redhat.com>
6664 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6666 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6669 wide char related routines to wcsmbs subdir.
6671 2011-10-27 Andreas Schwab <schwab@redhat.com>
6674 * misc/sys/cdefs.h (__THROWNL): Define.
6675 * posix/unistd.h: Use __THREADNL instead of __THREAD
6676 for memory synchronization functions.
6678 2011-10-26 Roland McGrath <roland@hack.frob.com>
6681 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6683 * manual/stdio.texi (Obstack Streams): Node removed.
6685 2011-10-26 Andreas Schwab <schwab@redhat.com>
6687 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6688 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6689 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6691 * math/math_private.h (math_force_eval): Allow non-addressable
6693 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6695 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6697 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6700 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6701 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6702 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6703 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6704 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6705 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6706 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6707 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6709 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6710 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6711 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6712 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6713 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6714 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6715 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6716 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6717 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6718 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6719 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6720 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6721 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6722 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6723 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6724 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6725 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6726 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6727 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6729 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6730 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6732 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6733 place. Use VEX encoding when compiling for AVX.
6735 2011-10-25 Andreas Schwab <schwab@redhat.com>
6737 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6738 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6740 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6742 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6744 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6745 useless if() expression.
6746 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6750 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6751 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6752 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6753 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6754 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6756 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6757 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6758 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6759 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6760 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6761 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6762 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6764 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6766 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6768 2011-10-25 Andreas Schwab <schwab@redhat.com>
6770 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6772 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6774 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6776 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6777 .text section. Avoid duplicate constants.
6778 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6780 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6782 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6786 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6787 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6788 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6789 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6790 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6791 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6792 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6793 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6794 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6795 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6799 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6800 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6801 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6802 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6803 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6804 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6805 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6806 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6807 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6808 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6809 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6810 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6811 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6812 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6813 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6814 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6815 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6816 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6817 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6818 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6819 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6820 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6821 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6822 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6824 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6826 * sysdeps/x86_64/dla.h: Move to ...
6827 * sysdeps/x86_64/fpu/dla.h: ...here.
6828 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6829 situations. Use __builtin_fma only for gcc 4.6 and up.
6831 * config.make.in: Add have-mfma4 entry.
6832 * configure.in: Substitute libc_cv_cc_fma4.
6833 * math/Makefile (dbl-only-routines): Add sincostab.
6834 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6835 Use __sincostab not sincos.
6836 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6838 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6843 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6844 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6845 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6846 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6848 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6849 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6851 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6852 define aliases when function name is a macro.
6853 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6854 sysdeps/ieee754/dbl-64/sincos.tbl.
6855 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6856 fma4-enabled routines.
6857 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6858 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6859 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6860 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6861 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6862 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6864 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6866 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6867 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6868 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6869 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6870 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6871 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6872 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6873 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6874 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6875 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6877 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6878 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6879 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6880 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6881 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6882 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6883 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6884 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6885 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6886 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6888 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6896 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6897 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6899 2011-10-24 Andreas Schwab <schwab@redhat.com>
6901 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6903 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6905 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6907 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6909 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6911 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6912 Remove unused variable magic_bits.
6913 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6915 * string/strnlen.c: Define and use STRNLEN macro.
6916 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6917 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6918 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6919 * wcsmbs/wcslen.c: Define and use WCSLEN.
6920 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6921 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6922 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6923 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6924 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6925 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6926 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6928 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6931 strnlen-sse2-no-bsf.
6932 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6933 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6934 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6935 Add strnlen support.
6936 (USE_AS_STRNLEN): New macro.
6937 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6938 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6939 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6940 * sysdeps/x86_64/wcslen.S: New file.
6942 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6944 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6945 XMM-moves are used for copying on small sizes.
6947 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6949 * wcsmbs/Makefile (strop-tests): Add wcschr.
6950 * wcsmbs/test-wcschr.c: New file.
6951 * string/test-strchr.c: Update.
6955 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6957 * wcsmbs/Makefile (strop-tests): Add wcslen.
6958 * wcsmbs/test-wcslen.c: New file.
6959 * string/test-strlen.c: Update.
6963 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6965 * po/it.po: Update from translation team.
6967 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6969 * sysdeps/x86_64/wcscmp.S: Update.
6970 Fix wrong comparison semantics.
6971 wcscmp shall use signed comparison not unsigned.
6972 Don't use substraction to avoid overflow bug.
6973 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6974 * wcsmbc/wcscmp.c: Likewise.
6975 * string/test-strcmp.c: Likewise.
6976 Add new tests to check cases with negative values.
6978 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6980 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6981 * sysdeps/x86_64/dla.h: ...here. New file.
6982 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6987 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6992 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6995 __ynl_finite aliases.
6997 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7001 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7003 [DLA_FMA] (EMULV): Use DLA_FMA.
7004 [DLA_FMA] (MUL12): Use EMULV.
7005 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7006 that are not needed.
7007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7015 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7017 * math/s_nan.c: Undef __nan.
7018 * math/s_nanf.c: Undef __nanf.
7019 * math/s_nanl.c: Undef __nanl.
7020 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7023 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7025 * math/s_catan.c: Add branch predictions.
7026 * math/s_catanf.c: Likewise.
7027 * math/s_catanh.c: Likewise.
7028 * math/s_catanhf.c: Likewise.
7029 * math/s_catanhl.c: Likewise.
7030 * math/s_catanl.c: Likewise.
7031 * math/s_cexp.c: Likewise.
7032 * math/s_cexpf.c: Likewise.
7033 * math/s_cexpl.c: Likewise.
7034 * math/s_clog.c: Likewise.
7035 * math/s_clog10.c: Likewise.
7036 * math/s_clog10f.c: Likewise.
7037 * math/s_clog10l.c: Likewise.
7038 * math/s_clogf.c: Likewise.
7039 * math/s_clogl.c: Likewise.
7040 * math/s_csqrt.c: Likewise.
7041 * math/s_csqrtf.c: Likewise.
7042 * math/s_csqrtl.c: Likewise.
7043 * math/s_ctanf.c: Likewise.
7044 * math/s_ctanh.c: Likewise.
7045 * math/s_ctanhf.c: Likewise.
7046 * math/s_ctanhl.c: Likewise.
7047 * math/s_ctanl.c: Likewise.
7049 * math/math_private.h: Define __nan, __nanf, __nanl.
7050 * math/s_cacosh.c: Include <math_private.h>.
7051 * math/s_cacoshl.c: Likewise.
7052 * math/s_casinh.c: Likewise.
7053 * math/s_casinhf.c: Likewise.
7054 * math/s_casinhl.c: Likewise.
7055 * math/s_ccos.c: Rely entire on ccosh.
7056 * math/s_ccosf.c: Rely entire on ccoshf.
7057 * math/s_ccosl.c: Rely entirely on ccoshl.
7058 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7059 Remove tests for FE_INVALID.
7060 * math/s_ccoshf.c: Likewise.
7061 * math/s_ccoshl.c: Likewise.
7062 * math/s_csin.c: Likewise.
7063 * math/s_csinf.c: Likewise.
7064 * math/s_csinh.c Likewise.
7065 * math/s_csinhf.c: Likewise.
7066 * math/s_csinhl.c: Likewise.
7067 * math/s_csinl.c: Likewise.
7068 * math/s_ctan.c: Likewise.
7069 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7070 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7071 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7073 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7076 compilation problems.
7078 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7081 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7083 * sysdeps/i386/configure.in: Test for -mfma4 option.
7084 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7085 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7086 COMMON_CPUID_INDEX_80000001.
7087 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7088 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7089 use it if FMA3 is not supported.
7090 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7092 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7093 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7095 2011-10-20 Andreas Schwab <schwab@redhat.com>
7098 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7099 it would create a cycle with a link time dependency.
7101 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7103 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7105 * string/Makefile (strop-tests): Add rawmemchr.
7106 * string/test-rawmemchr.c: New file.
7108 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7109 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7110 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7111 when compiling str{,n}casecmp and when AVX is available. Hook up
7112 new optimized code in initializers.
7114 2011-10-19 Andreas Schwab <schwab@redhat.com>
7116 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7117 __feraiseexcept instead of feraiseexcept.
7119 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7121 * math/math_private.h: Define defaults for libc_fetestexcept and
7123 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7124 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7125 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7126 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7127 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7128 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7129 libc_fetestexcept and libc_feupdateenv.
7131 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7132 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7133 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7134 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7135 libc_feholdexcept_setround.
7137 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7138 Add s_nearbyint-c and s_nearbyintf-c.
7139 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7141 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7142 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7143 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7144 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7146 * math/math_private.h: Define defaults for libc_fegetround,
7147 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7148 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7149 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7150 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7151 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7153 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7154 Remove comments and hacks for old compiler versions.
7155 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7156 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7159 2011-10-18 Andreas Schwab <schwab@redhat.com>
7161 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7162 (__feraiseexcept_renamed): Add __NTH.
7163 (feraiseexcept): Add __NTH. Rename local variables to fix
7164 namespace violations.
7166 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7168 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7170 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7172 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7173 recently added interfaces.
7174 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7176 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7177 about macro parameter expansion.
7179 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7180 __NO_MATH_INLINES is defined. Cleanups.
7182 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7183 and __floorf is target has SSE4.1.
7184 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7185 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7186 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7187 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7189 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7193 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7195 2011-10-17 Andreas Schwab <schwab@redhat.com>
7197 * misc/sys/cdefs.h: Fix last change.
7199 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7202 2011-10-16 Ulrich Drepper <drepper@gmail.com>
7204 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7206 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7207 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7208 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7209 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7210 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7211 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7212 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7213 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7214 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7215 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7216 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7217 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7218 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7219 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7220 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7221 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7222 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7223 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7224 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7225 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7226 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7227 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7229 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7230 ceil, ceilf, floor, floorf.
7232 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7233 Perform IRELATIVE relocations last.
7235 * elf/do-rel.h: Add another parameter nrelative, replacing the
7236 local variable with the same name. Change name of the function
7237 to end in Rel or Rela (uppercase).
7238 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7239 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7240 elf_dynamic_do_##reloc function.
7242 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7244 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7245 is sufficient, at least on modern CPUs.
7247 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7249 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7250 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7252 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7254 * math/bits/math-finite.h: Add entries for exp.
7255 * math/e_expl.c: Add __*_finite alias.
7256 * sysdeps/i386/fpu/e_exp.S: Likewise.
7257 * sysdeps/i386/fpu/e_expf.S: Likewise.
7258 * sysdeps/i386/fpu/e_expl.c: Likewise.
7259 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7260 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7263 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7264 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7265 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7267 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7268 is sufficient, at least on modern CPUs.
7270 * ctype/ctype-info.c (__ctype_init): Define.
7271 * include/ctype.h (__ctype_init): Declare.
7272 (__ctype_b_loc): The variable is always initialized.
7273 (__ctype_toupper_loc): Likewise.
7274 (__ctype_tolower_loc): Likewise.
7275 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7276 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7278 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7280 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7282 * configure.in: Also look in $cxxmachine/include for C++ system
7285 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7287 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7288 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7289 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7290 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7291 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7292 (USE_AS_WMEMCMP): New macro.
7294 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7295 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7296 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7297 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7299 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7300 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7301 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7302 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7303 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7304 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7305 (USE_AS_WMEMCMP): New macro.
7306 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7307 * sysdeps/string/test-memcmp.c: Update.
7310 * wcsmbs/wmemcmp.c: Update.
7311 (WMEMCMP): New macro.
7314 2011-10-12 Andreas Jaeger <aj@suse.de>
7317 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7319 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7321 * libio/iofwide.c (do_length): Avoid warning.
7323 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7325 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7327 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7329 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7330 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7331 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7332 * sysdeps/i386/i686/fpu/e_log.S: New file.
7333 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7334 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7336 * ctype/ctype.h: Add support for inlined isXXX functions when
7339 2011-10-14 Andreas Schwab <schwab@redhat.com>
7341 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7343 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7345 2011-10-13 Roland McGrath <roland@hack.frob.com>
7348 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7350 2011-10-13 Andreas Schwab <schwab@redhat.com>
7352 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7353 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7356 * sysdeps/x86_64/memrchr.S: Check for zero size.
7358 * string/stratcliff.c: Add memrchr tests.
7360 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7363 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7364 rawmemchr-sse2 rawmemchr-sse2-bsf.
7365 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7366 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7367 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7368 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7369 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7370 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7371 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7372 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7373 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7374 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7375 * string/memrchr.c (MEMRCHR): New macro.
7377 2011-10-12 Ulrich Drepper <drepper@gmail.com>
7379 Add integration with gcc's -ffinite-math-only and optimize wrapper
7381 * Versions.def: Define GLIBC_2.15 version for libm.
7382 * math/Makefile (headers): Add bits/math-finite.h.
7383 * math/bits/math-finite.h: New file.
7384 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7385 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7386 * math/e_acoshl.c: Add __*_finite alias.
7387 * math/e_acosl.c: Likewise.
7388 * math/e_asinl.c: Likewise.
7389 * math/e_atan2l.c: Likewise.
7390 * math/e_atanhl.c: Likewise.
7391 * math/e_coshl.c: Likewise.
7392 * math/e_exp10.c: Likewise.
7393 * math/e_exp10f.c: Likewise.
7394 * math/e_exp10l.c: Likewise.
7395 * math/e_exp2l.c: Likewise.
7396 * math/e_fmodl.c: Likewise.
7397 * math/e_gammal_r.c: Likewise.
7398 * math/e_hypotl.c: Likewise.
7399 * math/e_j0l.c: Likewise.
7400 * math/e_j1l.c: Likewise.
7401 * math/e_jnl.c: Likewise.
7402 * math/e_lgammal_r.c: Likewise.
7403 * math/e_log10l.c: Likewise.
7404 * math/e_log2l.c: Likewise.
7405 * math/e_logl.c: Likewise.
7406 * math/e_powl.c: Likewise.
7407 * math/e_sinhl.c: Likewise.
7408 * math/e_sqrtl.c: Likewise.
7409 * math/e_scalb.c: Completely rewritten and optimized.
7410 * math/e_scalbf.c: Likewise.
7411 * math/e_scalbl.c: Likewise.
7412 * math/w_acos.c: Likewise.
7413 * math/w_acosf.c: Likewise.
7414 * math/w_acosl.c: Likewise.
7415 * math/w_acosh.c: Likewise.
7416 * math/w_acoshf.c: Likewise.
7417 * math/w_acoshl.c: Likewise.
7418 * math/w_asin.c: Likewise.
7419 * math/w_asinf.c: Likewise.
7420 * math/w_asinl.c: Likewise.
7421 * math/w_atan2.c: Likewise.
7422 * math/w_atan2f.c: Likewise.
7423 * math/w_atan2l.c: Likewise.
7424 * math/w_atanh.c: Likewise.
7425 * math/w_atanhf.c: Likewise.
7426 * math/w_atanhl.c: Likewise.
7427 * math/w_exp10.c: Likewise.
7428 * math/w_exp10f.c: Likewise.
7429 * math/w_exp10l.c: Likewise.
7430 * math/w_fmod.c: Likewise.
7431 * math/w_fmodf.c: Likewise.
7432 * math/w_fmodl.c: Likewise.
7433 * math/w_j0.c: Likewise.
7434 * math/w_j0f.c: Likewise.
7435 * math/w_j0l.c: Likewise.
7436 * math/w_j1.c: Likewise.
7437 * math/w_j1f.c: Likewise.
7438 * math/w_j1l.c: Likewise.
7439 * math/w_jn.c: Likewise.
7440 * math/w_jnf.c: Likewise.
7441 * math/w_log.c: Likewise.
7442 * math/w_logf.c: Likewise.
7443 * math/w_logl.c: Likewise.
7444 * math/w_log10.c: Likewise.
7445 * math/w_log10f.c: Likewise.
7446 * math/w_log10l.c: Likewise.
7447 * math/w_log2.c: Likewise.
7448 * math/w_log2f.c: Likewise.
7449 * math/w_log2l.c: Likewise.
7450 * math/w_pow.c: Likewise.
7451 * math/w_powf.c: Likewise.
7452 * math/w_powl.c: Likewise.
7453 * math/w_remainder.c: Likewise.
7454 * math/w_remainderf.c: Likewise.
7455 * math/w_remainderl.c: Likewise.
7456 * math/w_scalb.c: Likewise.
7457 * math/w_scalbf.c: Likewise.
7458 * math/w_scalbl.c: Likewise.
7459 * math/w_sqrt.c: Likewise.
7460 * math/w_sqrtf.c: Likewise.
7461 * math/w_sqrtl.c: Likewise.
7462 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7463 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7465 * math/math_private.h: Declare __kernel_standard_f.
7466 * math/w_cosh.c: Remove cruft and optimize a bit.
7467 * math/w_coshf.c: Likewise.
7468 * math/w_coshl.c: Likewise.
7469 * math/w_exp2.c: Likewise.
7470 * math/w_exp2f.c: Likewise.
7471 * math/w_exp2l.c: Likewise.
7472 * math/w_hypot.c: Likewise.
7473 * math/w_hypotf.c: Likewise.
7474 * math/w_hypotl.c: Likewise.
7475 * math/w_lgamma.c: Likewise.
7476 * math/w_lgamma_r.c: Likewise.
7477 * math/w_lgammaf.c: Likewise.
7478 * math/w_lgammaf_r.c: Likewise.
7479 * math/w_lgammal.c: Likewise.
7480 * math/w_lgammal_r.c: Likewise.
7481 * math/w_sinh.c: Likewise.
7482 * math/w_sinhf.c: Likewise.
7483 * math/w_sinhl.c: Likewise.
7484 * math/w_tgamma.c: Likewise.
7485 * math/w_tgammaf.c: Likewise.
7486 * math/w_tgammal.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7488 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7489 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7490 Minor optimizations. Pretty printing. Remove cruft.
7491 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7492 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7493 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7494 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7495 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7496 * sysdeps/i386/fpu/e_asin.S: Likewise.
7497 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7498 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7499 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7500 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7501 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7502 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7503 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7504 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7505 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7506 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7507 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7508 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7509 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7510 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7511 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7512 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7513 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7514 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7515 * sysdeps/i386/fpu/e_log.S: Likewise.
7516 * sysdeps/i386/fpu/e_log10.S: Likewise.
7517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7518 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7519 * sysdeps/i386/fpu/e_log2.S: Likewise.
7520 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7521 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7522 * sysdeps/i386/fpu/e_logf.S: Likewise.
7523 * sysdeps/i386/fpu/e_logl.S: Likewise.
7524 * sysdeps/i386/fpu/e_pow.S: Likewise.
7525 * sysdeps/i386/fpu/e_powf.S: Likewise.
7526 * sysdeps/i386/fpu/e_powl.S: Likewise.
7527 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7528 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7529 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7530 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7531 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7532 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7533 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7534 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7535 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7537 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7557 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7558 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7559 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7560 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7561 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7562 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7563 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7564 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7565 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7566 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7567 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7568 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7569 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7570 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7571 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7572 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7573 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7574 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7575 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7576 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7577 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7582 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7616 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7619 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7620 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7621 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7622 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7624 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7627 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7628 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7629 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7630 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7631 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7632 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7633 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7634 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7635 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7636 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7637 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7638 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7639 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7640 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7641 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7642 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7643 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7644 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7645 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7646 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7647 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7648 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7649 (__isnanf): Likewise.
7650 (__isinf_ns): Likewise.
7651 (__isinf_nsf): Likewise.
7652 (__finite): Likewise.
7653 (__finitef): Likewise.
7654 (__ieee754_sqrt): Define as macro.
7655 (__ieee754_sqrtf): Define as macro.
7656 (__ieee754_sqrtl): Define as macro.
7657 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7659 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7660 __FINITE_MATH_ONLY__ consistent.
7661 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7663 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7665 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7668 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7670 2011-10-09 Ulrich Drepper <drepper@gmail.com>
7672 * po/ja.po: Update from translation team.
7674 2011-10-08 Roland McGrath <roland@hack.frob.com>
7676 * locale/programs/locarchive.c (prepare_address_space): New function.
7677 (create_archive, enlarge_archive, open_archive): Use it.
7679 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7680 inside [SHARED], where it is used.
7682 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7684 * nss/getent.c (netgroup_keys): Remove unused variable.
7685 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7687 2011-10-08 Ulrich Drepper <drepper@gmail.com>
7689 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7690 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7692 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7693 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7694 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7695 * math/Makefile (libm-calls): Add s_isinf_ns.
7696 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7697 * math/multc3.c: Likewise.
7698 * math/s_casin.c: Likewise.
7699 * math/s_casinf.c: Likewise.
7700 * math/s_casinl.c: Likewise.
7701 * math/s_ccos.c: Likewise.
7702 * math/s_ccosf.c: Likewise.
7703 * math/s_ccosl.c: Likewise.
7704 * math/s_ctan.c: Likewise.
7705 * math/s_ctanf.c: Likewise.
7706 * math/s_ctanh.c: Likewise.
7707 * math/s_ctanhf.c: Likewise.
7708 * math/s_ctanhl.c: Likewise.
7709 * math/s_ctanl.c: Likewise.
7710 * math/w_fmod.c: Likewise.
7711 * math/w_fmodf.c: Likewise.
7712 * math/w_fmodl.c: Likewise.
7713 * math/w_remainder.c: Likewise.
7714 * math/w_remainderf.c: Likewise.
7715 * math/w_remainderl.c: Likewise.
7716 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7717 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7718 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7720 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7721 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7722 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7723 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7725 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7727 * stdio-common/printf_fphex.c: Likewise.
7728 * stdio-common/printf_size.c: Likewise.
7730 * math/e_exp10.c: Include math_private.h using <...> not "...".
7731 * math/e_exp10f.c: Likewise.
7732 * math/e_exp10l.c: Likewise.
7733 * math/e_exp2l.c: Likewise.
7734 * math/e_j0l.c: Likewise.
7735 * math/e_j1l.c: Likewise.
7736 * math/e_jnl.c: Likewise.
7737 * math/e_lgammal_r.c: Likewise.
7738 * math/e_rem_pio2l.c: Likewise.
7739 * math/e_scalb.c: Likewise.
7740 * math/e_scalbf.c: Likewise.
7741 * math/e_scalbl.c: Likewise.
7742 * math/k_cosl.c: Likewise.
7743 * math/k_sinl.c: Likewise.
7744 * math/k_tanl.c: Likewise.
7745 * math/s_cacoshf.c: Likewise.
7746 * math/s_catan.c: Likewise.
7747 * math/s_catanf.c: Likewise.
7748 * math/s_catanh.c: Likewise.
7749 * math/s_catanhf.c: Likewise.
7750 * math/s_catanhl.c: Likewise.
7751 * math/s_catanl.c: Likewise.
7752 * math/s_ccosh.c: Likewise.
7753 * math/s_ccoshf.c: Likewise.
7754 * math/s_ccoshl.c: Likewise.
7755 * math/s_cexp.c: Likewise.
7756 * math/s_cexpf.c: Likewise.
7757 * math/s_cexpl.c: Likewise.
7758 * math/s_clog.c: Likewise.
7759 * math/s_clog10.c: Likewise.
7760 * math/s_clog10f.c: Likewise.
7761 * math/s_clog10l.c: Likewise.
7762 * math/s_clogf.c: Likewise.
7763 * math/s_clogl.c: Likewise.
7764 * math/s_csin.c: Likewise.
7765 * math/s_csinf.c: Likewise.
7766 * math/s_csinh.c: Likewise.
7767 * math/s_csinhf.c: Likewise.
7768 * math/s_csinhl.c: Likewise.
7769 * math/s_csinl.c: Likewise.
7770 * math/s_csqrt.c: Likewise.
7771 * math/s_csqrtf.c: Likewise.
7772 * math/s_csqrtl.c: Likewise.
7773 * math/s_ctan.c: Likewise.
7774 * math/s_ctanf.c: Likewise.
7775 * math/s_ctanh.c: Likewise.
7776 * math/s_ctanhf.c: Likewise.
7777 * math/s_ctanhl.c: Likewise.
7778 * math/s_ctanl.c: Likewise.
7779 * math/s_ldexp.c: Likewise.
7780 * math/s_ldexpf.c: Likewise.
7781 * math/s_ldexpl.c: Likewise.
7782 * math/s_significand.c: Likewise.
7783 * math/s_significandf.c: Likewise.
7784 * math/s_significandl.c: Likewise.
7785 * math/w_acos.c: Likewise.
7786 * math/w_acosf.c: Likewise.
7787 * math/w_acosh.c: Likewise.
7788 * math/w_acoshf.c: Likewise.
7789 * math/w_acoshl.c: Likewise.
7790 * math/w_acosl.c: Likewise.
7791 * math/w_asin.c: Likewise.
7792 * math/w_asinf.c: Likewise.
7793 * math/w_asinl.c: Likewise.
7794 * math/w_atan2.c: Likewise.
7795 * math/w_atan2f.c: Likewise.
7796 * math/w_atan2l.c: Likewise.
7797 * math/w_atanh.c: Likewise.
7798 * math/w_atanhf.c: Likewise.
7799 * math/w_atanhl.c: Likewise.
7800 * math/w_cosh.c: Likewise.
7801 * math/w_coshf.c: Likewise.
7802 * math/w_coshl.c: Likewise.
7803 * math/w_dremf.c: Likewise.
7804 * math/w_exp10.c: Likewise.
7805 * math/w_exp10f.c: Likewise.
7806 * math/w_exp10l.c: Likewise.
7807 * math/w_exp2.c: Likewise.
7808 * math/w_exp2f.c: Likewise.
7809 * math/w_fmod.c: Likewise.
7810 * math/w_fmodf.c: Likewise.
7811 * math/w_fmodl.c: Likewise.
7812 * math/w_hypot.c: Likewise.
7813 * math/w_hypotf.c: Likewise.
7814 * math/w_hypotl.c: Likewise.
7815 * math/w_j0.c: Likewise.
7816 * math/w_j0f.c: Likewise.
7817 * math/w_j0l.c: Likewise.
7818 * math/w_j1.c: Likewise.
7819 * math/w_j1f.c: Likewise.
7820 * math/w_j1l.c: Likewise.
7821 * math/w_jn.c: Likewise.
7822 * math/w_jnf.c: Likewise.
7823 * math/w_jnl.c: Likewise.
7824 * math/w_lgamma.c: Likewise.
7825 * math/w_lgamma_r.c: Likewise.
7826 * math/w_lgammaf.c: Likewise.
7827 * math/w_lgammaf_r.c: Likewise.
7828 * math/w_lgammal.c: Likewise.
7829 * math/w_lgammal_r.c: Likewise.
7830 * math/w_log.c: Likewise.
7831 * math/w_log10.c: Likewise.
7832 * math/w_log10f.c: Likewise.
7833 * math/w_log10l.c: Likewise.
7834 * math/w_log2.c: Likewise.
7835 * math/w_log2f.c: Likewise.
7836 * math/w_log2l.c: Likewise.
7837 * math/w_logf.c: Likewise.
7838 * math/w_logl.c: Likewise.
7839 * math/w_pow.c: Likewise.
7840 * math/w_powf.c: Likewise.
7841 * math/w_powl.c: Likewise.
7842 * math/w_remainder.c: Likewise.
7843 * math/w_remainderf.c: Likewise.
7844 * math/w_remainderl.c: Likewise.
7845 * math/w_scalb.c: Likewise.
7846 * math/w_scalbf.c: Likewise.
7847 * math/w_scalbl.c: Likewise.
7848 * math/w_sinh.c: Likewise.
7849 * math/w_sinhf.c: Likewise.
7850 * math/w_sinhl.c: Likewise.
7851 * math/w_sqrt.c: Likewise.
7852 * math/w_sqrtf.c: Likewise.
7853 * math/w_sqrtl.c: Likewise.
7854 * math/w_tgamma.c: Likewise.
7855 * math/w_tgammaf.c: Likewise.
7856 * math/w_tgammal.c: Likewise.
7858 * po/ja.po: Update from translation team.
7860 2011-09-29 Andreas Jaeger <aj@suse.de>
7863 * sunrpc/netname.c (netname2host): Fix logic.
7867 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7869 * math/w_remainder.c (__remainder): Likewise.
7870 * math/w_remainderf.c (__remainderf): Likewise.
7871 * math/libm-test.inc (remainder_test): Add test cases.
7873 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7875 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7878 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7880 * string/test-memcmp.c: Avoid unncessary #defines.
7881 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7883 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7885 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7886 Use new sse2 version for core i3 - i7 as it's faster
7888 (bit_Prefer_PMINUB_for_stringop): New.
7889 * sysdeps/x86_64/rawmemchr.S: Update.
7890 Replace with faster SSE2 version.
7891 * sysdeps/x86_64/memrchr.S: New file.
7892 * sysdeps/x86_64/memchr.S: Update.
7893 Replace with faster SSE2 version.
7895 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7897 * elf/dl-load.c (lose): Add cast to avoid warning.
7899 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7901 * po/ca.po: Update from translation team.
7903 * inet/getnetgrent_r.c: Hook up nscd.
7904 * nscd/Makefile (routines): Add nscd_netgroup.
7905 (nscd-modules): Add netgroupcache.
7906 (CFLAGS-netgroupcache.c): Define.
7907 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7908 (cache_search): Add const to second parameter.
7909 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7911 (dbs): Add netgrdb entry.
7912 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7913 (verify_persistent_db): Handle netgrdb.
7914 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7915 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7917 (netgroup_response_header): Define.
7918 (innetgroup_response_header): Define.
7919 (datahead): Add netgroup_response_header and innetgroup_response_header
7921 * nscd/nscd.conf: Add entries for netgroup cache.
7922 * nscd/nscd.h (dbtype): Add netgrdb.
7923 (_PATH_NSCD_NETGROUP_DB): Define.
7924 (netgroup_iov_disabled): Declare.
7925 (xmalloc, xcalloc, xrealloc): Move declarations here.
7926 (cache_search): Adjust prototype.
7927 Add netgroup-related prototypes.
7928 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7929 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7930 (__nscd_innetgr): Declare.
7931 * nscd/selinux.c (perms): Use access_vector_t as element type and
7932 add netgroup-related initializers.
7933 * nscd/netgroupcache.c: New file.
7934 * nscd/nscd_netgroup.c: New file.
7935 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7936 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7937 For four parameters use innetgr.
7938 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7939 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7940 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7941 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7943 * nscd/connections.c (register_traced_file): Don't register file
7944 for disabled databases.
7946 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7948 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7950 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7951 from tree and freeing node.
7953 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7955 * nss/nsswitch.c (__nss_database_lookup): Handle
7956 nss_parse_service_list out of memory case.
7958 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7960 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7963 2011-10-04 Andreas Schwab <schwab@redhat.com>
7965 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7966 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7968 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7969 elf_machine_rela, elf_machine_lazy_rel.
7970 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7971 (ELF_DYNAMIC_DO_REL): Likewise.
7972 (ELF_DYNAMIC_DO_RELA): Likewise.
7973 (ELF_DYNAMIC_RELOCATE): Likewise.
7974 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7975 to ELF_DYNAMIC_DO_REL.
7976 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7977 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7978 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7980 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7981 skip_ifunc, don't call ifunc function if non-zero.
7982 (elf_machine_rela): Likewise.
7983 (elf_machine_lazy_rel): Likewise.
7984 (elf_machine_lazy_rela): Likewise.
7985 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7986 (elf_machine_lazy_rel): Likewise.
7987 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7989 (elf_machine_lazy_rel): Likewise.
7990 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7992 (elf_machine_lazy_rel): Likewise.
7993 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7994 (elf_machine_lazy_rel): Likewise.
7995 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7996 (elf_machine_lazy_rel): Likewise.
7997 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7998 (elf_machine_lazy_rel): Likewise.
7999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8000 (elf_machine_lazy_rel): Likewise.
8001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8002 (elf_machine_lazy_rel): Likewise.
8003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8004 (elf_machine_lazy_rel): Likewise.
8006 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8008 * nss/nss_files/files-init.c (_nss_files_init): Use static
8009 initialization for all the *_traced_file variables.
8011 2011-09-28 Andreas Schwab <schwab@redhat.com>
8013 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8015 2011-09-27 Roland McGrath <roland@hack.frob.com>
8018 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8020 2011-09-27 Andreas Schwab <schwab@redhat.com>
8022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8023 Reread the line before reparsing it.
8025 2011-09-26 Andreas Schwab <schwab@redhat.com>
8027 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8029 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8030 Maxim Kuvyrkov <maxim@codesourcery.com>
8031 Joseph Myers <joseph@codesourcery.com>
8033 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8034 if needed for __stack_chk_guard.
8036 2011-09-19 Roland McGrath <roland@hack.frob.com>
8038 * sysdeps/posix/spawni.c (script_execute): Always define it.
8039 It will be optimized away if unused.
8040 (maybe_script_execute): New function.
8041 (__spawni): Call it.
8043 * Makerules: Don't include tls.make.
8044 (config-tls): Always set to thread.
8045 * tls.make.c: File removed.
8047 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8049 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8050 * config.make.in (CPPFLAGS-config): New substituted variable.
8052 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8054 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8057 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8058 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8060 2011-09-15 Roland McGrath <roland@hack.frob.com>
8062 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8063 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8064 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8065 (CALL_FAIL): Likewise.
8066 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8067 (CALL_FAIL): Macro removed.
8068 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8070 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8072 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8073 for __FINITE_MATH_ONLY__ == 1.
8075 2011-09-15 Andreas Schwab <schwab@redhat.com>
8077 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8078 __ieee754_sqrt instead of sqrt.
8079 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8080 __ieee754_sqrtf instead of sqrtf.
8081 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8082 __floorf instead of floorf.
8083 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8084 __floorf, __truncf instead of floorf, truncf.
8086 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8088 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8090 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8091 __extern_always_inline.
8092 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8095 2011-09-14 Andreas Schwab <schwab@redhat.com>
8097 * elf/rtld.c (dl_main): Also relocate in dependency order when
8098 doing symbol dependency testing.
8100 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8103 Always define `refsym'.
8105 2011-09-13 Andreas Schwab <schwab@redhat.com>
8107 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8108 (__FD_ELT): Renamed from __FDELT.
8109 * misc/bits/select2.h (__FD_ELT): Likewise.
8110 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8111 __FD_MASK instead of __FDELT, __FDMASK.
8112 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8114 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8117 * elf/Makefile (gen-ldd): Fix pattern.
8119 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8120 (init_tls): Likewise.
8122 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8124 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8126 2011-09-12 Andreas Schwab <schwab@redhat.com>
8128 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8129 `struct cmsghdr *' instead of `void *'.
8130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8133 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8135 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8137 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8140 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8142 * configure.in: Remove --with-tls option.
8143 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8144 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8145 out in case it is missing.
8146 * sysdeps/ia64/elf/configure.in: Likewise.
8147 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8148 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8149 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8150 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8151 * sysdeps/sh/elf/configure.in: Likewise.
8152 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8153 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8154 * sysdeps/x86_64/elf/configure.in: Likewise.
8155 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8156 * sysdeps/mach/hurd/tls.h: Likewise.
8159 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8162 * configure.in: Fix use of AC_INIT.
8164 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8166 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8168 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8170 * malloc/hooks.c: Likewise.
8173 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8174 variables statically.
8175 (narenas): Initialize.
8176 (list_lock): Initialize.
8177 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8178 initializtion of main_arena and list_lock. Small cleanups.
8179 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8180 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8181 Add initializers to main_arena and mp_.
8182 (malloc_state): Remove pagesize member. Change all users to use
8185 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8186 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8187 is always initialized.
8189 * malloc/malloc.c: Removed unused configurations and dead code.
8190 * malloc/arena.c: Likewise.
8191 * malloc/hooks.c: Likewise.
8192 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8194 * include/tls.h: Removed. USE___THREAD must always be defined.
8195 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8196 * elf/dl-libc.c: Likewise.
8197 * elf/dl-tsd.c: Likewise.
8198 * include/errno.h: Likewise.
8199 * include/netdb.h: Likewise.
8200 * include/resolv.h: Likewise.
8201 * inet/herrno-loc.c: Likewise.
8202 * inet/herrno.c: Likewise.
8203 * malloc/arena.c: Likewise.
8204 * malloc/hooks.c: Likewise.
8205 * malloc/malloc.c: Likewise.
8206 * resolv/res-state.c: Likewise.
8207 * resolv/res_libc.c: Likewise.
8208 * sysdeps/i386/dl-machine.h: Likewise.
8209 * sysdeps/ia64/dl-machine.h: Likewise.
8210 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8211 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8212 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8213 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8214 * sysdeps/sh/dl-machine.h: Likewise.
8215 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8216 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8217 * sysdeps/unix/i386/sysdep.S: Likewise.
8218 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8219 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8220 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8221 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8222 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8224 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8228 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8229 * sysdeps/x86_64/dl-machine.h: Likewise.
8230 * tls.make.c: Likewise.
8232 * configure.in: Remove --with-__thread option. Make tests for
8233 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8234 tls_model attribute fail if no support is available. Remove
8236 * Makeconfig: Adjust for dropped configure option. All features are
8238 * Makerules: Likewise.
8239 * Versions.def: Likewise.
8240 * argp/argp-fmtstream.c: Likewise.
8241 * argp/argp-fmtstream.h: Likewise.
8242 * argp/argp-help.c: Likewise.
8243 * assert/assert.c: Likewise.
8244 * config.h.in: Likewise.
8245 * config.make.in: Likewise.
8246 * configure: Likewise.
8247 * configure.in: Likewise.
8248 * csu/Versions: Likewise.
8249 * csu/init.c: Likewise.
8250 * elf/tst-audit2.c: Likewise.
8251 * elf/tst-tls10.c: Likewise.
8252 * elf/tst-tls10.h: Likewise.
8253 * elf/tst-tls11.c: Likewise.
8254 * elf/tst-tls12.c: Likewise.
8255 * elf/tst-tls14.c: Likewise.
8256 * elf/tst-tlsmod11.c: Likewise.
8257 * elf/tst-tlsmod12.c: Likewise.
8258 * elf/tst-tlsmod13.c: Likewise.
8259 * elf/tst-tlsmod13a.c: Likewise.
8260 * elf/tst-tlsmod14a.c: Likewise.
8261 * elf/tst-tlsmod15b.c: Likewise.
8262 * elf/tst-tlsmod16a.c: Likewise.
8263 * elf/tst-tlsmod16b.c: Likewise.
8264 * elf/tst-tlsmod7.c: Likewise.
8265 * elf/tst-tlsmod8.c: Likewise.
8266 * elf/tst-tlsmod9.c: Likewise.
8267 * gmon/gmon.c: Likewise.
8268 * grp/fgetgrent_r.c: Likewise.
8269 * grp/putgrent.c: Likewise.
8270 * hurd/fopenport.c: Likewise.
8271 * include/libc-symbols.h: Likewise.
8272 * include/tls.h: Likewise.
8273 * intl/gettextP.h: Likewise.
8274 * intl/loadinfo.h: Likewise.
8275 * locale/global-locale.c: Likewise.
8276 * locale/localeinfo.h: Likewise.
8277 * mach/devstream.c: Likewise.
8278 * malloc/arena.c: Likewise.
8279 * malloc/set-freeres.c: Likewise.
8280 * misc/err.c: Likewise.
8281 * misc/getttyent.c: Likewise.
8282 * misc/mntent_r.c: Likewise.
8283 * posix/getopt.c: Likewise.
8284 * posix/wordexp.c: Likewise.
8285 * pwd/fgetpwent_r.c: Likewise.
8286 * resolv/Versions: Likewise.
8287 * resolv/res_hconf.c: Likewise.
8288 * shadow/fgetspent_r.c: Likewise.
8289 * shadow/putspent.c: Likewise.
8290 * stdio-common/printf_fphex.c: Likewise.
8291 * stdio-common/tmpfile.c: Likewise.
8292 * stdlib/abort.c: Likewise.
8293 * stdlib/fmtmsg.c: Likewise.
8294 * sunrpc/auth_unix.c: Likewise.
8295 * sunrpc/clnt_perr.c: Likewise.
8296 * sunrpc/clnt_tcp.c: Likewise.
8297 * sunrpc/clnt_udp.c: Likewise.
8298 * sunrpc/clnt_unix.c: Likewise.
8299 * sunrpc/openchild.c: Likewise.
8300 * sunrpc/svc_simple.c: Likewise.
8301 * sunrpc/svc_tcp.c: Likewise.
8302 * sunrpc/svc_udp.c: Likewise.
8303 * sunrpc/svc_unix.c: Likewise.
8304 * sunrpc/xdr.c: Likewise.
8305 * sunrpc/xdr_array.c: Likewise.
8306 * sunrpc/xdr_rec.c: Likewise.
8307 * sunrpc/xdr_ref.c: Likewise.
8308 * sunrpc/xdr_stdio.c: Likewise.
8310 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8312 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8314 2011-07-03 Andreas Jaeger <aj@suse.de>
8316 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8317 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8318 regenerate with gen-libm-tests.pl.
8320 2010-05-12 Petr Baudis <pasky@suse.cz>
8323 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8324 around j0() zero points by switching to j1().
8325 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8330 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8332 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8334 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8337 Patch in part by Pavel Roskin <proski@gnu.org>.
8340 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8342 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8343 Free memory block if necessary.
8346 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8347 be NULL. Don't lock in this case.
8349 2011-09-09 Roland McGrath <roland@hack.frob.com>
8351 * elf/elf.h (ELFOSABI_GNU): New macro.
8352 (ELFOSABI_LINUX): Define to that.
8354 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8356 * string/strncat.c (strncat): Undef the symbol in case it has been
8357 defined in bits/string.h.
8359 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8361 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8363 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8366 2011-08-17 Andreas Jaeger <aj@suse.de>
8368 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8370 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8371 Ian Lance Taylor <iant@google.com>
8373 * math/libm-test.inc (lround_test): New testcase.
8374 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8376 2011-09-08 Ulrich Drepper <drepper@gmail.com>
8378 * Makefile: Remove support for automatic cvs check-ins.
8379 * Makerules: Likewise.
8380 * config.make.in: Likewise.
8381 * configure.in: Likewise.
8382 * intl/Makefile: Likewise.
8383 * locale/Makefile: Likewise.
8384 * po/Makefile: Likewise.
8385 * posix/Makefile: Likewise.
8386 * sysdeps/gnu/Makefile: Likewise.
8387 * sysdeps/mach/hurd/Makefile: Likewise.
8388 * sysdeps/sparc/sparc32/Makefile: Likewise.
8391 * posix/Makefile (bug-regex32-ENV): Define.
8392 Patch by John Stanley <jpsinthemix@verizon.net>.
8394 * misc/Makefile (headers): Add bits/select2.h.
8395 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8396 * misc/bits/select2.h: New file.
8397 * include/bits/select2.h: New file.
8398 * debug/Makefile (routines): Add fdelt_chk.
8399 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8400 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8402 * debug/fdelt_chk.c: New file.
8404 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8405 * wcsmbs/test-wmemcmp.c: Likewise.
8406 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8407 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8409 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8411 * string/Makefile (strop-tests): Add memcmp.
8412 * string/test-wmemcmp.c: New file.
8413 * string/test-memcmp.c: Add wmemcmp support.
8415 2011-09-08 Roland McGrath <roland@hack.frob.com>
8418 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8421 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8422 garbage value in a __mach_port_mod_refs call in the cases of the
8423 task-self and thread-self ports.
8425 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8427 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8429 2011-09-08 Andreas Schwab <schwab@redhat.com>
8431 * elf/dl-load.c (lose): Check for non-null L.
8433 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8435 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8437 * elf/dl-libc.c (dlerror_run): Pass back error code from
8441 * elf/dl-load.c (lose): Free l_origin if it is valid.
8443 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8445 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8446 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8447 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8448 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8449 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8450 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8452 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8454 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8455 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8456 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8457 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8458 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8459 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8460 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8461 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8462 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8463 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8465 2011-08-15 Alan Modra <amodra@gmail.com>
8468 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8469 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8470 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8471 ppc_mcount to static-only-routines.
8472 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8474 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8475 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8477 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8479 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8480 for finite and infinity parameters.
8482 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8484 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8485 and add nop instructions for throughput optimization.
8486 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8488 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8490 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8491 aligned copy for power7 with vector-scalar instructions.
8492 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8494 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8499 2011-09-07 Andreas Schwab <schwab@redhat.com>
8502 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8505 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8507 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8508 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8509 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8510 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8513 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8515 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8516 Forgot to demangle the pointer.
8518 * sysdeps/i386/sysdep.h: Define atom_text_section.
8519 * sysdeps/x86_64/sysdep.h: Likewise.
8520 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8521 section with atom_text_section.
8522 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8523 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8524 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8525 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8526 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8528 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8529 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8530 already be defined. Change to take two parameters and don't assign
8531 result to variable. Adjust all users.
8532 Define INTERNAL_GETTIME if not already defined.
8533 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8536 HAVE_CLOCK_GETTIME_VSYSCALL.
8537 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8540 gettimeofday vsyscall, just use time.
8542 2011-09-06 Andreas Schwab <schwab@redhat.com>
8544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8547 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8549 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8551 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8553 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8554 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8555 syscall if possible.
8557 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8559 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8560 e_ident. Don't pass to find_mapsXX.
8561 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8563 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8566 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8567 * sysdeps/x86_64/multiarch/strchr.S: Update.
8568 Check bit_slow_BSF bit.
8569 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8570 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8571 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8573 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8576 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8579 (__spawni): Change last parameter to be flag. Test
8580 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8581 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8582 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8583 * posix/spawni.c: Likewise.
8584 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8585 * posix/spawnp.c: Likewise. Change normal version to use
8586 SPAWN_XFLAGS_USE_PATH.
8587 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8588 SPAWN_XFLAGS_TRY_SHELL.
8591 * posix/glob.h: Remove gcc 1.x support.
8594 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8596 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8599 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8601 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8602 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8603 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8604 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8605 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8606 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8608 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8610 * sysdeps/x86_64/wcscmp.S: New file.
8612 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8613 wcscmp-c wcscmp-sse2
8614 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8615 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8616 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8617 * wcsmbs/wcscmp.c: Allow renaming.
8619 2011-09-05 David S. Miller <davem@davemloft.net>
8621 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8622 stack slot, rather than the struct return pointer slot.
8623 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8624 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8626 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8628 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8630 * po/ja.po: Update from translation team.
8633 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8634 kernel in 64-bit binaries.
8636 2011-09-01 David S. Miller <davem@davemloft.net>
8638 * elf/elf.h (HWCAP_SPARC_*): Move to..
8639 * sysdeps/sparc/sysdep.h: this new file and add new values.
8640 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8641 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8642 _DL_HWCAP_COUNT to 24.
8643 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8645 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8646 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8647 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8649 instead of magic constants.
8650 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8652 2011-08-31 David S. Miller <davem@davemloft.net>
8654 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8655 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8656 Reimplement to do errno handling inline.
8657 (SYSCALL_ERROR_HANDLER): New macro.
8658 (__SYSCALL_STRING): Do not do errno handling in asm.
8659 (__CLONE_SYSCALL_STRING): Delete.
8660 (__INTERNAL_SYSCALL_STRING): Delete.
8661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8662 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8663 (PSEUDO): Reimplement to do errno handling inline.
8664 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8665 (SYSCALL_ERROR_HANDLER): New macro.
8666 (__SYSCALL_STRING): Do not do errno handling in asm.
8667 (__CLONE_SYSCALL_STRING): Delete.
8668 (__INTERNAL_SYSCALL_STRING): Delete.
8669 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8670 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8672 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8673 (inline_syscall*): Add 'err' argument.
8674 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8675 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8676 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8677 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8679 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8680 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8682 2011-08-30 Andreas Schwab <schwab@redhat.com>
8684 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8686 2011-08-29 Jiri Olsa <jolsa@redhat.com>
8688 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8691 2011-08-24 David S. Miller <davem@davemloft.net>
8693 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8695 2011-08-24 Andreas Schwab <schwab@redhat.com>
8697 * elf/Makefile: Add rules to build and run unload8 test.
8698 * elf/unload8.c: New file.
8699 * elf/unload8mod1.c: New file.
8700 * elf/unload8mod1x.c: New file.
8701 * elf/unload8mod2.c: New file.
8702 * elf/unload8mod3.c: New file.
8704 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8707 2011-08-23 David S. Miller <davem@davemloft.net>
8709 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8710 subtract stack bias.
8711 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8712 %sp not %fp in calculations.
8713 (_JMPBUF_UNWINDS_ADJ): Likewise.
8715 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8716 (aio_suspend): Call it to force an exception region around the
8717 AIO_MISC_WAIT() invocation.
8719 2011-08-23 Andreas Schwab <schwab@redhat.com>
8721 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8724 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8726 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8728 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8730 (Elf64_FuncDesc): Remove.
8732 2011-08-22 David S. Miller <davem@davemloft.net>
8734 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8735 sigaltstack check, add missing cfi directives.
8736 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8737 missing cfi directives, and sigaltstack handling.
8739 2011-08-16 Andreas Schwab <schwab@redhat.com>
8742 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8743 object is seen twice.
8744 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8746 * elf/Makefile (distribute): Add tst-initorder2.c.
8747 (tests): Add tst-initorder2.
8748 (modules-names): Add tst-initorder2a tst-initorder2b
8749 tst-initorder2c tst-initorder2d. Add rules to build them.
8750 ($(objpfx)tst-initorder2.out): New rule.
8751 * elf/tst-initorder2.c: New file.
8752 * elf/tst-initorder2.exp: New file.
8754 2011-08-22 Andreas Schwab <schwab@redhat.com>
8756 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8758 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8759 dependencies back to end of function.
8761 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8764 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8766 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8767 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8768 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8769 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8770 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8771 of __vdso_gettimeofday.
8772 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8773 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8775 (_libc_vdso_platform_setup): Remove initialization of
8776 __vdso_gettimeofday and __vdso_time.
8778 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8780 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8782 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8785 * elf/dl-open.c (add_to_global): Report additions to the global scope
8786 for LD_DEBUG=scopes.
8787 (dl_open_worker): Also print scope of newly loaded dependencies.
8788 (_dl_show_scope): Indicate if there is no scope.
8791 * stdio-common/Makefile (tests): Add bug24.
8792 * stdio-common/bug24.c: New file.
8794 2011-08-19 Andreas Jaeger <aj@suse.de>
8797 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8798 non-existant file when using close-on-exec mode.
8800 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8802 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8803 the very first instruction.
8805 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8806 the CFI state in the end.
8807 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8808 inclusion of dl-trampoline.h.
8809 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8811 2011-08-19 Andreas Schwab <schwab@redhat.com>
8813 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8814 expectations for long double.
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8817 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8819 2011-08-14 David S. Miller <davem@davemloft.net>
8821 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8822 artificual limit depends upon the system page size.
8824 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8826 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8827 * resolv/Makefile: Define CFLAGS-libresolv.
8829 2011-08-17 Andreas Schwab <schwab@redhat.com>
8831 * nss/makedb.c (compute_tables): Make variables used in nested
8834 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8836 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8837 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8838 if buffer was too small.
8840 * elf/pldd.c (main): Attach to all threads in the process.
8841 Rewrite /proc handling to use *at functions.
8843 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8845 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8846 specifies first scope to show.
8847 (dl_open_worker): Update callers. Move printing scope of new
8848 object to before the relocation.
8849 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8850 * sysdeps/generic/ldsodefs.h: Update declaration.
8852 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8853 string for the scope number.
8855 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8857 * nscd/servicescache.c (cache_addserv): Make sure written is always
8860 2011-08-14 Roland McGrath <roland@hack.frob.com>
8862 * sysdeps/i386/i486/bits/atomic.h
8863 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8864 statement expression, so as to suppress "set but not used" warning.
8865 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8867 * string/strncat.c (STRNCAT): Use prototype definition.
8869 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8870 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8872 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8873 (localedef-modules): Add localedef.
8874 (locale-modules): Add locale.
8876 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8877 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8880 2011-08-14 David S. Miller <davem@davemloft.net>
8882 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8883 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8885 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8887 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8888 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8889 * elf/rtld.c (dl_main): Set l_name of vDSO.
8890 Call _dl_show_scope when DL_DEBUG_SCOPES.
8891 (process_dl_debug): Recognize scopes flag and also set it for all.
8892 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8893 Declare _dl_show_scope.
8895 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8896 (do_dlopen): Pass caller_dlopen to dl_open.
8897 (__libc_dlopen_mode): Initialize caller_dlopen.
8899 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8900 of libc. Make tolower call locale-independent. Optimize a bit by
8901 using isdigit instead of isalnum.
8902 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8904 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8906 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8907 was a dependency or dynamically loaded.
8909 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8911 * intl/l10nflist.c: Allow architecture-specific pop function.
8912 * sysdeps/x86_64/l10nflist.c: New file.
8914 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8917 2011-08-10 Andreas Schwab <schwab@redhat.com>
8919 * include/dirent.h: Add libc_hidden_proto for scandirat and
8920 scandirat64. Don't declare __scandirat64.
8921 * dirent/scandirat.c: Add libc_hidden_def.
8922 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8923 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8925 2011-08-10 David S. Miller <davem@davemloft.net>
8927 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8929 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8930 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8931 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8933 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8935 * Versions.def [libc]: Add GLIBC_2.15.
8936 * dirent/Makefile (routines): Add scandirat and scandirat64.
8937 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8939 * dirent/dirent.h: Declare scandirat and scandirat64.
8940 * dirent/scandirat.c: New file.
8941 * dirent/scandirat64.c: New file.
8942 * sysdeps/wordsize-64/scandirat.c: New file.
8943 * sysdeps/wordsize-64/scandirat64.c: New file.
8944 * dirent/opendir.c: Define opendirat.
8945 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8947 * dirent/scandir64.c: Adjust for scandir.c change.
8948 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8949 __scandirat64, and __scandir_cancel_handler.
8950 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8951 additional parameter and use openat instead of open (outside of ld.so).
8952 Add new __opendir as wrapper around __opendirat.
8953 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8954 here without requiring old scandirat implementation.
8956 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8958 * dirent/scandir.c (cancel_handler): Renamed to
8959 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8960 defined. Adjust users.
8961 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8962 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8964 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8966 * string/test-string.h (IMPL): Use __STRING to expand name and then
8969 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8972 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8974 * string/Makefile: Update.
8975 (strop-tests): Append strncat.
8976 * string/test-wcscmp.c: New file.
8977 New comprehensive test for wcscmp.
8978 * string/test-strcmp.c: Update.
8981 2011-07-22 Andreas Schwab <schwab@redhat.com>
8983 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8986 2011-07-26 Andreas Schwab <schwab@redhat.com>
8988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8989 encoding to ACE if AI_IDN.
8991 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8993 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8994 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8996 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8998 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8999 Fix overflow bug in strncat.
9000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9002 * string/test-strncat.c: Update.
9003 Add new tests for checking overflow bugs.
9005 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9008 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9009 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9010 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9011 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9012 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9013 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9014 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9015 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9018 (USE_AS_STRCAT): Define.
9019 Add strcat and strncat support.
9020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9022 2011-07-25 Andreas Schwab <schwab@redhat.com>
9024 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9025 __n bigger than INT_MAX+1.
9026 (__strncmp_g): Likewise.
9028 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9030 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9031 * libio/stido.h: Likewise.
9033 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9038 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9040 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9041 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9042 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9045 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9048 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9050 (_dl_x86_64_save_sse): Likewise.
9052 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9056 (_dl_x86_64_save_sse): Likewise.
9058 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9060 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9062 2011-07-21 Andreas Schwab <schwab@redhat.com>
9064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9066 (_dl_x86_64_save_sse): Use correct AVX check.
9068 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9070 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9071 bug in strncpy/strncat.
9072 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9074 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9076 * string/tester.c (test_strcat): Add tests for different alignments
9077 of source and destination.
9078 (test_strncat): Likewise.
9080 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9083 * posix/glob.c (glob): Check passed in values before using them in
9084 expressions to avoid some overflows.
9085 (glob_in_dir): Likewise.
9088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9089 check for AVX enablement so that we don't crash with old kernels and
9091 * elf/tst-audit4.c: Add same checks here.
9092 * elf/tst-audit6.c: Likewise.
9094 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9096 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9098 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9100 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9102 * po/cs.po: Update from translation team.
9103 * po/bg.po: Likewise.
9105 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9107 * misc/sys/cdefs.h: Add support for const attribute.
9108 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9109 to gnu_dev_{major,minor,makedev} functions.
9111 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9113 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9115 2011-07-20 Andreas Schwab <schwab@redhat.com>
9117 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9120 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9122 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9123 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9124 register in order to avoid conflicts with the soft frame pointer
9125 being held in r11 when necessary.
9126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9127 (INTERNAL_VSYSCALL_NCS): Likewise.
9129 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9131 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9132 * elf/dl-fini.c (_dl_fini): Adjust caller.
9133 * elf/dl-close.c (_dl_close_worker): Likewise.
9134 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9136 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9138 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9139 "aux_cache->nlibs < 0".
9141 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9142 in the reload-count case.
9144 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9147 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9148 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9149 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9150 * sysdeps/x86_64/multiarch/strcat.S: New file.
9151 * sysdeps/x86_64/multiarch/strncat.S: New file.
9152 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9153 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9154 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9155 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9156 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9157 (USE_AS_STRCAT): Define.
9158 Add strcat and strncat support.
9159 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9160 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9161 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9162 * string/strncat.c: Update.
9163 (USE_AS_STRNCAT): Define.
9164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9165 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9167 * sysdeps/x86_64/multiarch/init-arch.h
9168 (bit_Prefer_PMINUB_for_stringop): New.
9169 (index_Prefer_PMINUB_for_stringop): Likewise.
9170 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9171 bit_Prefer_PMINUB_for_stringop.
9173 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9175 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9177 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9178 of casting of buffer.
9179 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9180 buffer32 and buffer64.
9181 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9182 writes instead of casting of buffer.
9183 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9185 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9188 2011-07-19 Andreas Schwab <schwab@redhat.com>
9190 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9192 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9194 * nscd/nscd.c (termination_handler): Don't do anything for a database
9195 if it has not yet been initialized.
9197 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9199 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9201 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9203 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9205 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9207 * po/nl.po: Update from translation team.
9208 * po/sv.po: Likewise.
9210 2011-07-16 Roland McGrath <roland@hack.frob.com>
9212 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9213 now disallowed by GCC.
9215 * configure.in (use-default-link): Default to yes if a test -shared
9216 link meets our qualifications.
9217 * configure: Regenerated.
9219 * config.make.in (output-format): New variable.
9220 * configure.in: Check for ld --print-output-format support.
9221 * configure: Regenerated.
9222 * Makerules ($(common-objpfx)format.lds)
9223 [$(output-format) != unknown]: Just use $(output-format),
9224 instead of the linker-script munging.
9226 2011-07-14 Roland McGrath <roland@hack.frob.com>
9228 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9229 of $(common-objpfx)shlib.lds.
9230 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9232 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9233 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9235 * configure.in (-z relro check): Adjust test code to add a large
9236 writable data section after it.
9237 * configure: Regenerated.
9239 2011-07-11 Roland McGrath <roland@hack.frob.com>
9241 * configure.in (-z relro check): Fix test code to make the variable
9243 * configure: Regenerated.
9245 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9247 * nscd/nscd.h (struct traced_file): Define.
9248 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9249 elements. Add traced_files.
9250 (inotify_fd): Declare.
9251 (register_traced_file): Declare.
9252 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9253 (inotify_fd): Export.
9254 (resolv_conf_descr): Remove.
9255 (nscd_init): Move inotify descriptor creation to main.
9256 Don't register files for notification here.
9257 (register_traced_file): New function.
9258 (invalidate_cache): Don't use reset_res to determine whether to call
9259 res_init, go through the list of registered files.
9260 (main_loop_poll): The inotify descriptors are now stored in the
9261 structures for the traced files.
9262 (main_loop_epoll): Likewise
9263 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9264 to __nss_disable_nscd.
9265 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9266 for a database anymore. Check the records for all the registered
9268 * nss/Makefile (libnss_files-routines): Add files-init.
9269 (libnss_db-routines): Add db-init.
9270 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9271 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9272 * nss/nss_db/db-init.c: New file.
9273 * nss/nss_files/files-init.c: New file.
9274 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9275 __nss_lookup_function.
9276 (__nss_lookup_function): Call nss_load_library.
9277 (nss_load_all_libraries): New function.
9278 (__nss_disable_nscd): Take parameter with callback function for files
9279 to register. Set is_nscd. Load all the DSOs for the NSS modules
9280 used for the cached services.
9281 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9282 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9283 options for features to all the files in nscd.
9285 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9287 2011-07-10 Roland McGrath <roland@hack.frob.com>
9289 * csu/elf-init.c (__libc_csu_init): Comment typo.
9291 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9293 * po/pl.po: Update from translation team.
9294 * po/ja.po: Likewise.
9295 * po/ru.po: Likewise.
9296 * po/ko.po: Likewise.
9297 * po/fr.po: Likewise.
9299 2011-07-09 Roland McGrath <roland@hack.frob.com>
9301 * configure.in (.ctors/.dtors header and trailer check):
9302 Use an empirical test on a built program.
9303 * configure: Regenerated.
9305 * configure.in (-z relro check): Use an empirical test on a built DSO.
9306 Detect, but do not require, on ia64.
9307 * configure: Regenerated.
9309 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9310 Update tests that use readelf to use $READELF instead.
9311 * configure: Regenerated.
9313 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9315 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9316 if the result is not used.
9318 2011-07-05 Andreas Jaeger <aj@suse.de>
9321 * stdlib/tst-strtod.c: Add testcase.
9323 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9325 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9326 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9327 The latter has a higher limit. Take additional parameter to pass to
9329 (__pathconf): Pass file to __statfs_link_max.
9330 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9332 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9336 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9337 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9339 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9340 (__statfs_filesize_max): Likewise.
9341 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9343 2011-07-05 Andreas Jaeger <aj@suse.de>
9345 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9347 2011-07-06 Marek Polacek <mpolacek@redhat.com>
9349 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9351 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9354 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9356 * Makefile (strop-tests): Add strncat.
9357 * string/test-strncat.c: New file.
9359 2011-06-30 Marek Polacek <mpolacek@redhat.com>
9361 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9363 2011-06-21 Andreas Jaeger <aj@suse.de>
9365 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9366 Copy rule from iconvdata/Makefile.
9368 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9371 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9372 but no long options are defined, just return 'W'.
9374 2011-06-22 Marek Polacek <mpolacek@redhat.com>
9377 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9379 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9381 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9383 (innetgr): Likewise.
9385 2011-07-05 Roland McGrath <roland@hack.frob.com>
9387 * config.make.in (install_root): Default to $(DESTDIR).
9389 2011-07-05 Ulrich Drepper <drepper@gmail.com>
9391 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9393 2011-07-02 Roland McGrath <roland@hack.frob.com>
9395 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9397 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9398 containing directory rather than embedding absolute directory names.
9400 * scripts/check-local-headers.sh: Rewritten using awk.
9401 Match by word, not by line. Print error messages for matches.
9402 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9404 * Makerules [shlib-lds-flags empty]:
9405 ($(common-objpfx)libc_pic.opts): New target.
9406 ($(common-objpfx)libc_pic.os.clean): New target.
9407 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9409 * config.make.in (OBJCOPY): New variable.
9410 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9411 * configure: Regenerated.
9413 * config.make.in (use-default-link): New variable.
9414 * configure.in (use_default_link): Grok --with-default-link to set it.
9415 * configure: Regenerated.
9416 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9417 (shlib-lds, shlib-lds-flags): Define to empty.
9419 * Makerules (shlib-lds): New variable.
9420 (shlib-lds-flags): New variable.
9421 (build-shlib, build-moduile, build-module-asneeded): Use it.
9422 ($(common-objpfx)libc.so): Use $(shlib-lds).
9423 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9424 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9426 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9427 DT_FLAGS/DT_FLAGS_1 with zero flags.
9429 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9430 linker script munging.
9432 2011-07-02 Ulrich Drepper <drepper@gmail.com>
9434 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9436 * crypt/sha512.c (sha512_process_block): Perform total addition using
9437 128-bit if possible.
9438 (__sha512_finish_ctx): Likewise.
9439 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9441 * crypt/sha256.c (SWAP64): Define.
9442 (sha256_process_block): Perform total addition using 64-bit if
9444 (__sha256_finish_ctx): Likewise.
9446 2011-07-01 Ulrich Drepper <drepper@gmail.com>
9448 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9449 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9450 * nscd/hstcache.c (cache_addhst): Likewise.
9451 * nscd/grpcache.c (cache_addgr): Likewise.
9452 * nscd/aicache.c (addhstaiX): Likewise
9453 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9455 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
9457 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9459 * nscd/hstcache.c (cache_addhst): Likewise.
9460 * nscd/grpcache.c (cache_addgr): Likewise.
9461 * nscd/aicache.c (addhstaiX): Likewise
9463 2011-07-01 Andreas Schwab <schwab@redhat.com>
9465 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9466 domain only when needed.
9468 2011-06-30 Andreas Schwab <schwab@redhat.com>
9470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9473 2011-06-29 Ulrich Drepper <drepper@gmail.com>
9475 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9476 are re-adding the entry.
9477 * nscd/servicescache.c (cache_addserv): Likewise.
9479 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9481 * sysdeps/generic/dl-irel.h: fix protection against multiple
9483 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9485 2011-06-28 Ulrich Drepper <drepper@gmail.com>
9488 * malloc/memusage.sh: Fix quoting in message.
9489 * debug/xtrace.sh: Likewise.
9491 * configure.in: Remove support for --experimental-malloc option, make
9493 * config.make.in: Likewise.
9494 * malloc/Makefile: Likewise.
9496 2011-06-27 Andreas Schwab <schwab@redhat.com>
9498 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9499 two-byte characters.
9501 2011-06-27 Roland McGrath <roland@hack.frob.com>
9503 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9504 AC_CACHE_CHECK invocation.
9505 * configure: Regenerated.
9507 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9509 2011-06-27 Ulrich Drepper <drepper@gmail.com>
9512 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9513 bit from old_res_options.
9515 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9517 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9518 value type for setfct.
9520 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9523 __gettimeofday instead of gettimeofday.
9525 2011-06-26 Ulrich Drepper <drepper@gmail.com>
9527 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9529 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9531 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9536 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9539 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9540 strcpy-sse2-unaligned strncpy-sse2-unaligned
9541 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9542 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9543 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9544 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9545 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9546 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9547 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9548 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9549 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9550 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9551 (STRCPY): Support SSE2 and SSSE3 versions.
9553 2011-06-24 Ulrich Drepper <drepper@gmail.com>
9556 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9557 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9558 kernels which artificially limit size of requests.
9560 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9563 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9564 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9565 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9566 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9567 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9568 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9569 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9570 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9571 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9572 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9573 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9574 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9575 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9576 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9578 Enable unaligned load optimization for Intel Core i3, i5 and i7
9580 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9582 (index_Fast_Unaligned_Load): Define.
9583 (HAS_FAST_UNALIGNED_LOAD): Define.
9585 2011-06-23 Marek Polacek <mpolacek@redhat.com>
9587 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9589 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9593 until it is clear that the information is realy needed.
9594 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9596 2011-06-22 Andreas Schwab <schwab@redhat.com>
9598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9600 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9602 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9603 /sys/devices/system/cpu/online if it is usable.
9605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9606 reading the information from the /proc filesystem to once a second.
9608 2011-06-21 Andreas Jaeger <aj@suse.de>
9610 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9611 NULL after inclusion of kernel headers.
9613 2011-06-21 Ulrich Drepper <drepper@gmail.com>
9615 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9616 calls to internal_setent.
9619 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9620 addresses using gethostbyname4_r ignore IPv4 addresses.
9622 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9623 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9625 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9627 2011-06-20 David S. Miller <davem@davemloft.net>
9629 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9631 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9633 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9635 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9636 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9637 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9638 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9639 * sysdeps/x86_64/dl-irel.h: Likewise.
9641 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9642 * elf/dl-sym.c: Likewise.
9644 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9646 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9647 need to dereference resplen2.
9649 2011-06-14 Andreas Schwab <schwab@redhat.com>
9651 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9653 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9655 * Makeconfig: Define vardbdir and inst_vardbdir.
9656 * nss/Makefile: Add rules to install db-Makefile.
9658 * nss/nss_db/db-XXX.c: Cleanup.
9660 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9661 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9663 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9664 * nss/makedb.c: Implement -g option to specify that value strings
9665 are generated and should not be added to table iterated over for
9667 * nss/nss_db/db-initgroups.c: New file.
9669 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9672 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9673 (internal_getgrouplist): Adjust to name change.
9674 Update use_initgroups_entry if this is not the first call.
9675 * nss/databases.def: Add initgroups entry.
9677 * nss/makedb.c (compute_tables): Check result of multiple hash table
9678 sizes to minimize maximum chain length.
9680 2011-06-14 Ulrich Drepper <drepper@gmail.com>
9682 * Versions.def: Add entry for libnss_db.
9683 * shlib-versions: Likewise.
9684 * nss/Makefile: Add rules to build libnss_db.
9685 * nss/Versions: Add libnss_db information. Organize libnss_files
9687 * nss/db-Makefile: Add gshadow support. Change rules for the new
9688 makedb progra. Some minor improvements to generate smaller files.
9689 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9691 * nss/makedb.c: ...here.
9692 Improve database format to be smaller and require less memory at
9694 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9696 * nss/nss_db/db-netgrp.c: Likewise.
9697 * nss/nss_db/db-open.c: Likewise.
9698 * nss/nss_files/flies-XXX.x: Adjust comments.
9699 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9700 * nss/nss_files/files-grp.c: Likewise.
9701 * nss/nss_files/files-hosts.c: Likewise.
9702 * nss/nss_files/files-network.c: Likewise.
9703 * nss/nss_files/files-proto.c: Likewise.
9704 * nss/nss_files/files-pwd.c: Likewise.
9705 * nss/nss_files/files-rpc.c: Likewise.
9706 * nss/nss_files/files-service.c: Likewise.
9707 * nss/nss_files/files-sgrp.c: Likewise.
9708 * nss/nss_files/files-spwd.c: Likewise.
9709 * nss/nss_db/db-alias.c: Removed.
9710 * nss/nss_db/dummy-db.h: Removed.
9712 2011-06-02 Ulrich Drepper <drepper@gmail.com>
9714 * nss/makedb.c: Rewritten to not use database library.
9715 * nss/Makefile: Update to build new makedb program.
9717 2011-06-14 Andreas Jaeger <aj@suse.de>
9719 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9722 2011-06-10 Andreas Schwab <schwab@redhat.com>
9724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9727 2011-06-10 Roland McGrath <roland@hack.frob.com>
9729 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9730 * elf/Makefile ($(objpfx)ld.so): Likewise.
9732 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9733 Don't list ld.so twice in dependencies.
9735 * posix/bug-regex31.c: Include <stdlib.h>.
9737 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9739 * nis/nss_compat/compat-spwd.c
9740 (getspent_next_nss_netgr): Remove unused variable.
9741 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9743 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9744 nonmembers" output to use the right array.
9746 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9748 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9750 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9751 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9752 * catgets/gencat.c (read_input_file): Likewise.
9753 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9755 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9756 variable definition inside #if's controlling its use.
9758 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9760 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9762 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9764 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9767 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9769 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9770 * configure: Regenerated.
9772 * Makerules: Revert last change.
9773 * elf/Makefile: Likewise.
9775 2011-06-09 Roland McGrath <roland@hack.frob.com>
9777 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9778 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9779 (reloc-link): Likewise.
9781 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9783 * elf/Makefile: Add rules to build pldd.
9784 * elf/pldd.c: New file.
9785 * elf/pldd-xx.c: New file.
9787 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9789 * version.h: Update for 2.15 development version.
9791 2011-06-07 David S. Miller <davem@davemloft.net>
9793 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9795 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9796 elf_machine_lazy_rel): Likewise.
9797 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9798 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9799 elf_machine_lazy_rel): Likewise.
9800 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9801 dl_hwcap via passed in argument.
9802 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9805 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9807 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9809 2011-06-06 Roland McGrath <roland@hack.frob.com>
9812 * manual/fdl-1.1.texi: New file, verbatim from:
9813 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9814 * manual/lgpl-2.1.texi: New file, verbatim from:
9815 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9816 * manual/Makefile (licenses): New variable, list those new file names.
9818 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9820 * manual/fdl.texi: File removed.
9821 * manual/lesser.texi: File removed.
9822 * manual/libc.texinfo (Copying, Documentation License):
9823 Use new @include file names, put @appendix directive before @include.
9825 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9828 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9829 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9830 (mq_open): Add __NTH.
9832 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9835 Assume Intel Core i3/i5/i7 processor if AVX is available.
9837 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9839 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9842 2011-05-31 Andreas Schwab <schwab@redhat.com>
9844 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9845 memory. Use alloca_account. Fix memory leak when retrying.
9847 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9849 * version.h (RELEASE): Bump for 2.14 release.
9850 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9852 * config.make.in (RANLIB): Remove entry.
9854 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9856 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9857 (libc.pot): Work around missing support for .ksh extension in xgettext.
9860 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9861 if both request failed.
9862 (send_dg): In case of server errors clear resplen or *resplen2.
9865 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9866 when there are multiple maps.
9867 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9868 (_dl_fini): Remove test here.
9870 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9872 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9875 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9876 bit from old_res_options.
9877 (gaih_inet): Likewise.
9880 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9883 * resolv/res_init.c (res_setoptions): Make the code more compact.
9886 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9890 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9892 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9895 * malloc/malloc.h: Declare malloc hook variables as volatile.
9897 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9901 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9902 raise in the comment.
9903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9904 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9905 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9907 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9910 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9911 grow the buffers more if it already has to be sufficient.
9912 (build_wcs_upper_buffer): Likewise.
9913 * posix/regexec.c (check_matching): Likewise.
9914 (clean_state_log_if_needed): Likewise.
9915 (extend_buffers): Don't enlarge buffers beyond size of the input
9917 Patches mostly by Emil Wojak <emil@wojak.eu>.
9918 * posix/bug-regex32.c: New file.
9919 * posix/Makefile (tests): Add bug-regex32.
9921 * locale/findlocale.c (_nl_find_locale): Return right away if
9922 _nl_explode_name failed.
9923 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9925 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9927 * debug/xtrace.sh: Unify messages.
9928 * malloc/memusage.sh: Likewise.
9931 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9932 time symbol from vDSO. Substitute with vsyscall if not available.
9933 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9936 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9937 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9938 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9939 Add sendmmsg and internal_sendmmsg.
9940 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9941 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9942 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9944 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9945 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9946 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9948 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9951 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9952 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9954 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9958 * iconvdata/Makefile (tests): Add bug-iconv9.
9959 * iconvdata/bug-iconv9.c: New file.
9961 2011-05-27 Andreas Schwab <schwab@redhat.com>
9964 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9966 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9968 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9969 (struct user_regs_struct): Change intcs field back to cs.
9971 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9973 * po/ja.po: Update from translation team.
9975 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9978 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9979 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9981 2011-05-20 Andreas Schwab <schwab@redhat.com>
9983 * stdlib/longlong.h: Update from GCC.
9985 2011-05-23 Andreas Schwab <schwab@redhat.com>
9987 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9989 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9991 (__sysconf): Pass it down.
9993 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9996 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9998 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9999 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10000 add in in __libc_use_alloca calls. Adjust callers.
10001 (glob): Use malloc in some situations.
10003 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10004 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10007 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10009 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10010 and CLOCK_BOOTTIME_ALARM.
10013 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10016 * string/_strerror.c (__strerror_r): Print negative errors as signed
10020 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10021 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10022 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10024 * configure.in: Fix typo in redirection and correct removal of test
10025 files in two cases.
10028 * locale/setlocale.c (new_composite_name): Fix test to check for
10029 identical name of all categories.
10032 * libio/filedoalloc.c (local_isatty): New function.
10033 (_IO_file_doallocate): Use local_isatty.
10034 * stdio-common/perror.c (perror): In case a new stream is used
10035 forward the stream error.
10036 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10039 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10044 * include/alloca.h (extend_alloca_account): Define.
10047 * posix/regex.h: Fix comments with documentation of user-accessible
10048 fields after compilation and describe correct free'ing of pattern
10049 after re_compile_pattern.
10050 Patch by Reuben Thomas <rrt@sc3d.org>.
10052 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10054 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10055 and -mno-altivec to prevent the compiler from using Altivec and/or
10056 VSX instructions when the corresponding registers are not available.
10058 2011-05-19 Andreas Schwab <schwab@redhat.com>
10060 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10062 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10064 * libio/freopen.c (freopen): Use __dup2, not dup2.
10065 * libio/freopen64.c (freopen64): Likewise.
10067 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10070 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10071 * math/Makefile (tests): Add test-powl.
10072 (CFLAGS-test-powl.c): Define.
10073 * math/test-powl.c: New file.
10075 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10077 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10079 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10082 * iconvdata/gb18030.c: Update to GB18020-2005.
10084 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10086 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10087 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10088 Patch by Aharon Robbins <arnold@skeeve.com>.
10091 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10095 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10096 through underflows.
10099 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10100 point to strings before performing equality test for error_one_per_line
10104 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10107 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10108 (struct user_fpregs_struct): Avoid __uint*_t types.
10111 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10112 symbol info. Use it instead of calling _dl_addr locally.
10113 (lock_and_info): New function.
10114 (tr_freehook): Call lock_and_info and pass symbol info as additional
10115 parameter to tr_where.
10116 (tr_mallochook): Likewise.
10117 (tr_reallochook): Likewise.
10118 (tr_memalignhook): Likewise.
10120 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10121 used and couldn't be at all thread-safe.
10123 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10125 * libio/freopen.c (freopen): Don't close old file descriptor
10126 before the new one is opened. Instead dup the new file descriptor
10127 to the old one after the new stream is created.
10128 * libio/freopen64.c (freopen64): Likewise.
10129 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10130 * libio/fileops.c (_IO_new_file_close_it): Handle new
10131 _IO_FLAGS2_NOCLOSE flag.
10132 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10133 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10134 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10135 _IO_FLAGS2_NOCLOSE flag.
10136 * include/unistd.h: Add hidden_proto for dup3.
10137 Define __have_dup3.
10138 * io/dup3.c: Define hidden symbol.
10139 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10142 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10143 when an incomplete long option is used.
10144 * posix/tst-getopt_long1.c: New file.
10145 * posix/Makefile (tests): Add tst-getopt_long1.
10148 * scripts/config.guess: Update from autoconf-2.68.
10149 * scripts/config.sub: Likewise.
10152 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10154 (has_cpuclock): ...this. New function.
10155 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10156 macro here based on has_cpuclock code.
10159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10160 First byte (not low byte) is now always NUL.
10161 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10163 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10164 Use non-cancelable interfaces.
10167 * locale/iso-639.def: Add entry for Sorani.
10170 * include/stdlib.h: Move include protection to the right place.
10171 Define abort_msg_s. Declare __abort_msg with it.
10172 * stdlib/abort.c (__abort_msg): Adjust type.
10173 * assert/assert.c (__assert_fail_base): New function. Majority
10174 of code from __assert_fail. Allocate memory for __abort_msg with
10176 (__assert_fail): Now call __assert_fail_base.
10177 * assert/assert-perr.c: Remove bulk of implementation. Use
10178 __assert_fail_base.
10179 * include/assert.hL Declare __assert_fail_base.
10180 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10182 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10184 2011-05-14 Ulrich Drepper <drepper@gmail.com>
10188 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10189 until all modules are registered in the DTV.
10190 * elf/Makefile: Add rules to build and run tst-tls19.
10191 * elf/tst-tls19.c: New file.
10192 * elf/tst-tls19mod1.c: New file.
10193 * elf/tst-tls19mod2.c: New file.
10194 * elf/tst-tls19mod3.c: New file.
10195 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10198 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10202 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10203 two-byte sequence errors.
10204 * iconvdata/Makefile (tests): Add bug-iconv8.
10205 * iconvdata/bug-iconv8.c: New file.
10208 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10211 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10214 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10215 (dummy_getcfa): New function.
10216 (init): Get _Unwind_GetCFA address, use dummy if not found.
10217 (backtrace_helper): In recursion check, also check whether CFA changes.
10218 (__backtrace): Completely initialize arg.
10220 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10221 storing incomplete byte sequence in state object. Avoid testing for
10222 guaranteed too small input if we know there is enough data available.
10224 2011-05-11 Andreas Schwab <schwab@redhat.com>
10226 * Makeconfig (+link-pie): Indent.
10227 * Rules (binaries-pie): Define if $(have-fpie) and
10229 (binaries-shared): Also filter out $(binaries-pie).
10230 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10231 * nscd/Makefile (others-pie): Add nscd.
10232 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10233 ($(objpfx)nscd): Remove command override.
10234 * login/Makefile (others-pie): Add pt_chown.
10235 ($(objpfx)pt_chown): Remove command override.
10236 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10237 remove command overrides.
10239 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10241 * libio/tst_putwc.c: Fix error messages.
10244 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10245 currently writing and seek to current position when not.
10246 * libio/Makefile (tests): Add bug-fclose1.
10247 * libio/bug-fclose1.c: New file.
10249 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10252 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10253 don't set DF_1_NODELETE here.
10254 (do_lookup_x): When entering new entry test for copy relocation
10255 and if necessary set DF_1_NODELETE flag.
10256 * elf/tst-unique4.cc: New file.
10257 * elf/tst-unique4.h: New file.
10258 * elf/tst-unique4lib.cc: New file.
10259 * elf/Makefile: Add rules to build and run tst-unique4.
10260 Patch by Piotr Bury <pbury@goahead.com>.
10262 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10265 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10268 * misc/mntent_r.c (addmntent): Flush the stream after the output
10271 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10272 (is_trusted_path_normalize): Skip initial colon. Append slash
10273 to empty buffer. Duplicate is_trusted_path code but allow
10274 constructed patch to be prefix.
10275 (is_dst): Allow $ORIGIN followed by /.
10276 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10277 Correct testing of result of is_trusted_path_normalize
10278 (decompose_rpath): Fix warning.
10280 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10283 * grp/initgroups.c (internal_getgrouplist): When we found the service
10284 list through the initgroups entry in nsswitch.conf do not always
10285 continue on a successful lookup. Don't always use the
10286 __nss_group_database value if it is set.
10287 * nss/nsswitch.conf (initgroups): Change action for successful db
10288 lookup to continue for compatibility.
10290 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10293 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10295 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10297 * iconvdata/tst-tables.sh: Likewise.
10298 * iconvdata/cp770.c: New file.
10299 * iconvdata/cp771.c: New file.
10300 * iconvdata/cp772.c: New file.
10301 * iconvdata/cp773.c: New file.
10302 * iconvdata/cp774.c: New file.
10303 * iconvdata/testdata/CP770: New file.
10304 * iconvdata/testdata/CP770..UTF8: New file.
10305 * iconvdata/testdata/CP771: New file.
10306 * iconvdata/testdata/CP771..UTF8: New file.
10307 * iconvdata/testdata/CP772: New file.
10308 * iconvdata/testdata/CP772..UTF8: New file.
10309 * iconvdata/testdata/CP773: New file.
10310 * iconvdata/testdata/CP773..UTF8: New file.
10311 * iconvdata/testdata/CP774: New file.
10312 * iconvdata/testdata/CP774..UTF8: New file.
10314 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10316 * iconvdata/gen-8bit-gap.sh: Likewise.
10317 * iconvdata/gen-8bit.sh: Likewise.
10319 * locale/iso-639.def: Add ary entry.
10322 * locale/C-translit.h.in: Add U20A1 transliteration.
10325 * locale/iso-639.def: Add wae entry.
10326 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10329 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10333 * locale/C-translit.h.in: Add entry for U20B9.
10334 Patch by pravin.d.s@gmail.com.
10336 2011-05-08 Ulrich Drepper <drepper@gmail.com>
10339 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10340 ENAMETOOLONG use generic getcwd.
10341 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10342 in rtld. Use *stat64.
10343 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10344 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10345 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10346 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10347 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10348 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10349 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10350 __fstatat64 macros.
10351 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10352 * dirent/rewinddir.c: Add libc_hidden_def.
10353 * sysdeps/mach/hurd/rewinddir.c: Likewise.
10354 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
10356 * include/dirent.h (__alloc_dir): Add flags parameter.
10357 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10358 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10360 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10361 from fdopendir if O_CLOEXEC is already set.
10363 2011-03-15 Alan Modra <amodra@gmail.com>
10365 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10366 l_tls_firstbyte_offset non-zero. Save padding offset in
10367 l_tls_firstbyte_offset for later use.
10368 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10369 freeing static tls block.
10371 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10373 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10374 where #ifdef was intended. The intent is to prevent ARG_MAX from
10375 being defined by the kernel headers.
10377 2011-05-07 Ulrich Drepper <drepper@gmail.com>
10380 * resolv/resolv.h: Define RES_NOTLDQUERY.
10381 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10382 no-tld-query and set RES_NOTLDQUERY.
10383 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10384 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10385 modern BIND to search name as TLD unless forbidden.
10387 2011-05-07 Petr Baudis <pasky@suse.cz>
10388 Ulrich Drepper <drepper@gmail.com>
10391 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10392 (is_trusted_path): ...to here.
10393 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10394 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10395 using is_trusted_path_normalize() in setuid scripts.
10397 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10399 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10400 __BEGIN/__END_DECLS.
10402 2011-05-06 Ulrich Drepper <drepper@gmail.com>
10404 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10405 NSS_STATUS_NOTFOUND if no record was found.
10407 2011-05-05 Andreas Schwab <schwab@redhat.com>
10409 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10410 (headers-not-in-tirpc): Remove rpc/netdb.h
10411 * resolv/netdb.h: Revert last change.
10413 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10415 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10416 circular dependency between libgcc.a and libc.a.
10418 2011-05-05 Andreas Schwab <schwab@redhat.com>
10420 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10421 * nis/Makefile: Don't install rpcsvc/*.
10422 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10423 instead of <rpc/types.h>.
10424 (MAXHOSTNAMELEN): Define.
10426 2011-05-03 Andreas Schwab <schwab@redhat.com>
10428 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10430 2011-04-28 Maciej Babinski <mbabinski@google.com>
10433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10434 gethostbyname4_r when IPv6 results are possible.
10436 2011-05-02 Ulrich Drepper <drepper@gmail.com>
10439 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10440 _PC_PIPE_BUF handling.
10442 2011-04-30 Bruno Haible <bruno@clisp.org>
10445 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10446 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10448 * inet/getnameinfo.c (getnameinfo): Likewise.
10450 2011-04-29 Ulrich Drepper <drepper@gmail.com>
10452 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10453 to groups setting in database lookup.
10454 * nss/nsswitch.conf: Add initgroups entry.
10456 2011-04-22 Ulrich Drepper <drepper@gmail.com>
10459 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10461 Patch by Eric Blake <eblake@redhat.com>.
10463 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10465 * sunrpc/Makefile (need-export-routines): Add svc_run.
10466 (routines): Remove svc_run.
10467 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10468 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10469 * sunrpc/svc_run.c (svc_run): Likewise.
10470 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10472 2011-04-21 Ulrich Drepper <drepper@gmail.com>
10474 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10475 problem in reallocation in last patch.
10477 2011-04-20 Ulrich Drepper <drepper@gmail.com>
10479 * sunrpc/Makefile: Move inclusion of Rules.
10481 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10483 * nss/nss_files/files-initgroups.c: New file.
10484 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10485 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10486 _nss_files_initgroups_dyn.
10488 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10490 * elf/elf.h (R_ARM_IRELATIVE): Define.
10492 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10494 * po/ru.po: Update from translation team.
10496 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10498 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10501 2011-02-06 Mike Frysinger <vapier@gentoo.org>
10504 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10505 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10506 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10508 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10510 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10512 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10514 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10518 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10521 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10523 * stdlib/bug-getcontext.c: New file.
10524 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10526 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10528 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10529 instructions into .machine "z9-109".
10530 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10531 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10533 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10535 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10536 between environment variables and auxiliary vector.
10538 2011-04-16 Ulrich Drepper <drepper@gmail.com>
10540 * Makefile: Add rules to build linkobj/libc.so.
10541 * include/libc-symbols.h: Define libc_hidden_nolink.
10542 * include/rpc/auth.h: Mark functions which are to be hidden.
10543 * include/rpc/auth_des.h: Likewise.
10544 * include/rpc/auth_unix.h: Likewise.
10545 * include/rpc/clnt.h: Likewise.
10546 * include/rpc/des_crypt.h: Likewise.
10547 * include/rpc/key_prot.h: Likewise.
10548 * include/rpc/pmap_clnt.h: Likewise.
10549 * include/rpc/pmap_prot.h: Likewise.
10550 * include/rpc/pmap_rmt.h: Likewise.
10551 * include/rpc/rpc_msg.h: Likewise.
10552 * include/rpc/svc.h: Likewise.
10553 * include/rpc/svc_auth.h: Likewise.
10554 * include/rpc/xdr.h: Likewise.
10555 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10556 * nss/Makefile: Likewise.
10557 * sunrpc/Makefile: Don't install headers. Build library with normal
10558 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10559 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10560 for the compat linking library. Remove use of INTDEF/INTUSE.
10561 * sunrpc/auth_none.c: Likewise.
10562 * sunrpc/auth_unix.c: Likewise.
10563 * sunrpc/authdes_prot.c: Likewise.
10564 * sunrpc/authuxprot.c: Likewise.
10565 * sunrpc/clnt_gen.c: Likewise.
10566 * sunrpc/clnt_perr.c: Likewise.
10567 * sunrpc/clnt_raw.c: Likewise.
10568 * sunrpc/clnt_simp.c: Likewise.
10569 * sunrpc/clnt_tcp.c: Likewise.
10570 * sunrpc/clnt_udp.c: Likewise.
10571 * sunrpc/clnt_unix.c: Likewise.
10572 * sunrpc/des_crypt.c: Likewise.
10573 * sunrpc/des_soft.c: Likewise.
10574 * sunrpc/get_myaddr.c: Likewise.
10575 * sunrpc/key_call.c: Likewise.
10576 * sunrpc/key_prot.c: Likewise.
10577 * sunrpc/netname.c: Likewise.
10578 * sunrpc/pm_getmaps.c: Likewise.
10579 * sunrpc/pm_getport.c: Likewise.
10580 * sunrpc/pmap_clnt.c: Likewise.
10581 * sunrpc/pmap_prot.c: Likewise.
10582 * sunrpc/pmap_prot2.c: Likewise.
10583 * sunrpc/pmap_rmt.c: Likewise.
10584 * sunrpc/publickey.c: Likewise.
10585 * sunrpc/rpc_cmsg.c: Likewise.
10586 * sunrpc/rpc_common.c: Likewise.
10587 * sunrpc/rpc_dtable.c: Likewise.
10588 * sunrpc/rpc_prot.c: Likewise.
10589 * sunrpc/rpc_thread.c: Likewise.
10590 * sunrpc/rtime.c: Likewise.
10591 * sunrpc/svc.c: Likewise.
10592 * sunrpc/svc_auth.c: Likewise.
10593 * sunrpc/svc_authux.c: Likewise.
10594 * sunrpc/svc_raw.c: Likewise.
10595 * sunrpc/svc_run.c: Likewise.
10596 * sunrpc/svc_simple.c: Likewise.
10597 * sunrpc/svc_tcp.c: Likewise.
10598 * sunrpc/svc_udp.c: Likewise.
10599 * sunrpc/svc_unix.c: Likewise.
10600 * sunrpc/svcauth_des.c: Likewise.
10601 * sunrpc/xcrypt.c: Likewise.
10602 * sunrpc/xdr.c: Likewise.
10603 * sunrpc/xdr_array.c: Likewise.
10604 * sunrpc/xdr_float.c: Likewise.
10605 * sunrpc/xdr_intXX_t.c: Likewise.
10606 * sunrpc/xdr_mem.c: Likewise.
10607 * sunrpc/xdr_rec.c: Likewise.
10608 * sunrpc/xdr_ref.c: Likewise.
10609 * sunrpc/xdr_sizeof.c: Likewise.
10610 * sunrpc/xdr_stdio.c: Likewise.
10612 2011-04-10 Ulrich Drepper <drepper@gmail.com>
10615 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10616 * sysdeps/ia64/dl-tls.h: Likewise.
10617 * sysdeps/powerpc/dl-tls.h: Likewise.
10618 * sysdeps/s390/dl-tls.h: Likewise.
10619 * sysdeps/sh/dl-tls.h: Likewise.
10620 * sysdeps/sparc/dl-tls.h: Likewise.
10621 * sysdeps/x86_64/dl-tls.h: Likewise.
10622 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10624 2011-03-14 Andreas Schwab <schwab@redhat.com>
10626 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10627 rpath element also skip the following colon.
10628 (expand_dynamic_string_token): Add is_path parameter and pass
10629 down to DL_DST_REQUIRED and _dl_dst_substitute.
10630 (decompose_rpath): Call expand_dynamic_string_token with
10631 non-zero is_path. Ignore empty rpaths.
10632 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10635 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10640 2011-04-09 Ulrich Drepper <drepper@gmail.com>
10643 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10644 Patch by Filipe David Manana <fdmanana@apache.org>.
10646 2011-04-07 Andreas Schwab <schwab@redhat.com>
10648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10649 Maintain aligned stack.
10650 (CHECK_RSP): Remove unused macro.
10652 2011-04-03 Ulrich Drepper <drepper@gmail.com>
10654 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10657 2011-04-02 Ulrich Drepper <drepper@gmail.com>
10659 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10661 * include/features.h: Mention __USE_XOPEN2K8 in comment.
10663 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10666 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10667 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10668 * sysdeps/x86_64/memmove.c: New file.
10669 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10670 (memcpy): Renamed to ...
10671 (__new_memcpy): This.
10672 (memcpy): Provide GLIBC_2_14 memcpy.
10673 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10674 (memcpy): Provide GLIBC_2_2_5 memcpy.
10676 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10679 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10681 2011-03-30 Andreas Schwab <schwab@redhat.com>
10683 * misc/syncfs.c: New file.
10684 * misc/Makefile (routines): Add syncfs.
10685 * posix/unistd.h: Declare syncfs.
10686 * sysdeps/unix/syscalls.list: Add syncfs.
10688 2011-04-01 Andreas Schwab <schwab@redhat.com>
10690 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10692 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10693 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10695 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10697 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10698 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10700 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10703 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10704 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10708 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10710 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10711 sync_file_range.c with -fexceptions.
10712 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10713 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10714 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10715 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10716 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10717 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10719 sync_file_range as cancellation point
10720 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10721 now a wrapper around __call_sync_file_range with cancellation handling.
10722 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10723 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10724 function name to __call_sync_file_range.
10725 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10726 Add call_sync_file_range.
10728 2011-04-01 Andreas Schwab <schwab@redhat.com>
10730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10733 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10735 * iconv/iconv.h: Fix typo in comment.
10736 * io/fcntl.h: Likewise.
10737 * libio/stdio.h: Likewise.
10738 * posix/spawn.h: Likewise.
10739 * posix/unistd.h: Likewise.
10740 * stdlib/stdlib.h: Likewise.
10741 * time/time.h: Likewise.
10742 * wcsmbs/wchar.h: Likewise.
10744 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10745 open_by_handle): Add.
10746 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10747 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10748 Augment a few comments.
10749 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10751 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10754 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10757 * io/fcntl.h (AT_EMPTY_PATH): Define.
10759 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10761 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10762 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10763 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10765 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10766 * Versions.def: Add GLIBC_2.14.
10767 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10770 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10772 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10774 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10776 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10779 * string/test-strncmp.c (do_page_test): New function.
10780 (check2): Likewise.
10781 (test_main): Call check2.
10782 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10784 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10787 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10788 Handle cache information in CPU leaf 4.
10789 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10791 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10794 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10795 character representation.
10796 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10798 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10800 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10801 END(__isnan) to END(__isnanf) to match function entry point/label
10802 EALIGN(__isnanf,...).
10804 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10806 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10808 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10811 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10812 copy from the symbol referenced in the relocation to initialize the
10814 Patch by Piotr Bury <pbury@goahead.com>.
10815 * elf/Makefile: Add rules to build and tst-unique3.
10816 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10817 * elf/tst-unique3.cc: New file.
10818 * elf/tst-unique3.h: New file.
10819 * elf/tst-unique3lib.cc: New file.
10820 * elf/tst-unique3lib2.cc: New file.
10822 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10824 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10826 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10827 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10830 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10832 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10833 to-be-loaded object along a path to loader is ld.so.
10835 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10836 Ulrich Drepper <drepper@gmail.com>
10838 * sysdeps/x86_64/memset.S: After aligning destination, code
10839 branches to different locations depending on the value of
10840 misalignment, when multiarch is enabled. Fix this.
10842 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10844 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10845 Set _x86_64_preferred_memory_instruction for AMD processsors.
10846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10847 Set bit_Prefer_SSE_for_memop for AMD processors.
10849 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10851 * libio/fmemopen.c (fmemopen): Optimize a bit.
10853 2011-03-03 Andreas Schwab <schwab@redhat.com>
10855 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10857 2011-03-03 Roland McGrath <roland@redhat.com>
10859 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10861 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10863 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10864 __bzero_ultra1 instead of __memset_ultra1.
10866 2011-02-23 Andreas Schwab <schwab@redhat.com>
10867 Ulrich Drepper <drepper@gmail.com>
10870 * include/link.h (struct link_map): Add l_orig_initfini.
10871 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10872 returning unsuccessfully.
10873 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10874 close of a file loaded at startup, restore the original l_initfini
10876 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10877 list, store the pointer.
10878 * elf/Makefile ($(objpfx)noload-mem): New rule.
10879 (noload-ENV): Define.
10880 (tests): Add $(objpfx)noload-mem.
10881 * elf/noload.c: Include <memcheck.h>.
10882 (main): Call mtrace. Close all opened handles.
10884 2011-02-17 Andreas Schwab <schwab@redhat.com>
10887 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10888 dependencies are missing.
10890 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10892 Fix __if_freereq crash: Unlike the generic version which uses free,
10894 * sysdeps/mach/hurd/ifreq.h: New file.
10896 2011-01-27 Petr Baudis <pasky@suse.cz>
10897 Ulrich Drepper <drepper@gmail.com>
10900 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10901 to extend_alloca().
10902 * stdio-common/bug23.c: New file.
10903 * stdio-common/Makefile (tests): Add bug23.
10905 2010-09-28 Andreas Schwab <schwab@redhat.com>
10906 Ulrich Drepper <drepper@gmail.com>
10909 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10910 before performing relro protection. At old place add assertion
10911 to make sure nothing changed.
10913 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10914 Glauber de Oliveira Costa <glommer@gmail.com>
10916 * elf/elf.h: Add new ARM TLS relocs.
10918 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10921 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10923 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10925 * sysdeps/wordsize-64/tst-writev.c: New file.
10927 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10929 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10930 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10931 insns in _dl_start to prevent a TOC reference before relocs are
10934 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10937 * Makeconfig: Remove RANLIB definition.
10938 * Makerules: Don't use RANLIB.
10939 * aclocal.m4: Remove ranlib test.
10940 * configure.in: No need to check for ranlib.
10941 * elf/rtld-Rules: Don't use RANLIB.
10943 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10945 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10947 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10948 inclusion protection macro.
10950 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10951 SIGRTMIN and SIGRTMAX and print information in that case only when
10952 SIGRTMIN is defined.
10954 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10956 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10957 arginfo fn returning -1.
10959 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10960 and thousands string is zero terminated.
10962 2011-02-03 Andreas Schwab <schwab@redhat.com>
10964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10965 sysdeps/unix/sysv/linux/bits/socket.h.
10967 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10969 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10970 (__CPU_COUNT): Remove old macros.
10971 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10972 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10973 (__CPU_ALLOC, __CPU_FREE): Add macros.
10974 (__sched_cpualloc, __sched_cpufree): Add declarations.
10976 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10978 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10979 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10980 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10981 (readdhstai): Return value of addhstaiX call.
10982 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10983 (addgrbyX): Return value returned by cache_addgr.
10984 (readdgrbyname): Return value returned by addgrbyX.
10985 (readdgrbygid): Likewise.
10986 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10987 (addpwbyX): Return value returned by cache_addpw.
10988 (readdpwbyname): Return value returned by addhstbyX.
10989 (readdpwbyuid): Likewise.
10990 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10991 (addservbyX): Return value returned by cache_addserv.
10992 (readdservbyname): Return value returned by addservbyX:
10993 (readdservbyport): Likewise.
10994 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10995 (addhstbyX): Return value returned by cache_addhst.
10996 (readdhstbyname): Return value returned by addhstbyX.
10997 (readdhstbyaddr): Likewise.
10998 (readdhstbynamev6): Likewise.
10999 (readdhstbyaddrv6): Likewise.
11000 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11001 (readdinitgroups): Return value returned by addinitgroupsX.
11002 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11003 (prune_cache): Keep track of timeout value of re-added entries.
11004 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11005 * nscd/nscd.h: Adjust prototypes of readd* functions.
11007 2011-02-04 Roland McGrath <roland@redhat.com>
11009 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11010 (nis_stats): Likewise.
11011 * nis/nis_modify.c (nis_modify): Likewise.
11012 * nis/nis_remove.c (nis_remove): Likewise.
11013 * nis/nis_add.c (nis_add): Likewise.
11015 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11017 * posix/fnmatch_loop.c: Add some consts.
11019 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11021 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11024 * config.make.in (config-cflags-novzeroupper): Define.
11025 * configure.in: Substitute libc_cv_cc_novzeroupper.
11026 * elf/Makefile (AVX-CFLAGS): Define.
11027 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11028 (CFLAGS-tst-auditmod4a.c): Likewise.
11029 (CFLAGS-tst-auditmod4b.c): Likewise.
11030 (CFLAGS-tst-auditmod6b.c): Likewise.
11031 (CFLAGS-tst-auditmod6c.c): Likewise.
11032 (CFLAGS-tst-auditmod7b.c): Likewise.
11033 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11035 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11037 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11038 function to the callback.
11039 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11041 2011-02-02 Andreas Schwab <schwab@redhat.com>
11043 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11046 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11049 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11051 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11053 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11056 * elf/Makefile: Add rules to build and run new test.
11057 * elf/tst-initorder.c: New file.
11058 * elf/tst-initorder.exp: New file.
11059 * elf/tst-initordera1.c: New file.
11060 * elf/tst-initordera2.c: New file.
11061 * elf/tst-initordera3.c: New file.
11062 * elf/tst-initordera4.c: New file.
11063 * elf/tst-initorderb1.c: New file.
11064 * elf/tst-initorderb2.c: New file.
11065 * elf/tst-order-a1.c: New file.
11066 * elf/tst-order-a2.c: New file.
11067 * elf/tst-order-a3.c: New file.
11068 * elf/tst-order-a4.c: New file.
11069 * elf/tst-order-b1.c: New file.
11070 * elf/tst-order-b2.c: New file.
11071 * elf/tst-order-main.c: New file.
11072 New test case by George Gensure <werkt0@gmail.com>.
11074 2010-10-01 Andreas Schwab <schwab@redhat.com>
11076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11077 decoding ACE if AI_CANONIDN.
11079 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11081 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11083 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11085 * version.h (RELEASE): Bump for 2.13 release.
11086 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11088 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11090 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11092 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11093 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11094 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11095 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11096 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11097 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11099 * posix/getconf.c: Update copyright year.
11100 * catgets/gencat.c: Likewise.
11101 * csu/version.c: Likewise.
11102 * debug/catchsegv.sh: Likewise.
11103 * debug/xtrace.sh: Likewise.
11104 * elf/ldconfig.c: Likewise.
11105 * elf/ldd.bash.in: Likewise.
11106 * elf/sprof.c (print_version): Likewise.
11107 * iconv/iconv_prog.c: Likewise.
11108 * iconv/iconvconfig.c: Likewise.
11109 * locale/programs/locale.c: Likewise.
11110 * locale/programs/localedef.c: Likewise.
11111 * malloc/memusage.sh: Likewise.
11112 * malloc/mtrace.pl: Likewise.
11113 * nscd/nscd.c (print_version): Likewise.
11114 * nss/getent.c: Likewise.
11116 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11117 PF_CAIF, and PF_ALG.
11118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11120 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11122 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11123 (modules-names): Use them.
11124 (ifunc-test-modules, ifunc-pie-tests): Define.
11125 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11126 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11127 (test-extras): Likewise.
11128 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11129 $(compile-command.c).
11130 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11131 (all-built-dso): Define.
11132 (check-textrel.out, check-execstack.out): Depend on it.
11134 * configure.in: Don't override --enable-multi-arch.
11136 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11139 * nscd/hstcache.c (tryagain): Define.
11140 (cache_addhst): Return tryagain not notfound for temporary errors.
11141 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11144 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11147 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11148 to make the syscall.
11149 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11152 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11153 and fall back to matching as normal character if the string ends before
11154 the matching ']' is found. This is what POSIX requires.
11155 * posix/testfnm.c: Adjust test result.
11156 * posix/globtest.sh: Adjust test result. Add new test.
11157 * posix/tst-fnmatch.input: Likewise.
11158 * posix/tst-fnmatch2.c: Add new test.
11160 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11162 * elf/Makefile (check-execstack): Revert last change. Depend on
11164 (check-execstack.h): New target.
11165 (generated): Add check-execstack.h.
11166 * elf/check-execstack.c: Include "check-execstack.h".
11167 (main): Revert last change.
11168 (handle_file): Return zero if GNU_STACK is absent and
11169 DEFAULT_STACK_PERMS doesn't include PF_X.
11171 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11173 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11174 in child fails because the descriptor is already closed.
11175 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11176 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11177 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11180 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11184 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11185 temporary buffer used to handle multi lookups locally.
11186 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11188 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11190 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11193 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11195 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11196 alignment for SSE2.
11198 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11201 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11202 characters. When rounding increased number of integer digits recompute
11204 * stdio-common/tst-grouping.c: New file.
11205 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11207 2011-01-09 Ulrich Drepper <drepper@gmail.com>
11209 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11210 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11212 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11214 * bits/select.h: Likewise.
11216 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11218 * po/ja.po: Update from translation team.
11220 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11223 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11224 implementation just like for lxstat, fxstatat, et al.
11226 2010-12-27 Jim Meyering <meyering@redhat.com>
11229 * posix/regexec.c (build_trtable): Return failure indication upon
11230 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11232 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11235 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11236 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11237 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11238 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11241 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11244 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11245 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11247 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11249 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11250 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11251 script has SORT_BY_INIT_PRIORITY.
11252 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11253 NO_CTORS_DTORS_SECTIONS is defined.
11254 * elf/soinit.c: Likewise.
11255 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11256 NO_CTORS_DTORS_SECTIONS is defined.
11257 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11258 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11259 * sysdeps/sh/init-first.c: Likewise.
11260 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11262 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11264 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11265 always use the slow path.
11267 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11269 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11270 similar rule which adds the sysdep directories to the header search in
11271 order to pick up the correct platform stackinfo.h.
11272 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11273 perform test if it is, otherwise return successfully without testing.
11274 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11275 DEFAULT_STACK_PERMS define in stackinfo.h.
11276 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11277 defined in stackinfo.h.
11278 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11279 DEFAULT_STACK_PERMS defined in stackinfo.h.
11280 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11281 * sysdeps/ia64/stackinfo.h: Likewise.
11282 * sysdeps/s390/stackinfo.h: Likewise.
11283 * sysdeps/sh/stackinfo.h: Likewise.
11284 * sysdeps/sparc/stackinfo.h: Likewise.
11285 * sysdeps/x86_64/stackinfo.h: Likewise.
11286 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11287 PF_X for powerpc64. Retain PF_X for powerpc32.
11289 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11291 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11293 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11294 GETDENTS_64BIT_ALIGNED.
11296 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11298 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11300 2010-12-10 Andreas Schwab <schwab@redhat.com>
11302 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11305 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11306 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11308 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11309 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11311 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11314 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11317 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11319 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11321 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11323 * po/it.po: Update from translation team.
11325 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11330 2010-11-30 Ulrich Drepper <drepper@gmail.com>
11332 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11334 2010-11-24 Andreas Schwab <schwab@redhat.com>
11336 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11338 (gaih_getanswer_slice): Likewise.
11340 2010-10-20 Jakub Jelinek <jakub@redhat.com>
11342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11344 2010-05-31 Petr Baudis <pasky@suse.cz>
11347 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11348 silently even in the chroot mode.
11350 2010-11-22 Ulrich Drepper <drepper@gmail.com>
11352 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11353 last patch a bit. Pretty printing
11355 2010-05-31 Petr Baudis <pasky@suse.cz>
11358 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11359 initialization of skip_initgroups_dyn.
11361 2010-11-19 Ulrich Drepper <drepper@gmail.com>
11363 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11364 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11366 2010-11-16 Ulrich Drepper <drepper@gmail.com>
11368 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11370 2010-11-11 Andreas Schwab <schwab@redhat.com>
11372 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11373 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11374 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11375 ($(objpfx)tst-fnmatch-mem): New rule.
11376 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11377 * posix/tst-fnmatch.c (main): Call mtrace.
11379 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11382 Support Intel processor model 6 and model 0x2c.
11384 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
11386 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11389 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11392 * string/test-strncasecmp.c (check_result): New function.
11393 (do_one_test): Use it.
11394 (check1): New function.
11395 (test_main): Use it.
11396 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11397 Support strcasecmp and strncasecmp.
11399 2010-11-08 Ulrich Drepper <drepper@gmail.com>
11402 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11403 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11405 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11407 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11411 * sysdeps/x86_64/multiarch/bzero.S: New file.
11412 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11413 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11414 * sysdeps/x86_64/multiarch/memset.S: New file.
11415 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11417 Set bit_Prefer_SSE_for_memop for Intel processors.
11418 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11420 (index_Prefer_SSE_for_memop): Define.
11421 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11423 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
11425 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11426 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11428 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11431 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11432 (__x86_64_raw_data_cache_size_half): Likewise.
11433 (__x86_64_raw_shared_cache_size): Likewise.
11434 (__x86_64_raw_shared_cache_size_half): Likewise.
11436 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11437 (__x86_64_raw_data_cache_size_half): Likewise.
11438 (__x86_64_raw_shared_cache_size): Likewise.
11439 (__x86_64_raw_shared_cache_size_half): Likewise.
11440 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11441 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11442 and __x86_64_raw_shared_cache_size_half. Round
11443 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11444 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11445 to multiple of 256 bytes.
11447 2010-11-03 Ulrich Drepper <drepper@gmail.com>
11450 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11451 of inacessible symlinks. Verify result of symlink before returning it.
11452 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11453 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11455 2010-10-28 Erich Ritz <erichritz@gmail.com>
11457 * math/math.h (isinf): Fix typo in comment.
11459 2010-11-01 Ulrich Drepper <drepper@gmail.com>
11461 * po/da.po: Update from translation team.
11463 2010-10-26 Ulrich Drepper <drepper@gmail.com>
11465 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11466 is added to the list.
11468 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11469 Ulrich Drepper <drepper@gmail.com>
11471 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11472 the global list here. Move code to...
11473 (_dl_add_to_namespace_list): ...here. New function.
11474 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11475 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11476 * elf/dl-load.c (lose): Don't remove the element from the list.
11477 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11478 (_dl_map_object): Likewise.
11480 2010-10-25 Ulrich Drepper <drepper@gmail.com>
11483 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11484 into all bytes of SSE register.
11485 Patch by Richard Li <richardpku@gmail.com>.
11487 2010-10-24 Ulrich Drepper <drepper@gmail.com>
11490 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11493 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11495 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11496 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11497 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11498 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11503 2010-10-22 Andreas Schwab <schwab@redhat.com>
11505 * include/dlfcn.h (__RTLD_SECURE): Define.
11506 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11507 mode & __RTLD_SECURE instead.
11508 (open_path): Rename preloaded parameter to secure.
11509 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11510 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11511 * elf/dl-deps.c (openaux): Likewise.
11512 * elf/rtld.c (struct map_args): Remove is_preloaded.
11513 (map_doit): Don't use it.
11514 (dl_main): Likewise.
11515 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11516 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11518 2010-09-09 Andreas Schwab <schwab@redhat.com>
11520 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11521 (sysd-rules-targets): Remove duplicates.
11522 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11523 rtld-%.$o dependency.
11525 2010-10-18 Andreas Schwab <schwab@redhat.com>
11527 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11528 _dl_map_object do it.
11530 2010-10-19 Ulrich Drepper <drepper@gmail.com>
11532 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11533 fast fma builtins, define the macros in the C99 standard.
11534 (FP_FAST_FMAF): Likewise.
11535 (FP_FAST_FMAL): Likewise.
11536 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11538 * bits/mathdef.h: Update copyright year.
11539 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11541 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11543 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11544 builtins, define the macros in the C99 standard.
11545 (FP_FAST_FMAF): Likewise.
11546 (FP_FAST_FMAL): Likewise.
11547 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11549 (FP_FAST_FMAF): Likewise.
11551 2010-10-15 Jakub Jelinek <jakub@redhat.com>
11554 * math/libm-test.inc (fma_test): Some new testcases.
11555 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11556 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11557 y and infinite z. Do multiplication by C already in long double.
11558 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11560 y and infinite z. Do bitwise or of inexact bit into u.d.
11561 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11562 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11563 * sysdeps/i386/fpu/s_fma.S: Removed.
11564 * sysdeps/i386/fpu/s_fmal.S: Removed.
11566 2010-10-16 Jakub Jelinek <jakub@redhat.com>
11569 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11571 computation is not scheduled after fetestexcept. Fix value
11572 of minimum denormal long double.
11574 2010-10-14 Jakub Jelinek <jakub@redhat.com>
11577 * math/libm-test.inc (fma_test): Add some more tests.
11578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11581 2010-10-15 Andreas Schwab <schwab@redhat.com>
11583 * scripts/data/localplt-s390-linux-gnu.data: New file.
11584 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11586 2010-10-13 Jakub Jelinek <jakub@redhat.com>
11589 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11590 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11592 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11594 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11596 if one of x and y is very large and the other is subnormal.
11597 * sysdeps/s390/fpu/s_fmaf.c: New file.
11598 * sysdeps/s390/fpu/s_fma.c: New file.
11599 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11600 * sysdeps/powerpc/fpu/s_fma.S: New file.
11601 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11602 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11603 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11605 2010-10-12 Jakub Jelinek <jakub@redhat.com>
11608 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11610 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11611 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11612 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11613 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11614 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11615 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11616 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11618 2010-10-12 Ulrich Drepper <drepper@redhat.com>
11621 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11622 * posix/bug-regex31.input: Add test case.
11624 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11626 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11627 * posix/bug-regex31.input: New file.
11630 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11631 (parse_sub_exp): Fix last change, use postorder.
11633 * posix/bug-regex31.c: New file.
11634 * posix/Makefile: Add rules to build and run bug-regex31.
11636 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11639 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11642 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11643 to have entries in sys_siglist.
11646 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11649 2010-10-07 Jakub Jelinek <jakub@redhat.com>
11652 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11653 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11654 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11655 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11656 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11657 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11658 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11659 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11660 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11661 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11662 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11663 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11664 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11665 * math/ftestexcept.c (fetestexcept): Likewise.
11666 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11667 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11668 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11669 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11670 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11671 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11672 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11674 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11677 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11680 2010-10-06 Ulrich Drepper <drepper@gmail.com>
11682 * string/bug-strstr1.c: New file.
11683 * string/Makefile: Add rules to build and run bug-strstr1.
11685 2010-10-05 Eric Blake <eblake@redhat.com>
11688 * string/str-two-way.h (two_way_long_needle): Always clear memory
11689 when skipping input due to the shift table.
11691 2010-10-03 Ulrich Drepper <drepper@gmail.com>
11694 * malloc/mcheck.c: Handle large requests.
11697 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11698 for strncmp and strncasecmp.
11699 * string/stratcliff.c: Add tests for strcmp and strncmp.
11700 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11702 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11704 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11707 2010-09-30 Andreas Jaeger <aj@suse.de>
11709 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11710 (CGROUP_SUPER_MAGIC): Define.
11711 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11712 Handle btrfs and cgroup file systems.
11713 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11716 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
11718 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11719 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11721 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11724 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11725 trying to locate the ELF header.
11727 2010-09-27 Andreas Schwab <schwab@redhat.com>
11730 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11731 Mask out sign-bit copies when constructing f_fsid.
11733 2010-09-24 Petr Baudis <pasky@suse.cz>
11735 * debug/stack_chk_fail_local.c: Add missing licence exception.
11736 * debug/warning-nop.c: Likewise.
11738 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11740 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11741 implementing getdents64 using getdents syscall, set d_type if
11742 __ASSUME_GETDENTS32_D_TYPE.
11744 2010-09-16 Andreas Schwab <schwab@redhat.com>
11746 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11747 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11749 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11752 * posix/unistd.h: Undo change of feature selection for ftruncate from
11755 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11757 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11760 2010-09-20 Andreas Schwab <schwab@redhat.com>
11762 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11764 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11766 2010-09-14 Andreas Schwab <schwab@redhat.com>
11768 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11769 variables after CHECK_SP call.
11770 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11772 2010-09-13 Andreas Schwab <schwab@redhat.com>
11773 Ulrich Drepper <drepper@redhat.com>
11775 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11776 re-relocationg ld.so.
11777 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11778 _dl_init_paths call.
11779 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11782 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11784 * resolv/res_init.c (__res_vinit): Count the default server we added.
11786 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11787 Ulrich Drepper <drepper@redhat.com>
11790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11791 (____longjmp_chk): Use %ebx for saving value across system call.
11794 2010-09-06 Andreas Schwab <schwab@redhat.com>
11796 * manual/Makefile: Don't mix pattern rules with normal rules.
11798 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11800 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11802 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11803 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11804 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11805 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11809 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11812 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11813 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11815 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11817 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11818 * sysdeps/x86_64/addmul_1.S: Likewise.
11819 * sysdeps/x86_64/lshift.S: Likewise.
11820 * sysdeps/x86_64/mul_1.S: Likewise.
11821 * sysdeps/x86_64/rshift.S: Likewise.
11822 * sysdeps/x86_64/sub_n.S: Likewise.
11823 * sysdeps/x86_64/submul_1.S: Likewise.
11825 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11827 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11828 Define __sched_param instead of SCHED_* and sched_param when
11829 <bits/sched.h> is included with __need_schedparam defined.
11830 * bits/sched.h [__need_schedparam]
11831 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11832 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11833 (__defined_schedparam): Define to 1.
11834 (__sched_param): New structure, identical to sched_param.
11835 (__need_schedparam): Undefine.
11837 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11839 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11840 (epoll_create1): Declare.
11842 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11844 2010-08-31 Andreas Schwab <schwab@redhat.com>
11847 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11848 shifting retval into place.
11850 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11852 * nis/rpcsvc/nis.h: Update copyright notice.
11853 * nis/rpcsvc/nis.x: Likewise.
11854 * nis/rpcsvc/nis_callback.h: Likewise.
11855 * nis/rpcsvc/nis_callback.x: Likewise.
11856 * nis/rpcsvc/nis_object.x: Likewise.
11857 * nis/rpcsvc/nis_tags.h: Likewise.
11858 * nis/rpcsvc/yp.h: Likewise.
11859 * nis/rpcsvc/yp.x: Likewise.
11860 * nis/rpcsvc/ypupd.h: Likewise.
11861 * nis/yp_xdr.c: Likewise.
11862 * nis/ypupdate_xdr.c: Likewise.
11864 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11865 mainly the body of pmap_getport. Add parameters to specify timeouts.
11866 (pmap_getport): Use __libc_rpc_getport.
11867 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11868 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11869 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11871 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11876 2010-08-27 Roland McGrath <roland@redhat.com>
11878 * sysdeps/i386/i686/multiarch/Makefile
11879 (CFLAGS-varshift.c): New variable.
11881 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11883 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11884 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11886 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11888 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11890 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11892 * sysdeps/x86_64/strlen.S: Unroll the loop.
11893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11894 strlen-sse2 strlen-sse2-bsf.
11895 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11896 __strlen_no_bsf if bit_Slow_BSF is set.
11897 (__strlen_sse42): Removed.
11898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11899 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11901 2010-08-25 Roland McGrath <roland@redhat.com>
11903 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11904 * sysdeps/x86_64/multiarch/varshift.c: New file.
11905 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11906 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11907 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11908 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11910 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11913 strlen-sse2 strlen-sse2-bsf.
11914 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11915 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11916 (__strlen_sse2): Removed.
11917 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11918 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11920 bit_Slow_BSF for Atom.
11921 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11922 (index_Slow_BSF): Define.
11923 (HAS_SLOW_BSF): Define.
11925 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11928 * resolv/res_init.c (__res_vinit): When no server address at all
11929 is given default to loopback.
11931 2010-08-24 Roland McGrath <roland@redhat.com>
11933 * configure.in: Remove config-name.h generation.
11934 * configure: Regenerated.
11935 * config-name.in: File removed.
11936 * scripts/config-uname.sh: New file.
11937 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11938 ($(objdir)config-name.h): New target.
11940 * sunrpc/rpc_parse.h: Avoid nested comment.
11942 2010-08-24 Richard Henderson <rth@redhat.com>
11943 Ulrich Drepper <drepper@redhat.com>
11944 H.J. Lu <hongjiu.lu@intel.com>
11946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11948 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11949 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11950 _mm_alignr_epi8 with _mm_loadu_si128.
11951 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11952 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11953 (__m128i_shift_right): Removed.
11954 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11955 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11956 * sysdeps/x86_64/multiarch/varshift.h: New file.
11957 * sysdeps/x86_64/multiarch/varshift.S: New file.
11959 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11961 * configure.in: Move assembler checks to before sysdep dir checking.
11963 2010-08-20 Petr Baudis <pasky@suse.cz>
11965 * LICENSES: Sync the sunrpc license.
11967 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11969 * sunrpc/auth_des.c: Update copyright notice once again.
11970 * sunrpc/auth_none.c: Likewise.
11971 * sunrpc/auth_unix.c: Likewise.
11972 * sunrpc/authdes_prot.c: Likewise.
11973 * sunrpc/authuxprot.c: Likewise.
11974 * sunrpc/bindrsvprt.c: Likewise.
11975 * sunrpc/clnt_gen.c: Likewise.
11976 * sunrpc/clnt_perr.c: Likewise.
11977 * sunrpc/clnt_raw.c: Likewise.
11978 * sunrpc/clnt_simp.c: Likewise.
11979 * sunrpc/clnt_tcp.c: Likewise.
11980 * sunrpc/clnt_udp.c: Likewise.
11981 * sunrpc/clnt_unix.c: Likewise.
11982 * sunrpc/des_crypt.c: Likewise.
11983 * sunrpc/des_soft.c: Likewise.
11984 * sunrpc/get_myaddr.c: Likewise.
11985 * sunrpc/getrpcport.c: Likewise.
11986 * sunrpc/key_call.c: Likewise.
11987 * sunrpc/key_prot.c: Likewise.
11988 * sunrpc/openchild.c: Likewise.
11989 * sunrpc/pm_getmaps.c: Likewise.
11990 * sunrpc/pm_getport.c: Likewise.
11991 * sunrpc/pmap_clnt.c: Likewise.
11992 * sunrpc/pmap_prot.c: Likewise.
11993 * sunrpc/pmap_prot2.c: Likewise.
11994 * sunrpc/pmap_rmt.c: Likewise.
11995 * sunrpc/rpc/auth.h: Likewise.
11996 * sunrpc/rpc/auth_unix.h: Likewise.
11997 * sunrpc/rpc/clnt.h: Likewise.
11998 * sunrpc/rpc/des_crypt.h: Likewise.
11999 * sunrpc/rpc/key_prot.h: Likewise.
12000 * sunrpc/rpc/netdb.h: Likewise.
12001 * sunrpc/rpc/pmap_clnt.h: Likewise.
12002 * sunrpc/rpc/pmap_prot.h: Likewise.
12003 * sunrpc/rpc/pmap_rmt.h: Likewise.
12004 * sunrpc/rpc/rpc.h: Likewise.
12005 * sunrpc/rpc/rpc_des.h: Likewise.
12006 * sunrpc/rpc/rpc_msg.h: Likewise.
12007 * sunrpc/rpc/svc.h: Likewise.
12008 * sunrpc/rpc/svc_auth.h: Likewise.
12009 * sunrpc/rpc/types.h: Likewise.
12010 * sunrpc/rpc/xdr.h: Likewise.
12011 * sunrpc/rpc_clntout.c: Likewise.
12012 * sunrpc/rpc_cmsg.c: Likewise.
12013 * sunrpc/rpc_common.c: Likewise.
12014 * sunrpc/rpc_cout.c: Likewise.
12015 * sunrpc/rpc_dtable.c: Likewise.
12016 * sunrpc/rpc_hout.c: Likewise.
12017 * sunrpc/rpc_main.c: Likewise.
12018 * sunrpc/rpc_parse.c: Likewise.
12019 * sunrpc/rpc_parse.h: Likewise.
12020 * sunrpc/rpc_prot.c: Likewise.
12021 * sunrpc/rpc_sample.c: Likewise.
12022 * sunrpc/rpc_scan.c: Likewise.
12023 * sunrpc/rpc_scan.h: Likewise.
12024 * sunrpc/rpc_svcout.c: Likewise.
12025 * sunrpc/rpc_tblout.c: Likewise.
12026 * sunrpc/rpc_util.c: Likewise.
12027 * sunrpc/rpc_util.h: Likewise.
12028 * sunrpc/rpcinfo.c: Likewise.
12029 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12030 * sunrpc/rpcsvc/key_prot.x: Likewise.
12031 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12032 * sunrpc/rpcsvc/mount.x: Likewise.
12033 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12034 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12035 * sunrpc/rpcsvc/rex.x: Likewise.
12036 * sunrpc/rpcsvc/rstat.x: Likewise.
12037 * sunrpc/rpcsvc/rusers.x: Likewise.
12038 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12039 * sunrpc/rpcsvc/spray.x: Likewise.
12040 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12041 * sunrpc/rtime.c: Likewise.
12042 * sunrpc/svc.c: Likewise.
12043 * sunrpc/svc_auth.c: Likewise.
12044 * sunrpc/svc_authux.c: Likewise.
12045 * sunrpc/svc_raw.c: Likewise.
12046 * sunrpc/svc_run.c: Likewise.
12047 * sunrpc/svc_simple.c: Likewise.
12048 * sunrpc/svc_tcp.c: Likewise.
12049 * sunrpc/svc_udp.c: Likewise.
12050 * sunrpc/svc_unix.c: Likewise.
12051 * sunrpc/svcauth_des.c: Likewise.
12052 * sunrpc/xcrypt.c: Likewise.
12053 * sunrpc/xdr.c: Likewise.
12054 * sunrpc/xdr_array.c: Likewise.
12055 * sunrpc/xdr_float.c: Likewise.
12056 * sunrpc/xdr_mem.c: Likewise.
12057 * sunrpc/xdr_rec.c: Likewise.
12058 * sunrpc/xdr_ref.c: Likewise.
12059 * sunrpc/xdr_sizeof.c: Likewise.
12060 * sunrpc/xdr_stdio.c: Likewise.
12062 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12065 2010-08-19 Andreas Schwab <schwab@redhat.com>
12067 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12069 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12071 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12072 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12073 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12074 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12075 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12076 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12077 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12078 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12079 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12080 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12081 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12082 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12083 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12084 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12086 2010-07-26 Anton Blanchard <anton@samba.org>
12088 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12089 * malloc/arena.c (heap_trim): Likewise.
12091 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12093 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12095 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12096 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12098 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12100 * sysdeps/i386/elf/Makefile: New file.
12102 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12104 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12105 from fanotify_init.
12106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12109 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12111 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12113 * sysdeps/multiarch/strcmp.S: Likewise.
12115 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12117 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12118 strncase_l-nonascii.
12119 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12120 Add strncase_l-ssse3.
12121 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12122 * sysdeps/x86_64/strcmp.S: Likewise.
12123 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12124 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12125 * sysdeps/x86_64/strncase.S: New file.
12126 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12127 * sysdeps/x86_64/strncase_l.S: New file.
12128 * string/Makefile (strop-tests): Add strncasecmp.
12129 * string/test-strncasecmp.c: New file.
12131 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12134 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12135 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12137 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12139 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12141 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12143 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12144 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12145 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12147 2010-05-01 Alan Modra <amodra@gmail.com>
12149 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12150 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12151 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12152 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12153 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12154 tidying. Don't tail-call __sigjmp_save for static lib.
12155 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12157 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12158 (CALL_MCOUNT): Add eh info, and nop after bl.
12159 (TAIL_CALL_SYSCALL_ERROR): New macro.
12160 (PSEUDO_RET): Use it.
12161 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12162 Correct save location of integer regs and cr.
12163 (_dl_profile_resolve): Correct cr save location. Delete nops
12164 after bl when SHARED. Reduce cfi size a little by better
12165 placement of cfi directives.
12166 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12167 make a stack frame. Instead use parm save area as a temp.
12168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12169 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12171 Don't make a stack frame for parent, use parm save area.
12172 Increase child stack frame to 112 bytes. Don't save unused reg,
12173 and adjust reg usage. Set up cfi on error recovery and
12174 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12176 (__makecontext): Add dummy nop after jump to exit.
12177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12178 Use correct parm save area and cr save, reduce stack frame.
12179 Correct cfi for possible PSEUDO_RET frame setup.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12181 Branch to local label emitted by PSEUDO_RET rather than
12184 2010-08-12 Andreas Schwab <schwab@redhat.com>
12187 * locale/programs/locale.c (print_assignment): New function.
12188 (show_locale_vars): Use it.
12190 2010-08-11 Ulrich Drepper <drepper@redhat.com>
12192 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12194 (struct statfs64): Likewise.
12195 (_STATFS_F_FLAGS): Define.
12196 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12197 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12198 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12199 (ST_VALID): Define locally.
12200 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12201 __statvfs_getflags, use the provided value.
12202 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12203 __ASSUME_STATFS_F_FLAGS.
12205 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12207 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12208 Add sys/fanotify.h.
12209 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12210 fanotify_mask for GLIBC_2.13.
12211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12212 fanotify_init and fanotify_mark.
12213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12214 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12216 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12218 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12219 prlimit64 for GLIBC_2.13.
12220 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12222 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12225 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12226 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12227 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12230 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12233 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12234 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12236 * nss/Makefile: Add rules to build and run tst-nss-test1.
12237 * shlib-versions: Add entry for libnss_test1.
12238 * nss/nss_test1.c: New file.
12239 * nss/tst-nss-test1.c: New file.
12241 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12242 (__nss_configure_lookup): Set appropriate entry in
12243 __nss_configure_lookup to true.
12244 * nss/nsswitch.h: Define enum with indeces of databases in
12245 databases and __nss_database_custom arrays. Declare
12246 __nss_database_custom.
12247 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12248 to avoid using nscd when custom rules are installed.
12249 * nss/getXXbyYY_r.c: Likewise.
12250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12252 * nss/nss_files/files-parse.c: Whitespace fixes.
12254 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12257 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12258 * posix/fnmatch_loop.c: Likewise.
12260 2010-07-17 Andi Kleen <ak@linux.intel.com>
12262 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12263 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12264 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12265 * Versions.def [GLIBC_2.13]: Add.
12267 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12269 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12270 Also fail if tpwd after pwuid call is NULL.
12272 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12274 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12275 when converting to ms.
12277 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12279 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12280 EOPNOTSUPP errors with ENOTTY.
12281 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12282 EOPNOTSUPP errors with ENOTTY.
12284 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12286 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12287 Add strcasecmp_l-ssse3.
12288 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12290 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12291 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12292 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12294 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12296 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12298 * string/Makefile (strop-tests): Add strcasecmp.
12299 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12300 strcasecmp_l-nonascii.
12301 (gen-as-const-headers): Add locale-defines.sym.
12302 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12303 * sysdeps/x86_64/strcasecmp.S: New file.
12304 * sysdeps/x86_64/strcasecmp_l.S: New file.
12305 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12306 * sysdeps/x86_64/locale-defines.sym: New file.
12307 * string/test-strcasecmp.c: New file.
12309 * string/test-strcasestr.c: Test both ends of the range of characters.
12310 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12312 2010-07-29 Roland McGrath <roland@redhat.com>
12315 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12317 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12319 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12322 2010-07-27 Andreas Schwab <schwab@redhat.com>
12324 * manual/memory.texi (Malloc Tunable Parameters): Document
12327 2010-07-26 Roland McGrath <roland@redhat.com>
12330 * configure.in (-fgnu89-inline check): Set and substitute
12331 gnu89_inline, not libc_cv_gnu89_inline.
12332 * configure: Regenerated.
12333 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12335 2010-07-26 Ulrich Drepper <drepper@redhat.com>
12337 * string/test-strnlen.c: New file.
12338 * string/Makefile (strop-tests): Add strnlen.
12339 * string/tester.c (test_strnlen): Add a few more test cases.
12340 * string/tst-strlen.c: Better error reporting.
12342 * sysdeps/x86_64/strnlen.S: New file.
12344 2010-07-24 Ulrich Drepper <drepper@redhat.com>
12346 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12347 lower-latency instructions.
12349 2010-07-23 Ulrich Drepper <drepper@redhat.com>
12351 * string/test-strcasestr.c: New file.
12352 * string/test-strstr.c: New file.
12353 * string/Makefile (strop-tests): Add strstr and strcasestr.
12354 * string/str-two-way.h: Don't undefine MAX.
12355 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12357 2010-07-21 Andreas Schwab <schwab@redhat.com>
12359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12360 strcasestr-nonascii.
12361 (CFLAGS-strcasestr-nonascii.c): Define.
12362 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12364 Remove unused attribute.
12366 2010-07-20 Roland McGrath <roland@redhat.com>
12368 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12369 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12370 ld.so.cache was broken. With it, there is no way to disable dsocaps
12371 like LD_HWCAP_MASK can disable hwcaps.
12373 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12375 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12377 2010-07-16 Ulrich Drepper <drepper@redhat.com>
12379 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12380 call in strcasestr.
12381 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12382 __strcasestr_sse42_nonascii.
12383 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12384 strcasestr-nonascii.c.
12385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12387 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
12389 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12390 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12391 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12392 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12394 2010-07-09 Ulrich Drepper <drepper@redhat.com>
12396 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12399 2010-07-06 Andreas Schwab <schwab@redhat.com>
12402 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12405 2010-07-06 Ulrich Drepper <drepper@redhat.com>
12407 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12408 _PC_PIPE_BUF using F_GETPIPE_SZ.
12410 2010-07-05 Roland McGrath <roland@redhat.com>
12412 * manual/arith.texi (Rounding Functions): Fix rint description
12413 implicit in round description.
12415 2010-07-02 Ulrich Drepper <drepper@redhat.com>
12417 * elf/Makefile: Fix linking for a few tests to make recent linker
12420 2010-06-30 Andreas Schwab <schwab@redhat.com>
12422 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12423 $(common-objpfx)libc_nonshared.a.
12425 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
12427 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12428 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12429 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12430 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12431 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12432 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12433 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12434 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12449 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12450 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12451 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12452 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12453 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12454 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12455 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12456 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12457 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12458 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12459 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12460 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12476 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12478 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12479 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12480 * string/memmove.c (memmove): Renamed to ...
12481 (MEMMOVE): ...this. Default to memmove.
12482 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12483 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12486 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12487 mempcpy-ssse3-back memmove-ssse3-back.
12488 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12489 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12490 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12491 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12492 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12493 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12494 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12495 * sysdeps/x86_64/multiarch/memmove.c: New file.
12496 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12497 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12498 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12499 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12500 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12501 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12503 (index_Fast_Copy_Backward): Define.
12504 (HAS_ARCH_FEATURE): Define.
12505 (HAS_FAST_REP_STRING): Define.
12506 (HAS_FAST_COPY_BACKWARD): Define.
12508 2010-06-21 Andreas Schwab <schwab@redhat.com>
12510 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12511 Restore proper fallback handling.
12513 2010-06-19 Ulrich Drepper <drepper@redhat.com>
12516 * posix/group_member.c (__group_member): Correct checking loop.
12518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12519 OOM in getpwuid_r correctly. Return error number when the caller
12520 should return, otherwise -1.
12521 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12522 call returning > 0 value.
12523 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12525 2010-06-07 Andreas Schwab <schwab@redhat.com>
12527 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12528 libc_nonshared.a from targets in modules-names.
12530 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12532 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12535 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
12537 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12538 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12540 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12542 2010-06-02 Andreas Schwab <schwab@redhat.com>
12544 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12546 2010-06-14 Ulrich Drepper <drepper@redhat.com>
12548 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12550 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12551 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12552 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12554 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12557 2010-06-14 Roland McGrath <roland@redhat.com>
12559 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12561 2010-06-07 Jakub Jelinek <jakub@redhat.com>
12563 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12564 __REDIRECT followed by __THROW.
12565 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12566 * posix/getopt.h (getopt): Likewise.
12568 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12570 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12571 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12572 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12574 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12575 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12577 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
12579 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12581 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12585 Properly check family and model.
12587 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12589 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12591 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
12593 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12595 2010-05-21 Ulrich Drepper <drepper@redhat.com>
12597 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12600 2010-05-19 Andreas Schwab <schwab@redhat.com>
12602 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12605 2010-05-21 Andreas Schwab <schwab@redhat.com>
12607 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12608 and internal_recvmmsg.
12609 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12610 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12611 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12612 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12614 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12615 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12616 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12618 2010-05-20 Andreas Schwab <schwab@redhat.com>
12620 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12622 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
12624 POWER7 optimizations.
12625 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12626 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12628 2010-05-19 Ulrich Drepper <drepper@redhat.com>
12630 * version.h: Update for 2.13 development version.
12632 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
12634 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12635 exceptions. Return 0.
12637 2010-05-07 Roland McGrath <roland@redhat.com>
12639 * elf/ldconfig.c (main): Add a const.
12641 2010-05-06 Ulrich Drepper <drepper@redhat.com>
12643 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12644 (args_options): Add no-idn option.
12645 (ahosts_keys_int): Add idn_flags to ai_flags.
12646 (parse_option): Handle 'i' option to clear idn_flags.
12648 * malloc/malloc.c (_int_free): Possible race in the most recently
12649 added check. Only act on the data if no current modification
12652 See ChangeLog.17 for earlier changes.