1 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3 * conform/conformtest.pl: Only accept expected constant or
4 optional-constant values with "==". Parse all "constant" lines in
5 one place. Parse all "optional-constant" lines in one place.
6 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7 * conform/data/fmtmsg.h-data: Likewise.
8 * conform/data/netinet/in.h-data: Likewise.
9 * conform/data/tar.h-data: Likewise.
10 * conform/data/limits.h-data: Use "==" form on "constant" and
11 "optional-constant" lines.
13 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14 Use -std=c99 for XOPEN2K.
15 (@knownproblems): Remove.
16 (newtoken): Don't check %isknown.
18 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
28 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
46 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50 [XPG3] (acosh): Likewise.
51 [XPG3] (asinh): Likewise.
52 [XPG3] (atanh): Likewise.
53 [XPG3] (cbrt): Likewise.
54 [XPG3] (expm1): Likewise.
55 [XPG3] (ilogb): Likewise.
56 [XPG3] (log1p): Likewise.
57 [XPG3] (logb): Likewise.
58 [XPG3] (nextafter): Likewise.
59 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
61 [XPG3] (remainder): Likewise.
62 [XPG3] (rint): Likewise.
63 [XPG3 || XPG4 || UNIX98] (round): Likewise.
64 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
69 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70 [UNIX98 || XOPEN2K] (scalb): Expect.
71 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
72 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
74 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
75 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
76 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
78 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
79 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
80 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
81 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
82 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
84 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
85 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
86 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
87 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
88 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
89 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
90 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
91 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
92 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
93 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
94 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
95 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
96 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
97 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
98 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
99 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
100 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
101 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
102 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
103 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
104 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
105 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
106 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
107 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
108 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
109 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
110 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
111 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
112 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
113 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
114 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
115 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
116 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
117 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
118 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
119 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
120 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
121 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
122 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
123 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
124 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
125 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
126 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
127 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
128 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
129 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
130 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
131 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
132 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
133 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
134 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
135 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
136 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
137 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
138 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
139 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
140 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
141 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
142 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
143 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
144 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
145 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
146 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
147 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
148 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
149 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
150 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
151 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
152 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
153 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
154 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
155 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
156 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
157 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
158 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
159 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
160 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
161 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
162 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
163 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
164 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
165 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
166 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
167 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
168 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
169 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
170 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
171 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
172 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
173 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
174 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
175 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
176 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
177 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
178 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
179 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
180 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
181 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
182 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
183 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
184 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
185 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
186 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
187 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
188 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
189 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
190 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
191 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
192 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
193 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
194 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
195 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
196 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
197 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
198 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
199 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
200 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
201 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
202 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
203 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
204 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
205 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
206 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
207 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
209 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
210 _XOPEN_SOURCE_EXTENDED for XPG4.
212 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
214 * Makeconfig (localtime): Remove variable.
215 (inst_localtime-file): Likewise.
217 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
238 2012-05-01 Joseph Myers <joseph@codesourcery.com>
242 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
243 comparisons to determine direction to adjust input.
244 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
245 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
246 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
248 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
250 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
252 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
253 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
255 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
257 * math/libm-test.inc (nexttoward_test): Add more tests.
259 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
262 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
263 in version GLIBC_2.1, not GLIBC_2.0.
264 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
267 2012-04-30 Joseph Myers <joseph@codesourcery.com>
270 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
272 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
273 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
274 * math/libm-test.inc (acos_test): Add more tests.
275 (asin_test): Likewise.
276 * sysdeps/i386/fpu/libm-test-ulps: Update.
277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
280 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
282 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
283 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
284 * math/libm-test.inc (acos_test_tonearest): New function.
285 (acos_test_towardzero): Likewise.
286 (acos_test_downward): Likewise.
287 (acos_test_upward): Likewise.
288 (asin_test_tonearest): Likewise.
289 (asin_test_towardzero): Likewise.
290 (asin_test_downward): Likewise.
291 (asin_test_upward): Likewise.
292 (main): Call the new functions.
293 * sysdeps/i386/fpu/libm-test-ulps: Update.
294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
298 * math/e_exp10.c: Include <float.h>.
299 (__ieee754_exp10): Handle underflow here rather than multiplying
300 large negative argument by M_LN10.
301 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
303 * math/e_exp10l.c: Include <float.h>.
304 (__ieee754_exp10l): Handle underflow here rather than multiplying
305 large negative argument by M_LN10l.
306 * math/libm-test.inc (exp10_test): Add another test. Do not allow
307 spurious overflow exception on underflow.
309 2012-04-29 Marek Polacek <polacek@redhat.com>
311 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
312 (__fortify_function): New macro.
313 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
314 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
315 __extern_always_inline.
316 * libio/bits/stdio2.h: Likewise.
317 * libio/bits/stdio.h: Likewise.
318 * string/string.h: Likewise.
319 * string/bits/string3.h: Likewise.
320 * include/stdio.h: Likewise.
321 * stdlib/bits/stdlib.h: Likewise.
322 * stdlib/stdlib.h: Likewise.
323 * rt/bits/mqueue2.h: Likewise.
324 * rt/mqueue.h: Likewise.
325 * posix/bits/unistd.h: Likewise.
326 * posix/unistd.h: Likewise.
327 * io/bits/poll2.h: Likewise.
328 * io/bits/fcntl2.h: Likewise.
329 * io/fcntl.h: Likewise.
330 * io/sys/poll.h: Likewise.
331 * misc/bits/syslog.h: Likewise.
332 * misc/bits/syslog-ldbl.h: Likewise.
333 * misc/sys/syslog.h: Likewise.
334 * socket/bits/socket2.h: Likewise.
335 * socket/sys/socket.h: Likewise.
336 * debug/tst-chk1.c: Likewise.
337 * wcsmbs/bits/wchar2.h: Likewise.
338 * wcsmbs/bits/wchar-ldbl.h: Likewise.
339 * wcsmbs/wchar.h: Likewise.
341 2012-04-29 Andreas Jaeger <aj@suse.de>
343 * Makerules (tests): Remove enable-check-abi protection.
344 (check-abi-warn): Remove.
345 (check-abi-%): Remove check-abi-warn usage.
347 * configure.in: Remove check-abi configure option.
348 * configure: Regenerated.
349 * config.make.in (enable-check-abi): Remove.
351 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
354 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
355 double functions to double *_finite functions.
358 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
359 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
361 * stdio-common/Makefile (tests): Add tst-sprintf3.
362 * stdio-common/tst-sprintf3.c: New file.
364 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
365 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
367 2012-04-28 Joseph Myers <joseph@codesourcery.com>
369 * conform/conformtest.pl: Remove duplicate typed-constant
372 2012-04-28 David S. Miller <davem@davemloft.net>
374 * Makerules (%.abilist): Add vpath on sysdep_dirs.
375 (check-abi-%): Remove AWK script prerequisite and explicit
377 (check-abi): Rewrite to just diff the symlist with the abilist.
378 (config-tls, config-abi-config): Delete, no longer used.
379 (update-abi-%): Remove AWK script and explicit abilist directory.
380 (update-abi): Rewrite to simply compare and conditionally copy the
381 symlist and the sysdep abilist file. Remove update-abi-config
383 * abilist/ld.abilist: Remove.
384 * abilist/libBrokenLocale.abilist: Remove.
385 * abilist/libanl.abilist: Remove.
386 * abilist/libcrypt.abilist: Remove.
387 * abilist/libdl.abilist: Remove.
388 * abilist/librt.abilist: Remove.
389 * abilist/libthread_db.abilist: Remove.
390 * abilist/libutil.abilist: Remove.
391 * scripts/extract-abilist.awk: Remove.
392 * scripts/merge-abilist.awk: Remove.
393 * sysdeps/generic/libcidn.abilist: New file.
394 * sysdeps/generic/libnss_compat.abilist: New file.
395 * sysdeps/generic/libnss_db.abilist: New file.
396 * sysdeps/generic/libnss_dns.abilist: New file.
397 * sysdeps/generic/libnss_files.abilist: New file.
398 * sysdeps/generic/libnss_hesiod.abilist: New file.
399 * sysdeps/generic/libnss_nis.abilist: New file.
400 * sysdeps/generic/libnss_nisplus.abilist: New file.
401 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
402 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
403 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
405 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
406 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
407 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
408 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
409 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
410 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
411 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
412 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
413 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
415 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
416 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
417 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
418 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
420 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
421 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
422 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
423 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
424 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
425 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
427 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
428 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
429 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
431 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
534 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
535 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
536 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
539 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
540 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
541 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
542 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
543 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
544 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
545 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
546 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
547 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
599 2012-04-28 Joseph Myers <joseph@codesourcery.com>
601 * conform/conformtest.pl: Fix typo in handling typed-constant from
604 2012-04-27 Joseph Myers <joseph@codesourcery.com>
606 * README: Cut down references to pre-2.6 Linux kernels and
607 Linuxthreads. Update lists of configurations in libc and ports
608 and sort alphabetically. Say "or newer" with Linux kernel version
611 * config.h.in [IS_IN_build]: Allow compiling without optimization.
613 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
616 * math/libm-test.inc (logb_test_downward): New test to expose
617 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
620 2012-04-27 Joseph Myers <joseph@codesourcery.com>
623 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
625 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
626 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
628 2012-04-26 Joseph Myers <joseph@codesourcery.com>
630 * sysdeps/unix/i386/brk.S: Remove file.
631 * sysdeps/unix/i386/dl-brk.S: Likewise.
632 * sysdeps/unix/i386/pipe.S: Likewise.
633 * sysdeps/unix/i386/sigreturn.S: Likewise.
634 * sysdeps/unix/i386/syscall.S: Likewise.
635 * sysdeps/unix/i386/vfork.S: Likewise.
636 * sysdeps/unix/i386/wait.S: Likewise.
638 * sysdeps/unix/common/tcsendbrk.c: Move to ...
639 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
641 * configure.in (arm*-none*): Do not allow without
642 --enable-hacker-mode.
643 (netbsd*): Remove case setting base_os.
645 (freebsd*): Likewise.
660 (solaris[2-9]*): Likewise.
662 * configure: Regenerated.
664 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
667 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
668 overflow or cancellation in calculating denominator.
669 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
670 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
671 down expression to avoid unexpected rounding in newer GCCs.
672 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
674 2012-04-26 David S. Miller <davem@davemloft.net>
676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
677 long-double compat symbols.
678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
692 2012-04-25 David S. Miller <davem@davemloft.net>
694 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
695 HWCAP_* values only after the memory barriers have been defined.
696 (atomic_full_barrier): Define.
697 (atomic_read_barrier): Define.
698 (atomic_write_barrier): Define.
700 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
702 * shlib-versions: Add libgcc_s version information.
703 * sysdeps/generic/libgcc_s.h: Remove.
704 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
706 * sysdeps/gnu/unwind-resume.c: Likewise.
707 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
709 2012-04-25 David S. Miller <davem@davemloft.net>
711 * sysdeps/unix/sparc/brk.S: Delete.
712 * sysdeps/unix/sparc/dl-brk.S: Delete.
713 * sysdeps/unix/sparc/pipe.S: Delete.
714 * sysdeps/unix/sparc/sysdep.S: Delete.
715 * sysdeps/unix/sparc/sysdep.h: Delete.
716 * sysdeps/unix/sparc/vfork.S: Delete.
717 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
718 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
719 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
720 ret_ERRVAL, r0, r1, MOVE): Define.
721 (JUMPTARGET): Remove.
722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
723 sysdeps/unix/sparc/sysdep.h
724 (ENTRY, END): Remove.
725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
727 2012-04-25 Joseph Myers <joseph@codesourcery.com>
729 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
730 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
733 * timezone/README: Update upstream location and email address for
735 * timezone/zdump.c: Update from tzcode 2012b.
736 * timezone/zic.c: Likewise.
738 * configure.in (libc_cv_as_needed): Remove test.
739 * configure: Regenerated.
740 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
741 conditional definition.
742 [$(have-as-needed) != yes] (no-as-needed): Likewise.
743 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
744 * config.make.in (have-as-needed): Remove variable.
746 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
747 Paul Pluzhnikov <ppluzhnikov@google.com>
749 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
752 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
754 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
755 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
756 * sysdeps/sh/strlen.S: Likewise.
758 2012-04-24 Joseph Myers <joseph@codesourcery.com>
760 * sysdeps/unix/fork.S: Remove file.
761 * sysdeps/unix/i386/fork.S: Likewise.
762 * sysdeps/unix/sparc/fork.S: Likewise.
764 * sysdeps/unix/system.c: Remove file.
765 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
767 * sysdeps/unix/getegid.S: Remove file.
768 * sysdeps/unix/geteuid.S: Likewise.
770 2012-04-24 Roland McGrath <roland@hack.frob.com>
772 * scripts/check-localplt.awk: New file.
773 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
775 * scripts/data/localplt-generic.data: Add a comment.
777 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
778 NODE when __dir_mkfile failed.
779 * sysdeps/mach/hurd/symlinkat.c: Likewise.
780 Reported by Ludovic Courtès <ludo@gnu.org>.
782 2012-04-24 Andreas Jaeger <aj@suse.de>
784 * Makerules (common-clean): Also remove gen-as-const-headers
787 2012-04-24 Joseph Myers <joseph@codesourcery.com>
789 * Makerules (native-compile): Do not change working directory for
790 build. Use $(OUTPUT_OPTION) in command.
791 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
793 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
796 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
797 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
798 * math/libm-test.inc (floor_test): Add more tests.
799 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
801 2012-04-24 Joseph Myers <joseph@codesourcery.com>
803 * sysdeps/unix/getdents.c: Remove file.
804 * sysdeps/unix/sysv/getdents.c: Likewise.
805 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
807 * sysdeps/unix/syscalls.list (madvise): Add syscall from
808 sysdeps/unix/mman/syscalls.list.
810 (mprotect): Likewise.
813 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
814 * sysdeps/unix/mman/syscalls.list: Remove.
815 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
817 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
818 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
819 * configure: Regenerated.
820 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
822 * config.make.in (libgcc_s_suffix): Remove variable.
824 2012-04-23 Joseph Myers <joseph@codesourcery.com>
826 * sysdeps/unix/sysv/gethostname.c: Move to ...
827 * sysdeps/posix/gethostname.c: ... here.
829 * sysdeps/unix/execve.S: Remove file.
831 * sysdeps/unix/_exit.S: Remove file.
833 2012-04-23 Andreas Jaeger <aj@suse.de>
836 * manual/Makefile: Remove make dist support, there's no
837 need for a stand-alone documentation tar ball.
838 (TEXI2DVI): Define always, it's not in Makeconfig.
842 (glibc-doc-$(edition).tar): Removed
846 (ETAGS): Remove, it's in Makeconfig.
847 (move-if-change): Remove, it's in Makeconfig.
849 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
852 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
853 (strtod, strtof, strtold, strtol, strtoul, strtoq)
854 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
855 (strtod_l, strtof_l, strtold_l): Remove __wur.
856 It is not necessarily an error to ignore strtol's return value.
857 One can reliably look at the stored endptr to decide whether
858 the number had valid syntax.
860 2012-04-21 Andreas Jaeger <aj@suse.de>
863 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
865 2012-04-21 Joseph Myers <joseph@codesourcery.com>
867 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
868 * sysdeps/unix/sysv/Versions: Remove file.
870 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
875 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
878 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
881 2012-04-20 Joseph Myers <joseph@codesourcery.com>
883 * sysdeps/unix/common/lxstat.c: Remove file.
884 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
886 * sysdeps/unix/sysv/Makefile: Remove file.
888 * sysdeps/unix/sysv/direct.h: Remove file.
890 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
891 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
892 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
893 * sysdeps/unix/sysv/bits/signum.h: Likewise.
894 * sysdeps/unix/sysv/bits/stat.h: Likewise.
895 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
896 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
898 * sysdeps/unix/sysv/setrlimit.c: Remove file.
900 * sysdeps/unix/xmknod.c: Remove file.
901 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
903 * sysdeps/unix/sysv/settimeofday.c: Remove file.
905 * sysdeps/unix/sysv/i386/time.S: Remove file.
907 * sysdeps/unix/fxstat.c: Remove file.
908 * sysdeps/unix/xstat.c: Likewise.
909 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
911 * sysdeps/unix/sysv/sigaction.c: Remove file.
913 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
914 (sysdep_headers): Remove variable.
915 [termio.h not in sysdep_headers] (generated): Likewise.
916 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
917 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
918 * sysdeps/unix/sysv/tcdrain.c: Likewise.
919 * sysdeps/unix/sysv/tcflow.c: Likewise.
920 * sysdeps/unix/sysv/tcflush.c: Likewise.
921 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
922 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
923 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
924 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
925 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
927 * sysdeps/unix/siglist.c: Remove file.
929 * sysdeps/unix/getppid.S: Remove file.
931 * sysdeps/unix/mkdir.c: Remove file.
932 * sysdeps/unix/rmdir.c: Likewise.
934 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
936 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
938 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
939 errlist-compat value.
941 2012-04-18 David S. Miller <davem@davemloft.net>
943 * sysdeps/generic/memcopy.h (reg_char): Delete.
944 * debug/strcat_chk.c: Use char, not reg_char.
945 * debug/strcpy_chk.c: Likewise.
946 * debug/strncat_chk.c: Likewise.
947 * debug/strncpy_chk.c: Likewise.
948 * string/memchr.c: Likewise.
949 * string/memrchr.c: Likewise.
950 * string/rawmemchr.c: Likewise.
951 * string/strcat.c: Likewise.
952 * string/strchr.c: Likewise.
953 * string/strchrnul.c: Likewise.
954 * string/strcmp.c: Likewise.
955 * string/strcpy.c: Likewise.
956 * string/strncat.c: Likewise.
957 * string/strncmp.c: Likewise.
958 * string/strncpy.c: Likewise.
960 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
962 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
963 __builtin_memcopy is called when src and dest ranges are known to not
966 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
968 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
969 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
970 fwd_align_merge macro call.
971 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
972 bwd_align_merge macro call.
973 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
975 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
977 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
978 bwd_align_merge macros.
979 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
980 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
981 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
983 2012-04-18 David S. Miller <davem@davemloft.net>
985 * sysdeps/sparc/sparc64/memcopy.h: Delete.
987 2012-04-18 Andreas Jaeger <aj@suse.de>
990 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
991 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
992 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
994 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
995 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
996 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
998 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
999 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1000 Adjust for changed ldbl-128 files.
1002 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1003 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1004 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1006 2012-04-17 David S. Miller <davem@davemloft.net>
1008 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1010 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1012 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1013 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1014 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1015 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1016 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1017 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1019 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1022 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1023 * math/libm-test.inc: Add ilogb errno and exception tests.
1024 * math/w_ilogb.c: New file: ilogb wrapper.
1025 * math/w_ilogbf.c: New file: ilogbf wrapper.
1026 * math/w_ilogbl.c: New file: ilogbl wrapper.
1027 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1028 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1029 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1030 exception being thrown with 0.0 as argument.
1031 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1032 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1033 exception being thrown with 0.0 as argument.
1034 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1035 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1036 exception being thrown with 0.0 as argument.
1037 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1038 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1039 exception being thrown with 0.0 as argument.
1040 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1041 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1042 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1043 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1045 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1046 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1047 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1048 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1050 2012-04-17 Petr Baudis <pasky@ucw.cz>
1052 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1055 2012-04-16 Marek Polacek <polacek@redhat.com>
1057 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1059 2012-04-16 Marek Polacek <polacek@redhat.com>
1061 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1062 operands of fdivp instruction.
1064 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1066 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1067 * elf/tst-auditmod3b.c: Likewise.
1068 * elf/tst-auditmod4b.c: Likewise.
1069 * elf/tst-auditmod5b.c: Likewise.
1070 * elf/tst-auditmod6b.c: Likewise.
1071 * elf/tst-auditmod6c.c: Likewise.
1072 * elf/tst-auditmod7b.c: Likewise.
1073 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1074 * sysdeps/x86_64/preconfigure.in: Likewise.
1075 * sysdeps/x86_64/preconfigure: Regenerated.
1077 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1079 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1082 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1084 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1085 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1087 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1090 * locale/iso-639.def: Fix gl language name. Spotted by
1093 2012-04-12 Roland McGrath <roland@hack.frob.com>
1096 * libio/libio.h (__io_write_fn): Update comment.
1098 2012-04-12 Petr Baudis <pasky@ucw.cz>
1101 * stdio.texi (Hook Functions): The user provided writer function
1102 is not allowed to return -1.
1104 2012-04-11 David S. Miller <davem@davemloft.net>
1106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1108 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1110 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1111 Add a leading slash to rtkaio.
1113 2012-04-11 Jim Meyering <meyering@redhat.com>
1116 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1117 It is not necessarily an error to ignore fwrite's return
1118 value. One can reliably use ferror to test for errors after
1121 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1123 * bits/types.h (__snseconds_t): New type.
1124 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1126 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1128 (__SNSECONDS_T_TYPE): Likewise.
1129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1130 (__SNSECONDS_T_TYPE): Likewise.
1131 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1132 (__SNSECONDS_T_TYPE): Likewise.
1134 2012-04-10 Andreas Jaeger <aj@suse.de>
1137 * manual/time.texi (Processor Time): Return type of times is
1138 elapsed real time since an arbitrary point in the past.
1139 (CPU Time): Move CLK_TCK from here...
1140 (Processor Time): ...to here. Correct description.
1141 * manual/conf.texi (Constants for Sysconf): Correct description of
1144 2012-04-10 David S. Miller <davem@davemloft.net>
1147 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1148 where the is a gap between DT_REL(A) and DT_JMPREL.
1150 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1152 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1153 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1154 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1156 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1158 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1159 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1160 (dl_main): Handle --inhibit-cache.
1161 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1163 * elf/dl-load.c (_dl_map_object): Use it.
1164 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1166 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1169 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1170 (__ieee754_powl): Saturate large exponents rather than testing for
1171 overflow of y*log2(x).
1172 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1173 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1177 * math/s_ctan.c: Include <float.h>.
1178 (__ctan): Avoid internal overflow or cancellation in calculating
1180 * math/s_ctanf.c: Likewise.
1181 * math/s_ctanl.c: Likewise.
1182 * math/s_ctanh.c: Likewise.
1183 * math/s_ctanhf.c: Likewise.
1184 * math/s_ctanhl.c: Likewise.
1185 * math/libm-test.inc (ctan_test): Add more tests.
1186 (ctanh_test): Likewise.
1187 * sysdeps/i386/fpu/libm-test-ulps: Update.
1188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1190 2012-04-09 Andreas Jaeger <aj@suse.de>
1193 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1194 is an optional BSD extension.
1197 * manual/stdio.texi (Opening Streams): Document additional fopen
1200 2012-04-09 Roland McGrath <roland@hack.frob.com>
1202 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1203 %eax without telling the compiler.
1205 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1208 * manual/install.texi: Use sourceware.org.
1210 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1213 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1214 (__ieee754_pow): Generate overflow and underflow using huge*huge
1215 and tiny*tiny rather than just returning constant infinity or zero
1216 for large exponents.
1217 * math/libm-test.inc (pow_test): Require overflow exceptions for
1218 applicable cases of large exponents.
1221 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1222 (__ieee754_pow): Use iterative multiplication algorithm only for
1223 integer exponents with absolute value below 1024. Check for odd
1224 integer exponents when using algorithm for real exponents.
1225 * math/libm-test.inc (pow_test): Add more tests.
1226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1228 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1231 * math/libm-test.inc (exp_test): Do not allow overflow exception
1234 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1237 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1238 instead of __kernel_standard_f.
1240 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1242 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1243 * sysdeps/x86_64/memset_chk.S: Likewise.
1245 2012-04-08 Andreas Jaeger <aj@suse.de>
1248 * manual/startup.texi (Environment Access): Describe return value
1249 for putenv and setenv.
1252 * manual/filesys.texi (Directory Entries): Add description for
1256 * manual/filesys.texi (Directory Entries): Clarify that it's file
1257 system not operating system in the description of DT_UNKNOWN.
1260 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1262 2012-04-08 Stephen Compall <s11@member.fsf.org>
1265 * manual/llio.texi (Opening and Closing Files): Add cross
1266 reference to explain mode argument.
1268 2012-04-07 Mike Frysinger <vapier@gentoo.org>
1270 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1271 * sysdeps/x86_64/memset_chk.S: Likewise.
1273 2012-04-07 David S. Miller <davem@davemloft.net>
1275 * elf/elf.h (R_SPARC_WDISP10): Define.
1276 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1279 R_SPARC_SIZE64 and R_SPARC_H34.
1281 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1283 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1284 conditions and remove no longer applicable assertion.
1286 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1288 * bits/byteswap.h: Include <features.h>.
1289 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1290 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1292 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1294 * bits/byteswap.h (__bswap_16): Removed.
1295 Include <bits/byteswap-16.h> to get __bswap_16.
1296 * sysdeps/i386/bits/byteswap.h: Likewise.
1297 * sysdeps/s390/bits/byteswap.h: Likewise.
1298 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1299 * bits/byteswap-16.h: New file.
1300 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1301 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1302 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1303 * string/Makefile (headers): Add bits/byteswap-16.h.
1305 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1308 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1310 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1311 * nss/tst-nss-static.c: New.
1313 2012-04-06 Robert Millan <rmh@gnu.org>
1316 * manual/llio.texi (File Position Primitive): lseek
1317 refers to WHENCE when it really means OFFSET.
1319 2012-04-06 Andreas Jaeger <aj@suse.de>
1321 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1322 strncmp declarations.
1324 * abilist/libc.abilist: Add __poll and __ppoll.
1326 2012-04-05 David S. Miller <davem@davemloft.net>
1328 * scripts/check-local-headers.sh: Accept a host triplet in the
1329 path matched by the exclude regexp.
1331 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1333 * sysdeps/powerpc/powerpc32/dl-machine.h
1334 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1335 * sysdeps/s390/s390-32/dl-machine.h
1336 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1337 * sysdeps/sparc/sparc32/dl-machine.h
1338 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1339 * sysdeps/sparc/sparc64/dl-machine.h
1340 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1342 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1344 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1345 undefined symbol errors.
1347 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1350 2012-04-05 Michael Matz <matz@suse.de>
1353 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1355 2012-04-05 Andreas Jaeger <aj@suse.de>
1358 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1361 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1363 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1364 which ROUND is no valid rounding mode.
1366 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1370 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1372 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1374 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1375 an exception using FPU order intentionally.
1377 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1379 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1380 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1381 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1382 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1384 2012-04-05 Simon Josefsson <simon@josefsson.org>
1387 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1388 EINVAL when BUFLEN is too smal.
1390 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1393 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1394 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1396 2012-04-03 Andreas Jaeger <aj@suse.de>
1399 * manual/setjmp.texi (System V contexts): Fix sentence.
1402 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1403 New macro for this case.
1404 [!__GNUC__] (__bswap_64): New inline function for this case.
1405 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1406 * bits/byteswap.h: Likewise.
1407 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1408 ull, guard with __GLIBC_HAVE_LONG_LONG.
1410 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1411 __GLIBC_HAVE_LONG_LONG.
1413 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1414 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1416 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1419 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1420 inptr and inend, rather than using last_ch.
1422 2012-04-02 David S. Miller <davem@davemloft.net>
1424 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1425 * stdio-common/printf-parse.h (read_int): Change return type to
1426 'int', return -1 on INT_MAX overflow.
1427 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1428 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1429 overflows INT_MAX. Check for overflow of in-format-string precision
1430 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1431 SIZE_MAX not INT_MAX for integer overflow test.
1432 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1433 skip the construct in the format string but do not record anything.
1434 * stdio-common/bug22.c: Adjust to test both width/prevision
1435 INT_MAX overflow as well as total length INT_MAX overflow. Check
1436 explicitly for proper errno values.
1438 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1440 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1442 * string/test-strcmp.c [! WIDE]: Likewise.
1443 * time/tst-mktime2.c: Likewise for INT_MAX.
1444 * string/test-string.h: #include <sys/param.h> for MIN.
1446 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1447 * sysdeps/i386/init-first.c (init): Likewise.
1448 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1449 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1450 * sysdeps/sh/init-first.c (init): Likewise.
1452 2012-04-01 Ulrich Drepper <drepper@gmail.com>
1454 * po/ru.po: Update from translation team.
1455 * po/vi.po: Likewise.
1457 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1459 * resolv/nss_dns/dns-host.c: Merge copyright years.
1461 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1463 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1464 Optimize memcpy with prefetch if
1465 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1466 src, dst pointers have unequal 16 byte alignments.
1468 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1471 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1472 from a CNAME entry and return the minimum ttl for the query.
1473 (gaih_getanswer_slice): Likewise.
1475 2012-03-30 Jeff Law <law@redhat.com>
1477 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1479 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1480 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1482 * resolv/nss_dns/dns-host.c: Update copyright year.
1484 2012-03-30 Ulrich Drepper <drepper@gmail.com>
1486 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1487 requests to save a system call. Fix check that all bytes are sent.
1489 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1490 comments for sendmmsg.
1492 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1495 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1496 with only 1 character between 0x0041 and 0x01b0.
1497 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1498 * wcsmbs/tst-mbsnrtowcs.c: New file.
1500 2012-03-29 David S. Miller <davem@davemloft.net>
1502 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1503 small copies by hand.
1505 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1508 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1509 _nss_compat_initgroups_dyn): Fall back to malloc/free
1510 for large group memberships.
1512 2012-03-28 David S. Miller <davem@davemloft.net>
1514 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1515 that branches into memcpy.
1516 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1517 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1518 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1519 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1522 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1524 * sysdeps/sparc/mempcpy.S: New file.
1526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1527 the IFUNC routine in the libc case.
1528 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1530 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1531 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1532 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1533 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1534 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1535 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1536 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1537 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1539 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1540 loop to 256 bytes instead of 64 bytes and fix test signedness.
1542 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1543 * sysdeps/sparc/sparc32/Makefile: rather than here...
1544 * sysdeps/sparc/sparc64/Makefile: and here.
1546 2012-03-28 Ulrich Drepper <drepper@gmail.com>
1548 * malloc/mallocbug.c: Avoid warnings about unused variables.
1550 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1553 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1554 in the right place. Discard and retry query if response is
1555 larger than input buffer size.
1557 2012-03-28 Joseph Myers <joseph@codesourcery.com>
1562 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1563 x for large integer exponent.
1564 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1565 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1566 sign of result as needed afterwards.
1567 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1568 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1569 result for underflowing pow the same as for overflow.
1570 (__kernel_standard_l): Handle powl overflow and underflow here
1571 rather than calling __kernel_standard.
1572 * math/libm-test.inc (pow_test): Add more tests.
1587 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1588 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1589 (__kernel_standard_l): New function.
1590 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1592 * math/w_acosl.c (__acosl): Likewise.
1593 * math/w_asinl.c (__asinl): Likewise.
1594 * math/w_atan2l.c (__atan2l): Likewise.
1595 * math/w_atanhl.c (__atanhl): Likewise.
1596 * math/w_coshl.c (__coshl): Likewise.
1597 * math/w_exp10l.c (__exp10l): Likewise.
1598 * math/w_exp2l.c (__exp2l): Likewise.
1599 * math/w_fmodl.c (__fmodl): Likewise.
1600 * math/w_hypotl.c (__hypotl): Likewise.
1601 * math/w_j0l.c (__j0l, __y0l): Likewise.
1602 * math/w_j1l.c (__j1l, __y1l): Likewise.
1603 * math/w_jnl.c (__jnl, __ynl): Likewise.
1604 * math/w_lgammal.c (__lgammal): Likewise.
1605 * math/w_log10l.c (__log10l): Likewise.
1606 * math/w_log2l.c (__log2l): Likewise.
1607 * math/w_logl.c (__logl): Likewise.
1608 * math/w_powl.c (__powl): Likewise.
1609 * math/w_remainderl.c (__remainderl): Likewise.
1610 * math/w_scalbl.c (sysv_scalbl): Likewise.
1611 * math/w_sinhl.c (__sinhl): Likewise.
1612 * math/w_sqrtl.c (__sqrtl): Likewise.
1613 * math/w_tgammal.c (__tgammal): Likewise.
1614 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1615 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1616 * math/libm-test.inc (acos_test): Add more tests.
1617 (acosh_test): Likewise.
1618 (asin_test): Likewise.
1619 (atanh_test): Likewise.
1620 (exp_test): Likewise.
1621 (exp10_test): Likewise.
1622 (exp2_test): Likewise.
1623 (expm1_test): Likewise.
1624 (lgamma_test): Likewise.
1625 (log_test): Likewise.
1626 (log10_test): Likewise.
1627 (log1p_test): Likewise.
1628 (log2_test): Likewise.
1629 (pow_test): Do not allow some spurious overflow exceptions.
1630 (sqrt_test): Add more tests.
1631 (tgamma_test): Likewise.
1632 (y0_test): Likewise.
1633 (y1_test): Likewise.
1634 (yn_test): Likewise.
1636 2012-03-27 Anton Blanchard <anton@samba.org>
1638 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1640 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1641 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1642 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1644 2012-03-27 David S. Miller <davem@davemloft.net>
1646 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1648 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1651 2012-03-27 Andreas Jaeger <aj@suse.de>
1653 * sysdeps/x86_64/elf/configure.in: Moved to ...
1654 * sysdeps/x86_64/configure.in: ... here.
1655 * sysdeps/x86_64/elf/start.S: Moved to ...
1656 * sysdeps/x86_64/start.S: ... here.
1657 * sysdeps/x86_64/elf/configure: Delete.
1659 * sysdeps/x86_64/configure.in: Merge contents from
1660 sysdeps/i386/configure.in (without i686 check).
1662 * sysdeps/i386/elf/Versions: Merge into ...
1663 * sysdeps/i386/Versions: ... this.
1664 * sysdeps/i386/elf/Versions: Delete file.
1665 * sysdeps/i386/elf/start.S: Moved to ...
1666 * sysdeps/i386/start.S: ...here.
1667 * sysdeps/i386/elf/configure.in: Merge into...
1668 * sysdeps/i386/configure.in: ...here.
1669 * sysdeps/i386/elf/configure.in: Delete file.
1670 * sysdeps/i386/elf/configure: Delete file.
1672 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1673 * debug/backtracesyms.c: ... here.
1674 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1675 * debug/backtracesymsfd.c: ... here.
1676 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1677 * sysdeps/generic/ifunc-sel.h: ... here.
1679 * sysdeps/unix/i386/start.c: Delete file.
1680 * sysdeps/unix/sparc/start.c: Delete file.
1681 * sysdeps/unix/start.c: Delete file.
1683 * sysdeps/sh/elf/configure.in: Moved to ...
1684 * sysdeps/sh/configure.in: ... here.
1685 * sysdeps/sh/elf/start.S: Moved to ...
1686 * sysdeps/sh/start.S: ... here.
1687 * sysdeps/sh/elf/configure: Delete file.
1689 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1690 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1691 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1692 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1693 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1694 * sysdeps/powerpc/powerpc64/start.S: here.
1695 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1696 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1697 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1698 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1699 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1701 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1702 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1703 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1704 * sysdeps/powerpc/powerpc32/start.S: ... here.
1705 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1706 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1707 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1709 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1710 * sysdeps/powerpc/ifunc-sel.h: ... here.
1711 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1712 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1714 * sysdeps/sparc/elf/configure.in: Moved to ...
1715 * sysdeps/sparc/configure.in: ... here.
1716 * sysdeps/sparc/elf/configure: Delete file.
1717 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1718 * sysdeps/sparc/sparc32/start.S: ... here.
1719 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1720 * sysdeps/sparc/sparc64/start.S: ... here.
1721 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1722 * sysdeps/sparc/sparc32/Makefile: ... this.
1723 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1724 * sysdeps/sparc/sparc64/Makefile: ... this.
1726 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1727 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1728 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1729 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1730 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1731 * sysdeps/s390/s390-32/setjmp.S: ... here.
1732 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1733 * sysdeps/s390/s390-32/configure.in: ... here.
1734 * sysdeps/s390/s390-32/elf/configure: Delete file.
1735 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1736 * sysdeps/s390/s390-32/start.S: ... here.
1738 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1739 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1740 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1741 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1742 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1743 * sysdeps/s390/s390-64/setjmp.S: ... here.
1744 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1745 * sysdeps/s390/s390-64/configure.in: ... here
1746 * sysdeps/s390/s390-64/elf/configure: Delete file.
1747 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1748 * sysdeps/s390/s390-64/start.S: ... here.
1749 * sysdeps/s390/s390-64/elf/configure: Delete.
1751 * configure.in: Remove support for elf directories in sysdeps.
1753 * configure: Regenerated.
1754 * sysdeps/i386/configure: Regenerated.
1755 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1756 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1757 * sysdeps/s390/s390-32/configure: Regenerated.
1758 * sysdeps/s390/s390-64/configure: Regenerated.
1759 * sysdeps/sh/configure: Regenerated.
1760 * sysdeps/sparc/configure: Regenerated.
1761 * sysdeps/x86_64/configure: Regenerated.
1763 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1768 denormal result into account.
1770 2012-03-25 Roland McGrath <roland@hack.frob.com>
1772 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1773 Reported by Allan McRae <allan@archlinux.org>.
1775 2012-03-23 Jeff Law <law@redhat.com>
1777 * nss/getnssent.c (__nss_getent): Fix typo.
1779 2012-03-23 David S. Miller <davem@davemloft.net>
1781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1783 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1785 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1786 to pad to uint64_t for each field.
1787 (dl_tls_index): Replace unsigned long with uint64_t.
1789 2012-03-23 Daniel Jacobowitz <dmj@google.com>
1790 Paul Pluzhnikov <ppluzhnikov@google.com>
1793 * grp/Makefile (otherlibs): Don't set it.
1794 * inet/Makefile (otherlibs): Likewise.
1795 * login/Makefile (otherlibs): Likewise.
1796 * nscd/Makefile (otherlibs): Likewise.
1797 * posix/Makefile (otherlibs): Likewise.
1798 * pwd/Makefile (otherlibs): Likewise.
1799 * rt/Makefile (otherlibs): Likewise.
1800 * sunrpc/Makefile (otherlibs): Likewise.
1801 * nss/Makefile (otherlibs): Likewise.
1802 Add libnss_files to routines and static-only-routines.
1803 ($(objpfx)getent): Remove rule.
1804 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1805 static-only-routines.
1807 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1810 * math/s_cexp.c: Include <float.h>.
1811 (__cexp): Handle exp result overflowing not necessarily
1812 overflowing both real and imaginary parts of result.
1813 * math/s_cexpf.c: Likewise.
1814 * math/s_cexpl.c: Likewise.
1815 * math/libm-test.inc (cexp_test): Add more tests.
1816 * sysdeps/i386/fpu/libm-test-ulps: Update.
1817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1819 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1821 * include/link.h (ELFW): New macro.
1822 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1823 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1825 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1827 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1830 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1832 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1834 (struct La_x32_retval): Likewise.
1836 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1838 * sysdeps/x86_64/preconfigure.in: New file.
1839 * sysdeps/x86_64/preconfigure: New generated file.
1841 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1844 * math/e_exp2l.c: Include <float.h>.
1845 (__ieee754_exp2l): Handle overflow and underflow cases
1846 separately. Only pass fractional part of argument to
1848 * math/libm-test.inc (exp2_test): Add more tests.
1850 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1851 negating x to take absolute value.
1852 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1854 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1855 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1857 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1858 computing low part if x was negated.
1859 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1861 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1863 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1865 (pltexit): Cast int_retval to ptrdiff_t.
1866 * elf/tst-auditmod3b.c: Likewise.
1867 * elf/tst-auditmod4b.c: Likewise.
1868 * elf/tst-auditmod5b.c: Likewise.
1869 * elf/tst-auditmod6b.c: Likewise.
1870 * elf/tst-auditmod6c.c: Likewise.
1871 * elf/tst-auditmod7b.c: Likewise.
1873 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1874 and x32_gnu_pltexit.
1876 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1878 (La_x32_regs): New macro.
1879 (La_x32_retval): Likewise.
1880 (la_x32_gnu_pltenter): New function prototype.
1881 (la_x32_gnu_pltexit): Likewise.
1883 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1890 * configure.in (libc_cv_cc_nofma): Check for option to disable
1891 generation of FMA instructions.
1892 * configure: Regenerate.
1893 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1894 * sysdeps/ieee754/dbl-64/Makefile: New file.
1895 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1896 Remove brandred-fma4.
1897 (CFLAGS-brandred-fma4.c): Remove.
1898 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1899 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1901 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1904 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1906 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1907 LLONG_MAX != LONG_MAX.
1908 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1909 (_fitoa_word): Likewise.
1910 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1911 LLONG_MAX != LONG_MAX.
1912 * stdio-common/_itowa.h: Include <_itoa.h>.
1913 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1914 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1915 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1916 only if not defined.
1917 (_ITOA_WORD_TYPE): Likewise.
1918 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1919 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1921 2012-03-21 David S. Miller <davem@davemloft.net>
1923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1925 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1927 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1928 of x86_64 when setting libc_cv_slibdir, libdir and
1930 * sysdeps/unix/sysv/linux/configure: Regenerated.
1932 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1934 * manual/lang.texi (Old Varargs): Remove section.
1935 (How Variadic): Update menu.
1936 (va_start): Do not mention varargs.h.
1938 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1939 Joseph Myers <joseph@codesourcery.com>
1941 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1943 * configure: Regenerated.
1945 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1947 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1948 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1951 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1954 * Makefile (files-for-dist): Remove NOTES.
1955 (NOTES): Remove rule.
1956 * README: Don't refer to NOTES.
1957 * manual/creature.texi: Don't include macros.texi.
1958 * manual/intro.texi (creature.texi): Remove comment referring to
1961 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1962 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1963 * configure: Regenerated.
1964 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1966 (libc_cv_as_i686): Likewise.
1967 (libc_cv_cc_avx): Likewise.
1968 (libc_cv_cc_sse2avx): Likewise.
1969 (libc_cv_cc_fma4): Likewise.
1970 (libc_cv_cc_novzeroupper): Likewise.
1971 * sysdeps/i386/configure: Regenerated.
1974 * sysdeps/i386/fpu/s_cexp.S: Remove.
1975 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1976 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1977 * math/libm-test.inc (cexp_test): Add more tests.
1978 * sysdeps/i386/fpu/libm-test-ulps: Update.
1979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1981 2012-03-21 Allan McRae <allan@archlinux.org>
1983 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1985 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1988 * math/w_exp2.c: Do not include <float.h>.
1989 (o_threshold, u_threshold): Remove.
1990 (__exp2): Calculate result before checking finiteness and calling
1992 * math/w_exp2f.c: Likewise.
1993 * math/w_exp2l.c: Likewise.
1994 * math/libm-test.inc (exp2_test): Require overflow exception for
1998 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1999 range of signed 64-bit integers before using fistpll. Remove
2000 checks for whether integers fit in mantissa bits.
2001 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2002 the range of signed 32-bit integers before using fistpl. Remove
2003 checks for whether integers fit in mantissa bits.
2004 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2005 (__ieee754_powl): Test for y outside the range of signed 64-bit
2006 integers before using fistpll. Reduce 64-bit values to 63-bit
2008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2009 divide-by-zero is raised for zero to large negative powers.
2010 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2011 (__ieee754_powl): Test for y outside the range of signed 64-bit
2012 integers before using fistpll. Reduce 64-bit values to 63-bit
2014 * math/libm-test.inc (pow_test): Add more tests.
2016 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2018 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2019 <stdio-common/_itoa.h>.
2020 * debug/segfault.c: Likewise.
2021 * elf/dl-cache.c: Likewise.
2022 * elf/dl-minimal.c: Likewise.
2023 * elf/dl-misc.c: Likewise.
2024 * elf/dl-sysdep.c: Likewise.
2025 * elf/dl-version.c: Likewise.
2026 * elf/rtld.c: Likewise.
2027 * hurd/hurdsock.c: Likewise.
2028 * hurd/lookup-retry.c: Likewise.
2029 * malloc/malloc.c: Likewise.
2030 * malloc/mtrace.c: Likewise.
2031 * nscd/nscd_getgr_r.c: Likewise.
2032 * nscd/nscd_getpw_r.c: Likewise.
2033 * nscd/nscd_getserv_r.c: Likewise.
2034 * posix/getopt_init.c: Likewise.
2035 * posix/wordexp.c: Likewise.
2036 * stdio-common/_itoa.c: Likewise.
2037 * stdio-common/printf_fphex.c: Likewise.
2038 * stdio-common/vfprintf.c: Likewise.
2039 * string/_strerror.c: Likewise.
2040 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2041 * sysdeps/i386/i686/hp-timing.h: Likewise.
2042 * sysdeps/mach/_strerror.c: Likewise.
2043 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2044 * sysdeps/mach/hurd/sethostid.c: Likewise.
2045 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2046 * sysdeps/mach/xpg-strerror.c: Likewise.
2047 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2048 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2049 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2050 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2051 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2052 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2053 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2054 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2055 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2056 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2057 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2058 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2059 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2060 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2061 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2062 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2063 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2064 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2065 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2066 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2067 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2069 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2071 * stdio-common/_itoa.h: Moved to ...
2072 * sysdeps/generic/_itoa.h: Here.
2074 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2076 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2077 instead of "_itoa.h" and "_itowa.h".
2078 * stdio-common/vfprintf.: Likewise.
2080 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2082 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2084 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2085 (__signbit): Likwise.
2089 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2091 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2094 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2096 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2097 OVERFLOW_EXCEPTION_OK.
2098 * math/libm-test.inc ("Philosophy"): Update comment about
2100 (OVERFLOW_EXCEPTION): Define.
2101 (OVERFLOW_EXCEPTION_OK): Likewise.
2102 (INVALID_EXCEPTION_OK): Renumber.
2103 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2104 (IGNORE_ZERO_INF_SIGN): Likewise.
2105 (test_exceptions): Handle FE_OVERFLOW.
2106 (exp10_test): Expect overflow exceptions.
2107 (exp2_test): Likewise.
2108 (expm1_test): Likewise.
2109 (nextafter_test): Likewise.
2110 (pow_test): Likewise.
2111 (scalbn_test): Likewise.
2112 (scalbln_test): Likewise.
2114 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2116 * sysdeps/x86_64/bits/atomic.h
2117 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2119 (atomic_exchange_acq): Likewise.
2120 (__arch_exchange_and_add_body): Likewise.
2121 (__arch_add_body): Likewise.
2122 (atomic_add_negative): Likewise.
2123 (atomic_add_zero): Likewise.
2125 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2127 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2128 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2130 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2132 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2133 Check __x86_64__ instead of __WORDSIZE.
2135 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2137 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2139 2012-03-19 David S. Miller <davem@davemloft.net>
2141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2143 * sysdeps/sparc/fpu/fenv_private.h: New file.
2144 * sysdeps/sparc/fpu/math_private.h: Use it.
2145 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2147 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2148 (libc_feholdexcept_setroundl): Remove.
2149 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2151 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2152 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2154 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2156 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2157 int64_t instead of long int.
2158 (INSERT_WORDS64): Likwise.
2160 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2162 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2163 _Unwind_GetCFA return to _Unwind_Ptr first.
2165 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2168 * math/s_clog.c: Include <float.h>.
2169 (__clog): Scale large or subnormal inputs.
2170 * math/s_clogf.c: Likewise.
2171 * math/s_clogl.c: Likewise.
2172 * math/s_clog10.c: Include <float.h>.
2173 (M_LOG10_2): Define.
2174 (__clog10): Scale large or subnormal inputs.
2175 * math/s_clog10f.c: Likewise.
2176 * math/s_clog10l.c: Likewise.
2177 * math/libm-test.inc (clog_test): Add more tests.
2178 (clog10_test): Likewise.
2179 * sysdeps/i386/fpu/libm-test-ulps: Update.
2180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2183 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2185 * math/libm-test.inc (atan2_test): Add another test.
2187 * Makerules (common-objdir-compile): Remove.
2188 * sysdeps/unix/Makefile (config-generated): Do not add
2189 $(unix-generated) to variable.
2190 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2191 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2193 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2195 [generic bits/local_lim.h] (before-compile): Do not append to
2197 [generic bits/local_lim.h] (common-generated): Likewise.
2198 [generic sys/param.h] (before-compile): Do not append to variable.
2199 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2200 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2201 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2202 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2204 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2205 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2206 [generic sys/param.h] ($(addprefix
2207 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2208 [generic sys/param.h] (common-generated): Do not append to
2210 [generic sys/param.h] (sysdep_headers): Likewise.
2211 [generic bits/errno.h] (before-compile): Do not append to
2213 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2215 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2216 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2217 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2218 [generic bits/errno.h] (common-generated): Do not append to
2220 [generic bits/ioctls.h] (before-compile): Do not append to
2222 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2224 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2225 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2226 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2228 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2229 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2230 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2231 [generic bits/ioctls.h] (common-generated): Do not append to
2233 [generic sys/syscall.h] (syscall.h): Remove variable.
2234 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2236 [generic sys/syscall.h] (before-compile): Do not append to
2238 [generic sys/syscall.h] (common-generated): Likewise.
2239 * sysdeps/unix/errnos-tmpl.c: Remove file.
2240 * sysdeps/unix/errnos.awk: Likewise.
2241 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2242 * sysdeps/unix/ioctls.awk: Likewise.
2243 * sysdeps/unix/mk-local_lim.c: Likewise.
2244 * sysdeps/unix/snarf-ioctls: Likewise.
2246 2012-03-19 Richard Henderson <rth@twiddle.net>
2248 * sysdeps/i386/fpu/fenv_private.h: New file.
2249 * sysdeps/i386/fpu/math_private.h: Use it.
2250 (math_opt_barrier, math_force_eval): Remove.
2251 (libc_feholdexcept_setround_53bit): Remove.
2252 (libc_feupdateenv_53bit): Remove.
2253 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2254 (math_opt_barrier, math_force_eval): Remove.
2255 (libc_feholdexcept): Remove.
2256 (libc_feholdexcept_setround): Remove.
2257 (libc_fetestexcept, libc_fesetenv): Remove.
2258 (libc_feupdateenv_test): Remove.
2259 (libc_feupdateenv, libc_feholdsetround): Remove.
2260 (libc_feresetround): Remove.
2262 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2263 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2265 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2266 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2267 (libc_feupdateenv_testl): New.
2268 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2269 (libc_feupdateenv_testf): New.
2270 (libc_feupdateenv): Use libc_feupdateenv_test.
2271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2272 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2274 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2275 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2276 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2277 (libc_feresetround_noex): New.
2278 (libc_feresetround_noexf): New.
2279 (libc_feresetround_noexl): New.
2280 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2281 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2282 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2283 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2285 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2288 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2289 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2290 SET_RESTORE_ROUND_NOEX.
2291 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2292 SET_RESTORE_ROUND_NOEXF.
2293 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2294 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2295 (libc_feholdsetroundf): New.
2296 (libc_feresetround, libc_feresetroundf): New.
2298 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2299 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2300 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2302 * sysdeps/generic/math_private.h: Include <fenv.h>.
2303 (default_libc_feholdexcept): New.
2304 (default_libc_feholdexcept_setround): New.
2305 (default_libc_fesetenv, default_libc_feupdateenv): New.
2306 (libc_feholdexcept): Only define if undefined.
2307 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2308 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2309 (libc_feholdexcept_setroundl): Likewise.
2310 (libc_feholdexcept_setround_53bit): Likewise.
2311 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2312 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2313 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2314 (libc_feupdateenv_53bit): Likewise.
2315 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2316 (libc_feholdexcept): Convert from macro to inline function.
2317 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2318 (libc_fesetenv, libc_feupdateenv): Likewise.
2320 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2321 not previously defined.
2322 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2323 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2324 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2325 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2326 * sysdeps/ieee754/flt-32/math_private.h: New file.
2327 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2328 math_private.h below SET_FLOAT_WORD.
2329 (__isnan, __isinf_ns, __finite): Remove.
2330 (__isnanf, __isinf_nsf, __finitef): Remove.
2332 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2336 2012-03-17 David S. Miller <davem@davemloft.net>
2339 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2342 2012-03-16 David S. Miller <davem@davemloft.net>
2344 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2348 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2350 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2351 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2352 sysdep_routines when subdir is sysvipc.
2353 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2356 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2358 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2360 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2363 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2365 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2366 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2367 (__lround): Renamed to ...
2368 (__llround): This. Replace long int with long long int.
2369 Define lround functions as aliases of llround functions.
2370 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2372 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2374 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2375 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2376 adresses to uintptr_t. Replace "long int" and "unsigned long
2377 int" with "greg_t" on va_arg.
2379 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2381 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2382 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2384 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2385 Move e_machine check before EI_CLASS check. Handle x32
2386 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2387 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2388 SKIP_EM_IA_64 and include
2389 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2391 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2392 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2393 (add_system_dir): New macro.
2395 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2396 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2398 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2409 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2411 * math/w_j0f.c (j0f): Likewise.
2413 * math/w_j0l.c (__j0l): Likewise.
2415 * math/w_j1.c (j1): Likewise.
2417 * math/w_j1f.c (j1f): Likewise.
2419 * math/w_j1l.c (__j1l): Likewise.
2421 * math/w_jn.c (jn): Likewise.
2423 * math/w_jnf.c (jnf): Likewise.
2425 * math/w_jnl.c (__jnl): Likewise.
2427 * math/libm-test.inc (j0_test): Add more tests.
2428 (j1_test): Likewise.
2429 (jn_test): Likewise. Add trailing semicolon to existing test.
2430 (y0_test): Likewise.
2431 (y1_test): Likewise.
2432 * sysdeps/i386/fpu/libm-test-ulps: Update.
2433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2437 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2438 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2439 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2440 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2441 (__tanl): Set errno for infinite argument.
2442 * sysdeps/i386/fpu/mptan.c: Remove.
2443 * sysdeps/i386/fpu/s_tan.S: Likewise.
2444 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2445 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2446 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2447 * math/libm-test.inc (tan_test): Add more tests and enable more
2448 tests for double and long double.
2449 * sysdeps/i386/fpu/libm-test-ulps: Update.
2450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2452 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2454 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2455 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2457 2012-03-16 Roland McGrath <roland@hack.frob.com>
2459 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2460 * configure.in: Use it for both main tree and add-ons.
2461 * configure: Regenerated.
2463 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2465 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2467 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2469 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2473 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2474 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2475 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2476 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2477 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2479 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2482 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2483 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2484 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2485 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2486 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2487 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2488 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2489 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2490 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2491 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2492 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2493 * math/libm-test.inc (cos_test): Add more tests and enable more
2494 tests for long double.
2495 (sin_test): Likewise.
2496 (sincos_test): Likewise.
2497 * sysdeps/i386/fpu/libm-test-ulps: Update.
2498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2500 2012-03-16 David S. Miller <davem@davemloft.net>
2502 * sysdeps/sparc/fpu/math_private.h: New file.
2504 2012-03-15 David S. Miller <davem@davemloft.net>
2506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2520 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2521 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2523 * sysdeps/sparc/sparc-ifunc.h: New file.
2524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2550 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2551 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2562 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2564 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2565 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2566 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2569 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2571 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2575 2012-03-15 Andreas Jaeger <aj@suse.de>
2578 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2579 ieee754/flt-32 implementation for sin, cos and sincos.
2580 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2581 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2582 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2583 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2584 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2585 ieee754/flt-32 implementation for tan.
2587 * math/libm-test.inc (cos_test): Enable some large input tests for
2589 (sin_test): Likewise.
2590 (sincos_test): Likewise.
2591 (tan_test): Add tests for large input.
2593 * sysdeps/i386/fpu/libm-test-ulps: Update.
2595 2012-03-15 Andreas Jaeger <aj@suse.de>
2598 * math/libm-test.inc (cos_test): Add more test cases.
2599 (sin_test): Likewise.
2600 (sincos_test): Likewise.
2602 2012-03-15 Andreas Jaeger <aj@suse.de>
2605 * math/libm-test.inc (cos_test): Add a test case for large input
2607 (sin_test): Likewise.
2608 (sincos_test): Likewise.
2610 2012-03-15 Andreas Jaeger <aj@suse.de>,
2611 Joseph Myers <joseph@codesourcery.com>
2614 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2615 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2616 * sysdeps/i386/fpu/branred.c: Likewise.
2617 * sysdeps/i386/fpu/dosincos.c: Likewise.
2618 * sysdeps/i386/fpu/mpa.c: Likewise.
2619 * sysdeps/i386/fpu/s_cos.S: Likewise.
2620 * sysdeps/i386/fpu/s_sin.S: Likewise.
2621 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2622 * sysdeps/i386/fpu/sincos32.c: Likewise.
2624 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2626 (libc_feupdateenv_53bit): Define.
2627 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2629 (libc_feupdateenv_53bit): Define.
2631 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2632 53 bit (without extend i386 double precision).
2634 * math/libm-test.inc (sincos_test): Add tests for large input.
2638 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2640 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2644 2012-03-15 David S. Miller <davem@davemloft.net>
2646 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2647 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2648 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2649 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2674 fmin/fmax sysdep routines.
2675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2677 2012-03-14 David S. Miller <davem@davemloft.net>
2679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2683 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2684 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2688 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2699 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2700 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2701 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2703 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2704 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2705 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2706 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2751 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2756 * sysdeps/sparc/configure.in: New file.
2757 * sysdeps/sparc/configure: Generate.
2758 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2759 * configure: Regenerate.
2760 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2761 * config.make.in (have-as-vis3): New.
2762 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2763 available use -Av9d instead of -Av9a.
2764 * sysdeps/sparc/sparc64/Makefile: Likewise.
2765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2775 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2776 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2780 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2781 fzeros/fnegs to load 0x80000000 into a float register instead of
2783 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2785 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2789 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2790 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2791 ($(inst_includedir)/bits/syscall.h): Remove rule.
2792 ($(objpfx)bits/syscall.d): Include instead of
2793 $(objpfx)syscall-list.d.
2794 (generated): Change syscall-list.h and syscall-list.d to
2795 bits/syscall.h and bits/syscall.d.
2797 2012-03-14 Roland McGrath <roland@hack.frob.com>
2800 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2802 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2805 * math/s_csqrt.c: Include <float.h>.
2806 (__csqrt): Scale large or subnormal inputs.
2807 * math/s_csqrtf.c: Likewise.
2808 * math/s_csqrtl.c: Likewise.
2809 * math/libm-test.inc (csqrt_test): Add more tests.
2810 * sysdeps/i386/fpu/libm-test-ulps: Update.
2811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2814 * math/libm-test.inc (hypot_test): Add more tests.
2816 2012-03-13 David S. Miller <davem@davemloft.net>
2819 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2820 double-precision for the calculation instead of scaling.
2822 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2824 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2825 manipulate bits before adding and subtracting TWO52[sx].
2826 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2827 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2829 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2831 2012-03-13 David S. Miller <davem@davemloft.net>
2833 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2834 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2836 rtld-global-offsets.h
2837 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2839 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2842 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2844 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2845 'err' in the ifdef scope in which it is actually used.
2847 * nss/nss_db/db-init.c: Include string.h
2849 2012-03-12 David S. Miller <davem@davemloft.net>
2851 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2852 masking out of the most significant byte of random value used.
2853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2854 Fix coding style in previous change.
2856 * sysdeps/unix/sysv/linux/kernel-features.h
2857 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2858 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2860 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2863 2012-03-11 David S. Miller <davem@davemloft.net>
2865 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2866 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2867 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2868 for 'resultvar' otherwise things get truncated on 64-bit.
2870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2871 Fix masking out of the most significant byte of random value used.
2873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2875 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2879 2012-03-09 David S. Miller <davem@davemloft.net>
2881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2882 variables with appropriate CPP guards.
2883 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2884 frame pointer, not the stack pointer. Correct layout comments. Fix test
2885 on resulting framesize and the management of the outregs buffer for pltexit.
2886 Preserve floating point return values across _dl_call_pltexit call.
2887 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2888 framesize and the management of the outregs buffer for pltexit.
2889 Preserve floating point return values across _dl_call_pltexit
2891 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2892 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2893 (print_exit): Fix format string for return register value.
2895 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2897 * sunrpc/Makefile (others): Add rpcgen.
2898 ($(objpfx)rpcgen): Remove special build rule and dependency on
2900 * sunrpc/rpcgen.c: New file.
2902 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2905 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2906 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2907 * sysdeps/i386/crti.S: Likewise.
2908 * sysdeps/i386/crtn.S: Likewise.
2909 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2910 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2911 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2912 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2913 * sysdeps/sh/crti.S: Likewise.
2914 * sysdeps/sh/crtn.S: Likewise.
2915 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2918 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2920 * locale/programs/locfile-kw.gperf: Likewise.
2921 * locale/programs/charmap-kw.h: Regenerated.
2922 * locale/programs/locfile-kw.h: Likewise.
2925 * intl/plural.y: Replace FSF snail mail address with URL.
2926 * intl/plural.c: Regenerated.
2928 2012-03-09 Richard Henderson <rth@twiddle.net>
2930 * include/math_private.h: Remove file.
2931 * math/math_private.h: Move file ...
2932 * sysdeps/generic/math_private.h: ... here.
2934 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2935 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2936 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2938 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2939 and <math_private.h>.
2940 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2941 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2942 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2943 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2944 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2945 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2946 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2947 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2948 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2949 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2951 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2952 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2954 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2955 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2956 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2957 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2958 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2959 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2961 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2962 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2964 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2965 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2966 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2967 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2970 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2972 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2973 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2974 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2978 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2979 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2983 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2984 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2985 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2986 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2987 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2988 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2989 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2990 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2991 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2992 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2993 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2994 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2995 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2996 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3003 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3013 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3014 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3015 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3018 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3019 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3020 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3021 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3022 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3023 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3024 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3025 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3026 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3027 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3028 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3029 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3030 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3031 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3032 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3033 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3034 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3035 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3036 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3037 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3038 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3039 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3040 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3041 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3042 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3043 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3044 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3045 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3046 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3047 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3048 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3049 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3050 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3051 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3052 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3053 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3054 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3055 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3056 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3057 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3058 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3059 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3060 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3061 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3062 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3063 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3064 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3065 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3066 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3067 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3068 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3069 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3070 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3071 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3072 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3073 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3074 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3075 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3076 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3077 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3078 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3079 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3080 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3081 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3082 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3083 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3084 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3085 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3086 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3087 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3088 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3089 * sysdeps/ieee754/k_standard.c: Likewise.
3090 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3091 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3092 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3093 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3094 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3095 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3096 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3097 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3098 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3099 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3100 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3101 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3102 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3103 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3104 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3105 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3106 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3107 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3108 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3109 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3111 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3112 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3113 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3114 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3115 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3116 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3117 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3119 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3120 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3121 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3122 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3123 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3124 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3125 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3126 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3127 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3129 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3130 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3131 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3132 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3133 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3134 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3135 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3136 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3137 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3138 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3139 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3140 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3141 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3142 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3143 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3144 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3145 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3146 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3147 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3148 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3149 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3150 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3151 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3152 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3153 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3156 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3157 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3158 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3159 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3162 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3163 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3164 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3165 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3166 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3167 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3168 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3169 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3171 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3172 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3173 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3177 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3179 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3181 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3182 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3183 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3185 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3186 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3187 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3188 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3189 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3192 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3193 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3194 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3195 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3196 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3197 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3198 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3201 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3202 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3203 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3204 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3205 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3206 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3207 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3208 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3209 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3210 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3211 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3212 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3213 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3214 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3215 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3216 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3217 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3218 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3219 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3220 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3221 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3222 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3223 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3224 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3225 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3226 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3230 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3231 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3232 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3233 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3234 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3235 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3237 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3238 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3239 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3240 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3241 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3242 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3243 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3244 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3245 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3246 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3247 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3248 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3249 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3250 * sysdeps/ieee754/s_lib_version.c: Likewise.
3251 * sysdeps/ieee754/s_matherr.c: Likewise.
3252 * sysdeps/ieee754/s_signgam.c: Likewise.
3253 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3254 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3255 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3256 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3257 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3258 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3259 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3260 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3261 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3262 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3263 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3264 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3265 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3266 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3267 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3268 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3269 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3270 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3271 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3272 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3273 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3275 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3277 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3278 * sunrpc/rpc_main.c: Likewise.
3279 * sunrpc/rpc_svcout.c: Likewise.
3281 2012-03-09 David S. Miller <davem@davemloft.net>
3283 * include/math_private.h: New file.
3285 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3287 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3288 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3289 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3290 from <bits/socket_type.h>.
3291 (enum __socket_type): Don't define here.
3292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3297 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3300 * Makerules ($(inst_includedir)/%.h): New rule.
3301 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3302 (install-others): Remove variable setting.
3303 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3305 2012-03-08 Richard Henderson <rth@twiddle.net>
3307 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3308 from macro to inline function; merge with the
3309 !__LIBC_INTERNAL_MATH_INLINES version.
3310 (__ieee754_sqrtf): Likewise.
3312 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3314 (__rintf, __floor, __floorf): Likewise.
3316 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3317 macro to inline function.
3318 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3320 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3321 not <math/math_private.h>.
3323 2012-03-08 David S. Miller <davem@davemloft.net>
3325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3327 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3329 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3331 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3333 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3334 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3336 2012-03-08 Ulrich Drepper <drepper@gmail.com>
3338 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3339 be defined individually, they must be defined as a block. Define
3340 S for printing a string instead of hidint the different by using a
3341 macro for adding the 'l'.
3342 * stdio-common/tst-fphex-wide.c: Adjust.
3344 2012-03-07 Marek Polacek <polacek@redhat.com>
3346 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3348 2012-03-08 Marek Polacek <polacek@redhat.com>
3351 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3352 * stdio-common/tst-fphex.c: Define a few macros to make the
3353 test reusable. Use them.
3354 * stdio-common/tst-fphex-wide.c: New file.
3356 2012-03-08 Joseph Myers <joseph@codesourcery.com>
3359 * manual/macros.texi (gnusystems): New macro.
3360 (nongnusystems): Likewise.
3361 (gnulinuxhurdsystems): Likewise.
3362 (gnuhurdsystems): Likewise..
3363 (gnulinuxsystems): Likewise.
3364 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3365 variants of the GNU system, not "GNU system".
3366 * manual/conf.texi: Likewise.
3367 * manual/errno.texi: Likewise. Update example of errno macro
3369 * manual/filesys.texi: Likewise.
3370 (getumask): Document as specific to GNU/Hurd.
3371 * manual/install.texi: Likewise. Reword some references to
3373 * manual/intro.texi: Likewise.
3374 * manual/io.texi: Likewise.
3375 (File Name Portability): Detail which constraints are inapplicable
3376 to all GNU systems and which are only inapplicable to GNU/Hurd.
3377 * manual/job.texi: Likewise.
3378 * manual/llio.texi: Likewise.
3379 (O_NOCTTY): Document as present on GNU/Linux.
3380 * manual/maint.texi: Likewise.
3381 * manual/memory.texi: Likewise.
3382 * manual/pattern.texi: Likewise.
3383 * manual/pipe.texi: Likewise.
3384 * manual/process.texi: Likewise.
3385 * manual/resource.texi: Likewise.
3386 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3388 * manual/setjmp.texi: Likewise.
3389 * manual/signal.texi: Likewise.
3390 * manual/startup.texi: Likewise.
3391 * manual/stdio.texi: Likewise.
3392 * manual/terminal.texi: Likewise.
3393 (ONLCR): Document as POSIX.
3394 (OXTABS): Document availability on GNU/Linux as XTABS.
3395 (ONOEOT): Document availability separately from other bits.
3396 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3397 * manual/time.texi: Likewise.
3398 * manual/users.texi: Likewise.
3399 * INSTALL: Regenerated.
3400 * sysdeps/gnu/errlist.c: Regenerated.
3402 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3403 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3404 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3406 * configure: Regenerated.
3408 2012-03-07 Joseph Myers <joseph@codesourcery.com>
3410 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3411 default includes instead of AC_HEADER_CHECK.
3412 * sysdeps/i386/configure: Regenerated.
3415 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3416 * math/s_cacoshf.c (__cacoshf): Likewise.
3417 * math/s_cacoshl.c (__cacoshl): Likewise.
3418 * math/s_casinh.c (__casinh): Set signs of result from argument.
3419 * math/s_casinhf.c (__casinhf): Likewise.
3420 * math/s_casinhl.c (__casinhl): Likewise.
3421 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3422 (casinh_test): Add more tests.
3423 * sysdeps/i386/fpu/libm-test-ulps: Update.
3424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3426 2012-03-07 Ulrich Drepper <drepper@gmail.com>
3428 * po/zh_TW.po: Update from translation team.
3430 * login/Makefile (distribute): Remove variable.
3431 * catgets/Makefile: Likewise.
3432 * mach/Makefile: Likewise.
3433 * malloc/Makefile: Likewise.
3434 * misc/Makefile: Likewise.
3435 * iconv/Makefile: Likewise.
3436 * nscd/Makefile: Likewise.
3437 * hurd/Makefile: Likewise.
3438 * manual/Makefile: Likewise.
3439 * locale/Makefile: Likewise.
3440 * intl/Makefile: Likewise.
3441 * conform/Makefile: Likewise.
3442 * nss/Makefile: Likewise.
3443 * time/Makefile: Likewise.
3444 * soft-fp/Makefile: Likewise.
3445 * dirent/Makefile: Likewise.
3446 * gmon/Makefile: Likewise.
3447 * po/Makefile: Likewise.
3448 * rt/Makefile: Likewise.
3449 * socket/Makefile: Likewise.
3450 * math/Makefile: Likewise.
3451 * signal/Makefile: Likewise.
3452 * debug/Makefile: Likewise.
3453 * elf/Makefile: Likewise.
3454 * timezone/Makefile: Likewise.
3455 * stdlib/Makefile: Likewise.
3456 * iconvdata/Makefile: Likewise.
3457 * sunrpc/Makefile: Likewise.
3458 * io/Makefile: Likewise.
3459 * argp/Makefile: Likewise.
3460 * inet/Makefile: Likewise.
3461 * hesiod/Makefile: Likewise.
3462 * grp/Makefile: Likewise.
3463 * csu/Makefile: Likewise.
3464 * wctype/Makefile: Likewise.
3465 * crypt/Makefile: Likewise.
3466 * libio/Makefile: Likewise.
3467 * string/Makefile: Likewise.
3468 * nis/Makefile: Likewise.
3469 * resolv/Makefile: Likewise.
3470 * stdio-common/Makefile: Likewise.
3471 * wcsmbs/Makefile: Likewise.
3472 * dlfcn/Makefile: Likewise.
3473 * posix/Makefile: Likewise.
3476 * timezone/Makefile: Don't install timezone files, just the programs
3479 2012-03-06 Ulrich Drepper <drepper@gmail.com>
3481 * nss/databases.def: Add missing gshadow entry.
3483 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3485 2012-03-06 Marek Polacek <polacek@redhat.com>
3488 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3489 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3490 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3491 * stdio-common/tst-long-dbl-fphex.c: New file.
3493 2012-03-06 David S. Miller <davem@davemloft.net>
3495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3496 (set_obp_int): New function.
3497 (get_obp_int): New function.
3498 (__get_clockfreq_via_dev_openprom): Likewise.
3499 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3500 Avoid unused variable warnings on 'val' and use builtin_expect.
3501 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3503 (INLINE_CLONE_SYSCALL): Likewise.
3505 2012-03-05 David S. Miller <davem@davemloft.net>
3507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3509 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3513 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3515 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3517 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
3519 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3520 Replace gettimeofday with __vdso_gettimeofday.
3522 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3523 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3524 __vdso_clock_gettime and __vdso_getcpu.
3526 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3527 time with __vdso_time.
3529 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3531 * manual/lang.texi (size_t): Note types to which size_t may be
3532 equivalent with the GNU C Library, but do not describe when
3533 differences between them are significant.
3535 2012-03-05 Andreas Jaeger <aj@suse.de>
3537 * sysdeps/i386/fpu/libm-test-ulps: Update.
3539 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3542 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3543 (__ieee754_pow): Save and restore rounding mode and use
3544 round-to-nearest for main computations.
3545 * math/libm-test.inc (pow_test_tonearest): New function.
3546 (pow_test_towardzero): Likewise.
3547 (pow_test_downward): Likewise.
3548 (pow_test_upward): Likewise.
3549 (main): Call the new functions.
3550 * sysdeps/i386/fpu/libm-test-ulps: Update.
3551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3554 * math/libm-test.inc (cosh_test_tonearest): New function.
3555 (cosh_test_towardzero): Likewise.
3556 (cosh_test_downward): Likewise.
3557 (cosh_test_upward): Likewise.
3558 (sinh_test_tonearest): Likewise.
3559 (sinh_test_towardzero): Likewise.
3560 (sinh_test_downward): Likewise.
3561 (sinh_test_upward): Likewise.
3562 (main): Call the new functions.
3563 * sysdeps/i386/fpu/libm-test-ulps: Update.
3564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3566 2012-03-05 Tom de Vries <tom@codesourcery.com>
3568 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3569 default stack guard is set in last bytes.
3570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3572 2012-03-05 Kees Cook <keescook@chromium.org>
3574 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3577 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3578 possibly allocate from heap instead of stack.
3579 * stdio-common/bug-vfprintf-nargs.c: New file.
3580 * stdio-common/Makefile (tests): Add nargs overflow test.
3582 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3586 2012-03-03 Marek Polacek <polacek@redhat.com>
3588 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3589 * math/math_private.h: Likewise.
3590 * stdlib/tst-strtod.c: Likewise.
3591 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3592 * sysdeps/x86_64/bits/atomic.h: Likewise.
3594 2012-03-02 David S. Miller <davem@davemloft.net>
3596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3600 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3601 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3602 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3603 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3605 2012-03-02 Roland McGrath <roland@hack.frob.com>
3608 * manual/examples/README: New file, says the example source files
3609 can be used under GPL>=2.
3610 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3611 line containing just "*/".
3612 * manual/examples/add.c: Add copyright header (GPL>=2).
3613 * manual/examples/argp-ex1.c: Likewise.
3614 * manual/examples/argp-ex2.c: Likewise.
3615 * manual/examples/argp-ex3.c: Likewise.
3616 * manual/examples/argp-ex4.c: Likewise.
3617 * manual/examples/atexit.c: Likewise.
3618 * manual/examples/db.c: Likewise.
3619 * manual/examples/dir.c: Likewise.
3620 * manual/examples/dir2.c: Likewise.
3621 * manual/examples/execinfo.c: Likewise.
3622 * manual/examples/filecli.c: Likewise.
3623 * manual/examples/filesrv.c: Likewise.
3624 * manual/examples/fmtmsgexpl.c: Likewise.
3625 * manual/examples/genpass.c: Likewise.
3626 * manual/examples/inetcli.c: Likewise.
3627 * manual/examples/inetsrv.c: Likewise.
3628 * manual/examples/isockad.c: Likewise.
3629 * manual/examples/longopt.c: Likewise.
3630 * manual/examples/memopen.c: Likewise.
3631 * manual/examples/memstrm.c: Likewise.
3632 * manual/examples/mkfsock.c: Likewise.
3633 * manual/examples/mkisock.c: Likewise.
3634 * manual/examples/mygetpass.c: Likewise.
3635 * manual/examples/pipe.c: Likewise.
3636 * manual/examples/popen.c: Likewise.
3637 * manual/examples/rprintf.c: Likewise.
3638 * manual/examples/search.c: Likewise.
3639 * manual/examples/select.c: Likewise.
3640 * manual/examples/setjmp.c: Likewise.
3641 * manual/examples/sigh1.c: Likewise.
3642 * manual/examples/sigusr.c: Likewise.
3643 * manual/examples/stpcpy.c: Likewise.
3644 * manual/examples/strdupa.c: Likewise.
3645 * manual/examples/strftim.c: Likewise.
3646 * manual/examples/strncat.c: Likewise.
3647 * manual/examples/subopt.c: Likewise.
3648 * manual/examples/swapcontext.c: Likewise.
3649 * manual/examples/termios.c: Likewise.
3650 * manual/examples/testopt.c: Likewise.
3651 * manual/examples/testpass.c: Likewise.
3652 * manual/examples/timeval_subtract.c: Likewise.
3655 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3657 * manual/timeval_subtract.c.texi: ... here, new file.
3659 2012-03-02 David S. Miller <davem@davemloft.net>
3661 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3663 2012-03-02 Joseph Myers <joseph@codesourcery.com>
3666 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3667 (__sin): Save and restore rounding mode and use round-to-nearest
3668 for all computations.
3669 (__cos): Save and restore rounding mode and use round-to-nearest
3670 for all computations.
3671 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3673 (tan): Save and restore rounding mode and use round-to-nearest for
3675 * math/libm-test.inc (cos_test_tonearest): New function.
3676 (cos_test_towardzero): Likewise.
3677 (cos_test_downward): Likewise.
3678 (cos_test_upward): Likewise.
3679 (sin_test_tonearest): Likewise.
3680 (sin_test_towardzero): Likewise.
3681 (sin_test_downward): Likewise.
3682 (sin_test_upward): Likewise.
3683 (tan_test_tonearest): Likewise.
3684 (tan_test_towardzero): Likewise.
3685 (tan_test_downward): Likewise.
3686 (tan_test_upward): Likewise.
3687 (main): Call the new functions.
3688 * sysdeps/i386/fpu/libm-test-ulps: Update.
3689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3692 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3693 small n, then large n, before computing and testing k+n.
3694 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3695 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3697 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3699 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3700 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3701 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3702 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3703 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3704 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3705 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3706 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3707 * math/libm-test.inc (scalbn_test): Add more tests.
3708 (scalbln_test): Likewise.
3710 * manual/filesys.texi (mode_t): Describe constraints on size and
3711 signedness, not exact equivalence to a particular type.
3713 (ino64_t): Likewise.
3715 (nlink_t): Likewise.
3716 (blkcnt_t): Likewise.
3717 (blkcnt64_t): Likewise.
3718 * manual/llio.texi (off_t): Likewise.
3721 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3722 (__ieee754_exp): Save and restore rounding mode and use
3723 round-to-nearest for all computations.
3724 * math/libm-test.inc (exp_test_tonearest): New function.
3725 (exp_test_towardzero): Likewise.
3726 (exp_test_downward): Likewise.
3727 (exp_test_upward): Likewise.
3728 (main): Call the new functions.
3729 * sysdeps/i386/fpu/libm-test-ulps: Update.
3730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3732 2012-03-01 Chris Demetriou <cgd@google.com>
3734 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3735 have predictable order.
3737 2012-03-01 David S. Miller <davem@davemloft.net>
3739 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3741 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3742 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3743 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3744 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3746 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3747 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3748 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3750 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3751 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3752 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3753 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3754 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3758 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3759 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3760 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3762 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3763 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3764 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3765 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3766 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3767 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3768 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3769 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3770 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3771 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3772 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3773 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3774 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3775 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3776 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3777 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3778 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3779 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3780 * sysdeps/sparc/elf/configure: Regenerated.
3782 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3784 * configure.in (AS, LD): Require binutils 2.20 or later.
3785 * configure: Regenerated.
3786 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3787 as required minimum version.
3788 * INSTALL: Regenerated.
3792 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3793 before squaring exponent.
3794 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3795 bottom long double and 27 bits of top long double before squaring
3797 * math/libm-test.inc (erfc_test): Add more tests.
3798 * sysdeps/i386/fpu/libm-test-ulps: Update.
3799 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3802 2012-03-01 Kai Tietz <ktietz@redhat.com>
3804 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3805 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3806 containing bit-fields.
3807 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3808 * soft-fp/single.h (_FP_UNION_S): Likewise.
3809 * soft-fp/double.h (_FP_UNION_D): Likewise.
3811 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3814 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3815 not include ../strcmp.S.
3816 [USE_AS_STRNCASECMP_L]: Likewise.
3817 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3818 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3819 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3820 (__strncasecmp_l_ia32): Define as alias to
3821 __strncasecmp_l_nonascii.
3824 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3825 * sysdeps/i386/fpu/libm-test-ulps: Update.
3826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3828 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3831 2012-02-29 Jeff Law <law@redhat.com>
3833 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3836 2012-02-29 Marek Polacek <polacek@redhat.com>
3839 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3840 * elf/Makefile: Add rules to run tst-unused-dep.out.
3842 2012-02-28 David S. Miller <davem@davemloft.net>
3844 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3845 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3846 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3847 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3848 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3849 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3851 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3853 * math/libm-test.inc (llround_test): Move one test from
3854 lround_test. Use TEST_f_L in moved test.
3855 (lround_test): Move misplaced test to llround_test. Add testcase
3858 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3860 * sysdeps/x86_64/fpu/e_expf.S: New file.
3861 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3863 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3866 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3867 of remain_len that may cause incomplete multi-byte character and
3869 * posix/bug-regex33.c: New file.
3870 * posix/Makefile (tests): Add bug-regex33.
3872 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3874 * manual/macros.texi: New file.
3875 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3876 * manual/libc.texinfo: Include macros.texi.
3877 * manual/creatute.texi: Likewise.
3878 * manual/install.texi: Likewise.
3879 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3880 @glibcadj{} in references to the GNU C Library.
3881 * manual/charset.texi: Likewise.
3882 * manual/conf.texi: Likewise.
3883 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3884 when not using those macros.
3885 * manual/creature.texi: Likewise.
3886 * manual/crypt.texi: Likewise.
3887 * manual/errno.texi: Likewise.
3888 * manual/filesys.texi: Likewise.
3889 * manual/header.texi: Likewise.
3890 * manual/install.texi: Likewise.
3891 * manual/intro.texi: Likewise.
3892 * manual/io.texi: Likewise.
3893 * manual/job.texi: Likewise.
3894 * manual/lang.texi: Likewise.
3895 * manual/libc.texiinfo: Likewise.
3896 * manual/llio.texi: Likewise.
3897 * manual/locale.texi: Likewise.
3898 * manual/maint.texi: Likewise.
3899 * manual/math.texi: Likewise.
3900 * manual/memory.texi: Likewise.
3901 * manual/message.texi: Likewise.
3902 * manual/nss.texi: Likewise.
3903 * manual/pattern.texi: Likewise.
3904 * manual/process.texi: Likewise.
3905 * manual/resource.texi: Likewise.
3906 * manual/search.texi: Likewise.
3907 * manual/setjmp.texi: Likewise.
3908 * manual/signal.texi: Likewise.
3909 * manual/socket.texi: Likewise.
3910 * manual/startup.texi: Likewise.
3911 * manual/stdio.texi: Likewise.
3912 * manual/string.texi: Likewise.
3913 * manual/sysinfo.texi: Likewise.
3914 * manual/syslog.texi: Likewise.
3915 * manual/terminal.texi: Likewise.
3916 * manual/time.texi: Likewise.
3917 * manual/users.texi: Likewise.
3918 * INSTALL: Regenerated.
3919 * NOTES: Regenerated.
3920 * sysdeps/gnu/errlist.c: Regenerated.
3922 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3924 * include/dirent.h: Include <dirstream.h> before
3927 2012-02-28 David S. Miller <davem@davemloft.net>
3929 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3930 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3931 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3932 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3934 2012-02-27 David S. Miller <davem@davemloft.net>
3936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3938 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3939 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3942 frame pointer instead of stack pointer relative arg slot.
3943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3944 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3945 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3947 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3950 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3952 2012-02-27 David S. Miller <davem@davemloft.net>
3954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3958 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3959 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3960 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3961 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3963 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3965 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3966 later. Allow versions 5-9.
3967 * configure: Regenerated.
3968 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3969 required minimum version and 4.6 as recommended version. Do not
3970 mention bugs in GCC 2.7 and 2.8.
3971 * INSTALL: Regenerated.
3973 2012-02-27 David S. Miller <davem@davemloft.net>
3975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3979 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3980 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3981 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3982 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3984 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3985 manipulate bits before adding and subtracting TWO112[sx].
3986 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3988 2012-02-27 Roland McGrath <roland@hack.frob.com>
3991 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3992 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3993 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3994 being in POSIX, because they are in 1003.1-2008.
3996 * rt/tst-aio.c: Include <fcntl.h>.
3997 * rt/tst-aio7.c: Likewise.
3998 * rt/tst-aio64.c: Likewise.
4000 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4002 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4004 * manual/install.texi (--with-headers): Describe headers as
4005 interface headers, not private headers.
4006 (Specific advice for GNU/Linux systems): Describe use of headers
4007 from "make headers_install", not private headers from older
4009 * INSTALL: Regenerated.
4010 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4012 * sysdeps/unix/sysv/linux/configure: Regenerated.
4014 * manual/llio.texi (fclean): Remove documentation.
4016 * manual/Makefile (libc-texi-generated): New variable. Include
4018 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4019 $(libc-texi-generated), not duplicated list of files.
4020 (version.texi, stamp-version): New rules.
4021 (realclean): Remove $(libc-texi-generated), not individual files
4022 from that list. Do not remove dir-add.texinfo.
4023 * manual/libc.texinfo: Comment out uses of edition numbers and
4024 references to printed manual. Remove last-updated dates.
4025 (EDITION): Comment out.
4027 (VERSION, UPDATED): Remove.
4028 (version.texi): Include.
4030 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4032 * sysdeps/posix/spawni.c: Include <signal.h>.
4033 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4034 * sysdeps/pthread/aio_fsync.c: Likewise.
4036 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4038 * conform/Makefile (tests): Run only when not cross-compiling and
4039 when fast-check is not defined.
4041 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4042 * conform/data/limits.h-data: Fixes for POSIX2008.
4043 * conform/run-conformtest.sh: Run all tests.
4044 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4046 * include/bits/dlfcn.h: Likewise.
4047 * include/langinfo.h: Likewise.
4048 * include/monetary.h: Likewise.
4049 * include/sys/poll.h: Likewise.
4051 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4053 * posix/spawn.h: Define __need_sigset_t.
4054 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4055 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4056 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4057 to get sigevent_t only.
4058 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4061 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4062 process_vm_writev only for __USE_GNU.
4063 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4065 * conform/Makefile: For now ignore errors from run-conformtest.
4066 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4067 POSIX to avoid namespace pollution. Don't prepend headers.
4068 * conform/data/aio.h-data: Fixes for POSIX testing.
4069 * conform/data/fcntl.h-data: Likewise.
4070 * conform/data/glob.h-data: Likewise.
4071 * conform/data/grp.h-data: Likewise.
4072 * conform/data/pthread.h-data: Likewise.
4073 * conform/data/pwd.h-data: Likewise.
4074 * conform/data/signal.h-data: Likewise.
4075 * conform/data/spawn.h-data: Likewise.
4076 * conform/data/stdio.h-data: Likewise.
4077 * conform/data/stdlib.h-data: Likewise.
4078 * conform/data/stropts.h-data: Likewise.
4079 * conform/data/sys/mman.h-data: Likewise.
4080 * conform/data/sys/stat.h-data: Likewise.
4081 * conform/data/sys/types.h-data: Likewise.
4082 * conform/data/sys/wait.h-data: Likewise.
4083 * conform/data/time.h-data: Likewise.
4084 * conform/data/unistd.h-data: Likewise.
4085 * conform/data/utime.h-data: Likewise.
4087 * io/sys/stat.h: fchmod was always in POSIX.
4088 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4089 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4090 * rt/aio.h: Define __need_timespec before including <time.h>.
4091 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4092 struct. Add forward declaration of pthread_attr_t and use it in
4094 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4095 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4096 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4097 always remove CLK_TCK definition.
4099 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4101 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4103 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4105 * conform/run-conformtest.sh: New file.
4106 * conform/Makefile: Run run-conformtest for tests.
4107 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4110 * conform/data/uchar.h-data: New file.
4111 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4112 * conform/data/arpa/inet.h-data: Likewise.
4113 * conform/data/assert.h-data: Likewise.
4114 * conform/data/complex.h-data: Likewise.
4115 * conform/data/cpio.h-data: Likewise.
4116 * conform/data/ctype.h-data: Likewise.
4117 * conform/data/dirent.h-data: Likewise.
4118 * conform/data/dlfcn.h-data: Likewise.
4119 * conform/data/errno.h-data: Likewise.
4120 * conform/data/fcntl.h-data: Likewise.
4121 * conform/data/float.h-data: Likewise.
4122 * conform/data/fmtmsg.h-data: Likewise.
4123 * conform/data/fnmatch.h-data: Likewise.
4124 * conform/data/ftw.h-data: Likewise.
4125 * conform/data/glob.h-data: Likewise.
4126 * conform/data/grp.h-data: Likewise.
4127 * conform/data/iconv.h-data: Likewise.
4128 * conform/data/inttypes.h-data: Likewise.
4129 * conform/data/langinfo.h-data: Likewise.
4130 * conform/data/libgen.h-data: Likewise.
4131 * conform/data/limits.h-data: Likewise.
4132 * conform/data/locale.h-data: Likewise.
4133 * conform/data/math.h-data: Likewise.
4134 * conform/data/monetary.h-data: Likewise.
4135 * conform/data/mqueue.h-data: Likewise.
4136 * conform/data/ndbm.h-data: Likewise.
4137 * conform/data/net/if.h-data: Likewise.
4138 * conform/data/netdb.h-data: Likewise.
4139 * conform/data/netinet/in.h-data: Likewise.
4140 * conform/data/nl_types.h-data: Likewise.
4141 * conform/data/poll.h-data: Likewise.
4142 * conform/data/pthread.h-data: Likewise.
4143 * conform/data/pwd.h-data: Likewise.
4144 * conform/data/regex.h-data: Likewise.
4145 * conform/data/sched.h-data: Likewise.
4146 * conform/data/search.h-data: Likewise.
4147 * conform/data/semaphore.h-data: Likewise.
4148 * conform/data/setjmp.h-data: Likewise.
4149 * conform/data/signal.h-data: Likewise.
4150 * conform/data/spawn.h-data: Likewise.
4151 * conform/data/stdarg.h-data: Likewise.
4152 * conform/data/stdio.h-data: Likewise.
4153 * conform/data/stdlib.h-data: Likewise.
4154 * conform/data/string.h-data: Likewise.
4155 * conform/data/strings.h-data: Likewise.
4156 * conform/data/stropts.h-data: Likewise.
4157 * conform/data/sys/ipc.h-data: Likewise.
4158 * conform/data/sys/mman.h-data: Likewise.
4159 * conform/data/sys/msg.h-data: Likewise.
4160 * conform/data/sys/resource.h-data: Likewise.
4161 * conform/data/sys/select.h-data: Likewise.
4162 * conform/data/sys/sem.h-data: Likewise.
4163 * conform/data/sys/shm.h-data: Likewise.
4164 * conform/data/sys/socket.h-data: Likewise.
4165 * conform/data/sys/stat.h-data: Likewise.
4166 * conform/data/sys/statvfs.h-data: Likewise.
4167 * conform/data/sys/time.h-data: Likewise.
4168 * conform/data/sys/timeb.h-data: Likewise.
4169 * conform/data/sys/times.h-data: Likewise.
4170 * conform/data/sys/types.h-data: Likewise.
4171 * conform/data/sys/uio.h-data: Likewise.
4172 * conform/data/sys/un.h-data: Likewise.
4173 * conform/data/sys/utsname.h-data: Likewise.
4174 * conform/data/sys/wait.h-data: Likewise.
4175 * conform/data/syslog.h-data: Likewise.
4176 * conform/data/tar.h-data: Likewise.
4177 * conform/data/termios.h-data: Likewise.
4178 * conform/data/utime.h-data: Likewise.
4179 * conform/data/utmpx.h-data: Likewise.
4180 * conform/data/varargs.h-data: Likewise.
4181 * conform/data/wchar.h-data: Likewise.
4182 * conform/data/wctype.h-data: Likewise.
4183 * conform/data/wordexp.h-data: Likewise.
4185 * include/stropts.h: New file.
4186 * include/uchar.h: New file.
4187 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4188 * include/assert.h: Likewise.
4189 * include/ctype.h: Likewise.
4190 * include/dirent.h: Likewise.
4191 * include/dlfcn.h: Likewise.
4192 * include/fcntl.h: Likewise.
4193 * include/fnmatch.h: Likewise.
4194 * include/glob.h: Likewise.
4195 * include/grp.h: Likewise.
4196 * include/libio.h: Likewise.
4197 * include/locale.h: Likewise.
4198 * include/math.h: Likewise.
4199 * include/net/if.h: Likewise.
4200 * include/netdb.h: Likewise.
4201 * include/netinet/in.h: Likewise.
4202 * include/pthread.h: Likewise.
4203 * include/pwd.h: Likewise.
4204 * include/regex.h: Likewise.
4205 * include/sched.h: Likewise.
4206 * include/search.h: Likewise.
4207 * include/setjmp.h: Likewise.
4208 * include/signal.h: Likewise.
4209 * include/stdio.h: Likewise.
4210 * include/stdlib.h: Likewise.
4211 * include/string.h: Likewise.
4212 * include/sys/cdefs.h: Likewise.
4213 * include/sys/mman.h: Likewise.
4214 * include/sys/msg.h: Likewise.
4215 * include/sys/resource.h: Likewise.
4216 * include/sys/select.h: Likewise.
4217 * include/sys/socket.h: Likewise.
4218 * include/sys/stat.h: Likewise.
4219 * include/sys/statvfs.h: Likewise.
4220 * include/sys/time.h: Likewise.
4221 * include/sys/times.h: Likewise.
4222 * include/sys/uio.h: Likewise.
4223 * include/sys/utsname.h: Likewise.
4224 * include/sys/wait.h: Likewise.
4225 * include/termios.h: Likewise.
4226 * include/time.h: Likewise.
4227 * include/ulimit.h: Likewise.
4228 * include/unistd.h: Likewise.
4229 * include/utime.h: Likewise.
4230 * include/wchar.h: Likewise.
4231 * include/wctype.h: Likewise.
4232 * include/wordexp.h: Likewise.
4234 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4236 * time/time.h: TIME_UTC must be a macro.
4237 Make timespec_get available for ISO C11 only as well.
4239 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4241 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4242 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4244 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4246 * configure.in: Use -o not -a in test for unsupported multi-arch.
4248 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4250 * manual/texinfo.tex: Update to version 2012-01-19.16.
4252 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4254 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4256 2012-02-24 Roland McGrath <roland@hack.frob.com>
4259 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4260 * manual/fdl-1.3.texi: New file.
4261 * manual/fdl-1.1.texi: File removed.
4264 * manual/libc.texinfo (FDL_VERSION): New @set.
4265 Use it for mention of FDL in cover text.
4266 (Documentation License): Use it in @include file name.
4268 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4269 Roland McGrath <roland@hack.frob.com>
4272 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4273 not LONG_LONG_MAX and LONG_LONG_MIN.
4274 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4275 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4277 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4279 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4283 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4284 manipulate bits before adding and subtracting TWO23[sx].
4285 * math/libm-test.inc (nearbyint_test): Add more tests.
4287 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4290 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4291 bits before adding and subtracting TWO23[sx].
4292 * math/libm-test.inc (rint_test): Add more tests.
4293 (rint_test_tonearest): Likewise.
4294 (rint_test_towardzero): Likewise.
4295 (rint_test_downward): Likewise.
4296 (rint_test_upward: Likewise.
4298 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4301 * include/stdc-predef.h: New file. Extracted from features.h.
4302 * include/features.h: Include stdc-predef.h.
4303 * Makefile (headers): Add stdc-predef.h.
4304 * CONFORMANCE (Compiler limitations): Update.
4306 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4308 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4310 2012-02-21 David S. Miller <davem@davemloft.net>
4312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4313 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4315 2012-02-20 David S. Miller <davem@davemloft.net>
4317 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4318 using a normal save/restore sequence, rather than allocating a
4319 dummy stack frame just to store a frame pointer and restore.
4320 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4322 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4324 * manual/install.texi: Fix stray word in line-wrapped comment.
4326 2012-02-20 David S. Miller <davem@davemloft.net>
4328 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4329 both binutils and gcc support GOTDATA.
4331 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4332 "rd %pc" in the PIC register setup sequences.
4334 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4335 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4337 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4338 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4339 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4340 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4341 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4343 (SYSCALL_ERROR_HANDLER): Likewise.
4344 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4345 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4346 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4347 (SYSCALL_ERROR_HANDLER): Likewise.
4349 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4350 (HAVE_GCC_GOTDATA): New.
4351 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4352 relocation support in both binutils and gcc.
4353 * sysdeps/sparc/elf/configure: Regenerate.
4355 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4356 * sysdeps/sparc/sparc32/elf/configure: Delete.
4357 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4358 * sysdeps/sparc/sparc64/elf/configure: Delete.
4359 * sysdeps/sparc/elf/configure.in: New file.
4360 * sysdeps/sparc/elf/configure: Generate.
4362 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4363 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4364 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4365 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4366 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4368 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4370 * manual/install.texi: Do not mention specific glibc version
4372 * manual/libc.texinfo (VERSION, UPDATED): Update.
4373 (@copying): Use @copyright{} and range of years.
4375 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4378 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4379 [crti.S not in sysdirs] (generated): Do not append.
4380 [crti.S not in sysdirs] (omit-deps): Likewise.
4381 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4382 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4383 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4384 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4385 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4387 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4388 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4389 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4390 * csu/defs.awk: Remove file.
4391 * sysdeps/generic/initfini.c: Likewise.
4392 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4394 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4397 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4399 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4400 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4401 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4402 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4403 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4404 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4406 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4407 (__EPOLL_PACKED): Define to empty if not defined by
4409 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4413 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4415 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4416 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4417 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4418 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4420 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4421 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4424 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4426 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4428 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4429 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4430 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4433 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4435 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4436 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4438 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4440 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4441 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4443 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4445 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4448 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4450 * math/w_acos.c: Use non-signaling floating-point comparisons.
4451 * math/w_acosf.c: Likewise.
4452 * math/w_acosh.c: Likewise.
4453 * math/w_acoshf.c: Likewise.
4454 * math/w_acoshl.c: Likewise.
4455 * math/w_acosl.c: Likewise.
4456 * math/w_asin.c: Likewise.
4457 * math/w_asinf.c: Likewise.
4458 * math/w_asinl.c: Likewise.
4459 * math/w_atanh.c: Likewise.
4460 * math/w_atanhf.c: Likewise.
4461 * math/w_atanhl.c: Likewise.
4462 * math/w_exp2.c: Likewise.
4463 * math/w_exp2f.c: Likewise.
4464 * math/w_exp2l.c: Likewise.
4465 * math/w_j0.c: Likewise.
4466 * math/w_j0f.c: Likewise.
4467 * math/w_j0l.c: Likewise.
4468 * math/w_j1.c: Likewise.
4469 * math/w_j1f.c: Likewise.
4470 * math/w_j1l.c: Likewise.
4471 * math/w_jn.c: Likewise.
4472 * math/w_jnf.c: Likewise.
4473 * math/w_log.c: Likewise.
4474 * math/w_log10.c: Likewise.
4475 * math/w_log10f.c: Likewise.
4476 * math/w_log10l.c: Likewise.
4477 * math/w_log2.c: Likewise.
4478 * math/w_log2f.c: Likewise.
4479 * math/w_log2l.c: Likewise.
4480 * math/w_logf.c: Likewise.
4481 * math/w_logl.c: Likewise.
4482 * math/w_sqrt.c: Likewise.
4483 * math/w_sqrtf.c: Likewise.
4484 * math/w_sqrtl.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4486 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4487 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4488 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4489 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4491 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4494 * manual/string.texi (strnlen): Use correct parameter name in
4495 equivalent expression.
4497 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4500 * manual/users.texi (seteuid): Consistently use neweuid for
4503 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4506 * manual/nss.texi (Services in the NSS configuration): Correct
4507 list of services in example configuration file.
4509 2012-02-19 Nick Bowler <nbowler@draconx.ca>
4512 * manual/arith.texi: Remove statements about negative zero
4513 behaving identically to zero.
4515 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4518 * manual/install.texi: Do not document upgrading from libc5.
4520 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4523 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4525 2012-02-18 David S. Miller <davem@davemloft.net>
4527 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4528 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4529 %o7 across the call.
4530 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4532 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4535 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4536 * sysdeps/sparc/crtn.S: Likewise.
4538 2012-02-17 Ulrich Drepper <drepper@gmail.com>
4540 * aout/Makefile: Remove.
4542 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4545 * manual/examples/argp-ex1.c (main): Format definition in GNU
4547 * manual/examples/argp-ex2.c (main): Likewise.
4548 * manual/examples/argp-ex3.c (main): Likewise.
4549 * manual/examples/argp-ex4.c (main): Likewise.
4550 * manual/examples/longopt.c (main): Use new-style prototype
4552 * manual/examples/strncat.c (main): Specify return type and use
4553 (void) for arguments.
4554 * manual/examples/subopt.c (main): Use char **argv argument.
4556 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4559 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4562 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4565 * manual/string.texi (strchr): Change when strchrnul is
4568 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4571 * manual/locale.texi (setlocale): Document LOCPATH.
4573 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4576 * manual/process.texi (execle): Move @dots{} before last argument.
4578 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
4581 * manual/charset.texi (Generic Charset Conversion): Fix typo
4582 (LC_TYPE -> LC_CTYPE).
4584 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4587 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4588 (scalbnf): Likewise.
4589 (scalbnl): Likewise.
4590 (scalbln): Likewise.
4591 (scalblnf): Likewise.
4592 (scalblnl): Likewise.
4593 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4597 * manual/filesys.texi (telldir): Use braces around return type.
4598 * manual/llio.texi (mmap): Add space after comma.
4600 * manual/math.texi (jn): Use @var{} on parameter names.
4606 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4608 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4610 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4611 (sched_get_priority_max): Likewise.
4612 * manual/signal.texi (sigvec): Add space after comma.
4613 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4615 (if_indextoname): Likewise.
4616 (if_freenameindex): Likewise.
4617 (sendto): Use ',' instead of '.' in prototype.
4618 * manual/startup.texi (syscall): Use @dots{} instead of literal
4620 * manual/stdio.texi (__fpending): Separate initial words of
4621 paragraph from @deftypefun line.
4622 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4624 (vsyslog): Use @var{} on parameter names.
4625 * manual/terminal.texi (stty): Use @var{} on parameter names.
4626 * manual/users.texi (getutmp): Use @var{} on parameter names.
4627 (getutmpx): Likewise.
4629 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4632 * manual/stdio.texi (fopen): Fix typos in description of
4635 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4638 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4639 get clock_id definition.
4641 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
4644 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4645 (madvise): Cast every argument to void on its own.
4647 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4650 * manual/startup.texi (Exit Status): Fix typo.
4652 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4655 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4656 * manual/examples/argp-ex2.c: Likewise.
4657 * manual/examples/argp-ex3.c: Likewise.
4659 2012-02-16 Richard Henderson <rth@redhat.com>
4661 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4662 * sysdeps/s390/s390-32/initfini.c: Remove.
4663 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4664 * sysdeps/s390/s390-64/initfini.c: Remove.
4666 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4668 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4669 compiler output for sysdeps/generic/initfini.c.
4670 * sysdeps/sh/elf/initfini.c: Remove file.
4672 2012-02-16 David S. Miller <davem@davemloft.net>
4675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4677 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4678 * sysdeps/sparc/crti.S: New file.
4679 * sysdeps/sparc/crtn.S: New file.
4680 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4681 * sysdeps/sparc/sparc64/Makefile: Likewise.
4683 2012-02-15 Mike Frysinger <vapier@gentoo.org>
4686 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4688 2012-02-15 Roland McGrath <roland@hack.frob.com>
4691 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4693 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4694 (write, read, close): Likewise.
4695 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4697 2012-02-15 Joseph Myers <joseph@codesourcery.com>
4699 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4700 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4701 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4702 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4704 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4708 2012-02-14 Marek Polacek <polacek@redhat.com>
4710 * sysdeps/x86_64/crti.S: New file.
4711 * sysdeps/x86_64/crtn.S: New file.
4712 * sysdeps/x86_64/elf/initfini.c: Remove file.
4714 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4716 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4717 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4718 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4719 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4721 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4725 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4727 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4728 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4729 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4730 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4732 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4736 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4738 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4739 __feraiseexcept instead of feraiseexcept.
4741 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4742 nanosleep invocations.
4743 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4744 strings, and add error checking for a nanosleep invocations.
4746 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4748 Replace FSF snail mail address with URLs, as per GNU coding standards.
4749 Most of the snail mail addresses were wrong anyway, and omitting
4750 them makes the source code easier to maintain. Almost all of the
4751 changes are to license notices and to locale LC_IDENTIFICATION
4752 addresses, except for this one:
4753 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4754 not its snail mail address.
4756 2012-02-09 Richard Henderson <rth@twiddle.net>
4758 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4759 of kernel-features.h.
4761 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4763 2012-02-08 Marek Polacek <polacek@redhat.com>
4765 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4766 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4767 * sysdeps/gnu/_G_config.h: Likewise.
4768 * sysdeps/generic/_G_config.h: Likewise.
4770 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4772 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4776 * sysdeps/powerpc/powerpc32/crti.S: New file.
4777 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4778 * sysdeps/powerpc/powerpc64/crti.S: New file.
4779 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4781 * Makeconfig (have-initfini): Don't set.
4782 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4783 * configure.in (nopic_initfini): Don't substitute.
4784 * config.h.in (HAVE_INITFINI): Don't #undef.
4785 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4786 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4788 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4790 Support crti.S and crtn.S provided directly by architectures.
4791 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4792 [crti.S in sysdirs] (omit-deps): Likewise.
4793 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4794 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4795 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4796 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4797 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4798 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4799 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4800 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4801 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4802 compiler output for sysdeps/generic/initfini.c.
4803 * sysdeps/i386/elf/Makefile: Remove file.
4804 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4806 2012-02-07 Marek Polacek <polacek@redhat.com>
4808 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4809 * sysdeps/gnu/_G_config.h: Likewise.
4810 * sysdeps/mach/hurd/_G_config.h: Likewise.
4812 2012-02-07 Marek Polacek <polacek@redhat.com>
4814 * math/Makefile (tests): Add tst-CMPLX2.
4815 * math/tst-CMPLX2.c: New file.
4817 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4819 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4821 * math/libm-test.inc (jn_test): Add missing L suffix.
4823 2012-02-06 Marek Polacek <polacek@redhat.com>
4825 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4826 * sysdeps/i386/fpu/e_powf.S: Likewise.
4827 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4828 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4829 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4830 * sysdeps/i386/fpu/e_pow.S: Likewise.
4831 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4832 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4833 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4834 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4835 * sysdeps/i386/fpu/e_log2.S: Likewise.
4836 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4837 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4838 * sysdeps/i386/fpu/e_powl.S: Likewise.
4839 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4840 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4841 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4842 * sysdeps/i386/fpu/e_logl.S: Likewise.
4843 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4844 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4845 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4846 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4847 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4848 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4849 * sysdeps/i386/fpu/e_log.S: Likewise.
4850 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4851 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4852 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4853 * sysdeps/i386/fpu/e_logf.S: Likewise.
4854 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4855 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4856 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4857 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4858 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4859 * sysdeps/i386/fpu/e_log10.S: Likewise.
4860 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4861 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4862 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4863 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4864 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4865 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4866 * sysdeps/i386/asm-syntax.h: Likewise.
4867 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4868 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4869 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4870 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4871 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4872 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4873 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4874 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4875 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4876 * sysdeps/powerpc/sysdep.h: Likewise.
4877 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4878 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4880 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4883 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4885 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4887 * sysdeps/i386/sysdep.h: Include <features.h>.
4888 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4891 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4893 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4895 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4898 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4900 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4901 (SETUP_PIC_REG): Use GET_PC_THUNK.
4902 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4905 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4907 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4908 for non-PIC compilation.
4909 (SETUP_PIC_REG): Add .p2align directive.
4910 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4911 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4912 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4913 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4914 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4915 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4916 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4917 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4918 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4919 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4920 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4921 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4922 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4923 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4924 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4925 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4926 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4927 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4928 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4929 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4930 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4931 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4932 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4933 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4934 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4936 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4937 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4938 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4939 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4940 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4941 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4942 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4947 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4952 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4954 * math/tst-CMPLX.c: Include <stdio.h>.
4956 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4958 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4960 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4961 * sysdeps/sparc/bits/mathdef.h: Likewise.
4963 2012-01-31 Marek Polacek <polacek@redhat.com>
4965 * libio/libio.h: Don't define _PARAMS.
4966 * locale/programs/config.h: Don't define PARAMS.
4967 * stdlib/strtol_l.c: Likewise.
4968 (__strtol_l): Remove PARAMS from the prototype.
4970 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4972 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4973 names. Just use the correct names. Remove unnecessary wrapper
4975 * malloc/arena.c: Likewise.
4976 * malloc/hooks.c: Likewise.
4978 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4979 ARENA_TEST says not to. Simplify test for creation of a new arena.
4980 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4982 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4984 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4986 (update_get_addr): New function.
4987 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4988 GET_ADDR_MODULE parameter.
4990 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4992 * crypt/cert.c: Remove __STDC__ conditionals.
4993 * crypt/crypt-entry.c: Likewise.
4994 * crypt/crypt_util.c: Likewise.
4995 * libio/filedoalloc.c: Likewise.
4996 * libio/fileops.c: Likewise.
4997 * libio/genops.c: Likewise.
4998 * libio/iofclose.c: Likewise.
4999 * libio/iofdopen.c: Likewise.
5000 * libio/iofopen.c: Likewise.
5001 * libio/iofopen64.c: Likewise.
5002 * libio/iogetdelim.c: Likewise.
5003 * libio/iopopen.c: Likewise.
5004 * libio/obprintf.c: Likewise.
5005 * libio/oldfileops.c: Likewise.
5006 * libio/oldiofclose.c: Likewise.
5007 * libio/oldiofdopen.c: Likewise.
5008 * libio/oldiofopen.c: Likewise.
5009 * libio/oldiopopen.c: Likewise.
5010 * libio/wfiledoalloc.c: Likewise.
5011 * libio/wgenops.c: Likewise.
5012 * locale/programs/xmalloc.c: Likewise.
5013 * misc/syslog.c: Likewise.
5014 * stdio-common/xbug.c: Likewise.
5015 * string/memchr.c: Likewise.
5016 * string/memcmp.c: Likewise.
5017 * string/memrchr.c: Likewise.
5018 * string/rawmemchr.c: Likewise.
5019 * sysdeps/posix/getcwd.c: Likewise.
5020 * time/strftime_l.c: Likewise.
5022 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5024 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5025 * config.make.in (config-cflags-sse2avx): Define.
5026 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5029 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5031 * scripts/config.guess: Update from upstream config git repository.
5032 * scripts/config.sub: Likewise.
5034 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5036 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5038 (R_TILEPRO_*, R_TILEGX_*): New macros.
5040 * scripts/firstversions.awk: Fix bug in version range handling.
5042 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5044 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5046 * include/sys/epoll.h: New file.
5047 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5050 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5052 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5053 Avoid unnecessary __WORDSIZE == 64 test.
5054 (fmaxf): Use VEX format if possible.
5059 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5060 * math/math_private.h: Remove libc_fegetround* and
5062 * sysdeps/i386/configure.in: Check for -msse2avx.
5063 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5064 also if SSE2AVX is defined.
5065 Remove libc_fegetround* and libc_fesetround*.
5066 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5067 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5068 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5070 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5071 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5072 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5073 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5074 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5076 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5078 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5080 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5082 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5084 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5087 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5089 * Makeconfig (libm): Define.
5090 * elf/Makefile: Add rules to build and run tst-relsort1.
5091 * elf/tst-relsort1.c: New file.
5092 * elf/tst-relsort1mod1.c: New file.
5093 * elf/tst-relsort1mod2.c: New file.
5095 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5097 * math/s_ldexp.c: Remove __STDC__ conditionals.
5098 * math/s_ldexpf.c: Likewise.
5099 * math/s_ldexpl.c: Likewise.
5100 * math/s_nextafter.c: Likewise.
5101 * math/s_nexttowardf.c: Likewise.
5102 * math/s_significand.c: Likewise.
5103 * math/s_significandf.c: Likewise.
5104 * math/s_significandl.c: Likewise.
5105 * math/w_jnl.c: Likewise.
5106 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5107 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5108 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5109 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5110 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5112 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5113 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5114 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5115 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5116 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5117 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5118 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5119 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5120 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5121 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5122 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5123 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5125 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5126 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5127 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5128 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5129 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5130 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5131 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5132 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5133 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5134 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5135 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5136 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5137 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5138 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5139 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5140 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5141 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5142 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5143 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5144 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5145 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5146 * sysdeps/ieee754/k_standard.c: Likewise.
5147 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5148 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5149 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5150 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5151 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5152 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5153 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5154 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5155 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5156 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5157 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5158 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5159 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5160 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5161 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5162 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5165 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5166 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5167 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5168 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5169 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5170 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5171 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5174 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5178 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5179 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5208 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5213 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5215 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5221 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5222 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5226 * sysdeps/ieee754/s_matherr.c: Likewise.
5227 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5228 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5229 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5230 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5232 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5234 * crypt/md5.h: Remove __STDC__ conditionals.
5235 * libio/libioP.h: Likewise.
5236 * locale/programs/config.h: Likewise.
5237 * sysdeps/generic/sysdep.h: Likewise.
5238 * sysdeps/i386/asm-syntax.h: Likewise.
5239 * sysdeps/s390/asm-syntax.h: Likewise.
5240 * sysdeps/unix/sysdep.h: Likewise.
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5244 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5246 * libio/libio.h: Remove __STDC__ conditionals.
5247 * malloc/obstack.h: Likewise.
5248 * math/complex.h: Likewise.
5249 * math/math.h: Likewise.
5250 * sysdeps/generic/_G_config.h: Likewise.
5251 * sysdeps/gnu/_G_config.h: Likewise.
5252 * sysdeps/mach/hurd/_G_config.h: Likewise.
5253 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5254 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5255 * sysdeps/sparc/bits/mathdef.h: Likewise.
5257 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5260 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5261 Clean up HAS_* macros.
5262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5263 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5265 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5267 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5268 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5269 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5270 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5271 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5273 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5275 * elf/tst-unique3.cc (gets): Remove declaration.
5276 * elf/tst-unique3lib.cc (gets): Likewise.
5277 * elf/tst-unique3lib2.cc (gets): Likewise.
5278 * elf/tst-unique4.cc (gets): Likewise.
5280 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5282 * include/stdio.h: Add C++ protection. Add gets declarations and
5284 * debug/tst-chk1.c: Don't declare gets here.
5285 * stdio-common/tst-gets.c: Likewise.
5287 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5289 * posix/glob: Remove directory.
5291 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5293 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5295 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5297 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5298 of the non-standard EPFNOSUPPORT.
5300 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5302 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5303 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5304 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5306 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5308 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5310 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5312 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5314 * nscd/grpcache.c (cache_addgr): Likewise.
5315 * nscd/hstcache.c (cache_addhst): Likewise.
5316 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5317 * nscd/pwdcache.c (cache_addpw): Likewise.
5318 * nscd/servicescache.c (cache_addserv): Likewise.
5320 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5322 * malloc/malloc.c: Various cleanups.
5323 * malloc/hooks.c: Likewise.
5325 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5326 * stdlib/bug-fmtmsg1.c: New file.
5328 * stdlib/fmtmsg.c (init): Add missing unlock.
5329 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5331 2012-01-12 Marek Polacek <polacek@redhat.com>
5333 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5336 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5338 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5339 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5340 macro to ensure uniqueness of label name.
5341 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5342 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5344 2012-01-11 Ulrich Drepper <drepper@gmail.com>
5346 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5348 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5349 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5350 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5351 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5353 2012-01-10 Ulrich Drepper <drepper@gmail.com>
5355 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5357 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5358 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5359 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5361 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5363 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5364 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5365 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5368 * math/bits/math-finite.h: Add ldexp support.
5370 2012-01-10 Marek Polacek <polacek@redhat.com>
5372 * locale/programs/localedef.h (show_archive_content): Add noreturn
5375 2012-01-09 Ulrich Drepper <drepper@gmail.com>
5377 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5379 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5381 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5383 * io/Makefile (headers): Add bits/poll2.h.
5385 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5388 typo #include statement.
5390 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5392 * include/sys/cdefs.h: Define __attribute_alloc_size.
5393 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5394 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5395 * elf/pldd.c: Likewise.
5396 * iconv/iconv_charmap.c: Likewise.
5397 * iconv/iconvconfig.c: Likewise.
5398 * iconv/strtab.c: Likewise.
5399 * locale/programs/locale.c: Likewise.
5400 * locale/programs/localedef.h: Likewise.
5401 * locale/programs/simple-hash.c: Likewise.
5402 * nscd/nscd.h: Likewise.
5403 * nss/makedb.c: Likewise.
5404 * sysdeps/generic/ldconfig.h: Likewise.
5405 * locale/programs/localedef.c: Remove xmalloc prototype.
5406 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5408 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5410 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5413 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5415 * math/Makefile (tests): Add tst-CMPLX.
5416 * math/tst-CMPLX.c: New file.
5418 * math/complex.h (CMPLXL): Fix typo.
5420 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5421 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5423 * debug/tst-chk1.c: Add poll and ppoll tests.
5424 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5425 * include/sys/poll.h: Add hidden proto for ppoll.
5426 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5427 * sysdeps/mach/hurd/ppoll.c: Likewise.
5428 * io/ppoll.c: Likewise.
5429 * debug/poll_chk.c: New file.
5430 * debug/ppoll_chk.c: New file.
5431 * include/bits/poll2.h: New file.
5432 * io/bits/poll2.h: New file.
5435 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5437 * configure.in: static is always set to yes. Remove.
5438 * config.make.in: Don't set build-static.
5439 * Makeconfig: Remove use of build-static.
5440 * dlfcn/Makefile: Likewise.
5441 * elf/Makefile: Likewise.
5442 * math/Makefile: Likewise.
5443 * misc/Makefile: Likewise.
5444 * nptl/Makefile: Likewise.
5445 * sysdeps/mach/hurd/Makefile: Likewise.
5447 * configure.in: PWD_P is not used anymore.
5448 * config.make.in: Remove PWD_P entry.
5450 * configure.in: Remove last remnants of RANLIB.
5451 No need to check for signed size_t anymore.
5452 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5454 Remove __builtin_expect test because we require at least gcc 3.4.
5455 * aclocal.m4: Likewise.
5457 * wcsmbs/mbrtoc16.c: Implement using towc function.
5458 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5459 * wcsmbs/wcsmbsload.c: Likewise.
5460 * iconv/gconv_simple.c: Likewise.
5461 * iconv/gconv_int.h: Likewise.
5462 * iconv/gconv_builtin.h: Likewise.
5463 * iconv/iconv_prog.c: Remove CHAR16 handling.
5465 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5467 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5469 * configure.in: Remove --with-elf and --enable-bounded options.
5470 Dont set base_machine for ia64. More non-ELF conditions removed.
5471 Remove testing and setting of leading underscore information.
5472 * config.make.in (build-bounded): Set to no.
5473 * config.h.in: Remove NO_UNDERSCORES entry.
5474 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5476 * csu/start.c: Remove !NO_UNDERSCORE code.
5477 * locale/localeinfo.h: Likewise.
5478 * sysdeps/generic/machine-gmon.h: Likewise.
5479 * sysdeps/generic/sysdep.h: Likewise.
5480 * sysdeps/i386/sysdep.h: Likewise.
5481 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5482 * sysdeps/mach/sysdep.h: Likewise.
5483 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5484 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5485 * sysdeps/sh/sysdep.h: Likewise.
5486 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5487 * sysdeps/unix/i386/sysdep.S: Likewise.
5488 * sysdeps/unix/sparc/start.c: Likewise.
5489 * sysdeps/unix/sparc/sysdep.S: Likewise.
5490 * sysdeps/unix/sparc/sysdep.h: Likewise.
5491 * sysdeps/unix/start.c: Likewise.
5492 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5493 * sysdeps/x86_64/sysdep.h: Likewise.
5495 2012-01-07 Ulrich Drepper <drepper@gmail.com>
5498 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5500 * argp/argp-fmtstream.h: Use const instead __const.
5501 * argp/argp.h: Likewise.
5502 * assert/assert.h: Likewise.
5503 * bits/fenv.h: Likewise.
5504 * bits/sched.h: Likewise.
5505 * bits/sigset.h: Likewise.
5506 * bits/sigthread.h: Likewise.
5507 * catgets/nl_types.h: Likewise.
5508 * conform/data/pthread.h-data: Likewise.
5509 * crypt/crypt-private.h: Likewise.
5510 * crypt/crypt.h: Likewise.
5511 * crypt/crypt_util.c: Likewise.
5512 * ctype/ctype.h: Likewise.
5513 * debug/execinfo.h: Likewise.
5514 * debug/mbsnrtowcs_chk.c: Likewise.
5515 * debug/mbsrtowcs_chk.c: Likewise.
5516 * debug/wcsnrtombs_chk.c: Likewise.
5517 * debug/wcsrtombs_chk.c: Likewise.
5518 * debug/wcstombs_chk.c: Likewise.
5519 * dirent/dirent.h: Likewise.
5520 * dlfcn/dlfcn.h: Likewise.
5521 * elf/neededtest4.c: Likewise.
5522 * grp/grp.h: Likewise.
5523 * gshadow/gshadow.h: Likewise.
5524 * iconv/gconv.h: Likewise.
5525 * iconv/gconv_int.h: Likewise.
5526 * iconv/gconv_simple.c: Likewise.
5527 * iconv/iconv.h: Likewise.
5528 * iconv/loop.c: Likewise.
5529 * iconv/skeleton.c: Likewise.
5530 * include/aio.h: Likewise.
5531 * include/aliases.h: Likewise.
5532 * include/argz.h: Likewise.
5533 * include/arpa/inet.h: Likewise.
5534 * include/assert.h: Likewise.
5535 * include/dirent.h: Likewise.
5536 * include/dlfcn.h: Likewise.
5537 * include/execinfo.h: Likewise.
5538 * include/fcntl.h: Likewise.
5539 * include/fenv.h: Likewise.
5540 * include/glob.h: Likewise.
5541 * include/grp.h: Likewise.
5542 * include/libintl.h: Likewise.
5543 * include/mntent.h: Likewise.
5544 * include/netdb.h: Likewise.
5545 * include/pwd.h: Likewise.
5546 * include/rpc/netdb.h: Likewise.
5547 * include/sched.h: Likewise.
5548 * include/search.h: Likewise.
5549 * include/shadow.h: Likewise.
5550 * include/signal.h: Likewise.
5551 * include/stdio.h: Likewise.
5552 * include/stdlib.h: Likewise.
5553 * include/string.h: Likewise.
5554 * include/sys/socket.h: Likewise.
5555 * include/sys/stat.h: Likewise.
5556 * include/sys/statfs.h: Likewise.
5557 * include/sys/statvfs.h: Likewise.
5558 * include/sys/syslog.h: Likewise.
5559 * include/sys/time.h: Likewise.
5560 * include/sys/uio.h: Likewise.
5561 * include/time.h: Likewise.
5562 * include/unistd.h: Likewise.
5563 * include/utmp.h: Likewise.
5564 * include/wchar.h: Likewise.
5565 * include/wctype.h: Likewise.
5566 * inet/aliases.h: Likewise.
5567 * inet/arpa/inet.h: Likewise.
5568 * inet/netinet/ether.h: Likewise.
5569 * inet/netinet/in.h: Likewise.
5570 * intl/libintl.h: Likewise.
5571 * io/bits/fcntl2.h: Likewise.
5572 * io/fcntl.h: Likewise.
5573 * io/ftw.h: Likewise.
5574 * io/sys/poll.h: Likewise.
5575 * io/sys/stat.h: Likewise.
5576 * io/sys/statfs.h: Likewise.
5577 * io/sys/statvfs.h: Likewise.
5578 * io/utime.h: Likewise.
5579 * libio/bits/stdio.h: Likewise.
5580 * libio/bits/stdio2.h: Likewise.
5581 * libio/libio.h: Likewise.
5582 * libio/libioP.h: Likewise.
5583 * libio/stdio.h: Likewise.
5584 * locale/lc-ctype.c: Likewise.
5585 * locale/locale.h: Likewise.
5586 * login/utmp.h: Likewise.
5587 * malloc/arena.c: Likewise.
5588 * malloc/malloc.c: Likewise.
5589 * malloc/malloc.h: Likewise.
5590 * malloc/mcheck.c: Likewise.
5591 * malloc/mtrace.c: Likewise.
5592 * math/bits/mathcalls.h: Likewise.
5593 * math/fenv.h: Likewise.
5594 * math/math_private.h: Likewise.
5595 * misc/bits/error.h: Likewise.
5596 * misc/bits/syslog.h: Likewise.
5597 * misc/err.h: Likewise.
5598 * misc/error.h: Likewise.
5599 * misc/fstab.h: Likewise.
5600 * misc/mntent.h: Likewise.
5601 * misc/regexp.h: Likewise.
5602 * misc/search.h: Likewise.
5603 * misc/sgtty.h: Likewise.
5604 * misc/sys/mman.h: Likewise.
5605 * misc/sys/syslog.h: Likewise.
5606 * misc/sys/uio.h: Likewise.
5607 * misc/sys/xattr.h: Likewise.
5608 * misc/ttyent.h: Likewise.
5609 * nis/rpcsvc/ypclnt.h: Likewise.
5610 * nss/nss.h: Likewise.
5611 * posix/bits/unistd.h: Likewise.
5612 * posix/fnmatch.h: Likewise.
5613 * posix/glob.h: Likewise.
5614 * posix/sched.h: Likewise.
5615 * posix/spawn.h: Likewise.
5616 * posix/sys/wait.h: Likewise.
5617 * posix/unistd.h: Likewise.
5618 * posix/wordexp.h: Likewise.
5619 * pwd/pwd.h: Likewise.
5620 * resolv/netdb.h: Likewise.
5621 * resource/sys/resource.h: Likewise.
5622 * rt/aio.h: Likewise.
5623 * rt/bits/mqueue2.h: Likewise.
5624 * rt/mqueue.h: Likewise.
5625 * shadow/shadow.h: Likewise.
5626 * signal/signal.h: Likewise.
5627 * socket/send.c: Likewise.
5628 * socket/sendto.c: Likewise.
5629 * socket/sys/socket.h: Likewise.
5630 * stdio-common/printf.h: Likewise.
5631 * stdlib/bits/stdlib.h: Likewise.
5632 * stdlib/fmtmsg.h: Likewise.
5633 * stdlib/monetary.h: Likewise.
5634 * stdlib/stdlib.h: Likewise.
5635 * stdlib/ucontext.h: Likewise.
5636 * streams/stropts.h: Likewise.
5637 * string/argz.h: Likewise.
5638 * string/bits/string2.h: Likewise.
5639 * string/string.h: Likewise.
5640 * string/strings.h: Likewise.
5641 * sunrpc/rpc/auth.h: Likewise.
5642 * sunrpc/rpc/auth_des.h: Likewise.
5643 * sunrpc/rpc/clnt.h: Likewise.
5644 * sunrpc/rpc/netdb.h: Likewise.
5645 * sunrpc/rpc/pmap_clnt.h: Likewise.
5646 * sunrpc/rpc/xdr.h: Likewise.
5647 * sysdeps/generic/inttypes.h: Likewise.
5648 * sysdeps/generic/net/if.h: Likewise.
5649 * sysdeps/generic/sys/swap.h: Likewise.
5650 * sysdeps/gnu/net/if.h: Likewise.
5651 * sysdeps/gnu/utmpx.h: Likewise.
5652 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5653 * sysdeps/i386/i486/bits/string.h: Likewise.
5654 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5655 * sysdeps/s390/bits/string.h: Likewise.
5656 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5657 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5658 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5659 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5660 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5661 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5662 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5663 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5664 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5665 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5666 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5667 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5668 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5669 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5670 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5671 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5672 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5674 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5675 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5676 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5677 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5678 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5679 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5680 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5681 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5682 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5683 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5684 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5685 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5686 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5687 * sysvipc/sys/ipc.h: Likewise.
5688 * sysvipc/sys/msg.h: Likewise.
5689 * sysvipc/sys/sem.h: Likewise.
5690 * sysvipc/sys/shm.h: Likewise.
5691 * termios/termios.h: Likewise.
5692 * time/sys/time.h: Likewise.
5693 * time/time.h: Likewise.
5694 * wcsmbs/bits/wchar2.h: Likewise.
5695 * wcsmbs/uchar.h: Likewise.
5696 * wcsmbs/wchar.h: Likewise.
5697 * wctype/wctype.h: Likewise.
5700 * Makeconfig: Remove all but ELF support including AIX support.
5701 * Makerules: Likewise.
5702 * config.h.in: Likewise.
5703 * config.make.in: Likewise.
5704 * configure: Likewise.
5705 * configure.in: Likewise.
5706 * csu/Makefile: Likewise.
5707 * csu/version.c: Likewise.
5708 * debug/Makefile: Likewise.
5709 * dlfcn/Makefile: Likewise.
5710 * elf/Makefile: Likewise.
5711 * extra-lib.mk: Likewise.
5712 * iconv/Makefile: Likewise.
5713 * include/libc-symbols.h: Likewise.
5714 * include/shlib-compat.h: Likewise.
5715 * resolv/Makefile: Likewise.
5716 * resolv/res_libc.c: Likewise.
5717 * rt/Makefile: Likewise.
5718 * sysdeps/i386/asm-syntax.h: Likewise.
5719 * sysdeps/i386/sysdep.h: Likewise.
5720 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5721 * sysdeps/mach/sysdep.h: Likewise.
5722 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5723 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5724 * sysdeps/s390/asm-syntax.h: Likewise.
5725 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5726 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5727 * sysdeps/sh/sysdep.h: Likewise.
5728 * sysdeps/unix/sparc/sysdep.h: Likewise.
5729 * sysdeps/wordsize-32/divdi3.c: Likewise.
5730 * sysdeps/x86_64/sysdep.h: Likewise.
5732 * argp/Versions: Remove _argp_unlock_xxx.
5735 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5736 * abilist/libBrokenLocale.abilist: Likewise.
5737 * abilist/libanl.abilist: Likewise.
5738 * abilist/libc.abilist: Likewise.
5739 * abilist/libcrypt.abilist: Likewise.
5740 * abilist/libdl.abilist: Likewise.
5741 * abilist/libm.abilist: Likewise.
5742 * abilist/libnsl.abilist: Likewise.
5743 * abilist/libpthread.abilist: Likewise.
5744 * abilist/libresolv.abilist: Likewise.
5745 * abilist/librt.abilist: Likewise.
5746 * abilist/libthread_db.abilist: Likewise.
5747 * abilist/libutil.abilist: Likewise.
5748 * abilist/libnss_db.abilist: New file.
5750 * scripts/abilist.awk: Add support for indirect functions.
5752 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5754 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5756 * shlib-versions: Remove entries for ports architectures.
5758 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5760 * elf/stackguard-macros.h: Remove support for IA-64.
5761 * elf/tst-auditmod1.c: Likewise.
5762 * sysdeps/generic/ldsodefs.h: Likewise.
5764 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5765 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5769 * configure.in: Remove --enable-omitfp support.
5771 * config.make.in: Likewise.
5772 * Makeconfig: Likewise.
5773 * manual/install.texi: Likewise.
5775 In case anyone cares, the IA-64 architecture could move to ports.
5776 * sysdeps/ia64/*: Removed.
5777 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5778 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5781 * configure.in: Remove entries for unsupported architectures.
5784 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5785 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5787 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5788 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5789 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5790 fall back to using wcrtomb.
5791 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5792 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5794 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5795 * wcsmbs/tst-c16c32-1.c: New file.
5797 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5800 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5802 * elf/tst-unique3.cc: Add explicit declaration of gets.
5803 * elf/tst-unique3lib.cc: Likewise.
5804 * elf/tst-unique3lib2.cc: Likewise.
5805 * elf/tst-unique4.cc: Likewise.
5807 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5809 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5812 * assert/assert.h (static_assert): Don't define for C++.
5813 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5814 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5816 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5818 * iconv/loop.c (single loop): Fix assertion in storing of
5821 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5823 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5825 * posix/getconf.c: Update copyright year.
5826 * nss/getent.c: Likewise.
5827 * nss/makedb.c: Likewise.
5828 * iconv/iconvconfig.c: Likewise.
5829 * iconv/iconv_prog.c: Likewise.
5830 * elf/ldconfig.c: Likewise.
5831 * elf/pldd.c: Likewise.
5832 * elf/sotruss.ksh: Likewise.
5833 * catgets/gencat.c: Likewise.
5834 * csu/version.c: Likewise.
5835 * elf/ldd.bash.in: Likewise.
5836 * elf/sprof.c (print_version): Likewise.
5837 * locale/programs/locale.c: Likewise.
5838 * locale/programs/localedef.c: Likewise.
5839 * login/programs/pt_chown.c: Likewise.
5840 * nscd/nscd.c (print_version): Likewise.
5841 * debug/xtrace.sh: Likewise.
5842 * malloc/memusage.sh: Likewise.
5843 * malloc/mtrace.pl: Likewise.
5844 * debug/catchsegv.sh: Likewise.
5846 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5848 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5851 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5854 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5855 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5857 * iconv/gconv_int.h: Likewise.
5858 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5859 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5860 from libc for GLIBC_2.16.
5861 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5862 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5863 * wcsmbs/uchar.h: Really define mbstate_t.
5864 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5865 * wcsmbs/c16rtomb.c: New file.
5866 * wcsmbs/mbrtoc16.c: New file.
5867 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5869 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5870 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5872 * wcsmbs/wchar.h: Add missing __restrict.
5874 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5877 * time/Makefile (routines): Add timespec_get.
5878 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5879 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5880 timespec for ISO C11.
5881 * time/timespec_get.c: New file.
5882 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5883 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5886 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5887 * stdlib/stdlib.h: Declare aligned_alloc.
5888 * Versions.def: Add GLIBC_2.16 for libc.
5889 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5892 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5895 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5899 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5902 * assert/assert.h (static_assert): Define.
5904 * version.h: Update for 2.16 development version.
5907 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5910 * version.h (RELEASE): Bump for 2.15 release.
5911 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5913 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5914 Patch by Marek Polacek <mpolacek@redhat.com>.
5916 * bits/byteswap.h: Protect long long constants with __extension__.
5917 * sysdeps/i386/bits/byteswap.h: Likewise.
5918 * sysdeps/ia64/bits/byteswap.h: Likewise.
5919 * sysdeps/s390/bits/byteswap.h: Likewise.
5920 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5922 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5925 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5927 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5929 2011-12-23 Marek Polacek <polacek@redhat.com>
5931 * elf/dl-addr.c (determine_info): Add inline keyword.
5932 * elf/tst-auditmod4b.c (check_avx): Likewise.
5933 * elf/tst-auditmod6b.c (check_avx): Likewise.
5934 * elf/tst-auditmod6c.c (check_avx): Likewise.
5935 * elf/tst-auditmod7b.c (check_avx): Likewise.
5937 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5939 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5942 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5945 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5946 processing for last bytes.
5948 2011-08-06 Bruno Haible <bruno@clisp.org>
5951 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5952 U+0385, not to U+1FEE.
5955 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5956 entry for U+00A5 U+0301.
5958 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5961 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5962 buffer for the output is too small.
5964 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5968 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5969 SSE flags if possible.
5971 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5974 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5975 processing for last bytes.
5977 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5979 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5980 (syscall-list-default-options, syscall-list-default-condition)
5981 (syscall-list-includes): Define.
5982 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5983 list of ABIs and options and #if conditions for each ABI. Do not
5984 handle common syscalls between ABIs specially.
5985 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5987 (syscall-list-variants, syscall-list-32bit-options)
5988 (syscall-list-32bit-condition, syscall-list-64bit-options)
5989 (syscall-list-64bit-condition): Define.
5990 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5991 (syscall-list-variants, syscall-list-32bit-options)
5992 (syscall-list-32bit-condition, syscall-list-64bit-options)
5993 (syscall-list-64bit-condition): Define.
5994 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5996 (syscall-list-variants, syscall-list-32bit-options)
5997 (syscall-list-32bit-condition, syscall-list-64bit-options)
5998 (syscall-list-64bit-condition): Define.
5999 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6001 (syscall-list-variants, syscall-list-32bit-options)
6002 (syscall-list-32bit-condition, syscall-list-64bit-options)
6003 (syscall-list-64bit-condition): Define.
6005 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6007 * locale/iso-639.def: Add brx entry.
6010 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6011 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6013 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6014 __feraiseexcept_renamed.
6016 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6019 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6020 EPOLLET with unsigned values.
6021 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6022 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6024 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6025 to large cancellation.
6026 * math/s_cacoshf.c: Likewise.
6027 * math/s_cacoshl.c: Likewise.
6029 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6033 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6034 * math/s_cacoshf.c: Likewise.
6035 * math/s_cacoshl.c: Likewise.
6037 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6040 * iconv/gconv.h: Define __GCONV_SWAP.
6041 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6042 * iconvdata/utf-16.c: Likewise.
6043 * iconvdata/utf-32.c: Likewise.
6045 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6048 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6049 numerator after shifting it by one limb.
6051 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6053 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6054 under [__USE_EXTERN_INLINES].
6056 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6059 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6061 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6063 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6064 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6066 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6067 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6068 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6069 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6070 for strncasecmp/strncasecmp_l compilation.
6071 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6072 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6074 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6077 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6080 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6083 * time/tzfile.c (__tzfile_read): Check values from file header.
6085 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6087 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6088 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6089 * powerpc/powerpc32/dl-start.S: Likewise.
6090 * powerpc/powerpc32/elf/start.S: Likewise.
6091 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6092 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6093 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6094 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6095 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6096 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6097 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6098 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6099 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6100 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6101 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6102 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6103 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6104 * powerpc/powerpc32/memset.S: Likewise.
6105 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6106 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6107 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6108 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6109 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6110 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6111 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6112 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6113 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6114 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6115 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6116 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6117 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6119 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6121 * math/libm-test.inc: Added more nearbyint tests.
6122 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6123 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6124 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6125 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6127 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6129 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6132 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6134 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6135 Add wcscpy-ssse3 wcscpy-c.
6136 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6137 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6138 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6139 * sysdeps/x86_64/wcschr.S: New file.
6140 * sysdeps/x86_64/wcsrchr.S: New file.
6141 * string/test-strcmp.c: Remove checking of wcscmp function for
6143 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6144 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6145 wcsrchr-sse2 wcsrchr-c.
6146 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6147 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6148 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6149 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6150 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6151 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6152 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6153 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6154 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6155 * wcsmbc/wcschr.c (WCSCHR): New macro.
6157 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6159 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6160 * wcsmbs/test-wcsrchr.c: New file.
6161 * string/test-strrchr.c: Add wcsrchr support.
6163 * wcsmbs/test-wcscpy.c: New file.
6164 * string/test-strcpy.c: Add wcscpy support.
6167 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6169 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6172 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6175 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6177 2011-12-04 Ulrich Drepper <drepper@gmail.com>
6179 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6180 Minor optimizations.
6182 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6183 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6184 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6186 2011-12-03 Ulrich Drepper <drepper@gmail.com>
6188 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6189 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6190 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6191 for gcc to avoid warnings.
6192 * inet/Makefile (tests): Add tst-checks.
6193 * inet/tst-checks.c: New file.
6195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6198 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6201 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6202 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6204 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6206 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6208 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6211 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6213 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6215 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6216 conditional on GCC version.
6217 (__arch_compare_and_exchange_val_8_acq)
6218 (__arch_compare_and_exchange_val_16_acq)
6219 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6220 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6221 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6223 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6225 * sysdeps/sh/backtrace.c: New file.
6227 2011-12-02 Andreas Schwab <schwab@redhat.com>
6229 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6232 2011-12-01 Andreas Schwab <schwab@redhat.com>
6234 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6235 falling back to utime.
6237 2011-11-30 Andreas Schwab <schwab@redhat.com>
6239 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6240 expectations for float.
6242 2011-11-29 Andreas Schwab <schwab@redhat.com>
6244 * locale/weight.h (findidx): Add parameter len.
6245 * locale/weightwc.h (findidx): Likewise.
6246 * posix/fnmatch_loop.c (FCT): Adjust caller.
6247 * posix/regcomp.c (build_equiv_class): Likewise.
6248 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6249 * posix/regexec.c (check_node_accept_bytes): Likewise.
6250 * string/strcoll_l.c (STRCOLL): Likewise.
6251 * string/strxfrm_l.c (STRXFRM): Likewise.
6253 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6255 * Makefile.in: Remove CVSOPT handling.
6256 * configure.in: Remove use of AC_REVISION.
6257 * iconvdata/Makefile (distribute): No need to filter out CVS.
6258 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6261 2011-11-16 Andreas Schwab <schwab@redhat.com>
6263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6264 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6265 [USE_AS_STRNCASECMP_L]: Likewise.
6266 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6267 NO_TLS_DIRECT_SEG_REFS.
6268 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6269 Fix argument offsets for non-PIC.
6270 [USE_AS_STRNCASECMP_L]: Likewise.
6271 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6272 NO_TLS_DIRECT_SEG_REFS.
6274 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6276 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6278 * locale/loadlocale.c (_nl_load_locale): Likewise.
6280 2011-11-15 Andreas Schwab <schwab@redhat.com>
6282 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6283 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6284 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6285 (SYSCALL_GETTIME): Set errno on error.
6287 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6288 count references to noai6ai_cached.
6290 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6292 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6294 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6295 FD_CLOEXEC for /proc/self/maps.
6297 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6298 FD_CLOEXEC for /proc/meminfo.
6300 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6303 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6304 FD_CLOEXEC for given file.
6306 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6308 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6309 FD_CLOEXEC for /etc/hosts.
6310 (_gethtent): Likewise.
6312 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6314 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6315 cancellation and set FD_CLOEXEC for /etc/netgroup.
6317 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6318 reading /etc/publickey.
6320 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6321 allow cancellation when reading /etc/group.
6323 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6325 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6327 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6328 when using data file.
6330 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6332 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6333 (write_nis_obj): Use "c" and "e" in fopen.
6335 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6337 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6339 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6341 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6343 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6346 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6348 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6350 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6352 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6353 file parsing and set FD_CLOEXEC.
6355 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6357 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6359 2011-11-14 Andreas Schwab <schwab@redhat.com>
6361 * malloc/arena.c (arena_get2): Don't call reused_arena when
6362 _int_new_arena failed.
6364 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6366 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6367 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6368 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6369 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6370 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6371 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6372 to compile strcasecmp and strncasecmp.
6373 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6374 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6378 2011-11-13 Ulrich Drepper <drepper@gmail.com>
6380 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6381 locale-defines.sym to gen-as-const-headers.
6382 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6383 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6385 to compile strcasecmp and strncasecmp.
6386 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6387 strcasecmp_l and strncasecmp_l.
6388 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6389 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6390 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6391 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6392 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6393 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6394 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6395 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6396 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6397 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6398 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6400 2011-11-12 Ulrich Drepper <drepper@gmail.com>
6402 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6403 result of SYSDEP_GETTIME_CPU to retval.
6404 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6405 parameter list to macro. Remove trailing semicolon. Adjust users.
6407 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6410 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6412 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6414 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6415 from unused variable.
6417 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6419 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6422 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6425 * sunrpc/rpc_prot.c (rejected): Fix case value.
6427 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6428 unsigned long long int to avoid warnings in shift.
6430 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6432 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6435 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6436 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6437 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6439 * nis/nis_table.c (nis_list): Use variable of correct type for
6440 result of __follow_path call.
6442 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6444 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6445 of math functions ceil, trunc, floor, round, and sqrt, when
6446 avaliable on the platform.
6447 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6449 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6450 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6451 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6453 2011-10-30 Marek Polacek <mpolacek@redhat.com>
6455 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6456 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6458 2011-11-11 Roland McGrath <roland@hack.frob.com>
6460 * include/unistd.h: Fix __readlink return type.
6461 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6463 2011-11-11 Ulrich Drepper <drepper@gmail.com>
6465 * stdlib/ucontext.h: Undo last change for makecontext.
6467 2011-11-11 Andreas Schwab <schwab@redhat.com>
6469 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6471 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6472 * setjmp/setjmp.h: Mark functions as non-leaf.
6473 * setjmp/bits/setjmp2.h: Likewise.
6474 * stdlib/ucontext.h: Likewise.
6476 2011-11-10 Andreas Schwab <schwab@redhat.com>
6478 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6479 (reused_arena): Don't check arena limit.
6480 (arena_get2): Atomically check arena limit.
6482 2011-11-08 Ulrich Drepper <drepper@gmail.com>
6484 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6485 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6490 2011-11-07 Andreas Schwab <schwab@redhat.com>
6492 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6493 handler when locking.
6495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6496 Fix size of allocated buffer.
6498 2011-11-04 Andreas Schwab <schwab@redhat.com>
6501 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6502 declarations for long double functions.
6503 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6505 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6507 2011-11-03 Andreas Schwab <schwab@redhat.com>
6509 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6512 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6515 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6517 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6519 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6521 * include/alloca.h (stackinfo_alloca_round): Define.
6522 (extend_alloca): Use it.
6523 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6524 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6527 * scripts/check-local-headers.sh: Ignore libaudit.h.
6529 * nscd/Makefile (extra-objs): Make recursively expanded.
6531 2011-11-01 Ulrich Drepper <drepper@gmail.com>
6533 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6534 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6536 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6537 * posix/tst-rfc3484-2.c: Likewise.
6538 * posix/tst-rfc3484-3.c: Likewise.
6540 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6542 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6544 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6545 process_vm_writev from libc using GLIBC_2.15 version.
6547 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6549 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6551 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6554 2011-10-31 Ulrich Drepper <drepper@gmail.com>
6557 * nss/getent.c (initgroups_keys): Show error message in case no group
6560 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6561 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6562 __bump_nl_timestamp.
6563 * nscd/connections (nscd_init): When host database is served open
6564 netlink socket and request notification about configuration changes.
6565 (main_loop_poll): Track netlink file descriptor and bump timestamp
6566 in case data becomes available.
6567 (main_loop_epoll): Likewise.
6568 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6569 (database_pers_head): Add extra_data fileds.
6570 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6571 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6572 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6575 in6ai data, call __free_in6ai.
6576 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6578 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6579 interface information. Reuse previous data if netlink timestamp
6581 (__bump_nl_timestamp): New function.
6582 (__free_in6ai): New function.
6584 2011-10-30 Ulrich Drepper <drepper@gmail.com>
6586 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6587 close_not_cancel_no_status here.
6588 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6590 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6593 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6596 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6597 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6598 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6600 2011-07-03 Andreas Jaeger <aj@suse.de>
6603 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6604 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6605 * math/libm-test.inc (sin_test): Add test case.
6607 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6610 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6611 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6613 * elf/chroot_canon.c (chroot_canon): Cleanups.
6615 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6618 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6619 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6621 * string/test-strchr.c: Make usable for strchrnul testing.
6622 * string/test-strchrnul.c: New file.
6623 * string/Makefile (strop-tests): Add strchrnul.
6625 * po/it.po: Update from translation team.
6626 * po/es.po: Likewise.
6628 2011-10-28 Ulrich Drepper <drepper@gmail.com>
6630 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6631 the three constants needed as parameters. Drop the others.
6632 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6633 __m128i_strloadu_tolower.
6634 Create and initialize variable zero and use it in all the places
6635 where _mm_setzero_si128 was used.
6637 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6638 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6639 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6640 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6642 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6643 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6644 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6645 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6646 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6647 __mpranred, __mptan.
6648 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6649 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6650 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6651 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6652 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6653 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6654 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6655 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6656 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6658 2011-10-28 Andreas Schwab <schwab@redhat.com>
6660 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6662 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6665 wide char related routines to wcsmbs subdir.
6667 2011-10-27 Andreas Schwab <schwab@redhat.com>
6670 * misc/sys/cdefs.h (__THROWNL): Define.
6671 * posix/unistd.h: Use __THREADNL instead of __THREAD
6672 for memory synchronization functions.
6674 2011-10-26 Roland McGrath <roland@hack.frob.com>
6677 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6679 * manual/stdio.texi (Obstack Streams): Node removed.
6681 2011-10-26 Andreas Schwab <schwab@redhat.com>
6683 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6684 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6685 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6687 * math/math_private.h (math_force_eval): Allow non-addressable
6689 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6691 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6693 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6696 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6697 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6698 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6699 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6700 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6701 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6702 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6703 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6705 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6706 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6707 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6708 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6709 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6710 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6711 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6712 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6713 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6714 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6715 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6716 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6717 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6718 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6719 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6720 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6721 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6722 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6723 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6725 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6726 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6729 place. Use VEX encoding when compiling for AVX.
6731 2011-10-25 Andreas Schwab <schwab@redhat.com>
6733 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6734 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6736 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6738 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6740 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6741 useless if() expression.
6742 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6750 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6751 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6752 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6753 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6754 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6755 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6756 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6758 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6760 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6762 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6764 2011-10-25 Andreas Schwab <schwab@redhat.com>
6766 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6768 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6770 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6772 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6773 .text section. Avoid duplicate constants.
6774 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6779 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6781 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6782 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6783 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6784 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6785 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6786 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6787 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6788 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6789 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6790 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6791 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6792 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6793 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6794 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6795 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6797 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6798 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6799 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6800 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6801 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6802 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6803 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6804 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6805 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6806 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6807 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6808 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6809 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6810 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6811 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6812 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6813 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6814 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6815 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6816 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6817 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6818 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6820 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6822 * sysdeps/x86_64/dla.h: Move to ...
6823 * sysdeps/x86_64/fpu/dla.h: ...here.
6824 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6825 situations. Use __builtin_fma only for gcc 4.6 and up.
6827 * config.make.in: Add have-mfma4 entry.
6828 * configure.in: Substitute libc_cv_cc_fma4.
6829 * math/Makefile (dbl-only-routines): Add sincostab.
6830 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6831 Use __sincostab not sincos.
6832 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6834 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6839 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6840 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6841 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6842 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6844 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6845 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6847 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6848 define aliases when function name is a macro.
6849 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6850 sysdeps/ieee754/dbl-64/sincos.tbl.
6851 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6852 fma4-enabled routines.
6853 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6854 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6855 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6856 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6857 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6858 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6859 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6860 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6861 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6862 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6863 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6864 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6865 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6866 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6867 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6868 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6869 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6870 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6871 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6872 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6873 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6874 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6876 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6877 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6878 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6879 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6880 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6881 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6882 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6884 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6891 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6895 2011-10-24 Andreas Schwab <schwab@redhat.com>
6897 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6899 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6901 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6903 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6905 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6907 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6908 Remove unused variable magic_bits.
6909 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6911 * string/strnlen.c: Define and use STRNLEN macro.
6912 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6913 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6914 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6915 * wcsmbs/wcslen.c: Define and use WCSLEN.
6916 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6917 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6918 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6919 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6920 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6921 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6922 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6924 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6927 strnlen-sse2-no-bsf.
6928 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6930 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6931 Add strnlen support.
6932 (USE_AS_STRNLEN): New macro.
6933 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6934 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6935 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6936 * sysdeps/x86_64/wcslen.S: New file.
6938 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6940 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6941 XMM-moves are used for copying on small sizes.
6943 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6945 * wcsmbs/Makefile (strop-tests): Add wcschr.
6946 * wcsmbs/test-wcschr.c: New file.
6947 * string/test-strchr.c: Update.
6951 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6953 * wcsmbs/Makefile (strop-tests): Add wcslen.
6954 * wcsmbs/test-wcslen.c: New file.
6955 * string/test-strlen.c: Update.
6959 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6961 * po/it.po: Update from translation team.
6963 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6965 * sysdeps/x86_64/wcscmp.S: Update.
6966 Fix wrong comparison semantics.
6967 wcscmp shall use signed comparison not unsigned.
6968 Don't use substraction to avoid overflow bug.
6969 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6970 * wcsmbc/wcscmp.c: Likewise.
6971 * string/test-strcmp.c: Likewise.
6972 Add new tests to check cases with negative values.
6974 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6976 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6977 * sysdeps/x86_64/dla.h: ...here. New file.
6978 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6981 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6982 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6983 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6985 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6988 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6991 __ynl_finite aliases.
6993 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6997 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6999 [DLA_FMA] (EMULV): Use DLA_FMA.
7000 [DLA_FMA] (MUL12): Use EMULV.
7001 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7002 that are not needed.
7003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7007 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7011 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7013 * math/s_nan.c: Undef __nan.
7014 * math/s_nanf.c: Undef __nanf.
7015 * math/s_nanl.c: Undef __nanl.
7016 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7019 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7021 * math/s_catan.c: Add branch predictions.
7022 * math/s_catanf.c: Likewise.
7023 * math/s_catanh.c: Likewise.
7024 * math/s_catanhf.c: Likewise.
7025 * math/s_catanhl.c: Likewise.
7026 * math/s_catanl.c: Likewise.
7027 * math/s_cexp.c: Likewise.
7028 * math/s_cexpf.c: Likewise.
7029 * math/s_cexpl.c: Likewise.
7030 * math/s_clog.c: Likewise.
7031 * math/s_clog10.c: Likewise.
7032 * math/s_clog10f.c: Likewise.
7033 * math/s_clog10l.c: Likewise.
7034 * math/s_clogf.c: Likewise.
7035 * math/s_clogl.c: Likewise.
7036 * math/s_csqrt.c: Likewise.
7037 * math/s_csqrtf.c: Likewise.
7038 * math/s_csqrtl.c: Likewise.
7039 * math/s_ctanf.c: Likewise.
7040 * math/s_ctanh.c: Likewise.
7041 * math/s_ctanhf.c: Likewise.
7042 * math/s_ctanhl.c: Likewise.
7043 * math/s_ctanl.c: Likewise.
7045 * math/math_private.h: Define __nan, __nanf, __nanl.
7046 * math/s_cacosh.c: Include <math_private.h>.
7047 * math/s_cacoshl.c: Likewise.
7048 * math/s_casinh.c: Likewise.
7049 * math/s_casinhf.c: Likewise.
7050 * math/s_casinhl.c: Likewise.
7051 * math/s_ccos.c: Rely entire on ccosh.
7052 * math/s_ccosf.c: Rely entire on ccoshf.
7053 * math/s_ccosl.c: Rely entirely on ccoshl.
7054 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7055 Remove tests for FE_INVALID.
7056 * math/s_ccoshf.c: Likewise.
7057 * math/s_ccoshl.c: Likewise.
7058 * math/s_csin.c: Likewise.
7059 * math/s_csinf.c: Likewise.
7060 * math/s_csinh.c Likewise.
7061 * math/s_csinhf.c: Likewise.
7062 * math/s_csinhl.c: Likewise.
7063 * math/s_csinl.c: Likewise.
7064 * math/s_ctan.c: Likewise.
7065 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7066 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7067 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7069 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7072 compilation problems.
7074 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7077 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7079 * sysdeps/i386/configure.in: Test for -mfma4 option.
7080 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7081 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7082 COMMON_CPUID_INDEX_80000001.
7083 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7084 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7085 use it if FMA3 is not supported.
7086 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7088 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7089 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7091 2011-10-20 Andreas Schwab <schwab@redhat.com>
7094 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7095 it would create a cycle with a link time dependency.
7097 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7099 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7101 * string/Makefile (strop-tests): Add rawmemchr.
7102 * string/test-rawmemchr.c: New file.
7104 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7106 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7107 when compiling str{,n}casecmp and when AVX is available. Hook up
7108 new optimized code in initializers.
7110 2011-10-19 Andreas Schwab <schwab@redhat.com>
7112 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7113 __feraiseexcept instead of feraiseexcept.
7115 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7117 * math/math_private.h: Define defaults for libc_fetestexcept and
7119 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7120 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7121 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7122 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7123 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7124 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7125 libc_fetestexcept and libc_feupdateenv.
7127 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7128 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7129 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7130 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7131 libc_feholdexcept_setround.
7133 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7134 Add s_nearbyint-c and s_nearbyintf-c.
7135 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7137 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7138 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7139 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7140 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7142 * math/math_private.h: Define defaults for libc_fegetround,
7143 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7144 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7145 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7146 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7147 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7149 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7150 Remove comments and hacks for old compiler versions.
7151 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7152 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7155 2011-10-18 Andreas Schwab <schwab@redhat.com>
7157 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7158 (__feraiseexcept_renamed): Add __NTH.
7159 (feraiseexcept): Add __NTH. Rename local variables to fix
7160 namespace violations.
7162 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7164 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7166 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7168 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7169 recently added interfaces.
7170 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7172 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7173 about macro parameter expansion.
7175 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7176 __NO_MATH_INLINES is defined. Cleanups.
7178 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7179 and __floorf is target has SSE4.1.
7180 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7181 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7182 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7183 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7185 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7189 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7191 2011-10-17 Andreas Schwab <schwab@redhat.com>
7193 * misc/sys/cdefs.h: Fix last change.
7195 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7198 2011-10-16 Ulrich Drepper <drepper@gmail.com>
7200 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7202 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7203 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7204 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7205 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7206 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7207 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7208 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7209 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7210 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7211 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7212 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7213 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7214 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7215 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7216 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7217 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7218 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7219 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7220 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7221 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7222 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7223 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7225 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7226 ceil, ceilf, floor, floorf.
7228 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7229 Perform IRELATIVE relocations last.
7231 * elf/do-rel.h: Add another parameter nrelative, replacing the
7232 local variable with the same name. Change name of the function
7233 to end in Rel or Rela (uppercase).
7234 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7235 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7236 elf_dynamic_do_##reloc function.
7238 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7240 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7241 is sufficient, at least on modern CPUs.
7243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7245 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7246 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7248 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7250 * math/bits/math-finite.h: Add entries for exp.
7251 * math/e_expl.c: Add __*_finite alias.
7252 * sysdeps/i386/fpu/e_exp.S: Likewise.
7253 * sysdeps/i386/fpu/e_expf.S: Likewise.
7254 * sysdeps/i386/fpu/e_expl.c: Likewise.
7255 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7256 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7259 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7260 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7261 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7263 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7264 is sufficient, at least on modern CPUs.
7266 * ctype/ctype-info.c (__ctype_init): Define.
7267 * include/ctype.h (__ctype_init): Declare.
7268 (__ctype_b_loc): The variable is always initialized.
7269 (__ctype_toupper_loc): Likewise.
7270 (__ctype_tolower_loc): Likewise.
7271 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7272 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7274 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7276 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7278 * configure.in: Also look in $cxxmachine/include for C++ system
7281 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7283 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7284 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7285 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7286 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7287 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7288 (USE_AS_WMEMCMP): New macro.
7290 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7291 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7292 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7293 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7295 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7296 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7297 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7298 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7299 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7300 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7301 (USE_AS_WMEMCMP): New macro.
7302 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7303 * sysdeps/string/test-memcmp.c: Update.
7306 * wcsmbs/wmemcmp.c: Update.
7307 (WMEMCMP): New macro.
7310 2011-10-12 Andreas Jaeger <aj@suse.de>
7313 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7315 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7317 * libio/iofwide.c (do_length): Avoid warning.
7319 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7321 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7323 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7325 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7326 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7327 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7328 * sysdeps/i386/i686/fpu/e_log.S: New file.
7329 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7330 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7332 * ctype/ctype.h: Add support for inlined isXXX functions when
7335 2011-10-14 Andreas Schwab <schwab@redhat.com>
7337 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7339 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7341 2011-10-13 Roland McGrath <roland@hack.frob.com>
7344 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7346 2011-10-13 Andreas Schwab <schwab@redhat.com>
7348 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7349 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7352 * sysdeps/x86_64/memrchr.S: Check for zero size.
7354 * string/stratcliff.c: Add memrchr tests.
7356 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7359 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7360 rawmemchr-sse2 rawmemchr-sse2-bsf.
7361 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7362 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7363 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7364 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7365 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7366 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7367 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7368 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7369 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7370 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7371 * string/memrchr.c (MEMRCHR): New macro.
7373 2011-10-12 Ulrich Drepper <drepper@gmail.com>
7375 Add integration with gcc's -ffinite-math-only and optimize wrapper
7377 * Versions.def: Define GLIBC_2.15 version for libm.
7378 * math/Makefile (headers): Add bits/math-finite.h.
7379 * math/bits/math-finite.h: New file.
7380 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7381 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7382 * math/e_acoshl.c: Add __*_finite alias.
7383 * math/e_acosl.c: Likewise.
7384 * math/e_asinl.c: Likewise.
7385 * math/e_atan2l.c: Likewise.
7386 * math/e_atanhl.c: Likewise.
7387 * math/e_coshl.c: Likewise.
7388 * math/e_exp10.c: Likewise.
7389 * math/e_exp10f.c: Likewise.
7390 * math/e_exp10l.c: Likewise.
7391 * math/e_exp2l.c: Likewise.
7392 * math/e_fmodl.c: Likewise.
7393 * math/e_gammal_r.c: Likewise.
7394 * math/e_hypotl.c: Likewise.
7395 * math/e_j0l.c: Likewise.
7396 * math/e_j1l.c: Likewise.
7397 * math/e_jnl.c: Likewise.
7398 * math/e_lgammal_r.c: Likewise.
7399 * math/e_log10l.c: Likewise.
7400 * math/e_log2l.c: Likewise.
7401 * math/e_logl.c: Likewise.
7402 * math/e_powl.c: Likewise.
7403 * math/e_sinhl.c: Likewise.
7404 * math/e_sqrtl.c: Likewise.
7405 * math/e_scalb.c: Completely rewritten and optimized.
7406 * math/e_scalbf.c: Likewise.
7407 * math/e_scalbl.c: Likewise.
7408 * math/w_acos.c: Likewise.
7409 * math/w_acosf.c: Likewise.
7410 * math/w_acosl.c: Likewise.
7411 * math/w_acosh.c: Likewise.
7412 * math/w_acoshf.c: Likewise.
7413 * math/w_acoshl.c: Likewise.
7414 * math/w_asin.c: Likewise.
7415 * math/w_asinf.c: Likewise.
7416 * math/w_asinl.c: Likewise.
7417 * math/w_atan2.c: Likewise.
7418 * math/w_atan2f.c: Likewise.
7419 * math/w_atan2l.c: Likewise.
7420 * math/w_atanh.c: Likewise.
7421 * math/w_atanhf.c: Likewise.
7422 * math/w_atanhl.c: Likewise.
7423 * math/w_exp10.c: Likewise.
7424 * math/w_exp10f.c: Likewise.
7425 * math/w_exp10l.c: Likewise.
7426 * math/w_fmod.c: Likewise.
7427 * math/w_fmodf.c: Likewise.
7428 * math/w_fmodl.c: Likewise.
7429 * math/w_j0.c: Likewise.
7430 * math/w_j0f.c: Likewise.
7431 * math/w_j0l.c: Likewise.
7432 * math/w_j1.c: Likewise.
7433 * math/w_j1f.c: Likewise.
7434 * math/w_j1l.c: Likewise.
7435 * math/w_jn.c: Likewise.
7436 * math/w_jnf.c: Likewise.
7437 * math/w_log.c: Likewise.
7438 * math/w_logf.c: Likewise.
7439 * math/w_logl.c: Likewise.
7440 * math/w_log10.c: Likewise.
7441 * math/w_log10f.c: Likewise.
7442 * math/w_log10l.c: Likewise.
7443 * math/w_log2.c: Likewise.
7444 * math/w_log2f.c: Likewise.
7445 * math/w_log2l.c: Likewise.
7446 * math/w_pow.c: Likewise.
7447 * math/w_powf.c: Likewise.
7448 * math/w_powl.c: Likewise.
7449 * math/w_remainder.c: Likewise.
7450 * math/w_remainderf.c: Likewise.
7451 * math/w_remainderl.c: Likewise.
7452 * math/w_scalb.c: Likewise.
7453 * math/w_scalbf.c: Likewise.
7454 * math/w_scalbl.c: Likewise.
7455 * math/w_sqrt.c: Likewise.
7456 * math/w_sqrtf.c: Likewise.
7457 * math/w_sqrtl.c: Likewise.
7458 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7459 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7461 * math/math_private.h: Declare __kernel_standard_f.
7462 * math/w_cosh.c: Remove cruft and optimize a bit.
7463 * math/w_coshf.c: Likewise.
7464 * math/w_coshl.c: Likewise.
7465 * math/w_exp2.c: Likewise.
7466 * math/w_exp2f.c: Likewise.
7467 * math/w_exp2l.c: Likewise.
7468 * math/w_hypot.c: Likewise.
7469 * math/w_hypotf.c: Likewise.
7470 * math/w_hypotl.c: Likewise.
7471 * math/w_lgamma.c: Likewise.
7472 * math/w_lgamma_r.c: Likewise.
7473 * math/w_lgammaf.c: Likewise.
7474 * math/w_lgammaf_r.c: Likewise.
7475 * math/w_lgammal.c: Likewise.
7476 * math/w_lgammal_r.c: Likewise.
7477 * math/w_sinh.c: Likewise.
7478 * math/w_sinhf.c: Likewise.
7479 * math/w_sinhl.c: Likewise.
7480 * math/w_tgamma.c: Likewise.
7481 * math/w_tgammaf.c: Likewise.
7482 * math/w_tgammal.c: Likewise.
7483 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7484 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7485 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7486 Minor optimizations. Pretty printing. Remove cruft.
7487 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7488 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7489 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7490 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7491 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7492 * sysdeps/i386/fpu/e_asin.S: Likewise.
7493 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7494 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7495 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7496 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7497 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7498 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7499 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7500 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7501 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7502 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7503 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7504 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7505 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7506 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7507 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7508 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7509 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7510 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7511 * sysdeps/i386/fpu/e_log.S: Likewise.
7512 * sysdeps/i386/fpu/e_log10.S: Likewise.
7513 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7514 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7515 * sysdeps/i386/fpu/e_log2.S: Likewise.
7516 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7517 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7518 * sysdeps/i386/fpu/e_logf.S: Likewise.
7519 * sysdeps/i386/fpu/e_logl.S: Likewise.
7520 * sysdeps/i386/fpu/e_pow.S: Likewise.
7521 * sysdeps/i386/fpu/e_powf.S: Likewise.
7522 * sysdeps/i386/fpu/e_powl.S: Likewise.
7523 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7524 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7525 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7526 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7527 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7528 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7529 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7530 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7531 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7532 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7533 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7535 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7537 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7553 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7554 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7555 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7556 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7557 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7558 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7559 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7560 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7561 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7562 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7563 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7564 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7565 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7566 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7567 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7568 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7569 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7570 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7571 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7572 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7573 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7582 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7615 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7617 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7618 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7620 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7623 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7624 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7625 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7626 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7627 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7628 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7629 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7630 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7631 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7632 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7633 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7634 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7635 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7636 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7637 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7638 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7639 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7640 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7641 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7642 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7643 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7644 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7645 (__isnanf): Likewise.
7646 (__isinf_ns): Likewise.
7647 (__isinf_nsf): Likewise.
7648 (__finite): Likewise.
7649 (__finitef): Likewise.
7650 (__ieee754_sqrt): Define as macro.
7651 (__ieee754_sqrtf): Define as macro.
7652 (__ieee754_sqrtl): Define as macro.
7653 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7655 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7656 __FINITE_MATH_ONLY__ consistent.
7657 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7659 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7661 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7664 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7666 2011-10-09 Ulrich Drepper <drepper@gmail.com>
7668 * po/ja.po: Update from translation team.
7670 2011-10-08 Roland McGrath <roland@hack.frob.com>
7672 * locale/programs/locarchive.c (prepare_address_space): New function.
7673 (create_archive, enlarge_archive, open_archive): Use it.
7675 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7676 inside [SHARED], where it is used.
7678 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7680 * nss/getent.c (netgroup_keys): Remove unused variable.
7681 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7683 2011-10-08 Ulrich Drepper <drepper@gmail.com>
7685 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7686 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7687 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7689 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7690 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7691 * math/Makefile (libm-calls): Add s_isinf_ns.
7692 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7693 * math/multc3.c: Likewise.
7694 * math/s_casin.c: Likewise.
7695 * math/s_casinf.c: Likewise.
7696 * math/s_casinl.c: Likewise.
7697 * math/s_ccos.c: Likewise.
7698 * math/s_ccosf.c: Likewise.
7699 * math/s_ccosl.c: Likewise.
7700 * math/s_ctan.c: Likewise.
7701 * math/s_ctanf.c: Likewise.
7702 * math/s_ctanh.c: Likewise.
7703 * math/s_ctanhf.c: Likewise.
7704 * math/s_ctanhl.c: Likewise.
7705 * math/s_ctanl.c: Likewise.
7706 * math/w_fmod.c: Likewise.
7707 * math/w_fmodf.c: Likewise.
7708 * math/w_fmodl.c: Likewise.
7709 * math/w_remainder.c: Likewise.
7710 * math/w_remainderf.c: Likewise.
7711 * math/w_remainderl.c: Likewise.
7712 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7713 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7714 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7715 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7716 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7717 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7718 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7719 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7721 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7723 * stdio-common/printf_fphex.c: Likewise.
7724 * stdio-common/printf_size.c: Likewise.
7726 * math/e_exp10.c: Include math_private.h using <...> not "...".
7727 * math/e_exp10f.c: Likewise.
7728 * math/e_exp10l.c: Likewise.
7729 * math/e_exp2l.c: Likewise.
7730 * math/e_j0l.c: Likewise.
7731 * math/e_j1l.c: Likewise.
7732 * math/e_jnl.c: Likewise.
7733 * math/e_lgammal_r.c: Likewise.
7734 * math/e_rem_pio2l.c: Likewise.
7735 * math/e_scalb.c: Likewise.
7736 * math/e_scalbf.c: Likewise.
7737 * math/e_scalbl.c: Likewise.
7738 * math/k_cosl.c: Likewise.
7739 * math/k_sinl.c: Likewise.
7740 * math/k_tanl.c: Likewise.
7741 * math/s_cacoshf.c: Likewise.
7742 * math/s_catan.c: Likewise.
7743 * math/s_catanf.c: Likewise.
7744 * math/s_catanh.c: Likewise.
7745 * math/s_catanhf.c: Likewise.
7746 * math/s_catanhl.c: Likewise.
7747 * math/s_catanl.c: Likewise.
7748 * math/s_ccosh.c: Likewise.
7749 * math/s_ccoshf.c: Likewise.
7750 * math/s_ccoshl.c: Likewise.
7751 * math/s_cexp.c: Likewise.
7752 * math/s_cexpf.c: Likewise.
7753 * math/s_cexpl.c: Likewise.
7754 * math/s_clog.c: Likewise.
7755 * math/s_clog10.c: Likewise.
7756 * math/s_clog10f.c: Likewise.
7757 * math/s_clog10l.c: Likewise.
7758 * math/s_clogf.c: Likewise.
7759 * math/s_clogl.c: Likewise.
7760 * math/s_csin.c: Likewise.
7761 * math/s_csinf.c: Likewise.
7762 * math/s_csinh.c: Likewise.
7763 * math/s_csinhf.c: Likewise.
7764 * math/s_csinhl.c: Likewise.
7765 * math/s_csinl.c: Likewise.
7766 * math/s_csqrt.c: Likewise.
7767 * math/s_csqrtf.c: Likewise.
7768 * math/s_csqrtl.c: Likewise.
7769 * math/s_ctan.c: Likewise.
7770 * math/s_ctanf.c: Likewise.
7771 * math/s_ctanh.c: Likewise.
7772 * math/s_ctanhf.c: Likewise.
7773 * math/s_ctanhl.c: Likewise.
7774 * math/s_ctanl.c: Likewise.
7775 * math/s_ldexp.c: Likewise.
7776 * math/s_ldexpf.c: Likewise.
7777 * math/s_ldexpl.c: Likewise.
7778 * math/s_significand.c: Likewise.
7779 * math/s_significandf.c: Likewise.
7780 * math/s_significandl.c: Likewise.
7781 * math/w_acos.c: Likewise.
7782 * math/w_acosf.c: Likewise.
7783 * math/w_acosh.c: Likewise.
7784 * math/w_acoshf.c: Likewise.
7785 * math/w_acoshl.c: Likewise.
7786 * math/w_acosl.c: Likewise.
7787 * math/w_asin.c: Likewise.
7788 * math/w_asinf.c: Likewise.
7789 * math/w_asinl.c: Likewise.
7790 * math/w_atan2.c: Likewise.
7791 * math/w_atan2f.c: Likewise.
7792 * math/w_atan2l.c: Likewise.
7793 * math/w_atanh.c: Likewise.
7794 * math/w_atanhf.c: Likewise.
7795 * math/w_atanhl.c: Likewise.
7796 * math/w_cosh.c: Likewise.
7797 * math/w_coshf.c: Likewise.
7798 * math/w_coshl.c: Likewise.
7799 * math/w_dremf.c: Likewise.
7800 * math/w_exp10.c: Likewise.
7801 * math/w_exp10f.c: Likewise.
7802 * math/w_exp10l.c: Likewise.
7803 * math/w_exp2.c: Likewise.
7804 * math/w_exp2f.c: Likewise.
7805 * math/w_fmod.c: Likewise.
7806 * math/w_fmodf.c: Likewise.
7807 * math/w_fmodl.c: Likewise.
7808 * math/w_hypot.c: Likewise.
7809 * math/w_hypotf.c: Likewise.
7810 * math/w_hypotl.c: Likewise.
7811 * math/w_j0.c: Likewise.
7812 * math/w_j0f.c: Likewise.
7813 * math/w_j0l.c: Likewise.
7814 * math/w_j1.c: Likewise.
7815 * math/w_j1f.c: Likewise.
7816 * math/w_j1l.c: Likewise.
7817 * math/w_jn.c: Likewise.
7818 * math/w_jnf.c: Likewise.
7819 * math/w_jnl.c: Likewise.
7820 * math/w_lgamma.c: Likewise.
7821 * math/w_lgamma_r.c: Likewise.
7822 * math/w_lgammaf.c: Likewise.
7823 * math/w_lgammaf_r.c: Likewise.
7824 * math/w_lgammal.c: Likewise.
7825 * math/w_lgammal_r.c: Likewise.
7826 * math/w_log.c: Likewise.
7827 * math/w_log10.c: Likewise.
7828 * math/w_log10f.c: Likewise.
7829 * math/w_log10l.c: Likewise.
7830 * math/w_log2.c: Likewise.
7831 * math/w_log2f.c: Likewise.
7832 * math/w_log2l.c: Likewise.
7833 * math/w_logf.c: Likewise.
7834 * math/w_logl.c: Likewise.
7835 * math/w_pow.c: Likewise.
7836 * math/w_powf.c: Likewise.
7837 * math/w_powl.c: Likewise.
7838 * math/w_remainder.c: Likewise.
7839 * math/w_remainderf.c: Likewise.
7840 * math/w_remainderl.c: Likewise.
7841 * math/w_scalb.c: Likewise.
7842 * math/w_scalbf.c: Likewise.
7843 * math/w_scalbl.c: Likewise.
7844 * math/w_sinh.c: Likewise.
7845 * math/w_sinhf.c: Likewise.
7846 * math/w_sinhl.c: Likewise.
7847 * math/w_sqrt.c: Likewise.
7848 * math/w_sqrtf.c: Likewise.
7849 * math/w_sqrtl.c: Likewise.
7850 * math/w_tgamma.c: Likewise.
7851 * math/w_tgammaf.c: Likewise.
7852 * math/w_tgammal.c: Likewise.
7854 * po/ja.po: Update from translation team.
7856 2011-09-29 Andreas Jaeger <aj@suse.de>
7859 * sunrpc/netname.c (netname2host): Fix logic.
7863 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7865 * math/w_remainder.c (__remainder): Likewise.
7866 * math/w_remainderf.c (__remainderf): Likewise.
7867 * math/libm-test.inc (remainder_test): Add test cases.
7869 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7871 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7874 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7876 * string/test-memcmp.c: Avoid unncessary #defines.
7877 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7879 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7881 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7882 Use new sse2 version for core i3 - i7 as it's faster
7884 (bit_Prefer_PMINUB_for_stringop): New.
7885 * sysdeps/x86_64/rawmemchr.S: Update.
7886 Replace with faster SSE2 version.
7887 * sysdeps/x86_64/memrchr.S: New file.
7888 * sysdeps/x86_64/memchr.S: Update.
7889 Replace with faster SSE2 version.
7891 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7893 * elf/dl-load.c (lose): Add cast to avoid warning.
7895 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7897 * po/ca.po: Update from translation team.
7899 * inet/getnetgrent_r.c: Hook up nscd.
7900 * nscd/Makefile (routines): Add nscd_netgroup.
7901 (nscd-modules): Add netgroupcache.
7902 (CFLAGS-netgroupcache.c): Define.
7903 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7904 (cache_search): Add const to second parameter.
7905 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7907 (dbs): Add netgrdb entry.
7908 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7909 (verify_persistent_db): Handle netgrdb.
7910 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7911 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7913 (netgroup_response_header): Define.
7914 (innetgroup_response_header): Define.
7915 (datahead): Add netgroup_response_header and innetgroup_response_header
7917 * nscd/nscd.conf: Add entries for netgroup cache.
7918 * nscd/nscd.h (dbtype): Add netgrdb.
7919 (_PATH_NSCD_NETGROUP_DB): Define.
7920 (netgroup_iov_disabled): Declare.
7921 (xmalloc, xcalloc, xrealloc): Move declarations here.
7922 (cache_search): Adjust prototype.
7923 Add netgroup-related prototypes.
7924 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7925 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7926 (__nscd_innetgr): Declare.
7927 * nscd/selinux.c (perms): Use access_vector_t as element type and
7928 add netgroup-related initializers.
7929 * nscd/netgroupcache.c: New file.
7930 * nscd/nscd_netgroup.c: New file.
7931 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7932 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7933 For four parameters use innetgr.
7934 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7935 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7936 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7937 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7939 * nscd/connections.c (register_traced_file): Don't register file
7940 for disabled databases.
7942 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7944 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7946 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7947 from tree and freeing node.
7949 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7951 * nss/nsswitch.c (__nss_database_lookup): Handle
7952 nss_parse_service_list out of memory case.
7954 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7956 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7959 2011-10-04 Andreas Schwab <schwab@redhat.com>
7961 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7962 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7964 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7965 elf_machine_rela, elf_machine_lazy_rel.
7966 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7967 (ELF_DYNAMIC_DO_REL): Likewise.
7968 (ELF_DYNAMIC_DO_RELA): Likewise.
7969 (ELF_DYNAMIC_RELOCATE): Likewise.
7970 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7971 to ELF_DYNAMIC_DO_REL.
7972 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7973 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7974 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7976 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7977 skip_ifunc, don't call ifunc function if non-zero.
7978 (elf_machine_rela): Likewise.
7979 (elf_machine_lazy_rel): Likewise.
7980 (elf_machine_lazy_rela): Likewise.
7981 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7982 (elf_machine_lazy_rel): Likewise.
7983 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7985 (elf_machine_lazy_rel): Likewise.
7986 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7988 (elf_machine_lazy_rel): Likewise.
7989 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7990 (elf_machine_lazy_rel): Likewise.
7991 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7992 (elf_machine_lazy_rel): Likewise.
7993 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7994 (elf_machine_lazy_rel): Likewise.
7995 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7996 (elf_machine_lazy_rel): Likewise.
7997 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7998 (elf_machine_lazy_rel): Likewise.
7999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8000 (elf_machine_lazy_rel): Likewise.
8002 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8004 * nss/nss_files/files-init.c (_nss_files_init): Use static
8005 initialization for all the *_traced_file variables.
8007 2011-09-28 Andreas Schwab <schwab@redhat.com>
8009 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8011 2011-09-27 Roland McGrath <roland@hack.frob.com>
8014 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8016 2011-09-27 Andreas Schwab <schwab@redhat.com>
8018 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8019 Reread the line before reparsing it.
8021 2011-09-26 Andreas Schwab <schwab@redhat.com>
8023 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8025 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8026 Maxim Kuvyrkov <maxim@codesourcery.com>
8027 Joseph Myers <joseph@codesourcery.com>
8029 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8030 if needed for __stack_chk_guard.
8032 2011-09-19 Roland McGrath <roland@hack.frob.com>
8034 * sysdeps/posix/spawni.c (script_execute): Always define it.
8035 It will be optimized away if unused.
8036 (maybe_script_execute): New function.
8037 (__spawni): Call it.
8039 * Makerules: Don't include tls.make.
8040 (config-tls): Always set to thread.
8041 * tls.make.c: File removed.
8043 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8045 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8046 * config.make.in (CPPFLAGS-config): New substituted variable.
8048 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8050 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8053 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8054 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8056 2011-09-15 Roland McGrath <roland@hack.frob.com>
8058 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8059 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8060 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8061 (CALL_FAIL): Likewise.
8062 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8063 (CALL_FAIL): Macro removed.
8064 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8066 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8068 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8069 for __FINITE_MATH_ONLY__ == 1.
8071 2011-09-15 Andreas Schwab <schwab@redhat.com>
8073 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8074 __ieee754_sqrt instead of sqrt.
8075 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8076 __ieee754_sqrtf instead of sqrtf.
8077 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8078 __floorf instead of floorf.
8079 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8080 __floorf, __truncf instead of floorf, truncf.
8082 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8084 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8086 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8087 __extern_always_inline.
8088 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8091 2011-09-14 Andreas Schwab <schwab@redhat.com>
8093 * elf/rtld.c (dl_main): Also relocate in dependency order when
8094 doing symbol dependency testing.
8096 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8098 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8099 Always define `refsym'.
8101 2011-09-13 Andreas Schwab <schwab@redhat.com>
8103 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8104 (__FD_ELT): Renamed from __FDELT.
8105 * misc/bits/select2.h (__FD_ELT): Likewise.
8106 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8107 __FD_MASK instead of __FDELT, __FDMASK.
8108 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8110 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8113 * elf/Makefile (gen-ldd): Fix pattern.
8115 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8116 (init_tls): Likewise.
8118 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8120 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8122 2011-09-12 Andreas Schwab <schwab@redhat.com>
8124 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8125 `struct cmsghdr *' instead of `void *'.
8126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8129 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8131 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8133 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8136 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8138 * configure.in: Remove --with-tls option.
8139 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8140 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8141 out in case it is missing.
8142 * sysdeps/ia64/elf/configure.in: Likewise.
8143 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8144 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8145 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8146 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8147 * sysdeps/sh/elf/configure.in: Likewise.
8148 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8149 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8150 * sysdeps/x86_64/elf/configure.in: Likewise.
8151 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8152 * sysdeps/mach/hurd/tls.h: Likewise.
8155 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8158 * configure.in: Fix use of AC_INIT.
8160 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8162 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8164 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8166 * malloc/hooks.c: Likewise.
8169 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8170 variables statically.
8171 (narenas): Initialize.
8172 (list_lock): Initialize.
8173 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8174 initializtion of main_arena and list_lock. Small cleanups.
8175 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8176 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8177 Add initializers to main_arena and mp_.
8178 (malloc_state): Remove pagesize member. Change all users to use
8181 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8182 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8183 is always initialized.
8185 * malloc/malloc.c: Removed unused configurations and dead code.
8186 * malloc/arena.c: Likewise.
8187 * malloc/hooks.c: Likewise.
8188 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8190 * include/tls.h: Removed. USE___THREAD must always be defined.
8191 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8192 * elf/dl-libc.c: Likewise.
8193 * elf/dl-tsd.c: Likewise.
8194 * include/errno.h: Likewise.
8195 * include/netdb.h: Likewise.
8196 * include/resolv.h: Likewise.
8197 * inet/herrno-loc.c: Likewise.
8198 * inet/herrno.c: Likewise.
8199 * malloc/arena.c: Likewise.
8200 * malloc/hooks.c: Likewise.
8201 * malloc/malloc.c: Likewise.
8202 * resolv/res-state.c: Likewise.
8203 * resolv/res_libc.c: Likewise.
8204 * sysdeps/i386/dl-machine.h: Likewise.
8205 * sysdeps/ia64/dl-machine.h: Likewise.
8206 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8207 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8208 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8209 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8210 * sysdeps/sh/dl-machine.h: Likewise.
8211 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8212 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8213 * sysdeps/unix/i386/sysdep.S: Likewise.
8214 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8215 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8219 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8220 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8224 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8225 * sysdeps/x86_64/dl-machine.h: Likewise.
8226 * tls.make.c: Likewise.
8228 * configure.in: Remove --with-__thread option. Make tests for
8229 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8230 tls_model attribute fail if no support is available. Remove
8232 * Makeconfig: Adjust for dropped configure option. All features are
8234 * Makerules: Likewise.
8235 * Versions.def: Likewise.
8236 * argp/argp-fmtstream.c: Likewise.
8237 * argp/argp-fmtstream.h: Likewise.
8238 * argp/argp-help.c: Likewise.
8239 * assert/assert.c: Likewise.
8240 * config.h.in: Likewise.
8241 * config.make.in: Likewise.
8242 * configure: Likewise.
8243 * configure.in: Likewise.
8244 * csu/Versions: Likewise.
8245 * csu/init.c: Likewise.
8246 * elf/tst-audit2.c: Likewise.
8247 * elf/tst-tls10.c: Likewise.
8248 * elf/tst-tls10.h: Likewise.
8249 * elf/tst-tls11.c: Likewise.
8250 * elf/tst-tls12.c: Likewise.
8251 * elf/tst-tls14.c: Likewise.
8252 * elf/tst-tlsmod11.c: Likewise.
8253 * elf/tst-tlsmod12.c: Likewise.
8254 * elf/tst-tlsmod13.c: Likewise.
8255 * elf/tst-tlsmod13a.c: Likewise.
8256 * elf/tst-tlsmod14a.c: Likewise.
8257 * elf/tst-tlsmod15b.c: Likewise.
8258 * elf/tst-tlsmod16a.c: Likewise.
8259 * elf/tst-tlsmod16b.c: Likewise.
8260 * elf/tst-tlsmod7.c: Likewise.
8261 * elf/tst-tlsmod8.c: Likewise.
8262 * elf/tst-tlsmod9.c: Likewise.
8263 * gmon/gmon.c: Likewise.
8264 * grp/fgetgrent_r.c: Likewise.
8265 * grp/putgrent.c: Likewise.
8266 * hurd/fopenport.c: Likewise.
8267 * include/libc-symbols.h: Likewise.
8268 * include/tls.h: Likewise.
8269 * intl/gettextP.h: Likewise.
8270 * intl/loadinfo.h: Likewise.
8271 * locale/global-locale.c: Likewise.
8272 * locale/localeinfo.h: Likewise.
8273 * mach/devstream.c: Likewise.
8274 * malloc/arena.c: Likewise.
8275 * malloc/set-freeres.c: Likewise.
8276 * misc/err.c: Likewise.
8277 * misc/getttyent.c: Likewise.
8278 * misc/mntent_r.c: Likewise.
8279 * posix/getopt.c: Likewise.
8280 * posix/wordexp.c: Likewise.
8281 * pwd/fgetpwent_r.c: Likewise.
8282 * resolv/Versions: Likewise.
8283 * resolv/res_hconf.c: Likewise.
8284 * shadow/fgetspent_r.c: Likewise.
8285 * shadow/putspent.c: Likewise.
8286 * stdio-common/printf_fphex.c: Likewise.
8287 * stdio-common/tmpfile.c: Likewise.
8288 * stdlib/abort.c: Likewise.
8289 * stdlib/fmtmsg.c: Likewise.
8290 * sunrpc/auth_unix.c: Likewise.
8291 * sunrpc/clnt_perr.c: Likewise.
8292 * sunrpc/clnt_tcp.c: Likewise.
8293 * sunrpc/clnt_udp.c: Likewise.
8294 * sunrpc/clnt_unix.c: Likewise.
8295 * sunrpc/openchild.c: Likewise.
8296 * sunrpc/svc_simple.c: Likewise.
8297 * sunrpc/svc_tcp.c: Likewise.
8298 * sunrpc/svc_udp.c: Likewise.
8299 * sunrpc/svc_unix.c: Likewise.
8300 * sunrpc/xdr.c: Likewise.
8301 * sunrpc/xdr_array.c: Likewise.
8302 * sunrpc/xdr_rec.c: Likewise.
8303 * sunrpc/xdr_ref.c: Likewise.
8304 * sunrpc/xdr_stdio.c: Likewise.
8306 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8308 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8310 2011-07-03 Andreas Jaeger <aj@suse.de>
8312 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8313 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8314 regenerate with gen-libm-tests.pl.
8316 2010-05-12 Petr Baudis <pasky@suse.cz>
8319 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8320 around j0() zero points by switching to j1().
8321 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8326 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8328 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8330 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8333 Patch in part by Pavel Roskin <proski@gnu.org>.
8336 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8338 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8339 Free memory block if necessary.
8342 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8343 be NULL. Don't lock in this case.
8345 2011-09-09 Roland McGrath <roland@hack.frob.com>
8347 * elf/elf.h (ELFOSABI_GNU): New macro.
8348 (ELFOSABI_LINUX): Define to that.
8350 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8352 * string/strncat.c (strncat): Undef the symbol in case it has been
8353 defined in bits/string.h.
8355 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8357 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8359 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8362 2011-08-17 Andreas Jaeger <aj@suse.de>
8364 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8366 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8367 Ian Lance Taylor <iant@google.com>
8369 * math/libm-test.inc (lround_test): New testcase.
8370 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8372 2011-09-08 Ulrich Drepper <drepper@gmail.com>
8374 * Makefile: Remove support for automatic cvs check-ins.
8375 * Makerules: Likewise.
8376 * config.make.in: Likewise.
8377 * configure.in: Likewise.
8378 * intl/Makefile: Likewise.
8379 * locale/Makefile: Likewise.
8380 * po/Makefile: Likewise.
8381 * posix/Makefile: Likewise.
8382 * sysdeps/gnu/Makefile: Likewise.
8383 * sysdeps/mach/hurd/Makefile: Likewise.
8384 * sysdeps/sparc/sparc32/Makefile: Likewise.
8387 * posix/Makefile (bug-regex32-ENV): Define.
8388 Patch by John Stanley <jpsinthemix@verizon.net>.
8390 * misc/Makefile (headers): Add bits/select2.h.
8391 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8392 * misc/bits/select2.h: New file.
8393 * include/bits/select2.h: New file.
8394 * debug/Makefile (routines): Add fdelt_chk.
8395 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8396 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8398 * debug/fdelt_chk.c: New file.
8400 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8401 * wcsmbs/test-wmemcmp.c: Likewise.
8402 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8403 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8405 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8407 * string/Makefile (strop-tests): Add memcmp.
8408 * string/test-wmemcmp.c: New file.
8409 * string/test-memcmp.c: Add wmemcmp support.
8411 2011-09-08 Roland McGrath <roland@hack.frob.com>
8414 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8417 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8418 garbage value in a __mach_port_mod_refs call in the cases of the
8419 task-self and thread-self ports.
8421 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8423 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8425 2011-09-08 Andreas Schwab <schwab@redhat.com>
8427 * elf/dl-load.c (lose): Check for non-null L.
8429 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8431 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8433 * elf/dl-libc.c (dlerror_run): Pass back error code from
8437 * elf/dl-load.c (lose): Free l_origin if it is valid.
8439 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8441 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8442 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8443 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8444 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8446 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8448 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8450 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8451 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8452 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8453 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8454 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8455 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8456 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8457 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8458 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8459 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8461 2011-08-15 Alan Modra <amodra@gmail.com>
8464 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8465 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8466 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8467 ppc_mcount to static-only-routines.
8468 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8470 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8471 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8473 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8475 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8476 for finite and infinity parameters.
8478 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8480 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8481 and add nop instructions for throughput optimization.
8482 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8484 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8486 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8487 aligned copy for power7 with vector-scalar instructions.
8488 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8490 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8492 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8495 2011-09-07 Andreas Schwab <schwab@redhat.com>
8498 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8501 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8503 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8504 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8505 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8506 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8509 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8511 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8512 Forgot to demangle the pointer.
8514 * sysdeps/i386/sysdep.h: Define atom_text_section.
8515 * sysdeps/x86_64/sysdep.h: Likewise.
8516 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8517 section with atom_text_section.
8518 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8519 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8520 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8522 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8524 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8525 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8526 already be defined. Change to take two parameters and don't assign
8527 result to variable. Adjust all users.
8528 Define INTERNAL_GETTIME if not already defined.
8529 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8532 HAVE_CLOCK_GETTIME_VSYSCALL.
8533 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8536 gettimeofday vsyscall, just use time.
8538 2011-09-06 Andreas Schwab <schwab@redhat.com>
8540 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8543 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8545 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8549 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8550 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8551 syscall if possible.
8553 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8555 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8556 e_ident. Don't pass to find_mapsXX.
8557 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8559 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8562 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8563 * sysdeps/x86_64/multiarch/strchr.S: Update.
8564 Check bit_slow_BSF bit.
8565 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8566 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8567 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8569 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8572 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8575 (__spawni): Change last parameter to be flag. Test
8576 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8577 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8578 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8579 * posix/spawni.c: Likewise.
8580 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8581 * posix/spawnp.c: Likewise. Change normal version to use
8582 SPAWN_XFLAGS_USE_PATH.
8583 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8584 SPAWN_XFLAGS_TRY_SHELL.
8587 * posix/glob.h: Remove gcc 1.x support.
8590 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8592 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8595 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8597 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8598 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8599 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8600 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8601 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8602 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8604 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8606 * sysdeps/x86_64/wcscmp.S: New file.
8608 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8609 wcscmp-c wcscmp-sse2
8610 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8611 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8612 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8613 * wcsmbs/wcscmp.c: Allow renaming.
8615 2011-09-05 David S. Miller <davem@davemloft.net>
8617 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8618 stack slot, rather than the struct return pointer slot.
8619 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8620 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8622 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8624 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8626 * po/ja.po: Update from translation team.
8629 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8630 kernel in 64-bit binaries.
8632 2011-09-01 David S. Miller <davem@davemloft.net>
8634 * elf/elf.h (HWCAP_SPARC_*): Move to..
8635 * sysdeps/sparc/sysdep.h: this new file and add new values.
8636 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8637 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8638 _DL_HWCAP_COUNT to 24.
8639 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8641 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8642 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8643 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8645 instead of magic constants.
8646 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8648 2011-08-31 David S. Miller <davem@davemloft.net>
8650 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8652 Reimplement to do errno handling inline.
8653 (SYSCALL_ERROR_HANDLER): New macro.
8654 (__SYSCALL_STRING): Do not do errno handling in asm.
8655 (__CLONE_SYSCALL_STRING): Delete.
8656 (__INTERNAL_SYSCALL_STRING): Delete.
8657 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8658 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8659 (PSEUDO): Reimplement to do errno handling inline.
8660 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8661 (SYSCALL_ERROR_HANDLER): New macro.
8662 (__SYSCALL_STRING): Do not do errno handling in asm.
8663 (__CLONE_SYSCALL_STRING): Delete.
8664 (__INTERNAL_SYSCALL_STRING): Delete.
8665 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8666 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8668 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8669 (inline_syscall*): Add 'err' argument.
8670 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8671 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8672 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8673 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8675 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8676 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8678 2011-08-30 Andreas Schwab <schwab@redhat.com>
8680 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8682 2011-08-29 Jiri Olsa <jolsa@redhat.com>
8684 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8687 2011-08-24 David S. Miller <davem@davemloft.net>
8689 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8691 2011-08-24 Andreas Schwab <schwab@redhat.com>
8693 * elf/Makefile: Add rules to build and run unload8 test.
8694 * elf/unload8.c: New file.
8695 * elf/unload8mod1.c: New file.
8696 * elf/unload8mod1x.c: New file.
8697 * elf/unload8mod2.c: New file.
8698 * elf/unload8mod3.c: New file.
8700 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8703 2011-08-23 David S. Miller <davem@davemloft.net>
8705 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8706 subtract stack bias.
8707 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8708 %sp not %fp in calculations.
8709 (_JMPBUF_UNWINDS_ADJ): Likewise.
8711 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8712 (aio_suspend): Call it to force an exception region around the
8713 AIO_MISC_WAIT() invocation.
8715 2011-08-23 Andreas Schwab <schwab@redhat.com>
8717 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8720 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8722 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8724 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8726 (Elf64_FuncDesc): Remove.
8728 2011-08-22 David S. Miller <davem@davemloft.net>
8730 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8731 sigaltstack check, add missing cfi directives.
8732 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8733 missing cfi directives, and sigaltstack handling.
8735 2011-08-16 Andreas Schwab <schwab@redhat.com>
8738 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8739 object is seen twice.
8740 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8742 * elf/Makefile (distribute): Add tst-initorder2.c.
8743 (tests): Add tst-initorder2.
8744 (modules-names): Add tst-initorder2a tst-initorder2b
8745 tst-initorder2c tst-initorder2d. Add rules to build them.
8746 ($(objpfx)tst-initorder2.out): New rule.
8747 * elf/tst-initorder2.c: New file.
8748 * elf/tst-initorder2.exp: New file.
8750 2011-08-22 Andreas Schwab <schwab@redhat.com>
8752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8754 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8755 dependencies back to end of function.
8757 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8760 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8762 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8763 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8764 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8765 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8766 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8767 of __vdso_gettimeofday.
8768 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8769 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8771 (_libc_vdso_platform_setup): Remove initialization of
8772 __vdso_gettimeofday and __vdso_time.
8774 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8776 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8778 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8781 * elf/dl-open.c (add_to_global): Report additions to the global scope
8782 for LD_DEBUG=scopes.
8783 (dl_open_worker): Also print scope of newly loaded dependencies.
8784 (_dl_show_scope): Indicate if there is no scope.
8787 * stdio-common/Makefile (tests): Add bug24.
8788 * stdio-common/bug24.c: New file.
8790 2011-08-19 Andreas Jaeger <aj@suse.de>
8793 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8794 non-existant file when using close-on-exec mode.
8796 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8799 the very first instruction.
8801 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8802 the CFI state in the end.
8803 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8804 inclusion of dl-trampoline.h.
8805 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8807 2011-08-19 Andreas Schwab <schwab@redhat.com>
8809 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8810 expectations for long double.
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8813 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8815 2011-08-14 David S. Miller <davem@davemloft.net>
8817 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8818 artificual limit depends upon the system page size.
8820 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8822 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8823 * resolv/Makefile: Define CFLAGS-libresolv.
8825 2011-08-17 Andreas Schwab <schwab@redhat.com>
8827 * nss/makedb.c (compute_tables): Make variables used in nested
8830 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8832 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8833 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8834 if buffer was too small.
8836 * elf/pldd.c (main): Attach to all threads in the process.
8837 Rewrite /proc handling to use *at functions.
8839 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8841 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8842 specifies first scope to show.
8843 (dl_open_worker): Update callers. Move printing scope of new
8844 object to before the relocation.
8845 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8846 * sysdeps/generic/ldsodefs.h: Update declaration.
8848 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8849 string for the scope number.
8851 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8853 * nscd/servicescache.c (cache_addserv): Make sure written is always
8856 2011-08-14 Roland McGrath <roland@hack.frob.com>
8858 * sysdeps/i386/i486/bits/atomic.h
8859 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8860 statement expression, so as to suppress "set but not used" warning.
8861 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8863 * string/strncat.c (STRNCAT): Use prototype definition.
8865 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8866 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8868 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8869 (localedef-modules): Add localedef.
8870 (locale-modules): Add locale.
8872 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8873 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8876 2011-08-14 David S. Miller <davem@davemloft.net>
8878 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8879 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8881 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8883 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8884 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8885 * elf/rtld.c (dl_main): Set l_name of vDSO.
8886 Call _dl_show_scope when DL_DEBUG_SCOPES.
8887 (process_dl_debug): Recognize scopes flag and also set it for all.
8888 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8889 Declare _dl_show_scope.
8891 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8892 (do_dlopen): Pass caller_dlopen to dl_open.
8893 (__libc_dlopen_mode): Initialize caller_dlopen.
8895 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8896 of libc. Make tolower call locale-independent. Optimize a bit by
8897 using isdigit instead of isalnum.
8898 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8900 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8902 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8903 was a dependency or dynamically loaded.
8905 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8907 * intl/l10nflist.c: Allow architecture-specific pop function.
8908 * sysdeps/x86_64/l10nflist.c: New file.
8910 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8913 2011-08-10 Andreas Schwab <schwab@redhat.com>
8915 * include/dirent.h: Add libc_hidden_proto for scandirat and
8916 scandirat64. Don't declare __scandirat64.
8917 * dirent/scandirat.c: Add libc_hidden_def.
8918 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8919 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8921 2011-08-10 David S. Miller <davem@davemloft.net>
8923 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8925 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8926 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8927 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8929 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8931 * Versions.def [libc]: Add GLIBC_2.15.
8932 * dirent/Makefile (routines): Add scandirat and scandirat64.
8933 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8935 * dirent/dirent.h: Declare scandirat and scandirat64.
8936 * dirent/scandirat.c: New file.
8937 * dirent/scandirat64.c: New file.
8938 * sysdeps/wordsize-64/scandirat.c: New file.
8939 * sysdeps/wordsize-64/scandirat64.c: New file.
8940 * dirent/opendir.c: Define opendirat.
8941 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8943 * dirent/scandir64.c: Adjust for scandir.c change.
8944 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8945 __scandirat64, and __scandir_cancel_handler.
8946 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8947 additional parameter and use openat instead of open (outside of ld.so).
8948 Add new __opendir as wrapper around __opendirat.
8949 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8950 here without requiring old scandirat implementation.
8952 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8954 * dirent/scandir.c (cancel_handler): Renamed to
8955 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8956 defined. Adjust users.
8957 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8958 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8960 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8962 * string/test-string.h (IMPL): Use __STRING to expand name and then
8965 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8968 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8970 * string/Makefile: Update.
8971 (strop-tests): Append strncat.
8972 * string/test-wcscmp.c: New file.
8973 New comprehensive test for wcscmp.
8974 * string/test-strcmp.c: Update.
8977 2011-07-22 Andreas Schwab <schwab@redhat.com>
8979 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8982 2011-07-26 Andreas Schwab <schwab@redhat.com>
8984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8985 encoding to ACE if AI_IDN.
8987 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8989 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8990 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8992 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8994 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8995 Fix overflow bug in strncat.
8996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8998 * string/test-strncat.c: Update.
8999 Add new tests for checking overflow bugs.
9001 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9004 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9005 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9006 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9007 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9008 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9009 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9010 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9011 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9013 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9014 (USE_AS_STRCAT): Define.
9015 Add strcat and strncat support.
9016 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9018 2011-07-25 Andreas Schwab <schwab@redhat.com>
9020 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9021 __n bigger than INT_MAX+1.
9022 (__strncmp_g): Likewise.
9024 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9026 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9027 * libio/stido.h: Likewise.
9029 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9034 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9035 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9036 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9037 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9038 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9041 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9044 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9046 (_dl_x86_64_save_sse): Likewise.
9048 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9050 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9052 (_dl_x86_64_save_sse): Likewise.
9054 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9056 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9058 2011-07-21 Andreas Schwab <schwab@redhat.com>
9060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9062 (_dl_x86_64_save_sse): Use correct AVX check.
9064 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9066 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9067 bug in strncpy/strncat.
9068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9070 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9072 * string/tester.c (test_strcat): Add tests for different alignments
9073 of source and destination.
9074 (test_strncat): Likewise.
9076 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9079 * posix/glob.c (glob): Check passed in values before using them in
9080 expressions to avoid some overflows.
9081 (glob_in_dir): Likewise.
9084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9085 check for AVX enablement so that we don't crash with old kernels and
9087 * elf/tst-audit4.c: Add same checks here.
9088 * elf/tst-audit6.c: Likewise.
9090 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9092 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9094 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9096 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9098 * po/cs.po: Update from translation team.
9099 * po/bg.po: Likewise.
9101 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9103 * misc/sys/cdefs.h: Add support for const attribute.
9104 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9105 to gnu_dev_{major,minor,makedev} functions.
9107 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9109 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9111 2011-07-20 Andreas Schwab <schwab@redhat.com>
9113 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9116 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9118 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9119 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9120 register in order to avoid conflicts with the soft frame pointer
9121 being held in r11 when necessary.
9122 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9123 (INTERNAL_VSYSCALL_NCS): Likewise.
9125 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9127 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9128 * elf/dl-fini.c (_dl_fini): Adjust caller.
9129 * elf/dl-close.c (_dl_close_worker): Likewise.
9130 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9132 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9134 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9135 "aux_cache->nlibs < 0".
9137 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9138 in the reload-count case.
9140 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9143 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9144 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9145 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9146 * sysdeps/x86_64/multiarch/strcat.S: New file.
9147 * sysdeps/x86_64/multiarch/strncat.S: New file.
9148 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9149 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9150 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9151 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9152 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9153 (USE_AS_STRCAT): Define.
9154 Add strcat and strncat support.
9155 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9156 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9157 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9158 * string/strncat.c: Update.
9159 (USE_AS_STRNCAT): Define.
9160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9161 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9163 * sysdeps/x86_64/multiarch/init-arch.h
9164 (bit_Prefer_PMINUB_for_stringop): New.
9165 (index_Prefer_PMINUB_for_stringop): Likewise.
9166 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9167 bit_Prefer_PMINUB_for_stringop.
9169 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9171 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9173 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9174 of casting of buffer.
9175 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9176 buffer32 and buffer64.
9177 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9178 writes instead of casting of buffer.
9179 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9181 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9184 2011-07-19 Andreas Schwab <schwab@redhat.com>
9186 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9188 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9190 * nscd/nscd.c (termination_handler): Don't do anything for a database
9191 if it has not yet been initialized.
9193 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9195 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9197 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9199 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9201 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9203 * po/nl.po: Update from translation team.
9204 * po/sv.po: Likewise.
9206 2011-07-16 Roland McGrath <roland@hack.frob.com>
9208 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9209 now disallowed by GCC.
9211 * configure.in (use-default-link): Default to yes if a test -shared
9212 link meets our qualifications.
9213 * configure: Regenerated.
9215 * config.make.in (output-format): New variable.
9216 * configure.in: Check for ld --print-output-format support.
9217 * configure: Regenerated.
9218 * Makerules ($(common-objpfx)format.lds)
9219 [$(output-format) != unknown]: Just use $(output-format),
9220 instead of the linker-script munging.
9222 2011-07-14 Roland McGrath <roland@hack.frob.com>
9224 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9225 of $(common-objpfx)shlib.lds.
9226 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9228 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9229 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9231 * configure.in (-z relro check): Adjust test code to add a large
9232 writable data section after it.
9233 * configure: Regenerated.
9235 2011-07-11 Roland McGrath <roland@hack.frob.com>
9237 * configure.in (-z relro check): Fix test code to make the variable
9239 * configure: Regenerated.
9241 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9243 * nscd/nscd.h (struct traced_file): Define.
9244 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9245 elements. Add traced_files.
9246 (inotify_fd): Declare.
9247 (register_traced_file): Declare.
9248 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9249 (inotify_fd): Export.
9250 (resolv_conf_descr): Remove.
9251 (nscd_init): Move inotify descriptor creation to main.
9252 Don't register files for notification here.
9253 (register_traced_file): New function.
9254 (invalidate_cache): Don't use reset_res to determine whether to call
9255 res_init, go through the list of registered files.
9256 (main_loop_poll): The inotify descriptors are now stored in the
9257 structures for the traced files.
9258 (main_loop_epoll): Likewise
9259 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9260 to __nss_disable_nscd.
9261 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9262 for a database anymore. Check the records for all the registered
9264 * nss/Makefile (libnss_files-routines): Add files-init.
9265 (libnss_db-routines): Add db-init.
9266 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9267 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9268 * nss/nss_db/db-init.c: New file.
9269 * nss/nss_files/files-init.c: New file.
9270 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9271 __nss_lookup_function.
9272 (__nss_lookup_function): Call nss_load_library.
9273 (nss_load_all_libraries): New function.
9274 (__nss_disable_nscd): Take parameter with callback function for files
9275 to register. Set is_nscd. Load all the DSOs for the NSS modules
9276 used for the cached services.
9277 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9278 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9279 options for features to all the files in nscd.
9281 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9283 2011-07-10 Roland McGrath <roland@hack.frob.com>
9285 * csu/elf-init.c (__libc_csu_init): Comment typo.
9287 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9289 * po/pl.po: Update from translation team.
9290 * po/ja.po: Likewise.
9291 * po/ru.po: Likewise.
9292 * po/ko.po: Likewise.
9293 * po/fr.po: Likewise.
9295 2011-07-09 Roland McGrath <roland@hack.frob.com>
9297 * configure.in (.ctors/.dtors header and trailer check):
9298 Use an empirical test on a built program.
9299 * configure: Regenerated.
9301 * configure.in (-z relro check): Use an empirical test on a built DSO.
9302 Detect, but do not require, on ia64.
9303 * configure: Regenerated.
9305 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9306 Update tests that use readelf to use $READELF instead.
9307 * configure: Regenerated.
9309 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9311 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9312 if the result is not used.
9314 2011-07-05 Andreas Jaeger <aj@suse.de>
9317 * stdlib/tst-strtod.c: Add testcase.
9319 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9321 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9322 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9323 The latter has a higher limit. Take additional parameter to pass to
9325 (__pathconf): Pass file to __statfs_link_max.
9326 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9328 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9332 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9333 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9335 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9336 (__statfs_filesize_max): Likewise.
9337 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9339 2011-07-05 Andreas Jaeger <aj@suse.de>
9341 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9343 2011-07-06 Marek Polacek <mpolacek@redhat.com>
9345 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9347 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9350 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9352 * Makefile (strop-tests): Add strncat.
9353 * string/test-strncat.c: New file.
9355 2011-06-30 Marek Polacek <mpolacek@redhat.com>
9357 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9359 2011-06-21 Andreas Jaeger <aj@suse.de>
9361 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9362 Copy rule from iconvdata/Makefile.
9364 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9367 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9368 but no long options are defined, just return 'W'.
9370 2011-06-22 Marek Polacek <mpolacek@redhat.com>
9373 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9375 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9377 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9379 (innetgr): Likewise.
9381 2011-07-05 Roland McGrath <roland@hack.frob.com>
9383 * config.make.in (install_root): Default to $(DESTDIR).
9385 2011-07-05 Ulrich Drepper <drepper@gmail.com>
9387 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9389 2011-07-02 Roland McGrath <roland@hack.frob.com>
9391 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9393 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9394 containing directory rather than embedding absolute directory names.
9396 * scripts/check-local-headers.sh: Rewritten using awk.
9397 Match by word, not by line. Print error messages for matches.
9398 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9400 * Makerules [shlib-lds-flags empty]:
9401 ($(common-objpfx)libc_pic.opts): New target.
9402 ($(common-objpfx)libc_pic.os.clean): New target.
9403 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9405 * config.make.in (OBJCOPY): New variable.
9406 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9407 * configure: Regenerated.
9409 * config.make.in (use-default-link): New variable.
9410 * configure.in (use_default_link): Grok --with-default-link to set it.
9411 * configure: Regenerated.
9412 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9413 (shlib-lds, shlib-lds-flags): Define to empty.
9415 * Makerules (shlib-lds): New variable.
9416 (shlib-lds-flags): New variable.
9417 (build-shlib, build-moduile, build-module-asneeded): Use it.
9418 ($(common-objpfx)libc.so): Use $(shlib-lds).
9419 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9420 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9422 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9423 DT_FLAGS/DT_FLAGS_1 with zero flags.
9425 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9426 linker script munging.
9428 2011-07-02 Ulrich Drepper <drepper@gmail.com>
9430 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9432 * crypt/sha512.c (sha512_process_block): Perform total addition using
9433 128-bit if possible.
9434 (__sha512_finish_ctx): Likewise.
9435 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9437 * crypt/sha256.c (SWAP64): Define.
9438 (sha256_process_block): Perform total addition using 64-bit if
9440 (__sha256_finish_ctx): Likewise.
9442 2011-07-01 Ulrich Drepper <drepper@gmail.com>
9444 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9445 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9446 * nscd/hstcache.c (cache_addhst): Likewise.
9447 * nscd/grpcache.c (cache_addgr): Likewise.
9448 * nscd/aicache.c (addhstaiX): Likewise
9449 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9451 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
9453 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9455 * nscd/hstcache.c (cache_addhst): Likewise.
9456 * nscd/grpcache.c (cache_addgr): Likewise.
9457 * nscd/aicache.c (addhstaiX): Likewise
9459 2011-07-01 Andreas Schwab <schwab@redhat.com>
9461 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9462 domain only when needed.
9464 2011-06-30 Andreas Schwab <schwab@redhat.com>
9466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9469 2011-06-29 Ulrich Drepper <drepper@gmail.com>
9471 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9472 are re-adding the entry.
9473 * nscd/servicescache.c (cache_addserv): Likewise.
9475 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9477 * sysdeps/generic/dl-irel.h: fix protection against multiple
9479 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9481 2011-06-28 Ulrich Drepper <drepper@gmail.com>
9484 * malloc/memusage.sh: Fix quoting in message.
9485 * debug/xtrace.sh: Likewise.
9487 * configure.in: Remove support for --experimental-malloc option, make
9489 * config.make.in: Likewise.
9490 * malloc/Makefile: Likewise.
9492 2011-06-27 Andreas Schwab <schwab@redhat.com>
9494 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9495 two-byte characters.
9497 2011-06-27 Roland McGrath <roland@hack.frob.com>
9499 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9500 AC_CACHE_CHECK invocation.
9501 * configure: Regenerated.
9503 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9505 2011-06-27 Ulrich Drepper <drepper@gmail.com>
9508 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9509 bit from old_res_options.
9511 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9513 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9514 value type for setfct.
9516 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9518 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9519 __gettimeofday instead of gettimeofday.
9521 2011-06-26 Ulrich Drepper <drepper@gmail.com>
9523 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9525 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9527 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9529 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9532 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9535 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9536 strcpy-sse2-unaligned strncpy-sse2-unaligned
9537 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9538 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9539 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9540 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9541 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9542 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9543 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9544 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9545 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9546 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9547 (STRCPY): Support SSE2 and SSSE3 versions.
9549 2011-06-24 Ulrich Drepper <drepper@gmail.com>
9552 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9553 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9554 kernels which artificially limit size of requests.
9556 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9559 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9560 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9561 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9562 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9563 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9564 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9565 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9566 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9568 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9569 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9570 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9571 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9572 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9574 Enable unaligned load optimization for Intel Core i3, i5 and i7
9576 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9578 (index_Fast_Unaligned_Load): Define.
9579 (HAS_FAST_UNALIGNED_LOAD): Define.
9581 2011-06-23 Marek Polacek <mpolacek@redhat.com>
9583 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9585 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9588 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9589 until it is clear that the information is realy needed.
9590 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9592 2011-06-22 Andreas Schwab <schwab@redhat.com>
9594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9596 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9598 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9599 /sys/devices/system/cpu/online if it is usable.
9601 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9602 reading the information from the /proc filesystem to once a second.
9604 2011-06-21 Andreas Jaeger <aj@suse.de>
9606 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9607 NULL after inclusion of kernel headers.
9609 2011-06-21 Ulrich Drepper <drepper@gmail.com>
9611 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9612 calls to internal_setent.
9615 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9616 addresses using gethostbyname4_r ignore IPv4 addresses.
9618 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9619 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9621 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9623 2011-06-20 David S. Miller <davem@davemloft.net>
9625 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9627 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9629 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9631 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9632 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9633 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9634 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9635 * sysdeps/x86_64/dl-irel.h: Likewise.
9637 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9638 * elf/dl-sym.c: Likewise.
9640 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9642 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9643 need to dereference resplen2.
9645 2011-06-14 Andreas Schwab <schwab@redhat.com>
9647 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9649 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9651 * Makeconfig: Define vardbdir and inst_vardbdir.
9652 * nss/Makefile: Add rules to install db-Makefile.
9654 * nss/nss_db/db-XXX.c: Cleanup.
9656 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9657 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9659 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9660 * nss/makedb.c: Implement -g option to specify that value strings
9661 are generated and should not be added to table iterated over for
9663 * nss/nss_db/db-initgroups.c: New file.
9665 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9668 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9669 (internal_getgrouplist): Adjust to name change.
9670 Update use_initgroups_entry if this is not the first call.
9671 * nss/databases.def: Add initgroups entry.
9673 * nss/makedb.c (compute_tables): Check result of multiple hash table
9674 sizes to minimize maximum chain length.
9676 2011-06-14 Ulrich Drepper <drepper@gmail.com>
9678 * Versions.def: Add entry for libnss_db.
9679 * shlib-versions: Likewise.
9680 * nss/Makefile: Add rules to build libnss_db.
9681 * nss/Versions: Add libnss_db information. Organize libnss_files
9683 * nss/db-Makefile: Add gshadow support. Change rules for the new
9684 makedb progra. Some minor improvements to generate smaller files.
9685 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9687 * nss/makedb.c: ...here.
9688 Improve database format to be smaller and require less memory at
9690 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9692 * nss/nss_db/db-netgrp.c: Likewise.
9693 * nss/nss_db/db-open.c: Likewise.
9694 * nss/nss_files/flies-XXX.x: Adjust comments.
9695 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9696 * nss/nss_files/files-grp.c: Likewise.
9697 * nss/nss_files/files-hosts.c: Likewise.
9698 * nss/nss_files/files-network.c: Likewise.
9699 * nss/nss_files/files-proto.c: Likewise.
9700 * nss/nss_files/files-pwd.c: Likewise.
9701 * nss/nss_files/files-rpc.c: Likewise.
9702 * nss/nss_files/files-service.c: Likewise.
9703 * nss/nss_files/files-sgrp.c: Likewise.
9704 * nss/nss_files/files-spwd.c: Likewise.
9705 * nss/nss_db/db-alias.c: Removed.
9706 * nss/nss_db/dummy-db.h: Removed.
9708 2011-06-02 Ulrich Drepper <drepper@gmail.com>
9710 * nss/makedb.c: Rewritten to not use database library.
9711 * nss/Makefile: Update to build new makedb program.
9713 2011-06-14 Andreas Jaeger <aj@suse.de>
9715 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9718 2011-06-10 Andreas Schwab <schwab@redhat.com>
9720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9723 2011-06-10 Roland McGrath <roland@hack.frob.com>
9725 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9726 * elf/Makefile ($(objpfx)ld.so): Likewise.
9728 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9729 Don't list ld.so twice in dependencies.
9731 * posix/bug-regex31.c: Include <stdlib.h>.
9733 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9735 * nis/nss_compat/compat-spwd.c
9736 (getspent_next_nss_netgr): Remove unused variable.
9737 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9739 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9740 nonmembers" output to use the right array.
9742 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9744 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9746 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9747 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9748 * catgets/gencat.c (read_input_file): Likewise.
9749 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9751 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9752 variable definition inside #if's controlling its use.
9754 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9756 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9758 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9760 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9763 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9765 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9766 * configure: Regenerated.
9768 * Makerules: Revert last change.
9769 * elf/Makefile: Likewise.
9771 2011-06-09 Roland McGrath <roland@hack.frob.com>
9773 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9774 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9775 (reloc-link): Likewise.
9777 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9779 * elf/Makefile: Add rules to build pldd.
9780 * elf/pldd.c: New file.
9781 * elf/pldd-xx.c: New file.
9783 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9785 * version.h: Update for 2.15 development version.
9787 2011-06-07 David S. Miller <davem@davemloft.net>
9789 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9791 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9792 elf_machine_lazy_rel): Likewise.
9793 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9794 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9795 elf_machine_lazy_rel): Likewise.
9796 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9797 dl_hwcap via passed in argument.
9798 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9801 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9803 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9805 2011-06-06 Roland McGrath <roland@hack.frob.com>
9808 * manual/fdl-1.1.texi: New file, verbatim from:
9809 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9810 * manual/lgpl-2.1.texi: New file, verbatim from:
9811 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9812 * manual/Makefile (licenses): New variable, list those new file names.
9814 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9816 * manual/fdl.texi: File removed.
9817 * manual/lesser.texi: File removed.
9818 * manual/libc.texinfo (Copying, Documentation License):
9819 Use new @include file names, put @appendix directive before @include.
9821 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9824 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9825 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9826 (mq_open): Add __NTH.
9828 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9831 Assume Intel Core i3/i5/i7 processor if AVX is available.
9833 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9835 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9838 2011-05-31 Andreas Schwab <schwab@redhat.com>
9840 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9841 memory. Use alloca_account. Fix memory leak when retrying.
9843 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9845 * version.h (RELEASE): Bump for 2.14 release.
9846 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9848 * config.make.in (RANLIB): Remove entry.
9850 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9852 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9853 (libc.pot): Work around missing support for .ksh extension in xgettext.
9856 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9857 if both request failed.
9858 (send_dg): In case of server errors clear resplen or *resplen2.
9861 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9862 when there are multiple maps.
9863 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9864 (_dl_fini): Remove test here.
9866 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9868 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9871 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9872 bit from old_res_options.
9873 (gaih_inet): Likewise.
9876 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9879 * resolv/res_init.c (res_setoptions): Make the code more compact.
9882 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9886 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9888 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9891 * malloc/malloc.h: Declare malloc hook variables as volatile.
9893 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9897 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9898 raise in the comment.
9899 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9900 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9901 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9903 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9906 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9907 grow the buffers more if it already has to be sufficient.
9908 (build_wcs_upper_buffer): Likewise.
9909 * posix/regexec.c (check_matching): Likewise.
9910 (clean_state_log_if_needed): Likewise.
9911 (extend_buffers): Don't enlarge buffers beyond size of the input
9913 Patches mostly by Emil Wojak <emil@wojak.eu>.
9914 * posix/bug-regex32.c: New file.
9915 * posix/Makefile (tests): Add bug-regex32.
9917 * locale/findlocale.c (_nl_find_locale): Return right away if
9918 _nl_explode_name failed.
9919 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9921 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9923 * debug/xtrace.sh: Unify messages.
9924 * malloc/memusage.sh: Likewise.
9927 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9928 time symbol from vDSO. Substitute with vsyscall if not available.
9929 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9932 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9933 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9934 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9935 Add sendmmsg and internal_sendmmsg.
9936 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9937 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9938 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9940 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9941 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9942 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9944 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9947 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9948 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9950 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9954 * iconvdata/Makefile (tests): Add bug-iconv9.
9955 * iconvdata/bug-iconv9.c: New file.
9957 2011-05-27 Andreas Schwab <schwab@redhat.com>
9960 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9962 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9964 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9965 (struct user_regs_struct): Change intcs field back to cs.
9967 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9969 * po/ja.po: Update from translation team.
9971 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9974 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9975 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9977 2011-05-20 Andreas Schwab <schwab@redhat.com>
9979 * stdlib/longlong.h: Update from GCC.
9981 2011-05-23 Andreas Schwab <schwab@redhat.com>
9983 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9985 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9987 (__sysconf): Pass it down.
9989 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9992 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9994 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9995 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9996 add in in __libc_use_alloca calls. Adjust callers.
9997 (glob): Use malloc in some situations.
9999 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10000 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10003 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10005 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10006 and CLOCK_BOOTTIME_ALARM.
10009 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10012 * string/_strerror.c (__strerror_r): Print negative errors as signed
10016 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10017 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10018 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10020 * configure.in: Fix typo in redirection and correct removal of test
10021 files in two cases.
10024 * locale/setlocale.c (new_composite_name): Fix test to check for
10025 identical name of all categories.
10028 * libio/filedoalloc.c (local_isatty): New function.
10029 (_IO_file_doallocate): Use local_isatty.
10030 * stdio-common/perror.c (perror): In case a new stream is used
10031 forward the stream error.
10032 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10035 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10040 * include/alloca.h (extend_alloca_account): Define.
10043 * posix/regex.h: Fix comments with documentation of user-accessible
10044 fields after compilation and describe correct free'ing of pattern
10045 after re_compile_pattern.
10046 Patch by Reuben Thomas <rrt@sc3d.org>.
10048 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10050 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10051 and -mno-altivec to prevent the compiler from using Altivec and/or
10052 VSX instructions when the corresponding registers are not available.
10054 2011-05-19 Andreas Schwab <schwab@redhat.com>
10056 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10058 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10060 * libio/freopen.c (freopen): Use __dup2, not dup2.
10061 * libio/freopen64.c (freopen64): Likewise.
10063 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10066 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10067 * math/Makefile (tests): Add test-powl.
10068 (CFLAGS-test-powl.c): Define.
10069 * math/test-powl.c: New file.
10071 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10073 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10075 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10078 * iconvdata/gb18030.c: Update to GB18020-2005.
10080 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10082 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10083 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10084 Patch by Aharon Robbins <arnold@skeeve.com>.
10087 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10091 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10092 through underflows.
10095 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10096 point to strings before performing equality test for error_one_per_line
10100 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10103 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10104 (struct user_fpregs_struct): Avoid __uint*_t types.
10107 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10108 symbol info. Use it instead of calling _dl_addr locally.
10109 (lock_and_info): New function.
10110 (tr_freehook): Call lock_and_info and pass symbol info as additional
10111 parameter to tr_where.
10112 (tr_mallochook): Likewise.
10113 (tr_reallochook): Likewise.
10114 (tr_memalignhook): Likewise.
10116 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10117 used and couldn't be at all thread-safe.
10119 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10121 * libio/freopen.c (freopen): Don't close old file descriptor
10122 before the new one is opened. Instead dup the new file descriptor
10123 to the old one after the new stream is created.
10124 * libio/freopen64.c (freopen64): Likewise.
10125 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10126 * libio/fileops.c (_IO_new_file_close_it): Handle new
10127 _IO_FLAGS2_NOCLOSE flag.
10128 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10129 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10130 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10131 _IO_FLAGS2_NOCLOSE flag.
10132 * include/unistd.h: Add hidden_proto for dup3.
10133 Define __have_dup3.
10134 * io/dup3.c: Define hidden symbol.
10135 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10138 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10139 when an incomplete long option is used.
10140 * posix/tst-getopt_long1.c: New file.
10141 * posix/Makefile (tests): Add tst-getopt_long1.
10144 * scripts/config.guess: Update from autoconf-2.68.
10145 * scripts/config.sub: Likewise.
10148 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10150 (has_cpuclock): ...this. New function.
10151 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10152 macro here based on has_cpuclock code.
10155 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10156 First byte (not low byte) is now always NUL.
10157 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10160 Use non-cancelable interfaces.
10163 * locale/iso-639.def: Add entry for Sorani.
10166 * include/stdlib.h: Move include protection to the right place.
10167 Define abort_msg_s. Declare __abort_msg with it.
10168 * stdlib/abort.c (__abort_msg): Adjust type.
10169 * assert/assert.c (__assert_fail_base): New function. Majority
10170 of code from __assert_fail. Allocate memory for __abort_msg with
10172 (__assert_fail): Now call __assert_fail_base.
10173 * assert/assert-perr.c: Remove bulk of implementation. Use
10174 __assert_fail_base.
10175 * include/assert.hL Declare __assert_fail_base.
10176 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10178 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10180 2011-05-14 Ulrich Drepper <drepper@gmail.com>
10184 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10185 until all modules are registered in the DTV.
10186 * elf/Makefile: Add rules to build and run tst-tls19.
10187 * elf/tst-tls19.c: New file.
10188 * elf/tst-tls19mod1.c: New file.
10189 * elf/tst-tls19mod2.c: New file.
10190 * elf/tst-tls19mod3.c: New file.
10191 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10194 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10198 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10199 two-byte sequence errors.
10200 * iconvdata/Makefile (tests): Add bug-iconv8.
10201 * iconvdata/bug-iconv8.c: New file.
10204 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10207 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10210 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10211 (dummy_getcfa): New function.
10212 (init): Get _Unwind_GetCFA address, use dummy if not found.
10213 (backtrace_helper): In recursion check, also check whether CFA changes.
10214 (__backtrace): Completely initialize arg.
10216 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10217 storing incomplete byte sequence in state object. Avoid testing for
10218 guaranteed too small input if we know there is enough data available.
10220 2011-05-11 Andreas Schwab <schwab@redhat.com>
10222 * Makeconfig (+link-pie): Indent.
10223 * Rules (binaries-pie): Define if $(have-fpie) and
10225 (binaries-shared): Also filter out $(binaries-pie).
10226 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10227 * nscd/Makefile (others-pie): Add nscd.
10228 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10229 ($(objpfx)nscd): Remove command override.
10230 * login/Makefile (others-pie): Add pt_chown.
10231 ($(objpfx)pt_chown): Remove command override.
10232 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10233 remove command overrides.
10235 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10237 * libio/tst_putwc.c: Fix error messages.
10240 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10241 currently writing and seek to current position when not.
10242 * libio/Makefile (tests): Add bug-fclose1.
10243 * libio/bug-fclose1.c: New file.
10245 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10248 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10249 don't set DF_1_NODELETE here.
10250 (do_lookup_x): When entering new entry test for copy relocation
10251 and if necessary set DF_1_NODELETE flag.
10252 * elf/tst-unique4.cc: New file.
10253 * elf/tst-unique4.h: New file.
10254 * elf/tst-unique4lib.cc: New file.
10255 * elf/Makefile: Add rules to build and run tst-unique4.
10256 Patch by Piotr Bury <pbury@goahead.com>.
10258 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10261 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10264 * misc/mntent_r.c (addmntent): Flush the stream after the output
10267 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10268 (is_trusted_path_normalize): Skip initial colon. Append slash
10269 to empty buffer. Duplicate is_trusted_path code but allow
10270 constructed patch to be prefix.
10271 (is_dst): Allow $ORIGIN followed by /.
10272 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10273 Correct testing of result of is_trusted_path_normalize
10274 (decompose_rpath): Fix warning.
10276 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10279 * grp/initgroups.c (internal_getgrouplist): When we found the service
10280 list through the initgroups entry in nsswitch.conf do not always
10281 continue on a successful lookup. Don't always use the
10282 __nss_group_database value if it is set.
10283 * nss/nsswitch.conf (initgroups): Change action for successful db
10284 lookup to continue for compatibility.
10286 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10289 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10291 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10293 * iconvdata/tst-tables.sh: Likewise.
10294 * iconvdata/cp770.c: New file.
10295 * iconvdata/cp771.c: New file.
10296 * iconvdata/cp772.c: New file.
10297 * iconvdata/cp773.c: New file.
10298 * iconvdata/cp774.c: New file.
10299 * iconvdata/testdata/CP770: New file.
10300 * iconvdata/testdata/CP770..UTF8: New file.
10301 * iconvdata/testdata/CP771: New file.
10302 * iconvdata/testdata/CP771..UTF8: New file.
10303 * iconvdata/testdata/CP772: New file.
10304 * iconvdata/testdata/CP772..UTF8: New file.
10305 * iconvdata/testdata/CP773: New file.
10306 * iconvdata/testdata/CP773..UTF8: New file.
10307 * iconvdata/testdata/CP774: New file.
10308 * iconvdata/testdata/CP774..UTF8: New file.
10310 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10312 * iconvdata/gen-8bit-gap.sh: Likewise.
10313 * iconvdata/gen-8bit.sh: Likewise.
10315 * locale/iso-639.def: Add ary entry.
10318 * locale/C-translit.h.in: Add U20A1 transliteration.
10321 * locale/iso-639.def: Add wae entry.
10322 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10325 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10329 * locale/C-translit.h.in: Add entry for U20B9.
10330 Patch by pravin.d.s@gmail.com.
10332 2011-05-08 Ulrich Drepper <drepper@gmail.com>
10335 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10336 ENAMETOOLONG use generic getcwd.
10337 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10338 in rtld. Use *stat64.
10339 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10340 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10341 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10342 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10343 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10344 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10345 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10346 __fstatat64 macros.
10347 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10348 * dirent/rewinddir.c: Add libc_hidden_def.
10349 * sysdeps/mach/hurd/rewinddir.c: Likewise.
10350 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
10352 * include/dirent.h (__alloc_dir): Add flags parameter.
10353 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10354 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10356 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10357 from fdopendir if O_CLOEXEC is already set.
10359 2011-03-15 Alan Modra <amodra@gmail.com>
10361 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10362 l_tls_firstbyte_offset non-zero. Save padding offset in
10363 l_tls_firstbyte_offset for later use.
10364 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10365 freeing static tls block.
10367 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10369 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10370 where #ifdef was intended. The intent is to prevent ARG_MAX from
10371 being defined by the kernel headers.
10373 2011-05-07 Ulrich Drepper <drepper@gmail.com>
10376 * resolv/resolv.h: Define RES_NOTLDQUERY.
10377 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10378 no-tld-query and set RES_NOTLDQUERY.
10379 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10380 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10381 modern BIND to search name as TLD unless forbidden.
10383 2011-05-07 Petr Baudis <pasky@suse.cz>
10384 Ulrich Drepper <drepper@gmail.com>
10387 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10388 (is_trusted_path): ...to here.
10389 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10390 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10391 using is_trusted_path_normalize() in setuid scripts.
10393 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10395 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10396 __BEGIN/__END_DECLS.
10398 2011-05-06 Ulrich Drepper <drepper@gmail.com>
10400 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10401 NSS_STATUS_NOTFOUND if no record was found.
10403 2011-05-05 Andreas Schwab <schwab@redhat.com>
10405 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10406 (headers-not-in-tirpc): Remove rpc/netdb.h
10407 * resolv/netdb.h: Revert last change.
10409 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10411 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10412 circular dependency between libgcc.a and libc.a.
10414 2011-05-05 Andreas Schwab <schwab@redhat.com>
10416 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10417 * nis/Makefile: Don't install rpcsvc/*.
10418 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10419 instead of <rpc/types.h>.
10420 (MAXHOSTNAMELEN): Define.
10422 2011-05-03 Andreas Schwab <schwab@redhat.com>
10424 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10426 2011-04-28 Maciej Babinski <mbabinski@google.com>
10429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10430 gethostbyname4_r when IPv6 results are possible.
10432 2011-05-02 Ulrich Drepper <drepper@gmail.com>
10435 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10436 _PC_PIPE_BUF handling.
10438 2011-04-30 Bruno Haible <bruno@clisp.org>
10441 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10442 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10444 * inet/getnameinfo.c (getnameinfo): Likewise.
10446 2011-04-29 Ulrich Drepper <drepper@gmail.com>
10448 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10449 to groups setting in database lookup.
10450 * nss/nsswitch.conf: Add initgroups entry.
10452 2011-04-22 Ulrich Drepper <drepper@gmail.com>
10455 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10457 Patch by Eric Blake <eblake@redhat.com>.
10459 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10461 * sunrpc/Makefile (need-export-routines): Add svc_run.
10462 (routines): Remove svc_run.
10463 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10464 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10465 * sunrpc/svc_run.c (svc_run): Likewise.
10466 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10468 2011-04-21 Ulrich Drepper <drepper@gmail.com>
10470 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10471 problem in reallocation in last patch.
10473 2011-04-20 Ulrich Drepper <drepper@gmail.com>
10475 * sunrpc/Makefile: Move inclusion of Rules.
10477 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10479 * nss/nss_files/files-initgroups.c: New file.
10480 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10481 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10482 _nss_files_initgroups_dyn.
10484 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10486 * elf/elf.h (R_ARM_IRELATIVE): Define.
10488 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10490 * po/ru.po: Update from translation team.
10492 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10494 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10497 2011-02-06 Mike Frysinger <vapier@gentoo.org>
10500 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10501 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10502 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10503 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10504 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10506 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10508 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10510 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10514 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10517 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10519 * stdlib/bug-getcontext.c: New file.
10520 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10522 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10524 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10525 instructions into .machine "z9-109".
10526 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10527 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10529 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10531 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10532 between environment variables and auxiliary vector.
10534 2011-04-16 Ulrich Drepper <drepper@gmail.com>
10536 * Makefile: Add rules to build linkobj/libc.so.
10537 * include/libc-symbols.h: Define libc_hidden_nolink.
10538 * include/rpc/auth.h: Mark functions which are to be hidden.
10539 * include/rpc/auth_des.h: Likewise.
10540 * include/rpc/auth_unix.h: Likewise.
10541 * include/rpc/clnt.h: Likewise.
10542 * include/rpc/des_crypt.h: Likewise.
10543 * include/rpc/key_prot.h: Likewise.
10544 * include/rpc/pmap_clnt.h: Likewise.
10545 * include/rpc/pmap_prot.h: Likewise.
10546 * include/rpc/pmap_rmt.h: Likewise.
10547 * include/rpc/rpc_msg.h: Likewise.
10548 * include/rpc/svc.h: Likewise.
10549 * include/rpc/svc_auth.h: Likewise.
10550 * include/rpc/xdr.h: Likewise.
10551 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10552 * nss/Makefile: Likewise.
10553 * sunrpc/Makefile: Don't install headers. Build library with normal
10554 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10555 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10556 for the compat linking library. Remove use of INTDEF/INTUSE.
10557 * sunrpc/auth_none.c: Likewise.
10558 * sunrpc/auth_unix.c: Likewise.
10559 * sunrpc/authdes_prot.c: Likewise.
10560 * sunrpc/authuxprot.c: Likewise.
10561 * sunrpc/clnt_gen.c: Likewise.
10562 * sunrpc/clnt_perr.c: Likewise.
10563 * sunrpc/clnt_raw.c: Likewise.
10564 * sunrpc/clnt_simp.c: Likewise.
10565 * sunrpc/clnt_tcp.c: Likewise.
10566 * sunrpc/clnt_udp.c: Likewise.
10567 * sunrpc/clnt_unix.c: Likewise.
10568 * sunrpc/des_crypt.c: Likewise.
10569 * sunrpc/des_soft.c: Likewise.
10570 * sunrpc/get_myaddr.c: Likewise.
10571 * sunrpc/key_call.c: Likewise.
10572 * sunrpc/key_prot.c: Likewise.
10573 * sunrpc/netname.c: Likewise.
10574 * sunrpc/pm_getmaps.c: Likewise.
10575 * sunrpc/pm_getport.c: Likewise.
10576 * sunrpc/pmap_clnt.c: Likewise.
10577 * sunrpc/pmap_prot.c: Likewise.
10578 * sunrpc/pmap_prot2.c: Likewise.
10579 * sunrpc/pmap_rmt.c: Likewise.
10580 * sunrpc/publickey.c: Likewise.
10581 * sunrpc/rpc_cmsg.c: Likewise.
10582 * sunrpc/rpc_common.c: Likewise.
10583 * sunrpc/rpc_dtable.c: Likewise.
10584 * sunrpc/rpc_prot.c: Likewise.
10585 * sunrpc/rpc_thread.c: Likewise.
10586 * sunrpc/rtime.c: Likewise.
10587 * sunrpc/svc.c: Likewise.
10588 * sunrpc/svc_auth.c: Likewise.
10589 * sunrpc/svc_authux.c: Likewise.
10590 * sunrpc/svc_raw.c: Likewise.
10591 * sunrpc/svc_run.c: Likewise.
10592 * sunrpc/svc_simple.c: Likewise.
10593 * sunrpc/svc_tcp.c: Likewise.
10594 * sunrpc/svc_udp.c: Likewise.
10595 * sunrpc/svc_unix.c: Likewise.
10596 * sunrpc/svcauth_des.c: Likewise.
10597 * sunrpc/xcrypt.c: Likewise.
10598 * sunrpc/xdr.c: Likewise.
10599 * sunrpc/xdr_array.c: Likewise.
10600 * sunrpc/xdr_float.c: Likewise.
10601 * sunrpc/xdr_intXX_t.c: Likewise.
10602 * sunrpc/xdr_mem.c: Likewise.
10603 * sunrpc/xdr_rec.c: Likewise.
10604 * sunrpc/xdr_ref.c: Likewise.
10605 * sunrpc/xdr_sizeof.c: Likewise.
10606 * sunrpc/xdr_stdio.c: Likewise.
10608 2011-04-10 Ulrich Drepper <drepper@gmail.com>
10611 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10612 * sysdeps/ia64/dl-tls.h: Likewise.
10613 * sysdeps/powerpc/dl-tls.h: Likewise.
10614 * sysdeps/s390/dl-tls.h: Likewise.
10615 * sysdeps/sh/dl-tls.h: Likewise.
10616 * sysdeps/sparc/dl-tls.h: Likewise.
10617 * sysdeps/x86_64/dl-tls.h: Likewise.
10618 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10620 2011-03-14 Andreas Schwab <schwab@redhat.com>
10622 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10623 rpath element also skip the following colon.
10624 (expand_dynamic_string_token): Add is_path parameter and pass
10625 down to DL_DST_REQUIRED and _dl_dst_substitute.
10626 (decompose_rpath): Call expand_dynamic_string_token with
10627 non-zero is_path. Ignore empty rpaths.
10628 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10631 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10636 2011-04-09 Ulrich Drepper <drepper@gmail.com>
10639 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10640 Patch by Filipe David Manana <fdmanana@apache.org>.
10642 2011-04-07 Andreas Schwab <schwab@redhat.com>
10644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10645 Maintain aligned stack.
10646 (CHECK_RSP): Remove unused macro.
10648 2011-04-03 Ulrich Drepper <drepper@gmail.com>
10650 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10651 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10653 2011-04-02 Ulrich Drepper <drepper@gmail.com>
10655 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10657 * include/features.h: Mention __USE_XOPEN2K8 in comment.
10659 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10662 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10663 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10664 * sysdeps/x86_64/memmove.c: New file.
10665 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10666 (memcpy): Renamed to ...
10667 (__new_memcpy): This.
10668 (memcpy): Provide GLIBC_2_14 memcpy.
10669 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10670 (memcpy): Provide GLIBC_2_2_5 memcpy.
10672 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10675 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10677 2011-03-30 Andreas Schwab <schwab@redhat.com>
10679 * misc/syncfs.c: New file.
10680 * misc/Makefile (routines): Add syncfs.
10681 * posix/unistd.h: Declare syncfs.
10682 * sysdeps/unix/syscalls.list: Add syncfs.
10684 2011-04-01 Andreas Schwab <schwab@redhat.com>
10686 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10688 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10689 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10691 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10693 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10694 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10696 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10698 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10699 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10700 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10702 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10704 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10706 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10707 sync_file_range.c with -fexceptions.
10708 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10709 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10710 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10711 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10712 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10713 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10714 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10715 sync_file_range as cancellation point
10716 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10717 now a wrapper around __call_sync_file_range with cancellation handling.
10718 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10719 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10720 function name to __call_sync_file_range.
10721 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10722 Add call_sync_file_range.
10724 2011-04-01 Andreas Schwab <schwab@redhat.com>
10726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10729 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10731 * iconv/iconv.h: Fix typo in comment.
10732 * io/fcntl.h: Likewise.
10733 * libio/stdio.h: Likewise.
10734 * posix/spawn.h: Likewise.
10735 * posix/unistd.h: Likewise.
10736 * stdlib/stdlib.h: Likewise.
10737 * time/time.h: Likewise.
10738 * wcsmbs/wchar.h: Likewise.
10740 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10741 open_by_handle): Add.
10742 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10743 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10744 Augment a few comments.
10745 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10747 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10749 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10750 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10753 * io/fcntl.h (AT_EMPTY_PATH): Define.
10755 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10757 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10758 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10759 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10761 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10762 * Versions.def: Add GLIBC_2.14.
10763 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10766 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10768 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10770 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10772 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10775 * string/test-strncmp.c (do_page_test): New function.
10776 (check2): Likewise.
10777 (test_main): Call check2.
10778 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10780 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10783 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10784 Handle cache information in CPU leaf 4.
10785 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10787 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10790 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10791 character representation.
10792 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10794 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10796 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10797 END(__isnan) to END(__isnanf) to match function entry point/label
10798 EALIGN(__isnanf,...).
10800 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10802 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10804 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10807 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10808 copy from the symbol referenced in the relocation to initialize the
10810 Patch by Piotr Bury <pbury@goahead.com>.
10811 * elf/Makefile: Add rules to build and tst-unique3.
10812 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10813 * elf/tst-unique3.cc: New file.
10814 * elf/tst-unique3.h: New file.
10815 * elf/tst-unique3lib.cc: New file.
10816 * elf/tst-unique3lib2.cc: New file.
10818 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10820 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10822 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10823 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10826 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10828 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10829 to-be-loaded object along a path to loader is ld.so.
10831 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10832 Ulrich Drepper <drepper@gmail.com>
10834 * sysdeps/x86_64/memset.S: After aligning destination, code
10835 branches to different locations depending on the value of
10836 misalignment, when multiarch is enabled. Fix this.
10838 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10840 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10841 Set _x86_64_preferred_memory_instruction for AMD processsors.
10842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10843 Set bit_Prefer_SSE_for_memop for AMD processors.
10845 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10847 * libio/fmemopen.c (fmemopen): Optimize a bit.
10849 2011-03-03 Andreas Schwab <schwab@redhat.com>
10851 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10853 2011-03-03 Roland McGrath <roland@redhat.com>
10855 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10857 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10859 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10860 __bzero_ultra1 instead of __memset_ultra1.
10862 2011-02-23 Andreas Schwab <schwab@redhat.com>
10863 Ulrich Drepper <drepper@gmail.com>
10866 * include/link.h (struct link_map): Add l_orig_initfini.
10867 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10868 returning unsuccessfully.
10869 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10870 close of a file loaded at startup, restore the original l_initfini
10872 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10873 list, store the pointer.
10874 * elf/Makefile ($(objpfx)noload-mem): New rule.
10875 (noload-ENV): Define.
10876 (tests): Add $(objpfx)noload-mem.
10877 * elf/noload.c: Include <memcheck.h>.
10878 (main): Call mtrace. Close all opened handles.
10880 2011-02-17 Andreas Schwab <schwab@redhat.com>
10883 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10884 dependencies are missing.
10886 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10888 Fix __if_freereq crash: Unlike the generic version which uses free,
10890 * sysdeps/mach/hurd/ifreq.h: New file.
10892 2011-01-27 Petr Baudis <pasky@suse.cz>
10893 Ulrich Drepper <drepper@gmail.com>
10896 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10897 to extend_alloca().
10898 * stdio-common/bug23.c: New file.
10899 * stdio-common/Makefile (tests): Add bug23.
10901 2010-09-28 Andreas Schwab <schwab@redhat.com>
10902 Ulrich Drepper <drepper@gmail.com>
10905 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10906 before performing relro protection. At old place add assertion
10907 to make sure nothing changed.
10909 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10910 Glauber de Oliveira Costa <glommer@gmail.com>
10912 * elf/elf.h: Add new ARM TLS relocs.
10914 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10917 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10919 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10921 * sysdeps/wordsize-64/tst-writev.c: New file.
10923 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10925 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10926 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10927 insns in _dl_start to prevent a TOC reference before relocs are
10930 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10933 * Makeconfig: Remove RANLIB definition.
10934 * Makerules: Don't use RANLIB.
10935 * aclocal.m4: Remove ranlib test.
10936 * configure.in: No need to check for ranlib.
10937 * elf/rtld-Rules: Don't use RANLIB.
10939 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10941 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10943 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10944 inclusion protection macro.
10946 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10947 SIGRTMIN and SIGRTMAX and print information in that case only when
10948 SIGRTMIN is defined.
10950 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10952 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10953 arginfo fn returning -1.
10955 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10956 and thousands string is zero terminated.
10958 2011-02-03 Andreas Schwab <schwab@redhat.com>
10960 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10961 sysdeps/unix/sysv/linux/bits/socket.h.
10963 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10965 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10966 (__CPU_COUNT): Remove old macros.
10967 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10968 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10969 (__CPU_ALLOC, __CPU_FREE): Add macros.
10970 (__sched_cpualloc, __sched_cpufree): Add declarations.
10972 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10974 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10975 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10976 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10977 (readdhstai): Return value of addhstaiX call.
10978 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10979 (addgrbyX): Return value returned by cache_addgr.
10980 (readdgrbyname): Return value returned by addgrbyX.
10981 (readdgrbygid): Likewise.
10982 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10983 (addpwbyX): Return value returned by cache_addpw.
10984 (readdpwbyname): Return value returned by addhstbyX.
10985 (readdpwbyuid): Likewise.
10986 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10987 (addservbyX): Return value returned by cache_addserv.
10988 (readdservbyname): Return value returned by addservbyX:
10989 (readdservbyport): Likewise.
10990 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10991 (addhstbyX): Return value returned by cache_addhst.
10992 (readdhstbyname): Return value returned by addhstbyX.
10993 (readdhstbyaddr): Likewise.
10994 (readdhstbynamev6): Likewise.
10995 (readdhstbyaddrv6): Likewise.
10996 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10997 (readdinitgroups): Return value returned by addinitgroupsX.
10998 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10999 (prune_cache): Keep track of timeout value of re-added entries.
11000 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11001 * nscd/nscd.h: Adjust prototypes of readd* functions.
11003 2011-02-04 Roland McGrath <roland@redhat.com>
11005 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11006 (nis_stats): Likewise.
11007 * nis/nis_modify.c (nis_modify): Likewise.
11008 * nis/nis_remove.c (nis_remove): Likewise.
11009 * nis/nis_add.c (nis_add): Likewise.
11011 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11013 * posix/fnmatch_loop.c: Add some consts.
11015 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11017 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11020 * config.make.in (config-cflags-novzeroupper): Define.
11021 * configure.in: Substitute libc_cv_cc_novzeroupper.
11022 * elf/Makefile (AVX-CFLAGS): Define.
11023 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11024 (CFLAGS-tst-auditmod4a.c): Likewise.
11025 (CFLAGS-tst-auditmod4b.c): Likewise.
11026 (CFLAGS-tst-auditmod6b.c): Likewise.
11027 (CFLAGS-tst-auditmod6c.c): Likewise.
11028 (CFLAGS-tst-auditmod7b.c): Likewise.
11029 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11031 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11033 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11034 function to the callback.
11035 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11037 2011-02-02 Andreas Schwab <schwab@redhat.com>
11039 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11042 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11045 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11047 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11049 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11052 * elf/Makefile: Add rules to build and run new test.
11053 * elf/tst-initorder.c: New file.
11054 * elf/tst-initorder.exp: New file.
11055 * elf/tst-initordera1.c: New file.
11056 * elf/tst-initordera2.c: New file.
11057 * elf/tst-initordera3.c: New file.
11058 * elf/tst-initordera4.c: New file.
11059 * elf/tst-initorderb1.c: New file.
11060 * elf/tst-initorderb2.c: New file.
11061 * elf/tst-order-a1.c: New file.
11062 * elf/tst-order-a2.c: New file.
11063 * elf/tst-order-a3.c: New file.
11064 * elf/tst-order-a4.c: New file.
11065 * elf/tst-order-b1.c: New file.
11066 * elf/tst-order-b2.c: New file.
11067 * elf/tst-order-main.c: New file.
11068 New test case by George Gensure <werkt0@gmail.com>.
11070 2010-10-01 Andreas Schwab <schwab@redhat.com>
11072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11073 decoding ACE if AI_CANONIDN.
11075 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11077 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11079 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11081 * version.h (RELEASE): Bump for 2.13 release.
11082 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11084 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11086 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11088 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11089 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11090 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11091 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11092 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11093 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11095 * posix/getconf.c: Update copyright year.
11096 * catgets/gencat.c: Likewise.
11097 * csu/version.c: Likewise.
11098 * debug/catchsegv.sh: Likewise.
11099 * debug/xtrace.sh: Likewise.
11100 * elf/ldconfig.c: Likewise.
11101 * elf/ldd.bash.in: Likewise.
11102 * elf/sprof.c (print_version): Likewise.
11103 * iconv/iconv_prog.c: Likewise.
11104 * iconv/iconvconfig.c: Likewise.
11105 * locale/programs/locale.c: Likewise.
11106 * locale/programs/localedef.c: Likewise.
11107 * malloc/memusage.sh: Likewise.
11108 * malloc/mtrace.pl: Likewise.
11109 * nscd/nscd.c (print_version): Likewise.
11110 * nss/getent.c: Likewise.
11112 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11113 PF_CAIF, and PF_ALG.
11114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11116 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11118 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11119 (modules-names): Use them.
11120 (ifunc-test-modules, ifunc-pie-tests): Define.
11121 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11122 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11123 (test-extras): Likewise.
11124 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11125 $(compile-command.c).
11126 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11127 (all-built-dso): Define.
11128 (check-textrel.out, check-execstack.out): Depend on it.
11130 * configure.in: Don't override --enable-multi-arch.
11132 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11135 * nscd/hstcache.c (tryagain): Define.
11136 (cache_addhst): Return tryagain not notfound for temporary errors.
11137 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11140 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11143 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11144 to make the syscall.
11145 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11148 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11149 and fall back to matching as normal character if the string ends before
11150 the matching ']' is found. This is what POSIX requires.
11151 * posix/testfnm.c: Adjust test result.
11152 * posix/globtest.sh: Adjust test result. Add new test.
11153 * posix/tst-fnmatch.input: Likewise.
11154 * posix/tst-fnmatch2.c: Add new test.
11156 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11158 * elf/Makefile (check-execstack): Revert last change. Depend on
11160 (check-execstack.h): New target.
11161 (generated): Add check-execstack.h.
11162 * elf/check-execstack.c: Include "check-execstack.h".
11163 (main): Revert last change.
11164 (handle_file): Return zero if GNU_STACK is absent and
11165 DEFAULT_STACK_PERMS doesn't include PF_X.
11167 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11169 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11170 in child fails because the descriptor is already closed.
11171 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11172 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11173 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11176 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11180 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11181 temporary buffer used to handle multi lookups locally.
11182 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11184 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11186 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11189 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11191 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11192 alignment for SSE2.
11194 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11197 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11198 characters. When rounding increased number of integer digits recompute
11200 * stdio-common/tst-grouping.c: New file.
11201 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11203 2011-01-09 Ulrich Drepper <drepper@gmail.com>
11205 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11206 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11208 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11210 * bits/select.h: Likewise.
11212 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11214 * po/ja.po: Update from translation team.
11216 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11219 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11220 implementation just like for lxstat, fxstatat, et al.
11222 2010-12-27 Jim Meyering <meyering@redhat.com>
11225 * posix/regexec.c (build_trtable): Return failure indication upon
11226 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11228 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11231 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11232 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11233 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11234 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11237 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11240 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11241 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11243 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11245 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11246 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11247 script has SORT_BY_INIT_PRIORITY.
11248 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11249 NO_CTORS_DTORS_SECTIONS is defined.
11250 * elf/soinit.c: Likewise.
11251 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11252 NO_CTORS_DTORS_SECTIONS is defined.
11253 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11254 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11255 * sysdeps/sh/init-first.c: Likewise.
11256 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11258 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11260 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11261 always use the slow path.
11263 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11265 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11266 similar rule which adds the sysdep directories to the header search in
11267 order to pick up the correct platform stackinfo.h.
11268 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11269 perform test if it is, otherwise return successfully without testing.
11270 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11271 DEFAULT_STACK_PERMS define in stackinfo.h.
11272 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11273 defined in stackinfo.h.
11274 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11275 DEFAULT_STACK_PERMS defined in stackinfo.h.
11276 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11277 * sysdeps/ia64/stackinfo.h: Likewise.
11278 * sysdeps/s390/stackinfo.h: Likewise.
11279 * sysdeps/sh/stackinfo.h: Likewise.
11280 * sysdeps/sparc/stackinfo.h: Likewise.
11281 * sysdeps/x86_64/stackinfo.h: Likewise.
11282 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11283 PF_X for powerpc64. Retain PF_X for powerpc32.
11285 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11287 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11289 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11290 GETDENTS_64BIT_ALIGNED.
11292 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11294 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11296 2010-12-10 Andreas Schwab <schwab@redhat.com>
11298 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11301 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11302 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11304 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11305 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11307 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11310 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11313 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11315 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11317 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11319 * po/it.po: Update from translation team.
11321 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11326 2010-11-30 Ulrich Drepper <drepper@gmail.com>
11328 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11330 2010-11-24 Andreas Schwab <schwab@redhat.com>
11332 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11334 (gaih_getanswer_slice): Likewise.
11336 2010-10-20 Jakub Jelinek <jakub@redhat.com>
11338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11340 2010-05-31 Petr Baudis <pasky@suse.cz>
11343 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11344 silently even in the chroot mode.
11346 2010-11-22 Ulrich Drepper <drepper@gmail.com>
11348 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11349 last patch a bit. Pretty printing
11351 2010-05-31 Petr Baudis <pasky@suse.cz>
11354 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11355 initialization of skip_initgroups_dyn.
11357 2010-11-19 Ulrich Drepper <drepper@gmail.com>
11359 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11360 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11362 2010-11-16 Ulrich Drepper <drepper@gmail.com>
11364 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11366 2010-11-11 Andreas Schwab <schwab@redhat.com>
11368 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11369 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11370 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11371 ($(objpfx)tst-fnmatch-mem): New rule.
11372 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11373 * posix/tst-fnmatch.c (main): Call mtrace.
11375 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11378 Support Intel processor model 6 and model 0x2c.
11380 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
11382 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11385 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11388 * string/test-strncasecmp.c (check_result): New function.
11389 (do_one_test): Use it.
11390 (check1): New function.
11391 (test_main): Use it.
11392 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11393 Support strcasecmp and strncasecmp.
11395 2010-11-08 Ulrich Drepper <drepper@gmail.com>
11398 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11399 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11401 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11403 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11407 * sysdeps/x86_64/multiarch/bzero.S: New file.
11408 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11409 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11410 * sysdeps/x86_64/multiarch/memset.S: New file.
11411 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11413 Set bit_Prefer_SSE_for_memop for Intel processors.
11414 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11416 (index_Prefer_SSE_for_memop): Define.
11417 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11419 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
11421 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11422 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11424 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11427 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11428 (__x86_64_raw_data_cache_size_half): Likewise.
11429 (__x86_64_raw_shared_cache_size): Likewise.
11430 (__x86_64_raw_shared_cache_size_half): Likewise.
11432 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11433 (__x86_64_raw_data_cache_size_half): Likewise.
11434 (__x86_64_raw_shared_cache_size): Likewise.
11435 (__x86_64_raw_shared_cache_size_half): Likewise.
11436 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11437 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11438 and __x86_64_raw_shared_cache_size_half. Round
11439 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11440 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11441 to multiple of 256 bytes.
11443 2010-11-03 Ulrich Drepper <drepper@gmail.com>
11446 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11447 of inacessible symlinks. Verify result of symlink before returning it.
11448 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11449 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11451 2010-10-28 Erich Ritz <erichritz@gmail.com>
11453 * math/math.h (isinf): Fix typo in comment.
11455 2010-11-01 Ulrich Drepper <drepper@gmail.com>
11457 * po/da.po: Update from translation team.
11459 2010-10-26 Ulrich Drepper <drepper@gmail.com>
11461 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11462 is added to the list.
11464 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11465 Ulrich Drepper <drepper@gmail.com>
11467 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11468 the global list here. Move code to...
11469 (_dl_add_to_namespace_list): ...here. New function.
11470 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11471 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11472 * elf/dl-load.c (lose): Don't remove the element from the list.
11473 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11474 (_dl_map_object): Likewise.
11476 2010-10-25 Ulrich Drepper <drepper@gmail.com>
11479 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11480 into all bytes of SSE register.
11481 Patch by Richard Li <richardpku@gmail.com>.
11483 2010-10-24 Ulrich Drepper <drepper@gmail.com>
11486 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11489 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11491 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11492 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11493 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11494 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11499 2010-10-22 Andreas Schwab <schwab@redhat.com>
11501 * include/dlfcn.h (__RTLD_SECURE): Define.
11502 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11503 mode & __RTLD_SECURE instead.
11504 (open_path): Rename preloaded parameter to secure.
11505 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11506 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11507 * elf/dl-deps.c (openaux): Likewise.
11508 * elf/rtld.c (struct map_args): Remove is_preloaded.
11509 (map_doit): Don't use it.
11510 (dl_main): Likewise.
11511 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11512 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11514 2010-09-09 Andreas Schwab <schwab@redhat.com>
11516 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11517 (sysd-rules-targets): Remove duplicates.
11518 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11519 rtld-%.$o dependency.
11521 2010-10-18 Andreas Schwab <schwab@redhat.com>
11523 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11524 _dl_map_object do it.
11526 2010-10-19 Ulrich Drepper <drepper@gmail.com>
11528 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11529 fast fma builtins, define the macros in the C99 standard.
11530 (FP_FAST_FMAF): Likewise.
11531 (FP_FAST_FMAL): Likewise.
11532 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11534 * bits/mathdef.h: Update copyright year.
11535 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11537 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11539 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11540 builtins, define the macros in the C99 standard.
11541 (FP_FAST_FMAF): Likewise.
11542 (FP_FAST_FMAL): Likewise.
11543 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11545 (FP_FAST_FMAF): Likewise.
11547 2010-10-15 Jakub Jelinek <jakub@redhat.com>
11550 * math/libm-test.inc (fma_test): Some new testcases.
11551 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11552 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11553 y and infinite z. Do multiplication by C already in long double.
11554 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11556 y and infinite z. Do bitwise or of inexact bit into u.d.
11557 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11558 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11559 * sysdeps/i386/fpu/s_fma.S: Removed.
11560 * sysdeps/i386/fpu/s_fmal.S: Removed.
11562 2010-10-16 Jakub Jelinek <jakub@redhat.com>
11565 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11567 computation is not scheduled after fetestexcept. Fix value
11568 of minimum denormal long double.
11570 2010-10-14 Jakub Jelinek <jakub@redhat.com>
11573 * math/libm-test.inc (fma_test): Add some more tests.
11574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11577 2010-10-15 Andreas Schwab <schwab@redhat.com>
11579 * scripts/data/localplt-s390-linux-gnu.data: New file.
11580 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11582 2010-10-13 Jakub Jelinek <jakub@redhat.com>
11585 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11586 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11588 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11590 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11592 if one of x and y is very large and the other is subnormal.
11593 * sysdeps/s390/fpu/s_fmaf.c: New file.
11594 * sysdeps/s390/fpu/s_fma.c: New file.
11595 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11596 * sysdeps/powerpc/fpu/s_fma.S: New file.
11597 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11598 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11599 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11601 2010-10-12 Jakub Jelinek <jakub@redhat.com>
11604 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11606 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11607 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11608 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11609 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11610 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11611 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11614 2010-10-12 Ulrich Drepper <drepper@redhat.com>
11617 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11618 * posix/bug-regex31.input: Add test case.
11620 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11622 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11623 * posix/bug-regex31.input: New file.
11626 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11627 (parse_sub_exp): Fix last change, use postorder.
11629 * posix/bug-regex31.c: New file.
11630 * posix/Makefile: Add rules to build and run bug-regex31.
11632 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11635 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11638 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11639 to have entries in sys_siglist.
11642 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11645 2010-10-07 Jakub Jelinek <jakub@redhat.com>
11648 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11649 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11650 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11651 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11652 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11653 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11654 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11655 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11656 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11657 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11658 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11659 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11660 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11661 * math/ftestexcept.c (fetestexcept): Likewise.
11662 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11663 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11664 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11665 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11666 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11667 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11668 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11670 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11673 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11676 2010-10-06 Ulrich Drepper <drepper@gmail.com>
11678 * string/bug-strstr1.c: New file.
11679 * string/Makefile: Add rules to build and run bug-strstr1.
11681 2010-10-05 Eric Blake <eblake@redhat.com>
11684 * string/str-two-way.h (two_way_long_needle): Always clear memory
11685 when skipping input due to the shift table.
11687 2010-10-03 Ulrich Drepper <drepper@gmail.com>
11690 * malloc/mcheck.c: Handle large requests.
11693 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11694 for strncmp and strncasecmp.
11695 * string/stratcliff.c: Add tests for strcmp and strncmp.
11696 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11698 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11700 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11703 2010-09-30 Andreas Jaeger <aj@suse.de>
11705 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11706 (CGROUP_SUPER_MAGIC): Define.
11707 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11708 Handle btrfs and cgroup file systems.
11709 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11712 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
11714 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11715 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11717 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11720 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11721 trying to locate the ELF header.
11723 2010-09-27 Andreas Schwab <schwab@redhat.com>
11726 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11727 Mask out sign-bit copies when constructing f_fsid.
11729 2010-09-24 Petr Baudis <pasky@suse.cz>
11731 * debug/stack_chk_fail_local.c: Add missing licence exception.
11732 * debug/warning-nop.c: Likewise.
11734 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11736 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11737 implementing getdents64 using getdents syscall, set d_type if
11738 __ASSUME_GETDENTS32_D_TYPE.
11740 2010-09-16 Andreas Schwab <schwab@redhat.com>
11742 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11743 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11745 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11748 * posix/unistd.h: Undo change of feature selection for ftruncate from
11751 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11753 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11756 2010-09-20 Andreas Schwab <schwab@redhat.com>
11758 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11760 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11762 2010-09-14 Andreas Schwab <schwab@redhat.com>
11764 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11765 variables after CHECK_SP call.
11766 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11768 2010-09-13 Andreas Schwab <schwab@redhat.com>
11769 Ulrich Drepper <drepper@redhat.com>
11771 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11772 re-relocationg ld.so.
11773 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11774 _dl_init_paths call.
11775 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11778 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11780 * resolv/res_init.c (__res_vinit): Count the default server we added.
11782 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11783 Ulrich Drepper <drepper@redhat.com>
11786 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11787 (____longjmp_chk): Use %ebx for saving value across system call.
11790 2010-09-06 Andreas Schwab <schwab@redhat.com>
11792 * manual/Makefile: Don't mix pattern rules with normal rules.
11794 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11796 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11798 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11799 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11800 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11801 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11805 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11808 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11809 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11811 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11813 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11814 * sysdeps/x86_64/addmul_1.S: Likewise.
11815 * sysdeps/x86_64/lshift.S: Likewise.
11816 * sysdeps/x86_64/mul_1.S: Likewise.
11817 * sysdeps/x86_64/rshift.S: Likewise.
11818 * sysdeps/x86_64/sub_n.S: Likewise.
11819 * sysdeps/x86_64/submul_1.S: Likewise.
11821 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11823 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11824 Define __sched_param instead of SCHED_* and sched_param when
11825 <bits/sched.h> is included with __need_schedparam defined.
11826 * bits/sched.h [__need_schedparam]
11827 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11828 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11829 (__defined_schedparam): Define to 1.
11830 (__sched_param): New structure, identical to sched_param.
11831 (__need_schedparam): Undefine.
11833 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11835 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11836 (epoll_create1): Declare.
11838 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11840 2010-08-31 Andreas Schwab <schwab@redhat.com>
11843 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11844 shifting retval into place.
11846 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11848 * nis/rpcsvc/nis.h: Update copyright notice.
11849 * nis/rpcsvc/nis.x: Likewise.
11850 * nis/rpcsvc/nis_callback.h: Likewise.
11851 * nis/rpcsvc/nis_callback.x: Likewise.
11852 * nis/rpcsvc/nis_object.x: Likewise.
11853 * nis/rpcsvc/nis_tags.h: Likewise.
11854 * nis/rpcsvc/yp.h: Likewise.
11855 * nis/rpcsvc/yp.x: Likewise.
11856 * nis/rpcsvc/ypupd.h: Likewise.
11857 * nis/yp_xdr.c: Likewise.
11858 * nis/ypupdate_xdr.c: Likewise.
11860 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11861 mainly the body of pmap_getport. Add parameters to specify timeouts.
11862 (pmap_getport): Use __libc_rpc_getport.
11863 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11864 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11865 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11867 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11872 2010-08-27 Roland McGrath <roland@redhat.com>
11874 * sysdeps/i386/i686/multiarch/Makefile
11875 (CFLAGS-varshift.c): New variable.
11877 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11879 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11880 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11882 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11884 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11886 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11888 * sysdeps/x86_64/strlen.S: Unroll the loop.
11889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11890 strlen-sse2 strlen-sse2-bsf.
11891 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11892 __strlen_no_bsf if bit_Slow_BSF is set.
11893 (__strlen_sse42): Removed.
11894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11895 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11897 2010-08-25 Roland McGrath <roland@redhat.com>
11899 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11900 * sysdeps/x86_64/multiarch/varshift.c: New file.
11901 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11902 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11903 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11904 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11906 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11909 strlen-sse2 strlen-sse2-bsf.
11910 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11911 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11912 (__strlen_sse2): Removed.
11913 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11914 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11916 bit_Slow_BSF for Atom.
11917 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11918 (index_Slow_BSF): Define.
11919 (HAS_SLOW_BSF): Define.
11921 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11924 * resolv/res_init.c (__res_vinit): When no server address at all
11925 is given default to loopback.
11927 2010-08-24 Roland McGrath <roland@redhat.com>
11929 * configure.in: Remove config-name.h generation.
11930 * configure: Regenerated.
11931 * config-name.in: File removed.
11932 * scripts/config-uname.sh: New file.
11933 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11934 ($(objdir)config-name.h): New target.
11936 * sunrpc/rpc_parse.h: Avoid nested comment.
11938 2010-08-24 Richard Henderson <rth@redhat.com>
11939 Ulrich Drepper <drepper@redhat.com>
11940 H.J. Lu <hongjiu.lu@intel.com>
11942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11944 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11945 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11946 _mm_alignr_epi8 with _mm_loadu_si128.
11947 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11948 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11949 (__m128i_shift_right): Removed.
11950 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11951 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11952 * sysdeps/x86_64/multiarch/varshift.h: New file.
11953 * sysdeps/x86_64/multiarch/varshift.S: New file.
11955 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11957 * configure.in: Move assembler checks to before sysdep dir checking.
11959 2010-08-20 Petr Baudis <pasky@suse.cz>
11961 * LICENSES: Sync the sunrpc license.
11963 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11965 * sunrpc/auth_des.c: Update copyright notice once again.
11966 * sunrpc/auth_none.c: Likewise.
11967 * sunrpc/auth_unix.c: Likewise.
11968 * sunrpc/authdes_prot.c: Likewise.
11969 * sunrpc/authuxprot.c: Likewise.
11970 * sunrpc/bindrsvprt.c: Likewise.
11971 * sunrpc/clnt_gen.c: Likewise.
11972 * sunrpc/clnt_perr.c: Likewise.
11973 * sunrpc/clnt_raw.c: Likewise.
11974 * sunrpc/clnt_simp.c: Likewise.
11975 * sunrpc/clnt_tcp.c: Likewise.
11976 * sunrpc/clnt_udp.c: Likewise.
11977 * sunrpc/clnt_unix.c: Likewise.
11978 * sunrpc/des_crypt.c: Likewise.
11979 * sunrpc/des_soft.c: Likewise.
11980 * sunrpc/get_myaddr.c: Likewise.
11981 * sunrpc/getrpcport.c: Likewise.
11982 * sunrpc/key_call.c: Likewise.
11983 * sunrpc/key_prot.c: Likewise.
11984 * sunrpc/openchild.c: Likewise.
11985 * sunrpc/pm_getmaps.c: Likewise.
11986 * sunrpc/pm_getport.c: Likewise.
11987 * sunrpc/pmap_clnt.c: Likewise.
11988 * sunrpc/pmap_prot.c: Likewise.
11989 * sunrpc/pmap_prot2.c: Likewise.
11990 * sunrpc/pmap_rmt.c: Likewise.
11991 * sunrpc/rpc/auth.h: Likewise.
11992 * sunrpc/rpc/auth_unix.h: Likewise.
11993 * sunrpc/rpc/clnt.h: Likewise.
11994 * sunrpc/rpc/des_crypt.h: Likewise.
11995 * sunrpc/rpc/key_prot.h: Likewise.
11996 * sunrpc/rpc/netdb.h: Likewise.
11997 * sunrpc/rpc/pmap_clnt.h: Likewise.
11998 * sunrpc/rpc/pmap_prot.h: Likewise.
11999 * sunrpc/rpc/pmap_rmt.h: Likewise.
12000 * sunrpc/rpc/rpc.h: Likewise.
12001 * sunrpc/rpc/rpc_des.h: Likewise.
12002 * sunrpc/rpc/rpc_msg.h: Likewise.
12003 * sunrpc/rpc/svc.h: Likewise.
12004 * sunrpc/rpc/svc_auth.h: Likewise.
12005 * sunrpc/rpc/types.h: Likewise.
12006 * sunrpc/rpc/xdr.h: Likewise.
12007 * sunrpc/rpc_clntout.c: Likewise.
12008 * sunrpc/rpc_cmsg.c: Likewise.
12009 * sunrpc/rpc_common.c: Likewise.
12010 * sunrpc/rpc_cout.c: Likewise.
12011 * sunrpc/rpc_dtable.c: Likewise.
12012 * sunrpc/rpc_hout.c: Likewise.
12013 * sunrpc/rpc_main.c: Likewise.
12014 * sunrpc/rpc_parse.c: Likewise.
12015 * sunrpc/rpc_parse.h: Likewise.
12016 * sunrpc/rpc_prot.c: Likewise.
12017 * sunrpc/rpc_sample.c: Likewise.
12018 * sunrpc/rpc_scan.c: Likewise.
12019 * sunrpc/rpc_scan.h: Likewise.
12020 * sunrpc/rpc_svcout.c: Likewise.
12021 * sunrpc/rpc_tblout.c: Likewise.
12022 * sunrpc/rpc_util.c: Likewise.
12023 * sunrpc/rpc_util.h: Likewise.
12024 * sunrpc/rpcinfo.c: Likewise.
12025 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12026 * sunrpc/rpcsvc/key_prot.x: Likewise.
12027 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12028 * sunrpc/rpcsvc/mount.x: Likewise.
12029 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12030 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12031 * sunrpc/rpcsvc/rex.x: Likewise.
12032 * sunrpc/rpcsvc/rstat.x: Likewise.
12033 * sunrpc/rpcsvc/rusers.x: Likewise.
12034 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12035 * sunrpc/rpcsvc/spray.x: Likewise.
12036 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12037 * sunrpc/rtime.c: Likewise.
12038 * sunrpc/svc.c: Likewise.
12039 * sunrpc/svc_auth.c: Likewise.
12040 * sunrpc/svc_authux.c: Likewise.
12041 * sunrpc/svc_raw.c: Likewise.
12042 * sunrpc/svc_run.c: Likewise.
12043 * sunrpc/svc_simple.c: Likewise.
12044 * sunrpc/svc_tcp.c: Likewise.
12045 * sunrpc/svc_udp.c: Likewise.
12046 * sunrpc/svc_unix.c: Likewise.
12047 * sunrpc/svcauth_des.c: Likewise.
12048 * sunrpc/xcrypt.c: Likewise.
12049 * sunrpc/xdr.c: Likewise.
12050 * sunrpc/xdr_array.c: Likewise.
12051 * sunrpc/xdr_float.c: Likewise.
12052 * sunrpc/xdr_mem.c: Likewise.
12053 * sunrpc/xdr_rec.c: Likewise.
12054 * sunrpc/xdr_ref.c: Likewise.
12055 * sunrpc/xdr_sizeof.c: Likewise.
12056 * sunrpc/xdr_stdio.c: Likewise.
12058 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12061 2010-08-19 Andreas Schwab <schwab@redhat.com>
12063 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12065 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12067 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12068 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12069 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12070 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12071 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12072 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12073 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12074 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12075 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12076 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12077 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12078 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12079 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12080 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12082 2010-07-26 Anton Blanchard <anton@samba.org>
12084 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12085 * malloc/arena.c (heap_trim): Likewise.
12087 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12089 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12092 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12094 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12096 * sysdeps/i386/elf/Makefile: New file.
12098 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12100 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12101 from fanotify_init.
12102 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12105 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12107 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12109 * sysdeps/multiarch/strcmp.S: Likewise.
12111 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12113 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12114 strncase_l-nonascii.
12115 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12116 Add strncase_l-ssse3.
12117 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12118 * sysdeps/x86_64/strcmp.S: Likewise.
12119 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12120 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12121 * sysdeps/x86_64/strncase.S: New file.
12122 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12123 * sysdeps/x86_64/strncase_l.S: New file.
12124 * string/Makefile (strop-tests): Add strncasecmp.
12125 * string/test-strncasecmp.c: New file.
12127 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12130 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12131 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12133 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12135 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12137 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12139 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12140 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12141 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12143 2010-05-01 Alan Modra <amodra@gmail.com>
12145 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12146 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12147 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12148 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12149 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12150 tidying. Don't tail-call __sigjmp_save for static lib.
12151 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12153 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12154 (CALL_MCOUNT): Add eh info, and nop after bl.
12155 (TAIL_CALL_SYSCALL_ERROR): New macro.
12156 (PSEUDO_RET): Use it.
12157 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12158 Correct save location of integer regs and cr.
12159 (_dl_profile_resolve): Correct cr save location. Delete nops
12160 after bl when SHARED. Reduce cfi size a little by better
12161 placement of cfi directives.
12162 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12163 make a stack frame. Instead use parm save area as a temp.
12164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12165 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12167 Don't make a stack frame for parent, use parm save area.
12168 Increase child stack frame to 112 bytes. Don't save unused reg,
12169 and adjust reg usage. Set up cfi on error recovery and
12170 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12172 (__makecontext): Add dummy nop after jump to exit.
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12174 Use correct parm save area and cr save, reduce stack frame.
12175 Correct cfi for possible PSEUDO_RET frame setup.
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12177 Branch to local label emitted by PSEUDO_RET rather than
12180 2010-08-12 Andreas Schwab <schwab@redhat.com>
12183 * locale/programs/locale.c (print_assignment): New function.
12184 (show_locale_vars): Use it.
12186 2010-08-11 Ulrich Drepper <drepper@redhat.com>
12188 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12190 (struct statfs64): Likewise.
12191 (_STATFS_F_FLAGS): Define.
12192 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12193 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12194 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12195 (ST_VALID): Define locally.
12196 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12197 __statvfs_getflags, use the provided value.
12198 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12199 __ASSUME_STATFS_F_FLAGS.
12201 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12203 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12204 Add sys/fanotify.h.
12205 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12206 fanotify_mask for GLIBC_2.13.
12207 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12208 fanotify_init and fanotify_mark.
12209 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12210 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12212 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12214 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12215 prlimit64 for GLIBC_2.13.
12216 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12218 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12221 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12222 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12223 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12226 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12229 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12230 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12232 * nss/Makefile: Add rules to build and run tst-nss-test1.
12233 * shlib-versions: Add entry for libnss_test1.
12234 * nss/nss_test1.c: New file.
12235 * nss/tst-nss-test1.c: New file.
12237 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12238 (__nss_configure_lookup): Set appropriate entry in
12239 __nss_configure_lookup to true.
12240 * nss/nsswitch.h: Define enum with indeces of databases in
12241 databases and __nss_database_custom arrays. Declare
12242 __nss_database_custom.
12243 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12244 to avoid using nscd when custom rules are installed.
12245 * nss/getXXbyYY_r.c: Likewise.
12246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12248 * nss/nss_files/files-parse.c: Whitespace fixes.
12250 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12253 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12254 * posix/fnmatch_loop.c: Likewise.
12256 2010-07-17 Andi Kleen <ak@linux.intel.com>
12258 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12259 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12260 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12261 * Versions.def [GLIBC_2.13]: Add.
12263 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12265 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12266 Also fail if tpwd after pwuid call is NULL.
12268 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12270 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12271 when converting to ms.
12273 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12275 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12276 EOPNOTSUPP errors with ENOTTY.
12277 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12278 EOPNOTSUPP errors with ENOTTY.
12280 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12282 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12283 Add strcasecmp_l-ssse3.
12284 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12286 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12287 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12288 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12290 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12292 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12294 * string/Makefile (strop-tests): Add strcasecmp.
12295 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12296 strcasecmp_l-nonascii.
12297 (gen-as-const-headers): Add locale-defines.sym.
12298 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12299 * sysdeps/x86_64/strcasecmp.S: New file.
12300 * sysdeps/x86_64/strcasecmp_l.S: New file.
12301 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12302 * sysdeps/x86_64/locale-defines.sym: New file.
12303 * string/test-strcasecmp.c: New file.
12305 * string/test-strcasestr.c: Test both ends of the range of characters.
12306 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12308 2010-07-29 Roland McGrath <roland@redhat.com>
12311 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12313 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12315 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12318 2010-07-27 Andreas Schwab <schwab@redhat.com>
12320 * manual/memory.texi (Malloc Tunable Parameters): Document
12323 2010-07-26 Roland McGrath <roland@redhat.com>
12326 * configure.in (-fgnu89-inline check): Set and substitute
12327 gnu89_inline, not libc_cv_gnu89_inline.
12328 * configure: Regenerated.
12329 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12331 2010-07-26 Ulrich Drepper <drepper@redhat.com>
12333 * string/test-strnlen.c: New file.
12334 * string/Makefile (strop-tests): Add strnlen.
12335 * string/tester.c (test_strnlen): Add a few more test cases.
12336 * string/tst-strlen.c: Better error reporting.
12338 * sysdeps/x86_64/strnlen.S: New file.
12340 2010-07-24 Ulrich Drepper <drepper@redhat.com>
12342 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12343 lower-latency instructions.
12345 2010-07-23 Ulrich Drepper <drepper@redhat.com>
12347 * string/test-strcasestr.c: New file.
12348 * string/test-strstr.c: New file.
12349 * string/Makefile (strop-tests): Add strstr and strcasestr.
12350 * string/str-two-way.h: Don't undefine MAX.
12351 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12353 2010-07-21 Andreas Schwab <schwab@redhat.com>
12355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12356 strcasestr-nonascii.
12357 (CFLAGS-strcasestr-nonascii.c): Define.
12358 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12359 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12360 Remove unused attribute.
12362 2010-07-20 Roland McGrath <roland@redhat.com>
12364 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12365 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12366 ld.so.cache was broken. With it, there is no way to disable dsocaps
12367 like LD_HWCAP_MASK can disable hwcaps.
12369 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12371 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12373 2010-07-16 Ulrich Drepper <drepper@redhat.com>
12375 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12376 call in strcasestr.
12377 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12378 __strcasestr_sse42_nonascii.
12379 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12380 strcasestr-nonascii.c.
12381 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12383 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
12385 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12386 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12387 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12388 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12390 2010-07-09 Ulrich Drepper <drepper@redhat.com>
12392 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12395 2010-07-06 Andreas Schwab <schwab@redhat.com>
12398 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12401 2010-07-06 Ulrich Drepper <drepper@redhat.com>
12403 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12404 _PC_PIPE_BUF using F_GETPIPE_SZ.
12406 2010-07-05 Roland McGrath <roland@redhat.com>
12408 * manual/arith.texi (Rounding Functions): Fix rint description
12409 implicit in round description.
12411 2010-07-02 Ulrich Drepper <drepper@redhat.com>
12413 * elf/Makefile: Fix linking for a few tests to make recent linker
12416 2010-06-30 Andreas Schwab <schwab@redhat.com>
12418 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12419 $(common-objpfx)libc_nonshared.a.
12421 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
12423 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12424 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12425 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12426 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12427 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12428 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12429 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12430 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12445 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12446 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12447 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12448 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12449 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12450 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12451 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12452 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12453 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12454 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12455 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12456 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12472 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12474 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12475 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12476 * string/memmove.c (memmove): Renamed to ...
12477 (MEMMOVE): ...this. Default to memmove.
12478 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12479 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12482 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12483 mempcpy-ssse3-back memmove-ssse3-back.
12484 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12485 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12486 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12487 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12488 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12489 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12490 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12491 * sysdeps/x86_64/multiarch/memmove.c: New file.
12492 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12493 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12494 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12495 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12496 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12497 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12499 (index_Fast_Copy_Backward): Define.
12500 (HAS_ARCH_FEATURE): Define.
12501 (HAS_FAST_REP_STRING): Define.
12502 (HAS_FAST_COPY_BACKWARD): Define.
12504 2010-06-21 Andreas Schwab <schwab@redhat.com>
12506 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12507 Restore proper fallback handling.
12509 2010-06-19 Ulrich Drepper <drepper@redhat.com>
12512 * posix/group_member.c (__group_member): Correct checking loop.
12514 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12515 OOM in getpwuid_r correctly. Return error number when the caller
12516 should return, otherwise -1.
12517 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12518 call returning > 0 value.
12519 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12521 2010-06-07 Andreas Schwab <schwab@redhat.com>
12523 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12524 libc_nonshared.a from targets in modules-names.
12526 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12528 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12531 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
12533 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12534 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12535 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12536 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12538 2010-06-02 Andreas Schwab <schwab@redhat.com>
12540 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12542 2010-06-14 Ulrich Drepper <drepper@redhat.com>
12544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12546 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12548 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12551 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12553 2010-06-14 Roland McGrath <roland@redhat.com>
12555 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12557 2010-06-07 Jakub Jelinek <jakub@redhat.com>
12559 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12560 __REDIRECT followed by __THROW.
12561 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12562 * posix/getopt.h (getopt): Likewise.
12564 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12566 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12567 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12568 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12570 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12571 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12573 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
12575 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12577 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12581 Properly check family and model.
12583 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12585 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12587 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
12589 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12591 2010-05-21 Ulrich Drepper <drepper@redhat.com>
12593 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12596 2010-05-19 Andreas Schwab <schwab@redhat.com>
12598 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12601 2010-05-21 Andreas Schwab <schwab@redhat.com>
12603 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12604 and internal_recvmmsg.
12605 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12606 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12607 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12608 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12610 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12611 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12612 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12614 2010-05-20 Andreas Schwab <schwab@redhat.com>
12616 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12618 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
12620 POWER7 optimizations.
12621 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12622 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12624 2010-05-19 Ulrich Drepper <drepper@redhat.com>
12626 * version.h: Update for 2.13 development version.
12628 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
12630 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12631 exceptions. Return 0.
12633 2010-05-07 Roland McGrath <roland@redhat.com>
12635 * elf/ldconfig.c (main): Add a const.
12637 2010-05-06 Ulrich Drepper <drepper@redhat.com>
12639 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12640 (args_options): Add no-idn option.
12641 (ahosts_keys_int): Add idn_flags to ai_flags.
12642 (parse_option): Handle 'i' option to clear idn_flags.
12644 * malloc/malloc.c (_int_free): Possible race in the most recently
12645 added check. Only act on the data if no current modification
12648 See ChangeLog.17 for earlier changes.