1 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9 usability of symbols in #if.
11 * conform/conformtest.pl: If macro or constant types start
12 "promoted:", expect the symbol to be of the following type
13 promoted by the integer promotions.
15 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16 in one place. Also handle "macro-constant".
18 * conform/conformtest.pl: Only accept expected macro values with
19 "==". Parse all "macro" lines in one place.
20 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22 * conform/conformtest.pl: Handle braced types on "constant" lines
23 instead of handling "typed-constant".
24 * conform/data/signal.h-data: Use "constant" instead of
27 * conform/conformtest.pl: Handle "optional-" at start of lines in
28 one place rather than duplicating several cases. Handle each
29 format of "macro" line with initial "optional-".
31 * conform/conformtest.pl: Only accept expected constant or
32 optional-constant values with "==". Parse all "constant" lines in
33 one place. Parse all "optional-constant" lines in one place.
34 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35 * conform/data/fmtmsg.h-data: Likewise.
36 * conform/data/netinet/in.h-data: Likewise.
37 * conform/data/tar.h-data: Likewise.
38 * conform/data/limits.h-data: Use "==" form on "constant" and
39 "optional-constant" lines.
41 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42 Use -std=c99 for XOPEN2K.
43 (@knownproblems): Remove.
44 (newtoken): Don't check %isknown.
46 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
54 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
55 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
56 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
57 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
58 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
59 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
61 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
62 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
69 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
71 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
72 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
74 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
75 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
76 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
77 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
78 [XPG3] (acosh): Likewise.
79 [XPG3] (asinh): Likewise.
80 [XPG3] (atanh): Likewise.
81 [XPG3] (cbrt): Likewise.
82 [XPG3] (expm1): Likewise.
83 [XPG3] (ilogb): Likewise.
84 [XPG3] (log1p): Likewise.
85 [XPG3] (logb): Likewise.
86 [XPG3] (nextafter): Likewise.
87 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
88 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
89 [XPG3] (remainder): Likewise.
90 [XPG3] (rint): Likewise.
91 [XPG3 || XPG4 || UNIX98] (round): Likewise.
92 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
93 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
94 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
95 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
96 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
97 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
98 [UNIX98 || XOPEN2K] (scalb): Expect.
99 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
100 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
101 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
102 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
103 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
104 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
105 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
106 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
107 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
108 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
109 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
110 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
111 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
112 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
113 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
114 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
115 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
116 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
117 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
118 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
119 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
120 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
121 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
122 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
123 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
124 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
125 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
126 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
127 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
128 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
129 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
130 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
131 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
132 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
133 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
134 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
135 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
136 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
137 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
138 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
139 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
140 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
141 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
142 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
143 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
144 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
145 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
146 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
147 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
148 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
149 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
150 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
151 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
152 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
153 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
154 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
155 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
156 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
157 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
158 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
159 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
160 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
161 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
162 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
163 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
164 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
165 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
166 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
167 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
168 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
169 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
170 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
171 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
172 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
173 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
174 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
175 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
176 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
177 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
178 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
179 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
180 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
181 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
182 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
183 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
184 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
185 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
186 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
187 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
188 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
189 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
190 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
191 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
192 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
193 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
194 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
195 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
196 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
197 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
198 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
199 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
200 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
201 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
202 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
203 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
204 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
205 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
206 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
207 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
208 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
209 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
210 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
211 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
212 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
213 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
214 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
215 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
216 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
217 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
218 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
219 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
220 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
221 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
222 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
223 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
224 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
225 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
226 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
227 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
228 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
229 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
230 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
231 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
232 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
233 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
234 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
235 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
237 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
238 _XOPEN_SOURCE_EXTENDED for XPG4.
240 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
242 * Makeconfig (localtime): Remove variable.
243 (inst_localtime-file): Likewise.
245 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
266 2012-05-01 Joseph Myers <joseph@codesourcery.com>
270 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
271 comparisons to determine direction to adjust input.
272 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
273 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
274 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
276 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
278 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
280 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
281 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
283 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
285 * math/libm-test.inc (nexttoward_test): Add more tests.
287 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
290 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
291 in version GLIBC_2.1, not GLIBC_2.0.
292 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
295 2012-04-30 Joseph Myers <joseph@codesourcery.com>
298 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
300 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
301 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
302 * math/libm-test.inc (acos_test): Add more tests.
303 (asin_test): Likewise.
304 * sysdeps/i386/fpu/libm-test-ulps: Update.
305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
308 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
310 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
311 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
312 * math/libm-test.inc (acos_test_tonearest): New function.
313 (acos_test_towardzero): Likewise.
314 (acos_test_downward): Likewise.
315 (acos_test_upward): Likewise.
316 (asin_test_tonearest): Likewise.
317 (asin_test_towardzero): Likewise.
318 (asin_test_downward): Likewise.
319 (asin_test_upward): Likewise.
320 (main): Call the new functions.
321 * sysdeps/i386/fpu/libm-test-ulps: Update.
322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
326 * math/e_exp10.c: Include <float.h>.
327 (__ieee754_exp10): Handle underflow here rather than multiplying
328 large negative argument by M_LN10.
329 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
331 * math/e_exp10l.c: Include <float.h>.
332 (__ieee754_exp10l): Handle underflow here rather than multiplying
333 large negative argument by M_LN10l.
334 * math/libm-test.inc (exp10_test): Add another test. Do not allow
335 spurious overflow exception on underflow.
337 2012-04-29 Marek Polacek <polacek@redhat.com>
339 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
340 (__fortify_function): New macro.
341 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
342 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
343 __extern_always_inline.
344 * libio/bits/stdio2.h: Likewise.
345 * libio/bits/stdio.h: Likewise.
346 * string/string.h: Likewise.
347 * string/bits/string3.h: Likewise.
348 * include/stdio.h: Likewise.
349 * stdlib/bits/stdlib.h: Likewise.
350 * stdlib/stdlib.h: Likewise.
351 * rt/bits/mqueue2.h: Likewise.
352 * rt/mqueue.h: Likewise.
353 * posix/bits/unistd.h: Likewise.
354 * posix/unistd.h: Likewise.
355 * io/bits/poll2.h: Likewise.
356 * io/bits/fcntl2.h: Likewise.
357 * io/fcntl.h: Likewise.
358 * io/sys/poll.h: Likewise.
359 * misc/bits/syslog.h: Likewise.
360 * misc/bits/syslog-ldbl.h: Likewise.
361 * misc/sys/syslog.h: Likewise.
362 * socket/bits/socket2.h: Likewise.
363 * socket/sys/socket.h: Likewise.
364 * debug/tst-chk1.c: Likewise.
365 * wcsmbs/bits/wchar2.h: Likewise.
366 * wcsmbs/bits/wchar-ldbl.h: Likewise.
367 * wcsmbs/wchar.h: Likewise.
369 2012-04-29 Andreas Jaeger <aj@suse.de>
371 * Makerules (tests): Remove enable-check-abi protection.
372 (check-abi-warn): Remove.
373 (check-abi-%): Remove check-abi-warn usage.
375 * configure.in: Remove check-abi configure option.
376 * configure: Regenerated.
377 * config.make.in (enable-check-abi): Remove.
379 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
382 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
383 double functions to double *_finite functions.
386 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
387 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
389 * stdio-common/Makefile (tests): Add tst-sprintf3.
390 * stdio-common/tst-sprintf3.c: New file.
392 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
393 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
395 2012-04-28 Joseph Myers <joseph@codesourcery.com>
397 * conform/conformtest.pl: Remove duplicate typed-constant
400 2012-04-28 David S. Miller <davem@davemloft.net>
402 * Makerules (%.abilist): Add vpath on sysdep_dirs.
403 (check-abi-%): Remove AWK script prerequisite and explicit
405 (check-abi): Rewrite to just diff the symlist with the abilist.
406 (config-tls, config-abi-config): Delete, no longer used.
407 (update-abi-%): Remove AWK script and explicit abilist directory.
408 (update-abi): Rewrite to simply compare and conditionally copy the
409 symlist and the sysdep abilist file. Remove update-abi-config
411 * abilist/ld.abilist: Remove.
412 * abilist/libBrokenLocale.abilist: Remove.
413 * abilist/libanl.abilist: Remove.
414 * abilist/libcrypt.abilist: Remove.
415 * abilist/libdl.abilist: Remove.
416 * abilist/librt.abilist: Remove.
417 * abilist/libthread_db.abilist: Remove.
418 * abilist/libutil.abilist: Remove.
419 * scripts/extract-abilist.awk: Remove.
420 * scripts/merge-abilist.awk: Remove.
421 * sysdeps/generic/libcidn.abilist: New file.
422 * sysdeps/generic/libnss_compat.abilist: New file.
423 * sysdeps/generic/libnss_db.abilist: New file.
424 * sysdeps/generic/libnss_dns.abilist: New file.
425 * sysdeps/generic/libnss_files.abilist: New file.
426 * sysdeps/generic/libnss_hesiod.abilist: New file.
427 * sysdeps/generic/libnss_nis.abilist: New file.
428 * sysdeps/generic/libnss_nisplus.abilist: New file.
429 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
430 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
431 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
433 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
434 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
435 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
436 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
437 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
438 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
439 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
440 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
441 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
443 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
444 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
445 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
446 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
448 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
449 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
450 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
451 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
452 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
453 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
455 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
456 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
457 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
459 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
562 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
563 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
564 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
567 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
568 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
569 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
570 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
571 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
572 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
573 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
574 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
575 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
627 2012-04-28 Joseph Myers <joseph@codesourcery.com>
629 * conform/conformtest.pl: Fix typo in handling typed-constant from
632 2012-04-27 Joseph Myers <joseph@codesourcery.com>
634 * README: Cut down references to pre-2.6 Linux kernels and
635 Linuxthreads. Update lists of configurations in libc and ports
636 and sort alphabetically. Say "or newer" with Linux kernel version
639 * config.h.in [IS_IN_build]: Allow compiling without optimization.
641 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
644 * math/libm-test.inc (logb_test_downward): New test to expose
645 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
648 2012-04-27 Joseph Myers <joseph@codesourcery.com>
651 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
653 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
654 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
656 2012-04-26 Joseph Myers <joseph@codesourcery.com>
658 * sysdeps/unix/i386/brk.S: Remove file.
659 * sysdeps/unix/i386/dl-brk.S: Likewise.
660 * sysdeps/unix/i386/pipe.S: Likewise.
661 * sysdeps/unix/i386/sigreturn.S: Likewise.
662 * sysdeps/unix/i386/syscall.S: Likewise.
663 * sysdeps/unix/i386/vfork.S: Likewise.
664 * sysdeps/unix/i386/wait.S: Likewise.
666 * sysdeps/unix/common/tcsendbrk.c: Move to ...
667 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
669 * configure.in (arm*-none*): Do not allow without
670 --enable-hacker-mode.
671 (netbsd*): Remove case setting base_os.
673 (freebsd*): Likewise.
688 (solaris[2-9]*): Likewise.
690 * configure: Regenerated.
692 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
695 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
696 overflow or cancellation in calculating denominator.
697 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
698 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
699 down expression to avoid unexpected rounding in newer GCCs.
700 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
702 2012-04-26 David S. Miller <davem@davemloft.net>
704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
705 long-double compat symbols.
706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
720 2012-04-25 David S. Miller <davem@davemloft.net>
722 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
723 HWCAP_* values only after the memory barriers have been defined.
724 (atomic_full_barrier): Define.
725 (atomic_read_barrier): Define.
726 (atomic_write_barrier): Define.
728 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
730 * shlib-versions: Add libgcc_s version information.
731 * sysdeps/generic/libgcc_s.h: Remove.
732 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
734 * sysdeps/gnu/unwind-resume.c: Likewise.
735 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
737 2012-04-25 David S. Miller <davem@davemloft.net>
739 * sysdeps/unix/sparc/brk.S: Delete.
740 * sysdeps/unix/sparc/dl-brk.S: Delete.
741 * sysdeps/unix/sparc/pipe.S: Delete.
742 * sysdeps/unix/sparc/sysdep.S: Delete.
743 * sysdeps/unix/sparc/sysdep.h: Delete.
744 * sysdeps/unix/sparc/vfork.S: Delete.
745 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
746 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
747 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
748 ret_ERRVAL, r0, r1, MOVE): Define.
749 (JUMPTARGET): Remove.
750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
751 sysdeps/unix/sparc/sysdep.h
752 (ENTRY, END): Remove.
753 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
755 2012-04-25 Joseph Myers <joseph@codesourcery.com>
757 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
758 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
761 * timezone/README: Update upstream location and email address for
763 * timezone/zdump.c: Update from tzcode 2012b.
764 * timezone/zic.c: Likewise.
766 * configure.in (libc_cv_as_needed): Remove test.
767 * configure: Regenerated.
768 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
769 conditional definition.
770 [$(have-as-needed) != yes] (no-as-needed): Likewise.
771 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
772 * config.make.in (have-as-needed): Remove variable.
774 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
775 Paul Pluzhnikov <ppluzhnikov@google.com>
777 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
780 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
782 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
783 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
784 * sysdeps/sh/strlen.S: Likewise.
786 2012-04-24 Joseph Myers <joseph@codesourcery.com>
788 * sysdeps/unix/fork.S: Remove file.
789 * sysdeps/unix/i386/fork.S: Likewise.
790 * sysdeps/unix/sparc/fork.S: Likewise.
792 * sysdeps/unix/system.c: Remove file.
793 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
795 * sysdeps/unix/getegid.S: Remove file.
796 * sysdeps/unix/geteuid.S: Likewise.
798 2012-04-24 Roland McGrath <roland@hack.frob.com>
800 * scripts/check-localplt.awk: New file.
801 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
803 * scripts/data/localplt-generic.data: Add a comment.
805 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
806 NODE when __dir_mkfile failed.
807 * sysdeps/mach/hurd/symlinkat.c: Likewise.
808 Reported by Ludovic Courtès <ludo@gnu.org>.
810 2012-04-24 Andreas Jaeger <aj@suse.de>
812 * Makerules (common-clean): Also remove gen-as-const-headers
815 2012-04-24 Joseph Myers <joseph@codesourcery.com>
817 * Makerules (native-compile): Do not change working directory for
818 build. Use $(OUTPUT_OPTION) in command.
819 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
821 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
824 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
825 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
826 * math/libm-test.inc (floor_test): Add more tests.
827 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
829 2012-04-24 Joseph Myers <joseph@codesourcery.com>
831 * sysdeps/unix/getdents.c: Remove file.
832 * sysdeps/unix/sysv/getdents.c: Likewise.
833 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
835 * sysdeps/unix/syscalls.list (madvise): Add syscall from
836 sysdeps/unix/mman/syscalls.list.
838 (mprotect): Likewise.
841 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
842 * sysdeps/unix/mman/syscalls.list: Remove.
843 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
845 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
846 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
847 * configure: Regenerated.
848 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
850 * config.make.in (libgcc_s_suffix): Remove variable.
852 2012-04-23 Joseph Myers <joseph@codesourcery.com>
854 * sysdeps/unix/sysv/gethostname.c: Move to ...
855 * sysdeps/posix/gethostname.c: ... here.
857 * sysdeps/unix/execve.S: Remove file.
859 * sysdeps/unix/_exit.S: Remove file.
861 2012-04-23 Andreas Jaeger <aj@suse.de>
864 * manual/Makefile: Remove make dist support, there's no
865 need for a stand-alone documentation tar ball.
866 (TEXI2DVI): Define always, it's not in Makeconfig.
870 (glibc-doc-$(edition).tar): Removed
874 (ETAGS): Remove, it's in Makeconfig.
875 (move-if-change): Remove, it's in Makeconfig.
877 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
880 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
881 (strtod, strtof, strtold, strtol, strtoul, strtoq)
882 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
883 (strtod_l, strtof_l, strtold_l): Remove __wur.
884 It is not necessarily an error to ignore strtol's return value.
885 One can reliably look at the stored endptr to decide whether
886 the number had valid syntax.
888 2012-04-21 Andreas Jaeger <aj@suse.de>
891 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
893 2012-04-21 Joseph Myers <joseph@codesourcery.com>
895 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
896 * sysdeps/unix/sysv/Versions: Remove file.
898 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
903 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
906 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
909 2012-04-20 Joseph Myers <joseph@codesourcery.com>
911 * sysdeps/unix/common/lxstat.c: Remove file.
912 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
914 * sysdeps/unix/sysv/Makefile: Remove file.
916 * sysdeps/unix/sysv/direct.h: Remove file.
918 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
919 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
920 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
921 * sysdeps/unix/sysv/bits/signum.h: Likewise.
922 * sysdeps/unix/sysv/bits/stat.h: Likewise.
923 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
924 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
926 * sysdeps/unix/sysv/setrlimit.c: Remove file.
928 * sysdeps/unix/xmknod.c: Remove file.
929 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
931 * sysdeps/unix/sysv/settimeofday.c: Remove file.
933 * sysdeps/unix/sysv/i386/time.S: Remove file.
935 * sysdeps/unix/fxstat.c: Remove file.
936 * sysdeps/unix/xstat.c: Likewise.
937 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
939 * sysdeps/unix/sysv/sigaction.c: Remove file.
941 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
942 (sysdep_headers): Remove variable.
943 [termio.h not in sysdep_headers] (generated): Likewise.
944 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
945 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
946 * sysdeps/unix/sysv/tcdrain.c: Likewise.
947 * sysdeps/unix/sysv/tcflow.c: Likewise.
948 * sysdeps/unix/sysv/tcflush.c: Likewise.
949 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
950 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
951 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
952 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
953 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
955 * sysdeps/unix/siglist.c: Remove file.
957 * sysdeps/unix/getppid.S: Remove file.
959 * sysdeps/unix/mkdir.c: Remove file.
960 * sysdeps/unix/rmdir.c: Likewise.
962 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
964 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
966 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
967 errlist-compat value.
969 2012-04-18 David S. Miller <davem@davemloft.net>
971 * sysdeps/generic/memcopy.h (reg_char): Delete.
972 * debug/strcat_chk.c: Use char, not reg_char.
973 * debug/strcpy_chk.c: Likewise.
974 * debug/strncat_chk.c: Likewise.
975 * debug/strncpy_chk.c: Likewise.
976 * string/memchr.c: Likewise.
977 * string/memrchr.c: Likewise.
978 * string/rawmemchr.c: Likewise.
979 * string/strcat.c: Likewise.
980 * string/strchr.c: Likewise.
981 * string/strchrnul.c: Likewise.
982 * string/strcmp.c: Likewise.
983 * string/strcpy.c: Likewise.
984 * string/strncat.c: Likewise.
985 * string/strncmp.c: Likewise.
986 * string/strncpy.c: Likewise.
988 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
990 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
991 __builtin_memcopy is called when src and dest ranges are known to not
994 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
996 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
997 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
998 fwd_align_merge macro call.
999 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1000 bwd_align_merge macro call.
1001 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1003 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1005 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1006 bwd_align_merge macros.
1007 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1008 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1009 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1011 2012-04-18 David S. Miller <davem@davemloft.net>
1013 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1015 2012-04-18 Andreas Jaeger <aj@suse.de>
1018 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1019 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1020 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1022 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1023 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1024 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1026 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1027 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1028 Adjust for changed ldbl-128 files.
1030 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1031 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1032 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1034 2012-04-17 David S. Miller <davem@davemloft.net>
1036 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1038 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1040 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1041 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1042 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1043 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1044 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1045 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1047 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1050 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1051 * math/libm-test.inc: Add ilogb errno and exception tests.
1052 * math/w_ilogb.c: New file: ilogb wrapper.
1053 * math/w_ilogbf.c: New file: ilogbf wrapper.
1054 * math/w_ilogbl.c: New file: ilogbl wrapper.
1055 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1056 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1057 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1058 exception being thrown with 0.0 as argument.
1059 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1060 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1061 exception being thrown with 0.0 as argument.
1062 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1063 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1064 exception being thrown with 0.0 as argument.
1065 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1066 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1067 exception being thrown with 0.0 as argument.
1068 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1069 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1070 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1071 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1073 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1074 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1075 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1076 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1078 2012-04-17 Petr Baudis <pasky@ucw.cz>
1080 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1083 2012-04-16 Marek Polacek <polacek@redhat.com>
1085 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1087 2012-04-16 Marek Polacek <polacek@redhat.com>
1089 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1090 operands of fdivp instruction.
1092 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1094 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1095 * elf/tst-auditmod3b.c: Likewise.
1096 * elf/tst-auditmod4b.c: Likewise.
1097 * elf/tst-auditmod5b.c: Likewise.
1098 * elf/tst-auditmod6b.c: Likewise.
1099 * elf/tst-auditmod6c.c: Likewise.
1100 * elf/tst-auditmod7b.c: Likewise.
1101 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1102 * sysdeps/x86_64/preconfigure.in: Likewise.
1103 * sysdeps/x86_64/preconfigure: Regenerated.
1105 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1107 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1110 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1112 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1113 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1115 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1118 * locale/iso-639.def: Fix gl language name. Spotted by
1121 2012-04-12 Roland McGrath <roland@hack.frob.com>
1124 * libio/libio.h (__io_write_fn): Update comment.
1126 2012-04-12 Petr Baudis <pasky@ucw.cz>
1129 * stdio.texi (Hook Functions): The user provided writer function
1130 is not allowed to return -1.
1132 2012-04-11 David S. Miller <davem@davemloft.net>
1134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1136 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1138 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1139 Add a leading slash to rtkaio.
1141 2012-04-11 Jim Meyering <meyering@redhat.com>
1144 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1145 It is not necessarily an error to ignore fwrite's return
1146 value. One can reliably use ferror to test for errors after
1149 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1151 * bits/types.h (__snseconds_t): New type.
1152 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1154 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1155 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1156 (__SNSECONDS_T_TYPE): Likewise.
1157 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1158 (__SNSECONDS_T_TYPE): Likewise.
1159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1160 (__SNSECONDS_T_TYPE): Likewise.
1162 2012-04-10 Andreas Jaeger <aj@suse.de>
1165 * manual/time.texi (Processor Time): Return type of times is
1166 elapsed real time since an arbitrary point in the past.
1167 (CPU Time): Move CLK_TCK from here...
1168 (Processor Time): ...to here. Correct description.
1169 * manual/conf.texi (Constants for Sysconf): Correct description of
1172 2012-04-10 David S. Miller <davem@davemloft.net>
1175 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1176 where the is a gap between DT_REL(A) and DT_JMPREL.
1178 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1180 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1181 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1182 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1184 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1186 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1187 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1188 (dl_main): Handle --inhibit-cache.
1189 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1191 * elf/dl-load.c (_dl_map_object): Use it.
1192 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1194 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1197 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1198 (__ieee754_powl): Saturate large exponents rather than testing for
1199 overflow of y*log2(x).
1200 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1201 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1205 * math/s_ctan.c: Include <float.h>.
1206 (__ctan): Avoid internal overflow or cancellation in calculating
1208 * math/s_ctanf.c: Likewise.
1209 * math/s_ctanl.c: Likewise.
1210 * math/s_ctanh.c: Likewise.
1211 * math/s_ctanhf.c: Likewise.
1212 * math/s_ctanhl.c: Likewise.
1213 * math/libm-test.inc (ctan_test): Add more tests.
1214 (ctanh_test): Likewise.
1215 * sysdeps/i386/fpu/libm-test-ulps: Update.
1216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1218 2012-04-09 Andreas Jaeger <aj@suse.de>
1221 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1222 is an optional BSD extension.
1225 * manual/stdio.texi (Opening Streams): Document additional fopen
1228 2012-04-09 Roland McGrath <roland@hack.frob.com>
1230 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1231 %eax without telling the compiler.
1233 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1236 * manual/install.texi: Use sourceware.org.
1238 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1241 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1242 (__ieee754_pow): Generate overflow and underflow using huge*huge
1243 and tiny*tiny rather than just returning constant infinity or zero
1244 for large exponents.
1245 * math/libm-test.inc (pow_test): Require overflow exceptions for
1246 applicable cases of large exponents.
1249 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1250 (__ieee754_pow): Use iterative multiplication algorithm only for
1251 integer exponents with absolute value below 1024. Check for odd
1252 integer exponents when using algorithm for real exponents.
1253 * math/libm-test.inc (pow_test): Add more tests.
1254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1256 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1259 * math/libm-test.inc (exp_test): Do not allow overflow exception
1262 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1265 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1266 instead of __kernel_standard_f.
1268 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1270 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1271 * sysdeps/x86_64/memset_chk.S: Likewise.
1273 2012-04-08 Andreas Jaeger <aj@suse.de>
1276 * manual/startup.texi (Environment Access): Describe return value
1277 for putenv and setenv.
1280 * manual/filesys.texi (Directory Entries): Add description for
1284 * manual/filesys.texi (Directory Entries): Clarify that it's file
1285 system not operating system in the description of DT_UNKNOWN.
1288 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1290 2012-04-08 Stephen Compall <s11@member.fsf.org>
1293 * manual/llio.texi (Opening and Closing Files): Add cross
1294 reference to explain mode argument.
1296 2012-04-07 Mike Frysinger <vapier@gentoo.org>
1298 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1299 * sysdeps/x86_64/memset_chk.S: Likewise.
1301 2012-04-07 David S. Miller <davem@davemloft.net>
1303 * elf/elf.h (R_SPARC_WDISP10): Define.
1304 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1306 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1307 R_SPARC_SIZE64 and R_SPARC_H34.
1309 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1312 conditions and remove no longer applicable assertion.
1314 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1316 * bits/byteswap.h: Include <features.h>.
1317 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1318 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1320 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1322 * bits/byteswap.h (__bswap_16): Removed.
1323 Include <bits/byteswap-16.h> to get __bswap_16.
1324 * sysdeps/i386/bits/byteswap.h: Likewise.
1325 * sysdeps/s390/bits/byteswap.h: Likewise.
1326 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1327 * bits/byteswap-16.h: New file.
1328 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1329 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1330 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1331 * string/Makefile (headers): Add bits/byteswap-16.h.
1333 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1336 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1338 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1339 * nss/tst-nss-static.c: New.
1341 2012-04-06 Robert Millan <rmh@gnu.org>
1344 * manual/llio.texi (File Position Primitive): lseek
1345 refers to WHENCE when it really means OFFSET.
1347 2012-04-06 Andreas Jaeger <aj@suse.de>
1349 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1350 strncmp declarations.
1352 * abilist/libc.abilist: Add __poll and __ppoll.
1354 2012-04-05 David S. Miller <davem@davemloft.net>
1356 * scripts/check-local-headers.sh: Accept a host triplet in the
1357 path matched by the exclude regexp.
1359 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1361 * sysdeps/powerpc/powerpc32/dl-machine.h
1362 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1363 * sysdeps/s390/s390-32/dl-machine.h
1364 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1365 * sysdeps/sparc/sparc32/dl-machine.h
1366 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1367 * sysdeps/sparc/sparc64/dl-machine.h
1368 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1370 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1372 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1373 undefined symbol errors.
1375 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1378 2012-04-05 Michael Matz <matz@suse.de>
1381 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1383 2012-04-05 Andreas Jaeger <aj@suse.de>
1386 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1389 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1391 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1392 which ROUND is no valid rounding mode.
1394 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1396 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1398 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1400 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1402 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1403 an exception using FPU order intentionally.
1405 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1407 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1408 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1409 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1410 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1412 2012-04-05 Simon Josefsson <simon@josefsson.org>
1415 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1416 EINVAL when BUFLEN is too smal.
1418 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1421 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1422 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1424 2012-04-03 Andreas Jaeger <aj@suse.de>
1427 * manual/setjmp.texi (System V contexts): Fix sentence.
1430 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1431 New macro for this case.
1432 [!__GNUC__] (__bswap_64): New inline function for this case.
1433 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1434 * bits/byteswap.h: Likewise.
1435 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1436 ull, guard with __GLIBC_HAVE_LONG_LONG.
1438 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1439 __GLIBC_HAVE_LONG_LONG.
1441 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1442 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1444 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1447 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1448 inptr and inend, rather than using last_ch.
1450 2012-04-02 David S. Miller <davem@davemloft.net>
1452 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1453 * stdio-common/printf-parse.h (read_int): Change return type to
1454 'int', return -1 on INT_MAX overflow.
1455 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1456 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1457 overflows INT_MAX. Check for overflow of in-format-string precision
1458 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1459 SIZE_MAX not INT_MAX for integer overflow test.
1460 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1461 skip the construct in the format string but do not record anything.
1462 * stdio-common/bug22.c: Adjust to test both width/prevision
1463 INT_MAX overflow as well as total length INT_MAX overflow. Check
1464 explicitly for proper errno values.
1466 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1468 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1470 * string/test-strcmp.c [! WIDE]: Likewise.
1471 * time/tst-mktime2.c: Likewise for INT_MAX.
1472 * string/test-string.h: #include <sys/param.h> for MIN.
1474 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1475 * sysdeps/i386/init-first.c (init): Likewise.
1476 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1477 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1478 * sysdeps/sh/init-first.c (init): Likewise.
1480 2012-04-01 Ulrich Drepper <drepper@gmail.com>
1482 * po/ru.po: Update from translation team.
1483 * po/vi.po: Likewise.
1485 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1487 * resolv/nss_dns/dns-host.c: Merge copyright years.
1489 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1491 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1492 Optimize memcpy with prefetch if
1493 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1494 src, dst pointers have unequal 16 byte alignments.
1496 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1499 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1500 from a CNAME entry and return the minimum ttl for the query.
1501 (gaih_getanswer_slice): Likewise.
1503 2012-03-30 Jeff Law <law@redhat.com>
1505 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1507 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1508 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1510 * resolv/nss_dns/dns-host.c: Update copyright year.
1512 2012-03-30 Ulrich Drepper <drepper@gmail.com>
1514 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1515 requests to save a system call. Fix check that all bytes are sent.
1517 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1518 comments for sendmmsg.
1520 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1523 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1524 with only 1 character between 0x0041 and 0x01b0.
1525 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1526 * wcsmbs/tst-mbsnrtowcs.c: New file.
1528 2012-03-29 David S. Miller <davem@davemloft.net>
1530 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1531 small copies by hand.
1533 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1536 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1537 _nss_compat_initgroups_dyn): Fall back to malloc/free
1538 for large group memberships.
1540 2012-03-28 David S. Miller <davem@davemloft.net>
1542 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1543 that branches into memcpy.
1544 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1545 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1546 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1547 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1550 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1552 * sysdeps/sparc/mempcpy.S: New file.
1554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1555 the IFUNC routine in the libc case.
1556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1558 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1559 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1560 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1561 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1562 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1563 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1564 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1565 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1567 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1568 loop to 256 bytes instead of 64 bytes and fix test signedness.
1570 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1571 * sysdeps/sparc/sparc32/Makefile: rather than here...
1572 * sysdeps/sparc/sparc64/Makefile: and here.
1574 2012-03-28 Ulrich Drepper <drepper@gmail.com>
1576 * malloc/mallocbug.c: Avoid warnings about unused variables.
1578 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1581 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1582 in the right place. Discard and retry query if response is
1583 larger than input buffer size.
1585 2012-03-28 Joseph Myers <joseph@codesourcery.com>
1590 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1591 x for large integer exponent.
1592 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1593 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1594 sign of result as needed afterwards.
1595 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1596 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1597 result for underflowing pow the same as for overflow.
1598 (__kernel_standard_l): Handle powl overflow and underflow here
1599 rather than calling __kernel_standard.
1600 * math/libm-test.inc (pow_test): Add more tests.
1615 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1616 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1617 (__kernel_standard_l): New function.
1618 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1620 * math/w_acosl.c (__acosl): Likewise.
1621 * math/w_asinl.c (__asinl): Likewise.
1622 * math/w_atan2l.c (__atan2l): Likewise.
1623 * math/w_atanhl.c (__atanhl): Likewise.
1624 * math/w_coshl.c (__coshl): Likewise.
1625 * math/w_exp10l.c (__exp10l): Likewise.
1626 * math/w_exp2l.c (__exp2l): Likewise.
1627 * math/w_fmodl.c (__fmodl): Likewise.
1628 * math/w_hypotl.c (__hypotl): Likewise.
1629 * math/w_j0l.c (__j0l, __y0l): Likewise.
1630 * math/w_j1l.c (__j1l, __y1l): Likewise.
1631 * math/w_jnl.c (__jnl, __ynl): Likewise.
1632 * math/w_lgammal.c (__lgammal): Likewise.
1633 * math/w_log10l.c (__log10l): Likewise.
1634 * math/w_log2l.c (__log2l): Likewise.
1635 * math/w_logl.c (__logl): Likewise.
1636 * math/w_powl.c (__powl): Likewise.
1637 * math/w_remainderl.c (__remainderl): Likewise.
1638 * math/w_scalbl.c (sysv_scalbl): Likewise.
1639 * math/w_sinhl.c (__sinhl): Likewise.
1640 * math/w_sqrtl.c (__sqrtl): Likewise.
1641 * math/w_tgammal.c (__tgammal): Likewise.
1642 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1643 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1644 * math/libm-test.inc (acos_test): Add more tests.
1645 (acosh_test): Likewise.
1646 (asin_test): Likewise.
1647 (atanh_test): Likewise.
1648 (exp_test): Likewise.
1649 (exp10_test): Likewise.
1650 (exp2_test): Likewise.
1651 (expm1_test): Likewise.
1652 (lgamma_test): Likewise.
1653 (log_test): Likewise.
1654 (log10_test): Likewise.
1655 (log1p_test): Likewise.
1656 (log2_test): Likewise.
1657 (pow_test): Do not allow some spurious overflow exceptions.
1658 (sqrt_test): Add more tests.
1659 (tgamma_test): Likewise.
1660 (y0_test): Likewise.
1661 (y1_test): Likewise.
1662 (yn_test): Likewise.
1664 2012-03-27 Anton Blanchard <anton@samba.org>
1666 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1668 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1669 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1670 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1672 2012-03-27 David S. Miller <davem@davemloft.net>
1674 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1676 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1679 2012-03-27 Andreas Jaeger <aj@suse.de>
1681 * sysdeps/x86_64/elf/configure.in: Moved to ...
1682 * sysdeps/x86_64/configure.in: ... here.
1683 * sysdeps/x86_64/elf/start.S: Moved to ...
1684 * sysdeps/x86_64/start.S: ... here.
1685 * sysdeps/x86_64/elf/configure: Delete.
1687 * sysdeps/x86_64/configure.in: Merge contents from
1688 sysdeps/i386/configure.in (without i686 check).
1690 * sysdeps/i386/elf/Versions: Merge into ...
1691 * sysdeps/i386/Versions: ... this.
1692 * sysdeps/i386/elf/Versions: Delete file.
1693 * sysdeps/i386/elf/start.S: Moved to ...
1694 * sysdeps/i386/start.S: ...here.
1695 * sysdeps/i386/elf/configure.in: Merge into...
1696 * sysdeps/i386/configure.in: ...here.
1697 * sysdeps/i386/elf/configure.in: Delete file.
1698 * sysdeps/i386/elf/configure: Delete file.
1700 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1701 * debug/backtracesyms.c: ... here.
1702 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1703 * debug/backtracesymsfd.c: ... here.
1704 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1705 * sysdeps/generic/ifunc-sel.h: ... here.
1707 * sysdeps/unix/i386/start.c: Delete file.
1708 * sysdeps/unix/sparc/start.c: Delete file.
1709 * sysdeps/unix/start.c: Delete file.
1711 * sysdeps/sh/elf/configure.in: Moved to ...
1712 * sysdeps/sh/configure.in: ... here.
1713 * sysdeps/sh/elf/start.S: Moved to ...
1714 * sysdeps/sh/start.S: ... here.
1715 * sysdeps/sh/elf/configure: Delete file.
1717 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1718 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1719 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1720 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1721 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1722 * sysdeps/powerpc/powerpc64/start.S: here.
1723 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1724 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1725 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1726 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1727 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1729 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1730 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1731 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1732 * sysdeps/powerpc/powerpc32/start.S: ... here.
1733 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1734 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1735 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1737 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1738 * sysdeps/powerpc/ifunc-sel.h: ... here.
1739 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1740 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1742 * sysdeps/sparc/elf/configure.in: Moved to ...
1743 * sysdeps/sparc/configure.in: ... here.
1744 * sysdeps/sparc/elf/configure: Delete file.
1745 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1746 * sysdeps/sparc/sparc32/start.S: ... here.
1747 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1748 * sysdeps/sparc/sparc64/start.S: ... here.
1749 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1750 * sysdeps/sparc/sparc32/Makefile: ... this.
1751 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1752 * sysdeps/sparc/sparc64/Makefile: ... this.
1754 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1755 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1756 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1757 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1758 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1759 * sysdeps/s390/s390-32/setjmp.S: ... here.
1760 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1761 * sysdeps/s390/s390-32/configure.in: ... here.
1762 * sysdeps/s390/s390-32/elf/configure: Delete file.
1763 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1764 * sysdeps/s390/s390-32/start.S: ... here.
1766 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1767 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1768 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1769 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1770 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1771 * sysdeps/s390/s390-64/setjmp.S: ... here.
1772 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1773 * sysdeps/s390/s390-64/configure.in: ... here
1774 * sysdeps/s390/s390-64/elf/configure: Delete file.
1775 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1776 * sysdeps/s390/s390-64/start.S: ... here.
1777 * sysdeps/s390/s390-64/elf/configure: Delete.
1779 * configure.in: Remove support for elf directories in sysdeps.
1781 * configure: Regenerated.
1782 * sysdeps/i386/configure: Regenerated.
1783 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1784 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1785 * sysdeps/s390/s390-32/configure: Regenerated.
1786 * sysdeps/s390/s390-64/configure: Regenerated.
1787 * sysdeps/sh/configure: Regenerated.
1788 * sysdeps/sparc/configure: Regenerated.
1789 * sysdeps/x86_64/configure: Regenerated.
1791 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1795 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1796 denormal result into account.
1798 2012-03-25 Roland McGrath <roland@hack.frob.com>
1800 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1801 Reported by Allan McRae <allan@archlinux.org>.
1803 2012-03-23 Jeff Law <law@redhat.com>
1805 * nss/getnssent.c (__nss_getent): Fix typo.
1807 2012-03-23 David S. Miller <davem@davemloft.net>
1809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1811 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1813 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1814 to pad to uint64_t for each field.
1815 (dl_tls_index): Replace unsigned long with uint64_t.
1817 2012-03-23 Daniel Jacobowitz <dmj@google.com>
1818 Paul Pluzhnikov <ppluzhnikov@google.com>
1821 * grp/Makefile (otherlibs): Don't set it.
1822 * inet/Makefile (otherlibs): Likewise.
1823 * login/Makefile (otherlibs): Likewise.
1824 * nscd/Makefile (otherlibs): Likewise.
1825 * posix/Makefile (otherlibs): Likewise.
1826 * pwd/Makefile (otherlibs): Likewise.
1827 * rt/Makefile (otherlibs): Likewise.
1828 * sunrpc/Makefile (otherlibs): Likewise.
1829 * nss/Makefile (otherlibs): Likewise.
1830 Add libnss_files to routines and static-only-routines.
1831 ($(objpfx)getent): Remove rule.
1832 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1833 static-only-routines.
1835 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1838 * math/s_cexp.c: Include <float.h>.
1839 (__cexp): Handle exp result overflowing not necessarily
1840 overflowing both real and imaginary parts of result.
1841 * math/s_cexpf.c: Likewise.
1842 * math/s_cexpl.c: Likewise.
1843 * math/libm-test.inc (cexp_test): Add more tests.
1844 * sysdeps/i386/fpu/libm-test-ulps: Update.
1845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1847 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1849 * include/link.h (ELFW): New macro.
1850 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1851 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1853 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1855 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1858 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1860 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1862 (struct La_x32_retval): Likewise.
1864 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1866 * sysdeps/x86_64/preconfigure.in: New file.
1867 * sysdeps/x86_64/preconfigure: New generated file.
1869 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1872 * math/e_exp2l.c: Include <float.h>.
1873 (__ieee754_exp2l): Handle overflow and underflow cases
1874 separately. Only pass fractional part of argument to
1876 * math/libm-test.inc (exp2_test): Add more tests.
1878 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1879 negating x to take absolute value.
1880 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1882 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1883 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1885 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1886 computing low part if x was negated.
1887 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1889 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1891 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1893 (pltexit): Cast int_retval to ptrdiff_t.
1894 * elf/tst-auditmod3b.c: Likewise.
1895 * elf/tst-auditmod4b.c: Likewise.
1896 * elf/tst-auditmod5b.c: Likewise.
1897 * elf/tst-auditmod6b.c: Likewise.
1898 * elf/tst-auditmod6c.c: Likewise.
1899 * elf/tst-auditmod7b.c: Likewise.
1901 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1902 and x32_gnu_pltexit.
1904 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1906 (La_x32_regs): New macro.
1907 (La_x32_retval): Likewise.
1908 (la_x32_gnu_pltenter): New function prototype.
1909 (la_x32_gnu_pltexit): Likewise.
1911 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1913 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1918 * configure.in (libc_cv_cc_nofma): Check for option to disable
1919 generation of FMA instructions.
1920 * configure: Regenerate.
1921 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1922 * sysdeps/ieee754/dbl-64/Makefile: New file.
1923 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1924 Remove brandred-fma4.
1925 (CFLAGS-brandred-fma4.c): Remove.
1926 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1927 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1929 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1932 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1934 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1935 LLONG_MAX != LONG_MAX.
1936 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1937 (_fitoa_word): Likewise.
1938 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1939 LLONG_MAX != LONG_MAX.
1940 * stdio-common/_itowa.h: Include <_itoa.h>.
1941 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1942 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1943 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1944 only if not defined.
1945 (_ITOA_WORD_TYPE): Likewise.
1946 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1947 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1949 2012-03-21 David S. Miller <davem@davemloft.net>
1951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1953 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1955 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1956 of x86_64 when setting libc_cv_slibdir, libdir and
1958 * sysdeps/unix/sysv/linux/configure: Regenerated.
1960 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1962 * manual/lang.texi (Old Varargs): Remove section.
1963 (How Variadic): Update menu.
1964 (va_start): Do not mention varargs.h.
1966 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1967 Joseph Myers <joseph@codesourcery.com>
1969 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1971 * configure: Regenerated.
1973 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1975 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1976 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1979 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1982 * Makefile (files-for-dist): Remove NOTES.
1983 (NOTES): Remove rule.
1984 * README: Don't refer to NOTES.
1985 * manual/creature.texi: Don't include macros.texi.
1986 * manual/intro.texi (creature.texi): Remove comment referring to
1989 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1990 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1991 * configure: Regenerated.
1992 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1994 (libc_cv_as_i686): Likewise.
1995 (libc_cv_cc_avx): Likewise.
1996 (libc_cv_cc_sse2avx): Likewise.
1997 (libc_cv_cc_fma4): Likewise.
1998 (libc_cv_cc_novzeroupper): Likewise.
1999 * sysdeps/i386/configure: Regenerated.
2002 * sysdeps/i386/fpu/s_cexp.S: Remove.
2003 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2004 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2005 * math/libm-test.inc (cexp_test): Add more tests.
2006 * sysdeps/i386/fpu/libm-test-ulps: Update.
2007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2009 2012-03-21 Allan McRae <allan@archlinux.org>
2011 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2013 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2016 * math/w_exp2.c: Do not include <float.h>.
2017 (o_threshold, u_threshold): Remove.
2018 (__exp2): Calculate result before checking finiteness and calling
2020 * math/w_exp2f.c: Likewise.
2021 * math/w_exp2l.c: Likewise.
2022 * math/libm-test.inc (exp2_test): Require overflow exception for
2026 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2027 range of signed 64-bit integers before using fistpll. Remove
2028 checks for whether integers fit in mantissa bits.
2029 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2030 the range of signed 32-bit integers before using fistpl. Remove
2031 checks for whether integers fit in mantissa bits.
2032 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2033 (__ieee754_powl): Test for y outside the range of signed 64-bit
2034 integers before using fistpll. Reduce 64-bit values to 63-bit
2036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2037 divide-by-zero is raised for zero to large negative powers.
2038 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2039 (__ieee754_powl): Test for y outside the range of signed 64-bit
2040 integers before using fistpll. Reduce 64-bit values to 63-bit
2042 * math/libm-test.inc (pow_test): Add more tests.
2044 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2046 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2047 <stdio-common/_itoa.h>.
2048 * debug/segfault.c: Likewise.
2049 * elf/dl-cache.c: Likewise.
2050 * elf/dl-minimal.c: Likewise.
2051 * elf/dl-misc.c: Likewise.
2052 * elf/dl-sysdep.c: Likewise.
2053 * elf/dl-version.c: Likewise.
2054 * elf/rtld.c: Likewise.
2055 * hurd/hurdsock.c: Likewise.
2056 * hurd/lookup-retry.c: Likewise.
2057 * malloc/malloc.c: Likewise.
2058 * malloc/mtrace.c: Likewise.
2059 * nscd/nscd_getgr_r.c: Likewise.
2060 * nscd/nscd_getpw_r.c: Likewise.
2061 * nscd/nscd_getserv_r.c: Likewise.
2062 * posix/getopt_init.c: Likewise.
2063 * posix/wordexp.c: Likewise.
2064 * stdio-common/_itoa.c: Likewise.
2065 * stdio-common/printf_fphex.c: Likewise.
2066 * stdio-common/vfprintf.c: Likewise.
2067 * string/_strerror.c: Likewise.
2068 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2069 * sysdeps/i386/i686/hp-timing.h: Likewise.
2070 * sysdeps/mach/_strerror.c: Likewise.
2071 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2072 * sysdeps/mach/hurd/sethostid.c: Likewise.
2073 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2074 * sysdeps/mach/xpg-strerror.c: Likewise.
2075 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2076 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2077 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2078 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2079 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2080 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2081 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2082 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2083 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2084 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2085 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2086 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2087 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2088 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2089 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2090 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2091 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2092 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2093 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2094 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2095 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2097 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2099 * stdio-common/_itoa.h: Moved to ...
2100 * sysdeps/generic/_itoa.h: Here.
2102 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2104 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2105 instead of "_itoa.h" and "_itowa.h".
2106 * stdio-common/vfprintf.: Likewise.
2108 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2110 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2112 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2113 (__signbit): Likwise.
2117 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2119 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2122 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2124 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2125 OVERFLOW_EXCEPTION_OK.
2126 * math/libm-test.inc ("Philosophy"): Update comment about
2128 (OVERFLOW_EXCEPTION): Define.
2129 (OVERFLOW_EXCEPTION_OK): Likewise.
2130 (INVALID_EXCEPTION_OK): Renumber.
2131 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2132 (IGNORE_ZERO_INF_SIGN): Likewise.
2133 (test_exceptions): Handle FE_OVERFLOW.
2134 (exp10_test): Expect overflow exceptions.
2135 (exp2_test): Likewise.
2136 (expm1_test): Likewise.
2137 (nextafter_test): Likewise.
2138 (pow_test): Likewise.
2139 (scalbn_test): Likewise.
2140 (scalbln_test): Likewise.
2142 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2144 * sysdeps/x86_64/bits/atomic.h
2145 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2147 (atomic_exchange_acq): Likewise.
2148 (__arch_exchange_and_add_body): Likewise.
2149 (__arch_add_body): Likewise.
2150 (atomic_add_negative): Likewise.
2151 (atomic_add_zero): Likewise.
2153 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2155 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2156 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2158 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2160 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2161 Check __x86_64__ instead of __WORDSIZE.
2163 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2165 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2167 2012-03-19 David S. Miller <davem@davemloft.net>
2169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2171 * sysdeps/sparc/fpu/fenv_private.h: New file.
2172 * sysdeps/sparc/fpu/math_private.h: Use it.
2173 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2175 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2176 (libc_feholdexcept_setroundl): Remove.
2177 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2179 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2180 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2182 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2184 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2185 int64_t instead of long int.
2186 (INSERT_WORDS64): Likwise.
2188 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2190 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2191 _Unwind_GetCFA return to _Unwind_Ptr first.
2193 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2196 * math/s_clog.c: Include <float.h>.
2197 (__clog): Scale large or subnormal inputs.
2198 * math/s_clogf.c: Likewise.
2199 * math/s_clogl.c: Likewise.
2200 * math/s_clog10.c: Include <float.h>.
2201 (M_LOG10_2): Define.
2202 (__clog10): Scale large or subnormal inputs.
2203 * math/s_clog10f.c: Likewise.
2204 * math/s_clog10l.c: Likewise.
2205 * math/libm-test.inc (clog_test): Add more tests.
2206 (clog10_test): Likewise.
2207 * sysdeps/i386/fpu/libm-test-ulps: Update.
2208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2211 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2213 * math/libm-test.inc (atan2_test): Add another test.
2215 * Makerules (common-objdir-compile): Remove.
2216 * sysdeps/unix/Makefile (config-generated): Do not add
2217 $(unix-generated) to variable.
2218 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2219 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2221 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2223 [generic bits/local_lim.h] (before-compile): Do not append to
2225 [generic bits/local_lim.h] (common-generated): Likewise.
2226 [generic sys/param.h] (before-compile): Do not append to variable.
2227 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2228 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2229 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2230 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2232 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2233 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2234 [generic sys/param.h] ($(addprefix
2235 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2236 [generic sys/param.h] (common-generated): Do not append to
2238 [generic sys/param.h] (sysdep_headers): Likewise.
2239 [generic bits/errno.h] (before-compile): Do not append to
2241 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2243 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2244 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2245 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2246 [generic bits/errno.h] (common-generated): Do not append to
2248 [generic bits/ioctls.h] (before-compile): Do not append to
2250 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2252 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2253 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2254 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2256 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2257 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2258 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2259 [generic bits/ioctls.h] (common-generated): Do not append to
2261 [generic sys/syscall.h] (syscall.h): Remove variable.
2262 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2264 [generic sys/syscall.h] (before-compile): Do not append to
2266 [generic sys/syscall.h] (common-generated): Likewise.
2267 * sysdeps/unix/errnos-tmpl.c: Remove file.
2268 * sysdeps/unix/errnos.awk: Likewise.
2269 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2270 * sysdeps/unix/ioctls.awk: Likewise.
2271 * sysdeps/unix/mk-local_lim.c: Likewise.
2272 * sysdeps/unix/snarf-ioctls: Likewise.
2274 2012-03-19 Richard Henderson <rth@twiddle.net>
2276 * sysdeps/i386/fpu/fenv_private.h: New file.
2277 * sysdeps/i386/fpu/math_private.h: Use it.
2278 (math_opt_barrier, math_force_eval): Remove.
2279 (libc_feholdexcept_setround_53bit): Remove.
2280 (libc_feupdateenv_53bit): Remove.
2281 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2282 (math_opt_barrier, math_force_eval): Remove.
2283 (libc_feholdexcept): Remove.
2284 (libc_feholdexcept_setround): Remove.
2285 (libc_fetestexcept, libc_fesetenv): Remove.
2286 (libc_feupdateenv_test): Remove.
2287 (libc_feupdateenv, libc_feholdsetround): Remove.
2288 (libc_feresetround): Remove.
2290 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2291 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2293 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2294 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2295 (libc_feupdateenv_testl): New.
2296 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2297 (libc_feupdateenv_testf): New.
2298 (libc_feupdateenv): Use libc_feupdateenv_test.
2299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2300 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2302 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2303 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2304 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2305 (libc_feresetround_noex): New.
2306 (libc_feresetround_noexf): New.
2307 (libc_feresetround_noexl): New.
2308 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2309 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2310 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2311 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2316 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2317 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2318 SET_RESTORE_ROUND_NOEX.
2319 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2320 SET_RESTORE_ROUND_NOEXF.
2321 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2322 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2323 (libc_feholdsetroundf): New.
2324 (libc_feresetround, libc_feresetroundf): New.
2326 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2327 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2328 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2330 * sysdeps/generic/math_private.h: Include <fenv.h>.
2331 (default_libc_feholdexcept): New.
2332 (default_libc_feholdexcept_setround): New.
2333 (default_libc_fesetenv, default_libc_feupdateenv): New.
2334 (libc_feholdexcept): Only define if undefined.
2335 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2336 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2337 (libc_feholdexcept_setroundl): Likewise.
2338 (libc_feholdexcept_setround_53bit): Likewise.
2339 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2340 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2341 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2342 (libc_feupdateenv_53bit): Likewise.
2343 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2344 (libc_feholdexcept): Convert from macro to inline function.
2345 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2346 (libc_fesetenv, libc_feupdateenv): Likewise.
2348 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2349 not previously defined.
2350 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2351 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2352 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2353 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2354 * sysdeps/ieee754/flt-32/math_private.h: New file.
2355 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2356 math_private.h below SET_FLOAT_WORD.
2357 (__isnan, __isinf_ns, __finite): Remove.
2358 (__isnanf, __isinf_nsf, __finitef): Remove.
2360 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2364 2012-03-17 David S. Miller <davem@davemloft.net>
2367 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2370 2012-03-16 David S. Miller <davem@davemloft.net>
2372 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2376 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2378 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2379 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2380 sysdep_routines when subdir is sysvipc.
2381 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2384 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2386 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2388 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2391 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2393 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2394 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2395 (__lround): Renamed to ...
2396 (__llround): This. Replace long int with long long int.
2397 Define lround functions as aliases of llround functions.
2398 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2400 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2402 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2403 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2404 adresses to uintptr_t. Replace "long int" and "unsigned long
2405 int" with "greg_t" on va_arg.
2407 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2409 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2410 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2412 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2413 Move e_machine check before EI_CLASS check. Handle x32
2414 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2415 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2416 SKIP_EM_IA_64 and include
2417 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2419 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2420 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2421 (add_system_dir): New macro.
2423 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2424 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2426 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2437 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2439 * math/w_j0f.c (j0f): Likewise.
2441 * math/w_j0l.c (__j0l): Likewise.
2443 * math/w_j1.c (j1): Likewise.
2445 * math/w_j1f.c (j1f): Likewise.
2447 * math/w_j1l.c (__j1l): Likewise.
2449 * math/w_jn.c (jn): Likewise.
2451 * math/w_jnf.c (jnf): Likewise.
2453 * math/w_jnl.c (__jnl): Likewise.
2455 * math/libm-test.inc (j0_test): Add more tests.
2456 (j1_test): Likewise.
2457 (jn_test): Likewise. Add trailing semicolon to existing test.
2458 (y0_test): Likewise.
2459 (y1_test): Likewise.
2460 * sysdeps/i386/fpu/libm-test-ulps: Update.
2461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2465 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2466 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2467 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2468 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2469 (__tanl): Set errno for infinite argument.
2470 * sysdeps/i386/fpu/mptan.c: Remove.
2471 * sysdeps/i386/fpu/s_tan.S: Likewise.
2472 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2473 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2474 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2475 * math/libm-test.inc (tan_test): Add more tests and enable more
2476 tests for double and long double.
2477 * sysdeps/i386/fpu/libm-test-ulps: Update.
2478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2480 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2482 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2483 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2485 2012-03-16 Roland McGrath <roland@hack.frob.com>
2487 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2488 * configure.in: Use it for both main tree and add-ons.
2489 * configure: Regenerated.
2491 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2493 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2495 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2497 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2501 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2502 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2503 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2504 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2505 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2507 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2508 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2510 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2511 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2512 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2513 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2514 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2515 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2516 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2517 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2518 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2519 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2520 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2521 * math/libm-test.inc (cos_test): Add more tests and enable more
2522 tests for long double.
2523 (sin_test): Likewise.
2524 (sincos_test): Likewise.
2525 * sysdeps/i386/fpu/libm-test-ulps: Update.
2526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2528 2012-03-16 David S. Miller <davem@davemloft.net>
2530 * sysdeps/sparc/fpu/math_private.h: New file.
2532 2012-03-15 David S. Miller <davem@davemloft.net>
2534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2544 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2548 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2549 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2551 * sysdeps/sparc/sparc-ifunc.h: New file.
2552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2578 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2579 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2580 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2590 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2591 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2595 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2597 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2599 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2603 2012-03-15 Andreas Jaeger <aj@suse.de>
2606 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2607 ieee754/flt-32 implementation for sin, cos and sincos.
2608 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2609 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2610 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2611 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2612 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2613 ieee754/flt-32 implementation for tan.
2615 * math/libm-test.inc (cos_test): Enable some large input tests for
2617 (sin_test): Likewise.
2618 (sincos_test): Likewise.
2619 (tan_test): Add tests for large input.
2621 * sysdeps/i386/fpu/libm-test-ulps: Update.
2623 2012-03-15 Andreas Jaeger <aj@suse.de>
2626 * math/libm-test.inc (cos_test): Add more test cases.
2627 (sin_test): Likewise.
2628 (sincos_test): Likewise.
2630 2012-03-15 Andreas Jaeger <aj@suse.de>
2633 * math/libm-test.inc (cos_test): Add a test case for large input
2635 (sin_test): Likewise.
2636 (sincos_test): Likewise.
2638 2012-03-15 Andreas Jaeger <aj@suse.de>,
2639 Joseph Myers <joseph@codesourcery.com>
2642 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2643 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2644 * sysdeps/i386/fpu/branred.c: Likewise.
2645 * sysdeps/i386/fpu/dosincos.c: Likewise.
2646 * sysdeps/i386/fpu/mpa.c: Likewise.
2647 * sysdeps/i386/fpu/s_cos.S: Likewise.
2648 * sysdeps/i386/fpu/s_sin.S: Likewise.
2649 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2650 * sysdeps/i386/fpu/sincos32.c: Likewise.
2652 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2654 (libc_feupdateenv_53bit): Define.
2655 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2657 (libc_feupdateenv_53bit): Define.
2659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2660 53 bit (without extend i386 double precision).
2662 * math/libm-test.inc (sincos_test): Add tests for large input.
2666 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2668 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2672 2012-03-15 David S. Miller <davem@davemloft.net>
2674 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2675 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2676 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2677 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2701 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2702 fmin/fmax sysdep routines.
2703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2705 2012-03-14 David S. Miller <davem@davemloft.net>
2707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2730 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2733 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2734 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2779 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2784 * sysdeps/sparc/configure.in: New file.
2785 * sysdeps/sparc/configure: Generate.
2786 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2787 * configure: Regenerate.
2788 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2789 * config.make.in (have-as-vis3): New.
2790 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2791 available use -Av9d instead of -Av9a.
2792 * sysdeps/sparc/sparc64/Makefile: Likewise.
2793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2806 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2808 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2809 fzeros/fnegs to load 0x80000000 into a float register instead of
2811 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2813 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2817 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2818 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2819 ($(inst_includedir)/bits/syscall.h): Remove rule.
2820 ($(objpfx)bits/syscall.d): Include instead of
2821 $(objpfx)syscall-list.d.
2822 (generated): Change syscall-list.h and syscall-list.d to
2823 bits/syscall.h and bits/syscall.d.
2825 2012-03-14 Roland McGrath <roland@hack.frob.com>
2828 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2830 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2833 * math/s_csqrt.c: Include <float.h>.
2834 (__csqrt): Scale large or subnormal inputs.
2835 * math/s_csqrtf.c: Likewise.
2836 * math/s_csqrtl.c: Likewise.
2837 * math/libm-test.inc (csqrt_test): Add more tests.
2838 * sysdeps/i386/fpu/libm-test-ulps: Update.
2839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2842 * math/libm-test.inc (hypot_test): Add more tests.
2844 2012-03-13 David S. Miller <davem@davemloft.net>
2847 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2848 double-precision for the calculation instead of scaling.
2850 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2852 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2853 manipulate bits before adding and subtracting TWO52[sx].
2854 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2855 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2857 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2859 2012-03-13 David S. Miller <davem@davemloft.net>
2861 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2862 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2863 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2864 rtld-global-offsets.h
2865 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2867 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2870 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2872 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2873 'err' in the ifdef scope in which it is actually used.
2875 * nss/nss_db/db-init.c: Include string.h
2877 2012-03-12 David S. Miller <davem@davemloft.net>
2879 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2880 masking out of the most significant byte of random value used.
2881 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2882 Fix coding style in previous change.
2884 * sysdeps/unix/sysv/linux/kernel-features.h
2885 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2886 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2888 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2891 2012-03-11 David S. Miller <davem@davemloft.net>
2893 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2894 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2895 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2896 for 'resultvar' otherwise things get truncated on 64-bit.
2898 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2899 Fix masking out of the most significant byte of random value used.
2901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2903 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2907 2012-03-09 David S. Miller <davem@davemloft.net>
2909 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2910 variables with appropriate CPP guards.
2911 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2912 frame pointer, not the stack pointer. Correct layout comments. Fix test
2913 on resulting framesize and the management of the outregs buffer for pltexit.
2914 Preserve floating point return values across _dl_call_pltexit call.
2915 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2916 framesize and the management of the outregs buffer for pltexit.
2917 Preserve floating point return values across _dl_call_pltexit
2919 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2920 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2921 (print_exit): Fix format string for return register value.
2923 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2925 * sunrpc/Makefile (others): Add rpcgen.
2926 ($(objpfx)rpcgen): Remove special build rule and dependency on
2928 * sunrpc/rpcgen.c: New file.
2930 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2933 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2934 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2935 * sysdeps/i386/crti.S: Likewise.
2936 * sysdeps/i386/crtn.S: Likewise.
2937 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2938 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2939 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2940 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2941 * sysdeps/sh/crti.S: Likewise.
2942 * sysdeps/sh/crtn.S: Likewise.
2943 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2946 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2948 * locale/programs/locfile-kw.gperf: Likewise.
2949 * locale/programs/charmap-kw.h: Regenerated.
2950 * locale/programs/locfile-kw.h: Likewise.
2953 * intl/plural.y: Replace FSF snail mail address with URL.
2954 * intl/plural.c: Regenerated.
2956 2012-03-09 Richard Henderson <rth@twiddle.net>
2958 * include/math_private.h: Remove file.
2959 * math/math_private.h: Move file ...
2960 * sysdeps/generic/math_private.h: ... here.
2962 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2963 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2964 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2966 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2967 and <math_private.h>.
2968 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2969 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2970 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2971 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2972 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2973 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2974 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2978 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2979 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2983 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2984 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2985 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2986 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2987 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2989 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2990 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2992 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2993 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2994 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2995 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3002 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3003 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3013 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3014 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3015 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3017 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3018 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3019 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3020 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3021 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3022 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3023 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3024 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3025 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3026 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3027 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3028 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3029 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3030 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3031 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3032 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3033 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3034 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3035 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3036 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3037 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3038 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3039 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3040 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3041 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3042 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3046 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3047 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3048 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3049 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3050 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3051 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3052 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3053 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3054 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3055 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3056 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3057 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3058 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3059 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3060 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3061 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3062 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3063 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3064 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3065 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3066 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3067 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3068 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3069 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3070 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3071 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3072 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3073 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3074 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3075 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3076 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3077 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3078 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3079 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3080 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3081 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3082 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3083 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3084 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3085 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3086 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3087 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3088 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3089 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3090 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3091 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3092 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3093 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3094 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3095 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3096 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3097 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3098 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3099 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3100 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3101 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3102 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3103 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3104 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3105 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3106 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3107 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3108 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3109 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3110 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3111 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3112 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3113 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3114 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3115 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3116 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3117 * sysdeps/ieee754/k_standard.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3119 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3120 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3121 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3122 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3123 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3124 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3125 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3126 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3127 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3128 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3129 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3130 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3131 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3132 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3133 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3134 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3135 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3136 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3137 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3138 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3139 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3140 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3141 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3142 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3143 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3144 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3145 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3146 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3147 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3148 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3149 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3150 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3151 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3152 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3153 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3154 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3155 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3156 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3157 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3158 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3159 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3160 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3161 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3162 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3163 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3164 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3165 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3166 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3167 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3168 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3169 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3171 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3172 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3173 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3177 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3179 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3181 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3182 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3183 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3185 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3186 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3187 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3188 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3190 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3191 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3192 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3193 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3194 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3195 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3196 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3197 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3198 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3201 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3202 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3203 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3204 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3205 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3206 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3207 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3208 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3209 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3210 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3211 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3212 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3213 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3214 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3215 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3216 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3217 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3219 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3220 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3221 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3222 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3223 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3224 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3225 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3226 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3230 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3231 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3232 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3233 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3234 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3235 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3237 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3238 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3239 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3240 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3241 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3242 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3243 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3244 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3245 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3246 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3247 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3248 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3249 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3250 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3251 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3252 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3253 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3254 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3255 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3256 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3257 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3258 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3259 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3260 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3261 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3262 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3263 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3264 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3265 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3266 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3267 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3268 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3269 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3270 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3271 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3272 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3273 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3274 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3275 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3276 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3277 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3278 * sysdeps/ieee754/s_lib_version.c: Likewise.
3279 * sysdeps/ieee754/s_matherr.c: Likewise.
3280 * sysdeps/ieee754/s_signgam.c: Likewise.
3281 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3282 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3283 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3284 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3285 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3286 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3287 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3288 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3289 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3290 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3291 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3292 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3293 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3294 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3295 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3296 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3297 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3298 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3299 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3301 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3303 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3305 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3306 * sunrpc/rpc_main.c: Likewise.
3307 * sunrpc/rpc_svcout.c: Likewise.
3309 2012-03-09 David S. Miller <davem@davemloft.net>
3311 * include/math_private.h: New file.
3313 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3315 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3316 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3317 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3318 from <bits/socket_type.h>.
3319 (enum __socket_type): Don't define here.
3320 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3325 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3328 * Makerules ($(inst_includedir)/%.h): New rule.
3329 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3330 (install-others): Remove variable setting.
3331 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3333 2012-03-08 Richard Henderson <rth@twiddle.net>
3335 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3336 from macro to inline function; merge with the
3337 !__LIBC_INTERNAL_MATH_INLINES version.
3338 (__ieee754_sqrtf): Likewise.
3340 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3342 (__rintf, __floor, __floorf): Likewise.
3344 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3345 macro to inline function.
3346 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3348 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3349 not <math/math_private.h>.
3351 2012-03-08 David S. Miller <davem@davemloft.net>
3353 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3355 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3357 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3359 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3361 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3362 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3364 2012-03-08 Ulrich Drepper <drepper@gmail.com>
3366 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3367 be defined individually, they must be defined as a block. Define
3368 S for printing a string instead of hidint the different by using a
3369 macro for adding the 'l'.
3370 * stdio-common/tst-fphex-wide.c: Adjust.
3372 2012-03-07 Marek Polacek <polacek@redhat.com>
3374 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3376 2012-03-08 Marek Polacek <polacek@redhat.com>
3379 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3380 * stdio-common/tst-fphex.c: Define a few macros to make the
3381 test reusable. Use them.
3382 * stdio-common/tst-fphex-wide.c: New file.
3384 2012-03-08 Joseph Myers <joseph@codesourcery.com>
3387 * manual/macros.texi (gnusystems): New macro.
3388 (nongnusystems): Likewise.
3389 (gnulinuxhurdsystems): Likewise.
3390 (gnuhurdsystems): Likewise..
3391 (gnulinuxsystems): Likewise.
3392 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3393 variants of the GNU system, not "GNU system".
3394 * manual/conf.texi: Likewise.
3395 * manual/errno.texi: Likewise. Update example of errno macro
3397 * manual/filesys.texi: Likewise.
3398 (getumask): Document as specific to GNU/Hurd.
3399 * manual/install.texi: Likewise. Reword some references to
3401 * manual/intro.texi: Likewise.
3402 * manual/io.texi: Likewise.
3403 (File Name Portability): Detail which constraints are inapplicable
3404 to all GNU systems and which are only inapplicable to GNU/Hurd.
3405 * manual/job.texi: Likewise.
3406 * manual/llio.texi: Likewise.
3407 (O_NOCTTY): Document as present on GNU/Linux.
3408 * manual/maint.texi: Likewise.
3409 * manual/memory.texi: Likewise.
3410 * manual/pattern.texi: Likewise.
3411 * manual/pipe.texi: Likewise.
3412 * manual/process.texi: Likewise.
3413 * manual/resource.texi: Likewise.
3414 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3416 * manual/setjmp.texi: Likewise.
3417 * manual/signal.texi: Likewise.
3418 * manual/startup.texi: Likewise.
3419 * manual/stdio.texi: Likewise.
3420 * manual/terminal.texi: Likewise.
3421 (ONLCR): Document as POSIX.
3422 (OXTABS): Document availability on GNU/Linux as XTABS.
3423 (ONOEOT): Document availability separately from other bits.
3424 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3425 * manual/time.texi: Likewise.
3426 * manual/users.texi: Likewise.
3427 * INSTALL: Regenerated.
3428 * sysdeps/gnu/errlist.c: Regenerated.
3430 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3431 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3432 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3434 * configure: Regenerated.
3436 2012-03-07 Joseph Myers <joseph@codesourcery.com>
3438 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3439 default includes instead of AC_HEADER_CHECK.
3440 * sysdeps/i386/configure: Regenerated.
3443 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3444 * math/s_cacoshf.c (__cacoshf): Likewise.
3445 * math/s_cacoshl.c (__cacoshl): Likewise.
3446 * math/s_casinh.c (__casinh): Set signs of result from argument.
3447 * math/s_casinhf.c (__casinhf): Likewise.
3448 * math/s_casinhl.c (__casinhl): Likewise.
3449 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3450 (casinh_test): Add more tests.
3451 * sysdeps/i386/fpu/libm-test-ulps: Update.
3452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3454 2012-03-07 Ulrich Drepper <drepper@gmail.com>
3456 * po/zh_TW.po: Update from translation team.
3458 * login/Makefile (distribute): Remove variable.
3459 * catgets/Makefile: Likewise.
3460 * mach/Makefile: Likewise.
3461 * malloc/Makefile: Likewise.
3462 * misc/Makefile: Likewise.
3463 * iconv/Makefile: Likewise.
3464 * nscd/Makefile: Likewise.
3465 * hurd/Makefile: Likewise.
3466 * manual/Makefile: Likewise.
3467 * locale/Makefile: Likewise.
3468 * intl/Makefile: Likewise.
3469 * conform/Makefile: Likewise.
3470 * nss/Makefile: Likewise.
3471 * time/Makefile: Likewise.
3472 * soft-fp/Makefile: Likewise.
3473 * dirent/Makefile: Likewise.
3474 * gmon/Makefile: Likewise.
3475 * po/Makefile: Likewise.
3476 * rt/Makefile: Likewise.
3477 * socket/Makefile: Likewise.
3478 * math/Makefile: Likewise.
3479 * signal/Makefile: Likewise.
3480 * debug/Makefile: Likewise.
3481 * elf/Makefile: Likewise.
3482 * timezone/Makefile: Likewise.
3483 * stdlib/Makefile: Likewise.
3484 * iconvdata/Makefile: Likewise.
3485 * sunrpc/Makefile: Likewise.
3486 * io/Makefile: Likewise.
3487 * argp/Makefile: Likewise.
3488 * inet/Makefile: Likewise.
3489 * hesiod/Makefile: Likewise.
3490 * grp/Makefile: Likewise.
3491 * csu/Makefile: Likewise.
3492 * wctype/Makefile: Likewise.
3493 * crypt/Makefile: Likewise.
3494 * libio/Makefile: Likewise.
3495 * string/Makefile: Likewise.
3496 * nis/Makefile: Likewise.
3497 * resolv/Makefile: Likewise.
3498 * stdio-common/Makefile: Likewise.
3499 * wcsmbs/Makefile: Likewise.
3500 * dlfcn/Makefile: Likewise.
3501 * posix/Makefile: Likewise.
3504 * timezone/Makefile: Don't install timezone files, just the programs
3507 2012-03-06 Ulrich Drepper <drepper@gmail.com>
3509 * nss/databases.def: Add missing gshadow entry.
3511 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3513 2012-03-06 Marek Polacek <polacek@redhat.com>
3516 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3517 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3518 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3519 * stdio-common/tst-long-dbl-fphex.c: New file.
3521 2012-03-06 David S. Miller <davem@davemloft.net>
3523 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3524 (set_obp_int): New function.
3525 (get_obp_int): New function.
3526 (__get_clockfreq_via_dev_openprom): Likewise.
3527 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3528 Avoid unused variable warnings on 'val' and use builtin_expect.
3529 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3531 (INLINE_CLONE_SYSCALL): Likewise.
3533 2012-03-05 David S. Miller <davem@davemloft.net>
3535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3537 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3541 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3545 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
3547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3548 Replace gettimeofday with __vdso_gettimeofday.
3550 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3551 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3552 __vdso_clock_gettime and __vdso_getcpu.
3554 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3555 time with __vdso_time.
3557 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3559 * manual/lang.texi (size_t): Note types to which size_t may be
3560 equivalent with the GNU C Library, but do not describe when
3561 differences between them are significant.
3563 2012-03-05 Andreas Jaeger <aj@suse.de>
3565 * sysdeps/i386/fpu/libm-test-ulps: Update.
3567 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3570 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3571 (__ieee754_pow): Save and restore rounding mode and use
3572 round-to-nearest for main computations.
3573 * math/libm-test.inc (pow_test_tonearest): New function.
3574 (pow_test_towardzero): Likewise.
3575 (pow_test_downward): Likewise.
3576 (pow_test_upward): Likewise.
3577 (main): Call the new functions.
3578 * sysdeps/i386/fpu/libm-test-ulps: Update.
3579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3582 * math/libm-test.inc (cosh_test_tonearest): New function.
3583 (cosh_test_towardzero): Likewise.
3584 (cosh_test_downward): Likewise.
3585 (cosh_test_upward): Likewise.
3586 (sinh_test_tonearest): Likewise.
3587 (sinh_test_towardzero): Likewise.
3588 (sinh_test_downward): Likewise.
3589 (sinh_test_upward): Likewise.
3590 (main): Call the new functions.
3591 * sysdeps/i386/fpu/libm-test-ulps: Update.
3592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3594 2012-03-05 Tom de Vries <tom@codesourcery.com>
3596 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3597 default stack guard is set in last bytes.
3598 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3600 2012-03-05 Kees Cook <keescook@chromium.org>
3602 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3605 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3606 possibly allocate from heap instead of stack.
3607 * stdio-common/bug-vfprintf-nargs.c: New file.
3608 * stdio-common/Makefile (tests): Add nargs overflow test.
3610 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3614 2012-03-03 Marek Polacek <polacek@redhat.com>
3616 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3617 * math/math_private.h: Likewise.
3618 * stdlib/tst-strtod.c: Likewise.
3619 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3620 * sysdeps/x86_64/bits/atomic.h: Likewise.
3622 2012-03-02 David S. Miller <davem@davemloft.net>
3624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3628 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3629 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3630 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3631 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3633 2012-03-02 Roland McGrath <roland@hack.frob.com>
3636 * manual/examples/README: New file, says the example source files
3637 can be used under GPL>=2.
3638 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3639 line containing just "*/".
3640 * manual/examples/add.c: Add copyright header (GPL>=2).
3641 * manual/examples/argp-ex1.c: Likewise.
3642 * manual/examples/argp-ex2.c: Likewise.
3643 * manual/examples/argp-ex3.c: Likewise.
3644 * manual/examples/argp-ex4.c: Likewise.
3645 * manual/examples/atexit.c: Likewise.
3646 * manual/examples/db.c: Likewise.
3647 * manual/examples/dir.c: Likewise.
3648 * manual/examples/dir2.c: Likewise.
3649 * manual/examples/execinfo.c: Likewise.
3650 * manual/examples/filecli.c: Likewise.
3651 * manual/examples/filesrv.c: Likewise.
3652 * manual/examples/fmtmsgexpl.c: Likewise.
3653 * manual/examples/genpass.c: Likewise.
3654 * manual/examples/inetcli.c: Likewise.
3655 * manual/examples/inetsrv.c: Likewise.
3656 * manual/examples/isockad.c: Likewise.
3657 * manual/examples/longopt.c: Likewise.
3658 * manual/examples/memopen.c: Likewise.
3659 * manual/examples/memstrm.c: Likewise.
3660 * manual/examples/mkfsock.c: Likewise.
3661 * manual/examples/mkisock.c: Likewise.
3662 * manual/examples/mygetpass.c: Likewise.
3663 * manual/examples/pipe.c: Likewise.
3664 * manual/examples/popen.c: Likewise.
3665 * manual/examples/rprintf.c: Likewise.
3666 * manual/examples/search.c: Likewise.
3667 * manual/examples/select.c: Likewise.
3668 * manual/examples/setjmp.c: Likewise.
3669 * manual/examples/sigh1.c: Likewise.
3670 * manual/examples/sigusr.c: Likewise.
3671 * manual/examples/stpcpy.c: Likewise.
3672 * manual/examples/strdupa.c: Likewise.
3673 * manual/examples/strftim.c: Likewise.
3674 * manual/examples/strncat.c: Likewise.
3675 * manual/examples/subopt.c: Likewise.
3676 * manual/examples/swapcontext.c: Likewise.
3677 * manual/examples/termios.c: Likewise.
3678 * manual/examples/testopt.c: Likewise.
3679 * manual/examples/testpass.c: Likewise.
3680 * manual/examples/timeval_subtract.c: Likewise.
3683 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3685 * manual/timeval_subtract.c.texi: ... here, new file.
3687 2012-03-02 David S. Miller <davem@davemloft.net>
3689 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3691 2012-03-02 Joseph Myers <joseph@codesourcery.com>
3694 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3695 (__sin): Save and restore rounding mode and use round-to-nearest
3696 for all computations.
3697 (__cos): Save and restore rounding mode and use round-to-nearest
3698 for all computations.
3699 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3701 (tan): Save and restore rounding mode and use round-to-nearest for
3703 * math/libm-test.inc (cos_test_tonearest): New function.
3704 (cos_test_towardzero): Likewise.
3705 (cos_test_downward): Likewise.
3706 (cos_test_upward): Likewise.
3707 (sin_test_tonearest): Likewise.
3708 (sin_test_towardzero): Likewise.
3709 (sin_test_downward): Likewise.
3710 (sin_test_upward): Likewise.
3711 (tan_test_tonearest): Likewise.
3712 (tan_test_towardzero): Likewise.
3713 (tan_test_downward): Likewise.
3714 (tan_test_upward): Likewise.
3715 (main): Call the new functions.
3716 * sysdeps/i386/fpu/libm-test-ulps: Update.
3717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3720 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3721 small n, then large n, before computing and testing k+n.
3722 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3725 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3727 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3728 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3729 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3730 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3731 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3732 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3733 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3734 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3735 * math/libm-test.inc (scalbn_test): Add more tests.
3736 (scalbln_test): Likewise.
3738 * manual/filesys.texi (mode_t): Describe constraints on size and
3739 signedness, not exact equivalence to a particular type.
3741 (ino64_t): Likewise.
3743 (nlink_t): Likewise.
3744 (blkcnt_t): Likewise.
3745 (blkcnt64_t): Likewise.
3746 * manual/llio.texi (off_t): Likewise.
3749 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3750 (__ieee754_exp): Save and restore rounding mode and use
3751 round-to-nearest for all computations.
3752 * math/libm-test.inc (exp_test_tonearest): New function.
3753 (exp_test_towardzero): Likewise.
3754 (exp_test_downward): Likewise.
3755 (exp_test_upward): Likewise.
3756 (main): Call the new functions.
3757 * sysdeps/i386/fpu/libm-test-ulps: Update.
3758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3760 2012-03-01 Chris Demetriou <cgd@google.com>
3762 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3763 have predictable order.
3765 2012-03-01 David S. Miller <davem@davemloft.net>
3767 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3769 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3770 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3771 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3772 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3774 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3775 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3776 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3778 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3779 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3780 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3781 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3782 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3786 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3787 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3788 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3790 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3791 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3792 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3793 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3794 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3795 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3796 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3797 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3798 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3799 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3800 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3801 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3802 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3803 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3804 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3805 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3806 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3807 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3808 * sysdeps/sparc/elf/configure: Regenerated.
3810 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3812 * configure.in (AS, LD): Require binutils 2.20 or later.
3813 * configure: Regenerated.
3814 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3815 as required minimum version.
3816 * INSTALL: Regenerated.
3820 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3821 before squaring exponent.
3822 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3823 bottom long double and 27 bits of top long double before squaring
3825 * math/libm-test.inc (erfc_test): Add more tests.
3826 * sysdeps/i386/fpu/libm-test-ulps: Update.
3827 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3830 2012-03-01 Kai Tietz <ktietz@redhat.com>
3832 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3833 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3834 containing bit-fields.
3835 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3836 * soft-fp/single.h (_FP_UNION_S): Likewise.
3837 * soft-fp/double.h (_FP_UNION_D): Likewise.
3839 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3842 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3843 not include ../strcmp.S.
3844 [USE_AS_STRNCASECMP_L]: Likewise.
3845 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3846 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3847 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3848 (__strncasecmp_l_ia32): Define as alias to
3849 __strncasecmp_l_nonascii.
3852 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3853 * sysdeps/i386/fpu/libm-test-ulps: Update.
3854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3856 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3859 2012-02-29 Jeff Law <law@redhat.com>
3861 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3864 2012-02-29 Marek Polacek <polacek@redhat.com>
3867 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3868 * elf/Makefile: Add rules to run tst-unused-dep.out.
3870 2012-02-28 David S. Miller <davem@davemloft.net>
3872 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3873 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3874 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3875 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3876 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3877 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3879 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3881 * math/libm-test.inc (llround_test): Move one test from
3882 lround_test. Use TEST_f_L in moved test.
3883 (lround_test): Move misplaced test to llround_test. Add testcase
3886 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3888 * sysdeps/x86_64/fpu/e_expf.S: New file.
3889 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3891 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3894 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3895 of remain_len that may cause incomplete multi-byte character and
3897 * posix/bug-regex33.c: New file.
3898 * posix/Makefile (tests): Add bug-regex33.
3900 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3902 * manual/macros.texi: New file.
3903 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3904 * manual/libc.texinfo: Include macros.texi.
3905 * manual/creatute.texi: Likewise.
3906 * manual/install.texi: Likewise.
3907 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3908 @glibcadj{} in references to the GNU C Library.
3909 * manual/charset.texi: Likewise.
3910 * manual/conf.texi: Likewise.
3911 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3912 when not using those macros.
3913 * manual/creature.texi: Likewise.
3914 * manual/crypt.texi: Likewise.
3915 * manual/errno.texi: Likewise.
3916 * manual/filesys.texi: Likewise.
3917 * manual/header.texi: Likewise.
3918 * manual/install.texi: Likewise.
3919 * manual/intro.texi: Likewise.
3920 * manual/io.texi: Likewise.
3921 * manual/job.texi: Likewise.
3922 * manual/lang.texi: Likewise.
3923 * manual/libc.texiinfo: Likewise.
3924 * manual/llio.texi: Likewise.
3925 * manual/locale.texi: Likewise.
3926 * manual/maint.texi: Likewise.
3927 * manual/math.texi: Likewise.
3928 * manual/memory.texi: Likewise.
3929 * manual/message.texi: Likewise.
3930 * manual/nss.texi: Likewise.
3931 * manual/pattern.texi: Likewise.
3932 * manual/process.texi: Likewise.
3933 * manual/resource.texi: Likewise.
3934 * manual/search.texi: Likewise.
3935 * manual/setjmp.texi: Likewise.
3936 * manual/signal.texi: Likewise.
3937 * manual/socket.texi: Likewise.
3938 * manual/startup.texi: Likewise.
3939 * manual/stdio.texi: Likewise.
3940 * manual/string.texi: Likewise.
3941 * manual/sysinfo.texi: Likewise.
3942 * manual/syslog.texi: Likewise.
3943 * manual/terminal.texi: Likewise.
3944 * manual/time.texi: Likewise.
3945 * manual/users.texi: Likewise.
3946 * INSTALL: Regenerated.
3947 * NOTES: Regenerated.
3948 * sysdeps/gnu/errlist.c: Regenerated.
3950 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3952 * include/dirent.h: Include <dirstream.h> before
3955 2012-02-28 David S. Miller <davem@davemloft.net>
3957 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3958 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3959 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3960 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3962 2012-02-27 David S. Miller <davem@davemloft.net>
3964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3966 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3967 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3970 frame pointer instead of stack pointer relative arg slot.
3971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3972 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3973 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3975 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3978 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3980 2012-02-27 David S. Miller <davem@davemloft.net>
3982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3986 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3987 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3988 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3989 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3991 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3993 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3994 later. Allow versions 5-9.
3995 * configure: Regenerated.
3996 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3997 required minimum version and 4.6 as recommended version. Do not
3998 mention bugs in GCC 2.7 and 2.8.
3999 * INSTALL: Regenerated.
4001 2012-02-27 David S. Miller <davem@davemloft.net>
4003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4007 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4008 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4009 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4010 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4012 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4013 manipulate bits before adding and subtracting TWO112[sx].
4014 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4016 2012-02-27 Roland McGrath <roland@hack.frob.com>
4019 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4020 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4021 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4022 being in POSIX, because they are in 1003.1-2008.
4024 * rt/tst-aio.c: Include <fcntl.h>.
4025 * rt/tst-aio7.c: Likewise.
4026 * rt/tst-aio64.c: Likewise.
4028 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4030 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4032 * manual/install.texi (--with-headers): Describe headers as
4033 interface headers, not private headers.
4034 (Specific advice for GNU/Linux systems): Describe use of headers
4035 from "make headers_install", not private headers from older
4037 * INSTALL: Regenerated.
4038 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4040 * sysdeps/unix/sysv/linux/configure: Regenerated.
4042 * manual/llio.texi (fclean): Remove documentation.
4044 * manual/Makefile (libc-texi-generated): New variable. Include
4046 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4047 $(libc-texi-generated), not duplicated list of files.
4048 (version.texi, stamp-version): New rules.
4049 (realclean): Remove $(libc-texi-generated), not individual files
4050 from that list. Do not remove dir-add.texinfo.
4051 * manual/libc.texinfo: Comment out uses of edition numbers and
4052 references to printed manual. Remove last-updated dates.
4053 (EDITION): Comment out.
4055 (VERSION, UPDATED): Remove.
4056 (version.texi): Include.
4058 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4060 * sysdeps/posix/spawni.c: Include <signal.h>.
4061 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4062 * sysdeps/pthread/aio_fsync.c: Likewise.
4064 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4066 * conform/Makefile (tests): Run only when not cross-compiling and
4067 when fast-check is not defined.
4069 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4070 * conform/data/limits.h-data: Fixes for POSIX2008.
4071 * conform/run-conformtest.sh: Run all tests.
4072 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4074 * include/bits/dlfcn.h: Likewise.
4075 * include/langinfo.h: Likewise.
4076 * include/monetary.h: Likewise.
4077 * include/sys/poll.h: Likewise.
4079 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4081 * posix/spawn.h: Define __need_sigset_t.
4082 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4083 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4084 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4085 to get sigevent_t only.
4086 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4088 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4089 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4090 process_vm_writev only for __USE_GNU.
4091 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4093 * conform/Makefile: For now ignore errors from run-conformtest.
4094 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4095 POSIX to avoid namespace pollution. Don't prepend headers.
4096 * conform/data/aio.h-data: Fixes for POSIX testing.
4097 * conform/data/fcntl.h-data: Likewise.
4098 * conform/data/glob.h-data: Likewise.
4099 * conform/data/grp.h-data: Likewise.
4100 * conform/data/pthread.h-data: Likewise.
4101 * conform/data/pwd.h-data: Likewise.
4102 * conform/data/signal.h-data: Likewise.
4103 * conform/data/spawn.h-data: Likewise.
4104 * conform/data/stdio.h-data: Likewise.
4105 * conform/data/stdlib.h-data: Likewise.
4106 * conform/data/stropts.h-data: Likewise.
4107 * conform/data/sys/mman.h-data: Likewise.
4108 * conform/data/sys/stat.h-data: Likewise.
4109 * conform/data/sys/types.h-data: Likewise.
4110 * conform/data/sys/wait.h-data: Likewise.
4111 * conform/data/time.h-data: Likewise.
4112 * conform/data/unistd.h-data: Likewise.
4113 * conform/data/utime.h-data: Likewise.
4115 * io/sys/stat.h: fchmod was always in POSIX.
4116 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4117 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4118 * rt/aio.h: Define __need_timespec before including <time.h>.
4119 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4120 struct. Add forward declaration of pthread_attr_t and use it in
4122 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4123 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4124 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4125 always remove CLK_TCK definition.
4127 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4129 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4131 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4133 * conform/run-conformtest.sh: New file.
4134 * conform/Makefile: Run run-conformtest for tests.
4135 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4138 * conform/data/uchar.h-data: New file.
4139 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4140 * conform/data/arpa/inet.h-data: Likewise.
4141 * conform/data/assert.h-data: Likewise.
4142 * conform/data/complex.h-data: Likewise.
4143 * conform/data/cpio.h-data: Likewise.
4144 * conform/data/ctype.h-data: Likewise.
4145 * conform/data/dirent.h-data: Likewise.
4146 * conform/data/dlfcn.h-data: Likewise.
4147 * conform/data/errno.h-data: Likewise.
4148 * conform/data/fcntl.h-data: Likewise.
4149 * conform/data/float.h-data: Likewise.
4150 * conform/data/fmtmsg.h-data: Likewise.
4151 * conform/data/fnmatch.h-data: Likewise.
4152 * conform/data/ftw.h-data: Likewise.
4153 * conform/data/glob.h-data: Likewise.
4154 * conform/data/grp.h-data: Likewise.
4155 * conform/data/iconv.h-data: Likewise.
4156 * conform/data/inttypes.h-data: Likewise.
4157 * conform/data/langinfo.h-data: Likewise.
4158 * conform/data/libgen.h-data: Likewise.
4159 * conform/data/limits.h-data: Likewise.
4160 * conform/data/locale.h-data: Likewise.
4161 * conform/data/math.h-data: Likewise.
4162 * conform/data/monetary.h-data: Likewise.
4163 * conform/data/mqueue.h-data: Likewise.
4164 * conform/data/ndbm.h-data: Likewise.
4165 * conform/data/net/if.h-data: Likewise.
4166 * conform/data/netdb.h-data: Likewise.
4167 * conform/data/netinet/in.h-data: Likewise.
4168 * conform/data/nl_types.h-data: Likewise.
4169 * conform/data/poll.h-data: Likewise.
4170 * conform/data/pthread.h-data: Likewise.
4171 * conform/data/pwd.h-data: Likewise.
4172 * conform/data/regex.h-data: Likewise.
4173 * conform/data/sched.h-data: Likewise.
4174 * conform/data/search.h-data: Likewise.
4175 * conform/data/semaphore.h-data: Likewise.
4176 * conform/data/setjmp.h-data: Likewise.
4177 * conform/data/signal.h-data: Likewise.
4178 * conform/data/spawn.h-data: Likewise.
4179 * conform/data/stdarg.h-data: Likewise.
4180 * conform/data/stdio.h-data: Likewise.
4181 * conform/data/stdlib.h-data: Likewise.
4182 * conform/data/string.h-data: Likewise.
4183 * conform/data/strings.h-data: Likewise.
4184 * conform/data/stropts.h-data: Likewise.
4185 * conform/data/sys/ipc.h-data: Likewise.
4186 * conform/data/sys/mman.h-data: Likewise.
4187 * conform/data/sys/msg.h-data: Likewise.
4188 * conform/data/sys/resource.h-data: Likewise.
4189 * conform/data/sys/select.h-data: Likewise.
4190 * conform/data/sys/sem.h-data: Likewise.
4191 * conform/data/sys/shm.h-data: Likewise.
4192 * conform/data/sys/socket.h-data: Likewise.
4193 * conform/data/sys/stat.h-data: Likewise.
4194 * conform/data/sys/statvfs.h-data: Likewise.
4195 * conform/data/sys/time.h-data: Likewise.
4196 * conform/data/sys/timeb.h-data: Likewise.
4197 * conform/data/sys/times.h-data: Likewise.
4198 * conform/data/sys/types.h-data: Likewise.
4199 * conform/data/sys/uio.h-data: Likewise.
4200 * conform/data/sys/un.h-data: Likewise.
4201 * conform/data/sys/utsname.h-data: Likewise.
4202 * conform/data/sys/wait.h-data: Likewise.
4203 * conform/data/syslog.h-data: Likewise.
4204 * conform/data/tar.h-data: Likewise.
4205 * conform/data/termios.h-data: Likewise.
4206 * conform/data/utime.h-data: Likewise.
4207 * conform/data/utmpx.h-data: Likewise.
4208 * conform/data/varargs.h-data: Likewise.
4209 * conform/data/wchar.h-data: Likewise.
4210 * conform/data/wctype.h-data: Likewise.
4211 * conform/data/wordexp.h-data: Likewise.
4213 * include/stropts.h: New file.
4214 * include/uchar.h: New file.
4215 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4216 * include/assert.h: Likewise.
4217 * include/ctype.h: Likewise.
4218 * include/dirent.h: Likewise.
4219 * include/dlfcn.h: Likewise.
4220 * include/fcntl.h: Likewise.
4221 * include/fnmatch.h: Likewise.
4222 * include/glob.h: Likewise.
4223 * include/grp.h: Likewise.
4224 * include/libio.h: Likewise.
4225 * include/locale.h: Likewise.
4226 * include/math.h: Likewise.
4227 * include/net/if.h: Likewise.
4228 * include/netdb.h: Likewise.
4229 * include/netinet/in.h: Likewise.
4230 * include/pthread.h: Likewise.
4231 * include/pwd.h: Likewise.
4232 * include/regex.h: Likewise.
4233 * include/sched.h: Likewise.
4234 * include/search.h: Likewise.
4235 * include/setjmp.h: Likewise.
4236 * include/signal.h: Likewise.
4237 * include/stdio.h: Likewise.
4238 * include/stdlib.h: Likewise.
4239 * include/string.h: Likewise.
4240 * include/sys/cdefs.h: Likewise.
4241 * include/sys/mman.h: Likewise.
4242 * include/sys/msg.h: Likewise.
4243 * include/sys/resource.h: Likewise.
4244 * include/sys/select.h: Likewise.
4245 * include/sys/socket.h: Likewise.
4246 * include/sys/stat.h: Likewise.
4247 * include/sys/statvfs.h: Likewise.
4248 * include/sys/time.h: Likewise.
4249 * include/sys/times.h: Likewise.
4250 * include/sys/uio.h: Likewise.
4251 * include/sys/utsname.h: Likewise.
4252 * include/sys/wait.h: Likewise.
4253 * include/termios.h: Likewise.
4254 * include/time.h: Likewise.
4255 * include/ulimit.h: Likewise.
4256 * include/unistd.h: Likewise.
4257 * include/utime.h: Likewise.
4258 * include/wchar.h: Likewise.
4259 * include/wctype.h: Likewise.
4260 * include/wordexp.h: Likewise.
4262 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4264 * time/time.h: TIME_UTC must be a macro.
4265 Make timespec_get available for ISO C11 only as well.
4267 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4269 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4270 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4272 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4274 * configure.in: Use -o not -a in test for unsupported multi-arch.
4276 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4278 * manual/texinfo.tex: Update to version 2012-01-19.16.
4280 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4282 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4284 2012-02-24 Roland McGrath <roland@hack.frob.com>
4287 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4288 * manual/fdl-1.3.texi: New file.
4289 * manual/fdl-1.1.texi: File removed.
4292 * manual/libc.texinfo (FDL_VERSION): New @set.
4293 Use it for mention of FDL in cover text.
4294 (Documentation License): Use it in @include file name.
4296 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4297 Roland McGrath <roland@hack.frob.com>
4300 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4301 not LONG_LONG_MAX and LONG_LONG_MIN.
4302 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4303 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4305 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4307 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4311 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4312 manipulate bits before adding and subtracting TWO23[sx].
4313 * math/libm-test.inc (nearbyint_test): Add more tests.
4315 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4318 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4319 bits before adding and subtracting TWO23[sx].
4320 * math/libm-test.inc (rint_test): Add more tests.
4321 (rint_test_tonearest): Likewise.
4322 (rint_test_towardzero): Likewise.
4323 (rint_test_downward): Likewise.
4324 (rint_test_upward: Likewise.
4326 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4329 * include/stdc-predef.h: New file. Extracted from features.h.
4330 * include/features.h: Include stdc-predef.h.
4331 * Makefile (headers): Add stdc-predef.h.
4332 * CONFORMANCE (Compiler limitations): Update.
4334 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4336 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4338 2012-02-21 David S. Miller <davem@davemloft.net>
4340 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4341 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4343 2012-02-20 David S. Miller <davem@davemloft.net>
4345 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4346 using a normal save/restore sequence, rather than allocating a
4347 dummy stack frame just to store a frame pointer and restore.
4348 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4350 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4352 * manual/install.texi: Fix stray word in line-wrapped comment.
4354 2012-02-20 David S. Miller <davem@davemloft.net>
4356 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4357 both binutils and gcc support GOTDATA.
4359 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4360 "rd %pc" in the PIC register setup sequences.
4362 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4363 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4364 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4365 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4366 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4367 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4368 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4369 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4370 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4371 (SYSCALL_ERROR_HANDLER): Likewise.
4372 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4373 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4374 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4375 (SYSCALL_ERROR_HANDLER): Likewise.
4377 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4378 (HAVE_GCC_GOTDATA): New.
4379 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4380 relocation support in both binutils and gcc.
4381 * sysdeps/sparc/elf/configure: Regenerate.
4383 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4384 * sysdeps/sparc/sparc32/elf/configure: Delete.
4385 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4386 * sysdeps/sparc/sparc64/elf/configure: Delete.
4387 * sysdeps/sparc/elf/configure.in: New file.
4388 * sysdeps/sparc/elf/configure: Generate.
4390 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4391 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4392 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4393 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4394 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4396 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4398 * manual/install.texi: Do not mention specific glibc version
4400 * manual/libc.texinfo (VERSION, UPDATED): Update.
4401 (@copying): Use @copyright{} and range of years.
4403 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4406 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4407 [crti.S not in sysdirs] (generated): Do not append.
4408 [crti.S not in sysdirs] (omit-deps): Likewise.
4409 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4410 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4411 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4412 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4413 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4415 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4416 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4417 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4418 * csu/defs.awk: Remove file.
4419 * sysdeps/generic/initfini.c: Likewise.
4420 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4422 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4425 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4427 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4428 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4429 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4430 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4431 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4432 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4434 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4435 (__EPOLL_PACKED): Define to empty if not defined by
4437 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4441 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4443 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4444 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4445 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4446 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4448 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4452 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4454 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4456 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4457 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4458 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4461 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4463 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4464 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4466 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4468 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4469 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4471 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4473 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4476 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4478 * math/w_acos.c: Use non-signaling floating-point comparisons.
4479 * math/w_acosf.c: Likewise.
4480 * math/w_acosh.c: Likewise.
4481 * math/w_acoshf.c: Likewise.
4482 * math/w_acoshl.c: Likewise.
4483 * math/w_acosl.c: Likewise.
4484 * math/w_asin.c: Likewise.
4485 * math/w_asinf.c: Likewise.
4486 * math/w_asinl.c: Likewise.
4487 * math/w_atanh.c: Likewise.
4488 * math/w_atanhf.c: Likewise.
4489 * math/w_atanhl.c: Likewise.
4490 * math/w_exp2.c: Likewise.
4491 * math/w_exp2f.c: Likewise.
4492 * math/w_exp2l.c: Likewise.
4493 * math/w_j0.c: Likewise.
4494 * math/w_j0f.c: Likewise.
4495 * math/w_j0l.c: Likewise.
4496 * math/w_j1.c: Likewise.
4497 * math/w_j1f.c: Likewise.
4498 * math/w_j1l.c: Likewise.
4499 * math/w_jn.c: Likewise.
4500 * math/w_jnf.c: Likewise.
4501 * math/w_log.c: Likewise.
4502 * math/w_log10.c: Likewise.
4503 * math/w_log10f.c: Likewise.
4504 * math/w_log10l.c: Likewise.
4505 * math/w_log2.c: Likewise.
4506 * math/w_log2f.c: Likewise.
4507 * math/w_log2l.c: Likewise.
4508 * math/w_logf.c: Likewise.
4509 * math/w_logl.c: Likewise.
4510 * math/w_sqrt.c: Likewise.
4511 * math/w_sqrtf.c: Likewise.
4512 * math/w_sqrtl.c: Likewise.
4513 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4514 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4515 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4516 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4517 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4519 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4522 * manual/string.texi (strnlen): Use correct parameter name in
4523 equivalent expression.
4525 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4528 * manual/users.texi (seteuid): Consistently use neweuid for
4531 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4534 * manual/nss.texi (Services in the NSS configuration): Correct
4535 list of services in example configuration file.
4537 2012-02-19 Nick Bowler <nbowler@draconx.ca>
4540 * manual/arith.texi: Remove statements about negative zero
4541 behaving identically to zero.
4543 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4546 * manual/install.texi: Do not document upgrading from libc5.
4548 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4551 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4553 2012-02-18 David S. Miller <davem@davemloft.net>
4555 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4556 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4557 %o7 across the call.
4558 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4560 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4563 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4564 * sysdeps/sparc/crtn.S: Likewise.
4566 2012-02-17 Ulrich Drepper <drepper@gmail.com>
4568 * aout/Makefile: Remove.
4570 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4573 * manual/examples/argp-ex1.c (main): Format definition in GNU
4575 * manual/examples/argp-ex2.c (main): Likewise.
4576 * manual/examples/argp-ex3.c (main): Likewise.
4577 * manual/examples/argp-ex4.c (main): Likewise.
4578 * manual/examples/longopt.c (main): Use new-style prototype
4580 * manual/examples/strncat.c (main): Specify return type and use
4581 (void) for arguments.
4582 * manual/examples/subopt.c (main): Use char **argv argument.
4584 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4587 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4590 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4593 * manual/string.texi (strchr): Change when strchrnul is
4596 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4599 * manual/locale.texi (setlocale): Document LOCPATH.
4601 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4604 * manual/process.texi (execle): Move @dots{} before last argument.
4606 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
4609 * manual/charset.texi (Generic Charset Conversion): Fix typo
4610 (LC_TYPE -> LC_CTYPE).
4612 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4615 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4616 (scalbnf): Likewise.
4617 (scalbnl): Likewise.
4618 (scalbln): Likewise.
4619 (scalblnf): Likewise.
4620 (scalblnl): Likewise.
4621 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4625 * manual/filesys.texi (telldir): Use braces around return type.
4626 * manual/llio.texi (mmap): Add space after comma.
4628 * manual/math.texi (jn): Use @var{} on parameter names.
4634 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4636 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4638 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4639 (sched_get_priority_max): Likewise.
4640 * manual/signal.texi (sigvec): Add space after comma.
4641 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4643 (if_indextoname): Likewise.
4644 (if_freenameindex): Likewise.
4645 (sendto): Use ',' instead of '.' in prototype.
4646 * manual/startup.texi (syscall): Use @dots{} instead of literal
4648 * manual/stdio.texi (__fpending): Separate initial words of
4649 paragraph from @deftypefun line.
4650 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4652 (vsyslog): Use @var{} on parameter names.
4653 * manual/terminal.texi (stty): Use @var{} on parameter names.
4654 * manual/users.texi (getutmp): Use @var{} on parameter names.
4655 (getutmpx): Likewise.
4657 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4660 * manual/stdio.texi (fopen): Fix typos in description of
4663 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4666 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4667 get clock_id definition.
4669 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
4672 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4673 (madvise): Cast every argument to void on its own.
4675 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4678 * manual/startup.texi (Exit Status): Fix typo.
4680 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4683 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4684 * manual/examples/argp-ex2.c: Likewise.
4685 * manual/examples/argp-ex3.c: Likewise.
4687 2012-02-16 Richard Henderson <rth@redhat.com>
4689 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4690 * sysdeps/s390/s390-32/initfini.c: Remove.
4691 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4692 * sysdeps/s390/s390-64/initfini.c: Remove.
4694 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4696 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4697 compiler output for sysdeps/generic/initfini.c.
4698 * sysdeps/sh/elf/initfini.c: Remove file.
4700 2012-02-16 David S. Miller <davem@davemloft.net>
4703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4705 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4706 * sysdeps/sparc/crti.S: New file.
4707 * sysdeps/sparc/crtn.S: New file.
4708 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4709 * sysdeps/sparc/sparc64/Makefile: Likewise.
4711 2012-02-15 Mike Frysinger <vapier@gentoo.org>
4714 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4716 2012-02-15 Roland McGrath <roland@hack.frob.com>
4719 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4721 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4722 (write, read, close): Likewise.
4723 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4725 2012-02-15 Joseph Myers <joseph@codesourcery.com>
4727 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4728 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4729 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4730 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4732 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4736 2012-02-14 Marek Polacek <polacek@redhat.com>
4738 * sysdeps/x86_64/crti.S: New file.
4739 * sysdeps/x86_64/crtn.S: New file.
4740 * sysdeps/x86_64/elf/initfini.c: Remove file.
4742 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4744 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4745 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4746 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4747 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4749 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4753 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4755 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4756 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4757 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4758 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4760 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4764 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4766 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4767 __feraiseexcept instead of feraiseexcept.
4769 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4770 nanosleep invocations.
4771 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4772 strings, and add error checking for a nanosleep invocations.
4774 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4776 Replace FSF snail mail address with URLs, as per GNU coding standards.
4777 Most of the snail mail addresses were wrong anyway, and omitting
4778 them makes the source code easier to maintain. Almost all of the
4779 changes are to license notices and to locale LC_IDENTIFICATION
4780 addresses, except for this one:
4781 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4782 not its snail mail address.
4784 2012-02-09 Richard Henderson <rth@twiddle.net>
4786 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4787 of kernel-features.h.
4789 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4791 2012-02-08 Marek Polacek <polacek@redhat.com>
4793 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4794 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4795 * sysdeps/gnu/_G_config.h: Likewise.
4796 * sysdeps/generic/_G_config.h: Likewise.
4798 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4800 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4804 * sysdeps/powerpc/powerpc32/crti.S: New file.
4805 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4806 * sysdeps/powerpc/powerpc64/crti.S: New file.
4807 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4809 * Makeconfig (have-initfini): Don't set.
4810 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4811 * configure.in (nopic_initfini): Don't substitute.
4812 * config.h.in (HAVE_INITFINI): Don't #undef.
4813 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4814 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4816 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4818 Support crti.S and crtn.S provided directly by architectures.
4819 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4820 [crti.S in sysdirs] (omit-deps): Likewise.
4821 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4822 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4823 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4824 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4825 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4826 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4827 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4828 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4829 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4830 compiler output for sysdeps/generic/initfini.c.
4831 * sysdeps/i386/elf/Makefile: Remove file.
4832 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4834 2012-02-07 Marek Polacek <polacek@redhat.com>
4836 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4837 * sysdeps/gnu/_G_config.h: Likewise.
4838 * sysdeps/mach/hurd/_G_config.h: Likewise.
4840 2012-02-07 Marek Polacek <polacek@redhat.com>
4842 * math/Makefile (tests): Add tst-CMPLX2.
4843 * math/tst-CMPLX2.c: New file.
4845 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4847 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4849 * math/libm-test.inc (jn_test): Add missing L suffix.
4851 2012-02-06 Marek Polacek <polacek@redhat.com>
4853 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4854 * sysdeps/i386/fpu/e_powf.S: Likewise.
4855 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4856 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4857 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4858 * sysdeps/i386/fpu/e_pow.S: Likewise.
4859 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4860 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4861 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4862 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4863 * sysdeps/i386/fpu/e_log2.S: Likewise.
4864 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4865 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4866 * sysdeps/i386/fpu/e_powl.S: Likewise.
4867 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4868 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4869 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4870 * sysdeps/i386/fpu/e_logl.S: Likewise.
4871 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4872 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4873 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4874 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4875 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4876 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4877 * sysdeps/i386/fpu/e_log.S: Likewise.
4878 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4879 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4880 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4881 * sysdeps/i386/fpu/e_logf.S: Likewise.
4882 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4883 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4884 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4885 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4886 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4887 * sysdeps/i386/fpu/e_log10.S: Likewise.
4888 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4889 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4890 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4891 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4892 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4893 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4894 * sysdeps/i386/asm-syntax.h: Likewise.
4895 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4896 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4897 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4898 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4899 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4900 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4901 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4902 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4903 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4904 * sysdeps/powerpc/sysdep.h: Likewise.
4905 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4906 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4908 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4911 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4913 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4915 * sysdeps/i386/sysdep.h: Include <features.h>.
4916 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4919 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4921 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4923 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4926 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4928 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4929 (SETUP_PIC_REG): Use GET_PC_THUNK.
4930 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4933 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4935 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4936 for non-PIC compilation.
4937 (SETUP_PIC_REG): Add .p2align directive.
4938 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4939 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4940 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4941 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4942 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4947 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4951 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4952 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4953 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4954 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4955 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4956 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4957 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4958 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4959 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4960 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4961 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4962 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4964 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4965 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4966 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4967 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4968 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4969 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4970 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4971 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4972 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4973 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4974 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4975 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4976 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4977 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4978 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4980 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4982 * math/tst-CMPLX.c: Include <stdio.h>.
4984 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4986 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4988 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4989 * sysdeps/sparc/bits/mathdef.h: Likewise.
4991 2012-01-31 Marek Polacek <polacek@redhat.com>
4993 * libio/libio.h: Don't define _PARAMS.
4994 * locale/programs/config.h: Don't define PARAMS.
4995 * stdlib/strtol_l.c: Likewise.
4996 (__strtol_l): Remove PARAMS from the prototype.
4998 2012-01-31 Ulrich Drepper <drepper@gmail.com>
5000 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5001 names. Just use the correct names. Remove unnecessary wrapper
5003 * malloc/arena.c: Likewise.
5004 * malloc/hooks.c: Likewise.
5006 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5007 ARENA_TEST says not to. Simplify test for creation of a new arena.
5008 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5010 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5012 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5014 (update_get_addr): New function.
5015 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5016 GET_ADDR_MODULE parameter.
5018 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5020 * crypt/cert.c: Remove __STDC__ conditionals.
5021 * crypt/crypt-entry.c: Likewise.
5022 * crypt/crypt_util.c: Likewise.
5023 * libio/filedoalloc.c: Likewise.
5024 * libio/fileops.c: Likewise.
5025 * libio/genops.c: Likewise.
5026 * libio/iofclose.c: Likewise.
5027 * libio/iofdopen.c: Likewise.
5028 * libio/iofopen.c: Likewise.
5029 * libio/iofopen64.c: Likewise.
5030 * libio/iogetdelim.c: Likewise.
5031 * libio/iopopen.c: Likewise.
5032 * libio/obprintf.c: Likewise.
5033 * libio/oldfileops.c: Likewise.
5034 * libio/oldiofclose.c: Likewise.
5035 * libio/oldiofdopen.c: Likewise.
5036 * libio/oldiofopen.c: Likewise.
5037 * libio/oldiopopen.c: Likewise.
5038 * libio/wfiledoalloc.c: Likewise.
5039 * libio/wgenops.c: Likewise.
5040 * locale/programs/xmalloc.c: Likewise.
5041 * misc/syslog.c: Likewise.
5042 * stdio-common/xbug.c: Likewise.
5043 * string/memchr.c: Likewise.
5044 * string/memcmp.c: Likewise.
5045 * string/memrchr.c: Likewise.
5046 * string/rawmemchr.c: Likewise.
5047 * sysdeps/posix/getcwd.c: Likewise.
5048 * time/strftime_l.c: Likewise.
5050 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5052 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5053 * config.make.in (config-cflags-sse2avx): Define.
5054 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5057 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5059 * scripts/config.guess: Update from upstream config git repository.
5060 * scripts/config.sub: Likewise.
5062 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5064 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5066 (R_TILEPRO_*, R_TILEGX_*): New macros.
5068 * scripts/firstversions.awk: Fix bug in version range handling.
5070 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5072 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5074 * include/sys/epoll.h: New file.
5075 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5078 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5080 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5081 Avoid unnecessary __WORDSIZE == 64 test.
5082 (fmaxf): Use VEX format if possible.
5087 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5088 * math/math_private.h: Remove libc_fegetround* and
5090 * sysdeps/i386/configure.in: Check for -msse2avx.
5091 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5092 also if SSE2AVX is defined.
5093 Remove libc_fegetround* and libc_fesetround*.
5094 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5095 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5096 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5098 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5099 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5100 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5101 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5102 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5104 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5106 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5108 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5110 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5112 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5115 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5117 * Makeconfig (libm): Define.
5118 * elf/Makefile: Add rules to build and run tst-relsort1.
5119 * elf/tst-relsort1.c: New file.
5120 * elf/tst-relsort1mod1.c: New file.
5121 * elf/tst-relsort1mod2.c: New file.
5123 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5125 * math/s_ldexp.c: Remove __STDC__ conditionals.
5126 * math/s_ldexpf.c: Likewise.
5127 * math/s_ldexpl.c: Likewise.
5128 * math/s_nextafter.c: Likewise.
5129 * math/s_nexttowardf.c: Likewise.
5130 * math/s_significand.c: Likewise.
5131 * math/s_significandf.c: Likewise.
5132 * math/s_significandl.c: Likewise.
5133 * math/w_jnl.c: Likewise.
5134 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5135 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5136 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5137 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5138 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5140 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5141 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5142 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5143 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5146 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5147 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5148 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5149 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5150 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5151 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5152 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5153 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5154 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5155 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5156 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5157 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5158 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5159 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5160 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5161 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5162 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5163 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5164 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5165 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5166 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5167 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5168 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5169 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5170 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5171 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5172 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5173 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5174 * sysdeps/ieee754/k_standard.c: Likewise.
5175 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5176 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5178 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5179 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5184 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5188 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5189 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5193 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5194 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5195 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5215 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5224 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5226 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5236 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5238 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5241 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5244 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5246 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5249 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5250 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5251 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5252 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5253 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5254 * sysdeps/ieee754/s_matherr.c: Likewise.
5255 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5256 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5257 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5258 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5260 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5262 * crypt/md5.h: Remove __STDC__ conditionals.
5263 * libio/libioP.h: Likewise.
5264 * locale/programs/config.h: Likewise.
5265 * sysdeps/generic/sysdep.h: Likewise.
5266 * sysdeps/i386/asm-syntax.h: Likewise.
5267 * sysdeps/s390/asm-syntax.h: Likewise.
5268 * sysdeps/unix/sysdep.h: Likewise.
5269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5272 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5274 * libio/libio.h: Remove __STDC__ conditionals.
5275 * malloc/obstack.h: Likewise.
5276 * math/complex.h: Likewise.
5277 * math/math.h: Likewise.
5278 * sysdeps/generic/_G_config.h: Likewise.
5279 * sysdeps/gnu/_G_config.h: Likewise.
5280 * sysdeps/mach/hurd/_G_config.h: Likewise.
5281 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5282 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5283 * sysdeps/sparc/bits/mathdef.h: Likewise.
5285 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5288 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5289 Clean up HAS_* macros.
5290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5291 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5293 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5295 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5296 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5297 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5298 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5299 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5301 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5303 * elf/tst-unique3.cc (gets): Remove declaration.
5304 * elf/tst-unique3lib.cc (gets): Likewise.
5305 * elf/tst-unique3lib2.cc (gets): Likewise.
5306 * elf/tst-unique4.cc (gets): Likewise.
5308 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5310 * include/stdio.h: Add C++ protection. Add gets declarations and
5312 * debug/tst-chk1.c: Don't declare gets here.
5313 * stdio-common/tst-gets.c: Likewise.
5315 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5317 * posix/glob: Remove directory.
5319 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5321 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5323 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5325 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5326 of the non-standard EPFNOSUPPORT.
5328 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5330 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5331 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5332 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5334 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5336 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5338 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5340 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5342 * nscd/grpcache.c (cache_addgr): Likewise.
5343 * nscd/hstcache.c (cache_addhst): Likewise.
5344 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5345 * nscd/pwdcache.c (cache_addpw): Likewise.
5346 * nscd/servicescache.c (cache_addserv): Likewise.
5348 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5350 * malloc/malloc.c: Various cleanups.
5351 * malloc/hooks.c: Likewise.
5353 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5354 * stdlib/bug-fmtmsg1.c: New file.
5356 * stdlib/fmtmsg.c (init): Add missing unlock.
5357 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5359 2012-01-12 Marek Polacek <polacek@redhat.com>
5361 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5364 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5366 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5367 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5368 macro to ensure uniqueness of label name.
5369 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5370 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5372 2012-01-11 Ulrich Drepper <drepper@gmail.com>
5374 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5376 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5377 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5378 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5381 2012-01-10 Ulrich Drepper <drepper@gmail.com>
5383 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5385 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5386 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5387 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5389 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5391 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5392 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5393 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5396 * math/bits/math-finite.h: Add ldexp support.
5398 2012-01-10 Marek Polacek <polacek@redhat.com>
5400 * locale/programs/localedef.h (show_archive_content): Add noreturn
5403 2012-01-09 Ulrich Drepper <drepper@gmail.com>
5405 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5407 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5409 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5411 * io/Makefile (headers): Add bits/poll2.h.
5413 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5416 typo #include statement.
5418 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5420 * include/sys/cdefs.h: Define __attribute_alloc_size.
5421 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5422 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5423 * elf/pldd.c: Likewise.
5424 * iconv/iconv_charmap.c: Likewise.
5425 * iconv/iconvconfig.c: Likewise.
5426 * iconv/strtab.c: Likewise.
5427 * locale/programs/locale.c: Likewise.
5428 * locale/programs/localedef.h: Likewise.
5429 * locale/programs/simple-hash.c: Likewise.
5430 * nscd/nscd.h: Likewise.
5431 * nss/makedb.c: Likewise.
5432 * sysdeps/generic/ldconfig.h: Likewise.
5433 * locale/programs/localedef.c: Remove xmalloc prototype.
5434 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5436 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5438 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5441 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5443 * math/Makefile (tests): Add tst-CMPLX.
5444 * math/tst-CMPLX.c: New file.
5446 * math/complex.h (CMPLXL): Fix typo.
5448 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5449 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5451 * debug/tst-chk1.c: Add poll and ppoll tests.
5452 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5453 * include/sys/poll.h: Add hidden proto for ppoll.
5454 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5455 * sysdeps/mach/hurd/ppoll.c: Likewise.
5456 * io/ppoll.c: Likewise.
5457 * debug/poll_chk.c: New file.
5458 * debug/ppoll_chk.c: New file.
5459 * include/bits/poll2.h: New file.
5460 * io/bits/poll2.h: New file.
5463 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5465 * configure.in: static is always set to yes. Remove.
5466 * config.make.in: Don't set build-static.
5467 * Makeconfig: Remove use of build-static.
5468 * dlfcn/Makefile: Likewise.
5469 * elf/Makefile: Likewise.
5470 * math/Makefile: Likewise.
5471 * misc/Makefile: Likewise.
5472 * nptl/Makefile: Likewise.
5473 * sysdeps/mach/hurd/Makefile: Likewise.
5475 * configure.in: PWD_P is not used anymore.
5476 * config.make.in: Remove PWD_P entry.
5478 * configure.in: Remove last remnants of RANLIB.
5479 No need to check for signed size_t anymore.
5480 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5482 Remove __builtin_expect test because we require at least gcc 3.4.
5483 * aclocal.m4: Likewise.
5485 * wcsmbs/mbrtoc16.c: Implement using towc function.
5486 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5487 * wcsmbs/wcsmbsload.c: Likewise.
5488 * iconv/gconv_simple.c: Likewise.
5489 * iconv/gconv_int.h: Likewise.
5490 * iconv/gconv_builtin.h: Likewise.
5491 * iconv/iconv_prog.c: Remove CHAR16 handling.
5493 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5495 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5497 * configure.in: Remove --with-elf and --enable-bounded options.
5498 Dont set base_machine for ia64. More non-ELF conditions removed.
5499 Remove testing and setting of leading underscore information.
5500 * config.make.in (build-bounded): Set to no.
5501 * config.h.in: Remove NO_UNDERSCORES entry.
5502 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5504 * csu/start.c: Remove !NO_UNDERSCORE code.
5505 * locale/localeinfo.h: Likewise.
5506 * sysdeps/generic/machine-gmon.h: Likewise.
5507 * sysdeps/generic/sysdep.h: Likewise.
5508 * sysdeps/i386/sysdep.h: Likewise.
5509 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5510 * sysdeps/mach/sysdep.h: Likewise.
5511 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5512 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5513 * sysdeps/sh/sysdep.h: Likewise.
5514 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5515 * sysdeps/unix/i386/sysdep.S: Likewise.
5516 * sysdeps/unix/sparc/start.c: Likewise.
5517 * sysdeps/unix/sparc/sysdep.S: Likewise.
5518 * sysdeps/unix/sparc/sysdep.h: Likewise.
5519 * sysdeps/unix/start.c: Likewise.
5520 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5521 * sysdeps/x86_64/sysdep.h: Likewise.
5523 2012-01-07 Ulrich Drepper <drepper@gmail.com>
5526 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5528 * argp/argp-fmtstream.h: Use const instead __const.
5529 * argp/argp.h: Likewise.
5530 * assert/assert.h: Likewise.
5531 * bits/fenv.h: Likewise.
5532 * bits/sched.h: Likewise.
5533 * bits/sigset.h: Likewise.
5534 * bits/sigthread.h: Likewise.
5535 * catgets/nl_types.h: Likewise.
5536 * conform/data/pthread.h-data: Likewise.
5537 * crypt/crypt-private.h: Likewise.
5538 * crypt/crypt.h: Likewise.
5539 * crypt/crypt_util.c: Likewise.
5540 * ctype/ctype.h: Likewise.
5541 * debug/execinfo.h: Likewise.
5542 * debug/mbsnrtowcs_chk.c: Likewise.
5543 * debug/mbsrtowcs_chk.c: Likewise.
5544 * debug/wcsnrtombs_chk.c: Likewise.
5545 * debug/wcsrtombs_chk.c: Likewise.
5546 * debug/wcstombs_chk.c: Likewise.
5547 * dirent/dirent.h: Likewise.
5548 * dlfcn/dlfcn.h: Likewise.
5549 * elf/neededtest4.c: Likewise.
5550 * grp/grp.h: Likewise.
5551 * gshadow/gshadow.h: Likewise.
5552 * iconv/gconv.h: Likewise.
5553 * iconv/gconv_int.h: Likewise.
5554 * iconv/gconv_simple.c: Likewise.
5555 * iconv/iconv.h: Likewise.
5556 * iconv/loop.c: Likewise.
5557 * iconv/skeleton.c: Likewise.
5558 * include/aio.h: Likewise.
5559 * include/aliases.h: Likewise.
5560 * include/argz.h: Likewise.
5561 * include/arpa/inet.h: Likewise.
5562 * include/assert.h: Likewise.
5563 * include/dirent.h: Likewise.
5564 * include/dlfcn.h: Likewise.
5565 * include/execinfo.h: Likewise.
5566 * include/fcntl.h: Likewise.
5567 * include/fenv.h: Likewise.
5568 * include/glob.h: Likewise.
5569 * include/grp.h: Likewise.
5570 * include/libintl.h: Likewise.
5571 * include/mntent.h: Likewise.
5572 * include/netdb.h: Likewise.
5573 * include/pwd.h: Likewise.
5574 * include/rpc/netdb.h: Likewise.
5575 * include/sched.h: Likewise.
5576 * include/search.h: Likewise.
5577 * include/shadow.h: Likewise.
5578 * include/signal.h: Likewise.
5579 * include/stdio.h: Likewise.
5580 * include/stdlib.h: Likewise.
5581 * include/string.h: Likewise.
5582 * include/sys/socket.h: Likewise.
5583 * include/sys/stat.h: Likewise.
5584 * include/sys/statfs.h: Likewise.
5585 * include/sys/statvfs.h: Likewise.
5586 * include/sys/syslog.h: Likewise.
5587 * include/sys/time.h: Likewise.
5588 * include/sys/uio.h: Likewise.
5589 * include/time.h: Likewise.
5590 * include/unistd.h: Likewise.
5591 * include/utmp.h: Likewise.
5592 * include/wchar.h: Likewise.
5593 * include/wctype.h: Likewise.
5594 * inet/aliases.h: Likewise.
5595 * inet/arpa/inet.h: Likewise.
5596 * inet/netinet/ether.h: Likewise.
5597 * inet/netinet/in.h: Likewise.
5598 * intl/libintl.h: Likewise.
5599 * io/bits/fcntl2.h: Likewise.
5600 * io/fcntl.h: Likewise.
5601 * io/ftw.h: Likewise.
5602 * io/sys/poll.h: Likewise.
5603 * io/sys/stat.h: Likewise.
5604 * io/sys/statfs.h: Likewise.
5605 * io/sys/statvfs.h: Likewise.
5606 * io/utime.h: Likewise.
5607 * libio/bits/stdio.h: Likewise.
5608 * libio/bits/stdio2.h: Likewise.
5609 * libio/libio.h: Likewise.
5610 * libio/libioP.h: Likewise.
5611 * libio/stdio.h: Likewise.
5612 * locale/lc-ctype.c: Likewise.
5613 * locale/locale.h: Likewise.
5614 * login/utmp.h: Likewise.
5615 * malloc/arena.c: Likewise.
5616 * malloc/malloc.c: Likewise.
5617 * malloc/malloc.h: Likewise.
5618 * malloc/mcheck.c: Likewise.
5619 * malloc/mtrace.c: Likewise.
5620 * math/bits/mathcalls.h: Likewise.
5621 * math/fenv.h: Likewise.
5622 * math/math_private.h: Likewise.
5623 * misc/bits/error.h: Likewise.
5624 * misc/bits/syslog.h: Likewise.
5625 * misc/err.h: Likewise.
5626 * misc/error.h: Likewise.
5627 * misc/fstab.h: Likewise.
5628 * misc/mntent.h: Likewise.
5629 * misc/regexp.h: Likewise.
5630 * misc/search.h: Likewise.
5631 * misc/sgtty.h: Likewise.
5632 * misc/sys/mman.h: Likewise.
5633 * misc/sys/syslog.h: Likewise.
5634 * misc/sys/uio.h: Likewise.
5635 * misc/sys/xattr.h: Likewise.
5636 * misc/ttyent.h: Likewise.
5637 * nis/rpcsvc/ypclnt.h: Likewise.
5638 * nss/nss.h: Likewise.
5639 * posix/bits/unistd.h: Likewise.
5640 * posix/fnmatch.h: Likewise.
5641 * posix/glob.h: Likewise.
5642 * posix/sched.h: Likewise.
5643 * posix/spawn.h: Likewise.
5644 * posix/sys/wait.h: Likewise.
5645 * posix/unistd.h: Likewise.
5646 * posix/wordexp.h: Likewise.
5647 * pwd/pwd.h: Likewise.
5648 * resolv/netdb.h: Likewise.
5649 * resource/sys/resource.h: Likewise.
5650 * rt/aio.h: Likewise.
5651 * rt/bits/mqueue2.h: Likewise.
5652 * rt/mqueue.h: Likewise.
5653 * shadow/shadow.h: Likewise.
5654 * signal/signal.h: Likewise.
5655 * socket/send.c: Likewise.
5656 * socket/sendto.c: Likewise.
5657 * socket/sys/socket.h: Likewise.
5658 * stdio-common/printf.h: Likewise.
5659 * stdlib/bits/stdlib.h: Likewise.
5660 * stdlib/fmtmsg.h: Likewise.
5661 * stdlib/monetary.h: Likewise.
5662 * stdlib/stdlib.h: Likewise.
5663 * stdlib/ucontext.h: Likewise.
5664 * streams/stropts.h: Likewise.
5665 * string/argz.h: Likewise.
5666 * string/bits/string2.h: Likewise.
5667 * string/string.h: Likewise.
5668 * string/strings.h: Likewise.
5669 * sunrpc/rpc/auth.h: Likewise.
5670 * sunrpc/rpc/auth_des.h: Likewise.
5671 * sunrpc/rpc/clnt.h: Likewise.
5672 * sunrpc/rpc/netdb.h: Likewise.
5673 * sunrpc/rpc/pmap_clnt.h: Likewise.
5674 * sunrpc/rpc/xdr.h: Likewise.
5675 * sysdeps/generic/inttypes.h: Likewise.
5676 * sysdeps/generic/net/if.h: Likewise.
5677 * sysdeps/generic/sys/swap.h: Likewise.
5678 * sysdeps/gnu/net/if.h: Likewise.
5679 * sysdeps/gnu/utmpx.h: Likewise.
5680 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5681 * sysdeps/i386/i486/bits/string.h: Likewise.
5682 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5683 * sysdeps/s390/bits/string.h: Likewise.
5684 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5685 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5686 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5687 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5688 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5689 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5690 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5691 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5692 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5693 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5694 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5695 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5696 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5697 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5698 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5699 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5700 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5702 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5703 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5704 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5705 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5706 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5707 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5708 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5709 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5710 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5711 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5712 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5713 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5714 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5715 * sysvipc/sys/ipc.h: Likewise.
5716 * sysvipc/sys/msg.h: Likewise.
5717 * sysvipc/sys/sem.h: Likewise.
5718 * sysvipc/sys/shm.h: Likewise.
5719 * termios/termios.h: Likewise.
5720 * time/sys/time.h: Likewise.
5721 * time/time.h: Likewise.
5722 * wcsmbs/bits/wchar2.h: Likewise.
5723 * wcsmbs/uchar.h: Likewise.
5724 * wcsmbs/wchar.h: Likewise.
5725 * wctype/wctype.h: Likewise.
5728 * Makeconfig: Remove all but ELF support including AIX support.
5729 * Makerules: Likewise.
5730 * config.h.in: Likewise.
5731 * config.make.in: Likewise.
5732 * configure: Likewise.
5733 * configure.in: Likewise.
5734 * csu/Makefile: Likewise.
5735 * csu/version.c: Likewise.
5736 * debug/Makefile: Likewise.
5737 * dlfcn/Makefile: Likewise.
5738 * elf/Makefile: Likewise.
5739 * extra-lib.mk: Likewise.
5740 * iconv/Makefile: Likewise.
5741 * include/libc-symbols.h: Likewise.
5742 * include/shlib-compat.h: Likewise.
5743 * resolv/Makefile: Likewise.
5744 * resolv/res_libc.c: Likewise.
5745 * rt/Makefile: Likewise.
5746 * sysdeps/i386/asm-syntax.h: Likewise.
5747 * sysdeps/i386/sysdep.h: Likewise.
5748 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5749 * sysdeps/mach/sysdep.h: Likewise.
5750 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5751 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5752 * sysdeps/s390/asm-syntax.h: Likewise.
5753 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5754 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5755 * sysdeps/sh/sysdep.h: Likewise.
5756 * sysdeps/unix/sparc/sysdep.h: Likewise.
5757 * sysdeps/wordsize-32/divdi3.c: Likewise.
5758 * sysdeps/x86_64/sysdep.h: Likewise.
5760 * argp/Versions: Remove _argp_unlock_xxx.
5763 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5764 * abilist/libBrokenLocale.abilist: Likewise.
5765 * abilist/libanl.abilist: Likewise.
5766 * abilist/libc.abilist: Likewise.
5767 * abilist/libcrypt.abilist: Likewise.
5768 * abilist/libdl.abilist: Likewise.
5769 * abilist/libm.abilist: Likewise.
5770 * abilist/libnsl.abilist: Likewise.
5771 * abilist/libpthread.abilist: Likewise.
5772 * abilist/libresolv.abilist: Likewise.
5773 * abilist/librt.abilist: Likewise.
5774 * abilist/libthread_db.abilist: Likewise.
5775 * abilist/libutil.abilist: Likewise.
5776 * abilist/libnss_db.abilist: New file.
5778 * scripts/abilist.awk: Add support for indirect functions.
5780 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5782 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5784 * shlib-versions: Remove entries for ports architectures.
5786 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5788 * elf/stackguard-macros.h: Remove support for IA-64.
5789 * elf/tst-auditmod1.c: Likewise.
5790 * sysdeps/generic/ldsodefs.h: Likewise.
5792 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5793 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5797 * configure.in: Remove --enable-omitfp support.
5799 * config.make.in: Likewise.
5800 * Makeconfig: Likewise.
5801 * manual/install.texi: Likewise.
5803 In case anyone cares, the IA-64 architecture could move to ports.
5804 * sysdeps/ia64/*: Removed.
5805 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5806 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5809 * configure.in: Remove entries for unsupported architectures.
5812 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5813 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5815 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5816 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5817 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5818 fall back to using wcrtomb.
5819 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5820 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5822 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5823 * wcsmbs/tst-c16c32-1.c: New file.
5825 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5828 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5830 * elf/tst-unique3.cc: Add explicit declaration of gets.
5831 * elf/tst-unique3lib.cc: Likewise.
5832 * elf/tst-unique3lib2.cc: Likewise.
5833 * elf/tst-unique4.cc: Likewise.
5835 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5837 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5840 * assert/assert.h (static_assert): Don't define for C++.
5841 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5842 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5844 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5846 * iconv/loop.c (single loop): Fix assertion in storing of
5849 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5851 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5853 * posix/getconf.c: Update copyright year.
5854 * nss/getent.c: Likewise.
5855 * nss/makedb.c: Likewise.
5856 * iconv/iconvconfig.c: Likewise.
5857 * iconv/iconv_prog.c: Likewise.
5858 * elf/ldconfig.c: Likewise.
5859 * elf/pldd.c: Likewise.
5860 * elf/sotruss.ksh: Likewise.
5861 * catgets/gencat.c: Likewise.
5862 * csu/version.c: Likewise.
5863 * elf/ldd.bash.in: Likewise.
5864 * elf/sprof.c (print_version): Likewise.
5865 * locale/programs/locale.c: Likewise.
5866 * locale/programs/localedef.c: Likewise.
5867 * login/programs/pt_chown.c: Likewise.
5868 * nscd/nscd.c (print_version): Likewise.
5869 * debug/xtrace.sh: Likewise.
5870 * malloc/memusage.sh: Likewise.
5871 * malloc/mtrace.pl: Likewise.
5872 * debug/catchsegv.sh: Likewise.
5874 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5876 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5879 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5882 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5883 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5885 * iconv/gconv_int.h: Likewise.
5886 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5887 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5888 from libc for GLIBC_2.16.
5889 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5890 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5891 * wcsmbs/uchar.h: Really define mbstate_t.
5892 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5893 * wcsmbs/c16rtomb.c: New file.
5894 * wcsmbs/mbrtoc16.c: New file.
5895 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5897 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5898 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5900 * wcsmbs/wchar.h: Add missing __restrict.
5902 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5905 * time/Makefile (routines): Add timespec_get.
5906 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5907 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5908 timespec for ISO C11.
5909 * time/timespec_get.c: New file.
5910 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5911 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5914 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5915 * stdlib/stdlib.h: Declare aligned_alloc.
5916 * Versions.def: Add GLIBC_2.16 for libc.
5917 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5920 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5923 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5927 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5930 * assert/assert.h (static_assert): Define.
5932 * version.h: Update for 2.16 development version.
5935 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5938 * version.h (RELEASE): Bump for 2.15 release.
5939 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5941 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5942 Patch by Marek Polacek <mpolacek@redhat.com>.
5944 * bits/byteswap.h: Protect long long constants with __extension__.
5945 * sysdeps/i386/bits/byteswap.h: Likewise.
5946 * sysdeps/ia64/bits/byteswap.h: Likewise.
5947 * sysdeps/s390/bits/byteswap.h: Likewise.
5948 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5950 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5953 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5955 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5957 2011-12-23 Marek Polacek <polacek@redhat.com>
5959 * elf/dl-addr.c (determine_info): Add inline keyword.
5960 * elf/tst-auditmod4b.c (check_avx): Likewise.
5961 * elf/tst-auditmod6b.c (check_avx): Likewise.
5962 * elf/tst-auditmod6c.c (check_avx): Likewise.
5963 * elf/tst-auditmod7b.c (check_avx): Likewise.
5965 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5967 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5970 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5973 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5974 processing for last bytes.
5976 2011-08-06 Bruno Haible <bruno@clisp.org>
5979 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5980 U+0385, not to U+1FEE.
5983 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5984 entry for U+00A5 U+0301.
5986 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5989 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5990 buffer for the output is too small.
5992 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5996 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5997 SSE flags if possible.
5999 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6002 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6003 processing for last bytes.
6005 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6007 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6008 (syscall-list-default-options, syscall-list-default-condition)
6009 (syscall-list-includes): Define.
6010 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6011 list of ABIs and options and #if conditions for each ABI. Do not
6012 handle common syscalls between ABIs specially.
6013 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6015 (syscall-list-variants, syscall-list-32bit-options)
6016 (syscall-list-32bit-condition, syscall-list-64bit-options)
6017 (syscall-list-64bit-condition): Define.
6018 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6019 (syscall-list-variants, syscall-list-32bit-options)
6020 (syscall-list-32bit-condition, syscall-list-64bit-options)
6021 (syscall-list-64bit-condition): Define.
6022 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6024 (syscall-list-variants, syscall-list-32bit-options)
6025 (syscall-list-32bit-condition, syscall-list-64bit-options)
6026 (syscall-list-64bit-condition): Define.
6027 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6029 (syscall-list-variants, syscall-list-32bit-options)
6030 (syscall-list-32bit-condition, syscall-list-64bit-options)
6031 (syscall-list-64bit-condition): Define.
6033 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6035 * locale/iso-639.def: Add brx entry.
6038 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6039 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6041 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6042 __feraiseexcept_renamed.
6044 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6047 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6048 EPOLLET with unsigned values.
6049 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6050 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6052 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6053 to large cancellation.
6054 * math/s_cacoshf.c: Likewise.
6055 * math/s_cacoshl.c: Likewise.
6057 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6061 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6062 * math/s_cacoshf.c: Likewise.
6063 * math/s_cacoshl.c: Likewise.
6065 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6068 * iconv/gconv.h: Define __GCONV_SWAP.
6069 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6070 * iconvdata/utf-16.c: Likewise.
6071 * iconvdata/utf-32.c: Likewise.
6073 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6076 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6077 numerator after shifting it by one limb.
6079 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6081 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6082 under [__USE_EXTERN_INLINES].
6084 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6087 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6089 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6091 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6092 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6094 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6095 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6096 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6097 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6098 for strncasecmp/strncasecmp_l compilation.
6099 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6100 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6102 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6105 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6108 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6111 * time/tzfile.c (__tzfile_read): Check values from file header.
6113 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6115 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6116 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6117 * powerpc/powerpc32/dl-start.S: Likewise.
6118 * powerpc/powerpc32/elf/start.S: Likewise.
6119 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6120 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6121 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6122 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6123 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6124 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6125 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6126 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6127 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6128 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6129 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6130 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6131 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6132 * powerpc/powerpc32/memset.S: Likewise.
6133 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6134 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6135 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6136 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6137 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6138 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6139 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6140 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6141 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6142 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6143 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6144 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6145 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6147 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6149 * math/libm-test.inc: Added more nearbyint tests.
6150 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6151 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6152 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6153 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6155 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6157 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6160 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6162 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6163 Add wcscpy-ssse3 wcscpy-c.
6164 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6165 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6166 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6167 * sysdeps/x86_64/wcschr.S: New file.
6168 * sysdeps/x86_64/wcsrchr.S: New file.
6169 * string/test-strcmp.c: Remove checking of wcscmp function for
6171 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6172 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6173 wcsrchr-sse2 wcsrchr-c.
6174 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6175 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6176 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6177 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6178 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6179 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6180 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6181 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6182 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6183 * wcsmbc/wcschr.c (WCSCHR): New macro.
6185 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6187 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6188 * wcsmbs/test-wcsrchr.c: New file.
6189 * string/test-strrchr.c: Add wcsrchr support.
6191 * wcsmbs/test-wcscpy.c: New file.
6192 * string/test-strcpy.c: Add wcscpy support.
6195 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6197 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6200 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6203 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6205 2011-12-04 Ulrich Drepper <drepper@gmail.com>
6207 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6208 Minor optimizations.
6210 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6211 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6212 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6214 2011-12-03 Ulrich Drepper <drepper@gmail.com>
6216 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6217 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6218 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6219 for gcc to avoid warnings.
6220 * inet/Makefile (tests): Add tst-checks.
6221 * inet/tst-checks.c: New file.
6223 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6226 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6229 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6230 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6232 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6234 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6236 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6239 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6241 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6243 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6244 conditional on GCC version.
6245 (__arch_compare_and_exchange_val_8_acq)
6246 (__arch_compare_and_exchange_val_16_acq)
6247 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6248 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6249 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6251 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6253 * sysdeps/sh/backtrace.c: New file.
6255 2011-12-02 Andreas Schwab <schwab@redhat.com>
6257 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6260 2011-12-01 Andreas Schwab <schwab@redhat.com>
6262 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6263 falling back to utime.
6265 2011-11-30 Andreas Schwab <schwab@redhat.com>
6267 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6268 expectations for float.
6270 2011-11-29 Andreas Schwab <schwab@redhat.com>
6272 * locale/weight.h (findidx): Add parameter len.
6273 * locale/weightwc.h (findidx): Likewise.
6274 * posix/fnmatch_loop.c (FCT): Adjust caller.
6275 * posix/regcomp.c (build_equiv_class): Likewise.
6276 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6277 * posix/regexec.c (check_node_accept_bytes): Likewise.
6278 * string/strcoll_l.c (STRCOLL): Likewise.
6279 * string/strxfrm_l.c (STRXFRM): Likewise.
6281 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6283 * Makefile.in: Remove CVSOPT handling.
6284 * configure.in: Remove use of AC_REVISION.
6285 * iconvdata/Makefile (distribute): No need to filter out CVS.
6286 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6289 2011-11-16 Andreas Schwab <schwab@redhat.com>
6291 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6292 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6293 [USE_AS_STRNCASECMP_L]: Likewise.
6294 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6295 NO_TLS_DIRECT_SEG_REFS.
6296 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6297 Fix argument offsets for non-PIC.
6298 [USE_AS_STRNCASECMP_L]: Likewise.
6299 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6300 NO_TLS_DIRECT_SEG_REFS.
6302 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6304 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6306 * locale/loadlocale.c (_nl_load_locale): Likewise.
6308 2011-11-15 Andreas Schwab <schwab@redhat.com>
6310 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6311 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6312 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6313 (SYSCALL_GETTIME): Set errno on error.
6315 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6316 count references to noai6ai_cached.
6318 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6320 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6322 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6323 FD_CLOEXEC for /proc/self/maps.
6325 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6326 FD_CLOEXEC for /proc/meminfo.
6328 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6331 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6332 FD_CLOEXEC for given file.
6334 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6336 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6337 FD_CLOEXEC for /etc/hosts.
6338 (_gethtent): Likewise.
6340 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6342 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6343 cancellation and set FD_CLOEXEC for /etc/netgroup.
6345 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6346 reading /etc/publickey.
6348 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6349 allow cancellation when reading /etc/group.
6351 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6353 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6355 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6356 when using data file.
6358 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6360 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6361 (write_nis_obj): Use "c" and "e" in fopen.
6363 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6365 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6367 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6369 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6371 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6374 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6376 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6378 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6380 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6381 file parsing and set FD_CLOEXEC.
6383 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6385 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6387 2011-11-14 Andreas Schwab <schwab@redhat.com>
6389 * malloc/arena.c (arena_get2): Don't call reused_arena when
6390 _int_new_arena failed.
6392 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6394 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6395 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6396 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6397 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6398 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6399 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6400 to compile strcasecmp and strncasecmp.
6401 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6402 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6406 2011-11-13 Ulrich Drepper <drepper@gmail.com>
6408 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6409 locale-defines.sym to gen-as-const-headers.
6410 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6411 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6412 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6413 to compile strcasecmp and strncasecmp.
6414 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6415 strcasecmp_l and strncasecmp_l.
6416 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6417 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6418 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6419 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6420 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6421 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6422 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6423 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6424 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6425 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6426 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6428 2011-11-12 Ulrich Drepper <drepper@gmail.com>
6430 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6431 result of SYSDEP_GETTIME_CPU to retval.
6432 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6433 parameter list to macro. Remove trailing semicolon. Adjust users.
6435 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6438 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6440 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6442 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6443 from unused variable.
6445 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6447 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6450 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6453 * sunrpc/rpc_prot.c (rejected): Fix case value.
6455 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6456 unsigned long long int to avoid warnings in shift.
6458 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6460 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6463 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6464 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6465 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6467 * nis/nis_table.c (nis_list): Use variable of correct type for
6468 result of __follow_path call.
6470 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6472 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6473 of math functions ceil, trunc, floor, round, and sqrt, when
6474 avaliable on the platform.
6475 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6477 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6478 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6479 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6481 2011-10-30 Marek Polacek <mpolacek@redhat.com>
6483 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6484 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6486 2011-11-11 Roland McGrath <roland@hack.frob.com>
6488 * include/unistd.h: Fix __readlink return type.
6489 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6491 2011-11-11 Ulrich Drepper <drepper@gmail.com>
6493 * stdlib/ucontext.h: Undo last change for makecontext.
6495 2011-11-11 Andreas Schwab <schwab@redhat.com>
6497 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6499 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6500 * setjmp/setjmp.h: Mark functions as non-leaf.
6501 * setjmp/bits/setjmp2.h: Likewise.
6502 * stdlib/ucontext.h: Likewise.
6504 2011-11-10 Andreas Schwab <schwab@redhat.com>
6506 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6507 (reused_arena): Don't check arena limit.
6508 (arena_get2): Atomically check arena limit.
6510 2011-11-08 Ulrich Drepper <drepper@gmail.com>
6512 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6513 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6515 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6518 2011-11-07 Andreas Schwab <schwab@redhat.com>
6520 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6521 handler when locking.
6523 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6524 Fix size of allocated buffer.
6526 2011-11-04 Andreas Schwab <schwab@redhat.com>
6529 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6530 declarations for long double functions.
6531 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6533 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6535 2011-11-03 Andreas Schwab <schwab@redhat.com>
6537 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6540 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6543 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6545 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6547 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6549 * include/alloca.h (stackinfo_alloca_round): Define.
6550 (extend_alloca): Use it.
6551 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6552 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6555 * scripts/check-local-headers.sh: Ignore libaudit.h.
6557 * nscd/Makefile (extra-objs): Make recursively expanded.
6559 2011-11-01 Ulrich Drepper <drepper@gmail.com>
6561 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6562 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6564 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6565 * posix/tst-rfc3484-2.c: Likewise.
6566 * posix/tst-rfc3484-3.c: Likewise.
6568 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6570 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6572 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6573 process_vm_writev from libc using GLIBC_2.15 version.
6575 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6577 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6579 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6582 2011-10-31 Ulrich Drepper <drepper@gmail.com>
6585 * nss/getent.c (initgroups_keys): Show error message in case no group
6588 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6589 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6590 __bump_nl_timestamp.
6591 * nscd/connections (nscd_init): When host database is served open
6592 netlink socket and request notification about configuration changes.
6593 (main_loop_poll): Track netlink file descriptor and bump timestamp
6594 in case data becomes available.
6595 (main_loop_epoll): Likewise.
6596 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6597 (database_pers_head): Add extra_data fileds.
6598 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6599 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6600 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6602 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6603 in6ai data, call __free_in6ai.
6604 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6606 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6607 interface information. Reuse previous data if netlink timestamp
6609 (__bump_nl_timestamp): New function.
6610 (__free_in6ai): New function.
6612 2011-10-30 Ulrich Drepper <drepper@gmail.com>
6614 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6615 close_not_cancel_no_status here.
6616 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6618 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6621 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6624 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6625 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6626 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6628 2011-07-03 Andreas Jaeger <aj@suse.de>
6631 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6632 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6633 * math/libm-test.inc (sin_test): Add test case.
6635 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6638 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6639 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6641 * elf/chroot_canon.c (chroot_canon): Cleanups.
6643 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6646 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6647 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6649 * string/test-strchr.c: Make usable for strchrnul testing.
6650 * string/test-strchrnul.c: New file.
6651 * string/Makefile (strop-tests): Add strchrnul.
6653 * po/it.po: Update from translation team.
6654 * po/es.po: Likewise.
6656 2011-10-28 Ulrich Drepper <drepper@gmail.com>
6658 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6659 the three constants needed as parameters. Drop the others.
6660 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6661 __m128i_strloadu_tolower.
6662 Create and initialize variable zero and use it in all the places
6663 where _mm_setzero_si128 was used.
6665 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6666 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6667 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6668 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6670 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6671 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6672 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6673 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6674 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6675 __mpranred, __mptan.
6676 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6677 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6678 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6679 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6680 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6681 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6682 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6683 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6684 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6686 2011-10-28 Andreas Schwab <schwab@redhat.com>
6688 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6690 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6693 wide char related routines to wcsmbs subdir.
6695 2011-10-27 Andreas Schwab <schwab@redhat.com>
6698 * misc/sys/cdefs.h (__THROWNL): Define.
6699 * posix/unistd.h: Use __THREADNL instead of __THREAD
6700 for memory synchronization functions.
6702 2011-10-26 Roland McGrath <roland@hack.frob.com>
6705 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6707 * manual/stdio.texi (Obstack Streams): Node removed.
6709 2011-10-26 Andreas Schwab <schwab@redhat.com>
6711 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6712 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6713 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6715 * math/math_private.h (math_force_eval): Allow non-addressable
6717 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6719 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6721 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6724 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6725 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6726 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6727 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6728 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6729 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6730 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6731 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6733 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6734 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6735 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6736 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6737 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6738 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6739 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6740 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6741 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6742 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6743 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6744 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6745 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6746 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6747 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6748 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6749 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6750 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6751 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6753 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6754 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6756 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6757 place. Use VEX encoding when compiling for AVX.
6759 2011-10-25 Andreas Schwab <schwab@redhat.com>
6761 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6762 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6764 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6766 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6768 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6769 useless if() expression.
6770 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6772 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6774 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6779 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6780 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6781 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6782 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6783 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6784 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6785 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6786 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6788 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6790 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6792 2011-10-25 Andreas Schwab <schwab@redhat.com>
6794 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6796 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6798 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6800 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6801 .text section. Avoid duplicate constants.
6802 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6804 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6805 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6806 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6807 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6809 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6810 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6811 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6812 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6813 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6814 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6815 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6816 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6817 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6818 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6819 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6820 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6821 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6822 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6823 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6824 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6825 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6826 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6827 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6828 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6829 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6830 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6831 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6832 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6833 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6834 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6835 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6836 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6837 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6838 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6839 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6840 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6841 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6842 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6843 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6844 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6845 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6846 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6848 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6850 * sysdeps/x86_64/dla.h: Move to ...
6851 * sysdeps/x86_64/fpu/dla.h: ...here.
6852 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6853 situations. Use __builtin_fma only for gcc 4.6 and up.
6855 * config.make.in: Add have-mfma4 entry.
6856 * configure.in: Substitute libc_cv_cc_fma4.
6857 * math/Makefile (dbl-only-routines): Add sincostab.
6858 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6859 Use __sincostab not sincos.
6860 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6862 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6863 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6864 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6867 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6868 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6869 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6870 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6872 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6873 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6875 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6876 define aliases when function name is a macro.
6877 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6878 sysdeps/ieee754/dbl-64/sincos.tbl.
6879 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6880 fma4-enabled routines.
6881 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6882 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6883 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6884 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6885 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6886 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6887 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6888 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6889 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6890 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6891 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6892 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6893 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6894 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6895 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6896 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6897 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6898 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6899 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6900 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6901 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6902 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6903 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6904 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6905 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6906 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6907 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6908 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6909 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6910 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6912 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6914 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6915 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6920 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6921 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6923 2011-10-24 Andreas Schwab <schwab@redhat.com>
6925 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6927 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6929 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6931 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6933 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6935 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6936 Remove unused variable magic_bits.
6937 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6939 * string/strnlen.c: Define and use STRNLEN macro.
6940 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6941 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6942 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6943 * wcsmbs/wcslen.c: Define and use WCSLEN.
6944 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6945 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6946 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6947 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6948 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6949 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6950 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6952 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6955 strnlen-sse2-no-bsf.
6956 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6957 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6958 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6959 Add strnlen support.
6960 (USE_AS_STRNLEN): New macro.
6961 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6962 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6963 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6964 * sysdeps/x86_64/wcslen.S: New file.
6966 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6968 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6969 XMM-moves are used for copying on small sizes.
6971 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6973 * wcsmbs/Makefile (strop-tests): Add wcschr.
6974 * wcsmbs/test-wcschr.c: New file.
6975 * string/test-strchr.c: Update.
6979 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6981 * wcsmbs/Makefile (strop-tests): Add wcslen.
6982 * wcsmbs/test-wcslen.c: New file.
6983 * string/test-strlen.c: Update.
6987 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6989 * po/it.po: Update from translation team.
6991 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6993 * sysdeps/x86_64/wcscmp.S: Update.
6994 Fix wrong comparison semantics.
6995 wcscmp shall use signed comparison not unsigned.
6996 Don't use substraction to avoid overflow bug.
6997 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6998 * wcsmbc/wcscmp.c: Likewise.
6999 * string/test-strcmp.c: Likewise.
7000 Add new tests to check cases with negative values.
7002 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7004 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7005 * sysdeps/x86_64/dla.h: ...here. New file.
7006 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7016 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7018 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7019 __ynl_finite aliases.
7021 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7025 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7027 [DLA_FMA] (EMULV): Use DLA_FMA.
7028 [DLA_FMA] (MUL12): Use EMULV.
7029 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7030 that are not needed.
7031 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7033 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7034 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7037 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7039 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7041 * math/s_nan.c: Undef __nan.
7042 * math/s_nanf.c: Undef __nanf.
7043 * math/s_nanl.c: Undef __nanl.
7044 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7047 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7049 * math/s_catan.c: Add branch predictions.
7050 * math/s_catanf.c: Likewise.
7051 * math/s_catanh.c: Likewise.
7052 * math/s_catanhf.c: Likewise.
7053 * math/s_catanhl.c: Likewise.
7054 * math/s_catanl.c: Likewise.
7055 * math/s_cexp.c: Likewise.
7056 * math/s_cexpf.c: Likewise.
7057 * math/s_cexpl.c: Likewise.
7058 * math/s_clog.c: Likewise.
7059 * math/s_clog10.c: Likewise.
7060 * math/s_clog10f.c: Likewise.
7061 * math/s_clog10l.c: Likewise.
7062 * math/s_clogf.c: Likewise.
7063 * math/s_clogl.c: Likewise.
7064 * math/s_csqrt.c: Likewise.
7065 * math/s_csqrtf.c: Likewise.
7066 * math/s_csqrtl.c: Likewise.
7067 * math/s_ctanf.c: Likewise.
7068 * math/s_ctanh.c: Likewise.
7069 * math/s_ctanhf.c: Likewise.
7070 * math/s_ctanhl.c: Likewise.
7071 * math/s_ctanl.c: Likewise.
7073 * math/math_private.h: Define __nan, __nanf, __nanl.
7074 * math/s_cacosh.c: Include <math_private.h>.
7075 * math/s_cacoshl.c: Likewise.
7076 * math/s_casinh.c: Likewise.
7077 * math/s_casinhf.c: Likewise.
7078 * math/s_casinhl.c: Likewise.
7079 * math/s_ccos.c: Rely entire on ccosh.
7080 * math/s_ccosf.c: Rely entire on ccoshf.
7081 * math/s_ccosl.c: Rely entirely on ccoshl.
7082 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7083 Remove tests for FE_INVALID.
7084 * math/s_ccoshf.c: Likewise.
7085 * math/s_ccoshl.c: Likewise.
7086 * math/s_csin.c: Likewise.
7087 * math/s_csinf.c: Likewise.
7088 * math/s_csinh.c Likewise.
7089 * math/s_csinhf.c: Likewise.
7090 * math/s_csinhl.c: Likewise.
7091 * math/s_csinl.c: Likewise.
7092 * math/s_ctan.c: Likewise.
7093 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7094 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7095 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7097 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7100 compilation problems.
7102 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7105 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7107 * sysdeps/i386/configure.in: Test for -mfma4 option.
7108 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7109 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7110 COMMON_CPUID_INDEX_80000001.
7111 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7112 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7113 use it if FMA3 is not supported.
7114 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7116 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7117 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7119 2011-10-20 Andreas Schwab <schwab@redhat.com>
7122 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7123 it would create a cycle with a link time dependency.
7125 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7127 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7129 * string/Makefile (strop-tests): Add rawmemchr.
7130 * string/test-rawmemchr.c: New file.
7132 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7133 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7134 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7135 when compiling str{,n}casecmp and when AVX is available. Hook up
7136 new optimized code in initializers.
7138 2011-10-19 Andreas Schwab <schwab@redhat.com>
7140 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7141 __feraiseexcept instead of feraiseexcept.
7143 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7145 * math/math_private.h: Define defaults for libc_fetestexcept and
7147 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7148 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7149 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7150 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7151 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7152 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7153 libc_fetestexcept and libc_feupdateenv.
7155 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7156 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7157 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7158 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7159 libc_feholdexcept_setround.
7161 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7162 Add s_nearbyint-c and s_nearbyintf-c.
7163 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7165 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7166 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7167 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7168 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7170 * math/math_private.h: Define defaults for libc_fegetround,
7171 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7172 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7173 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7174 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7175 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7177 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7178 Remove comments and hacks for old compiler versions.
7179 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7180 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7183 2011-10-18 Andreas Schwab <schwab@redhat.com>
7185 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7186 (__feraiseexcept_renamed): Add __NTH.
7187 (feraiseexcept): Add __NTH. Rename local variables to fix
7188 namespace violations.
7190 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7192 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7194 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7196 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7197 recently added interfaces.
7198 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7200 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7201 about macro parameter expansion.
7203 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7204 __NO_MATH_INLINES is defined. Cleanups.
7206 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7207 and __floorf is target has SSE4.1.
7208 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7209 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7210 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7211 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7213 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7217 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7219 2011-10-17 Andreas Schwab <schwab@redhat.com>
7221 * misc/sys/cdefs.h: Fix last change.
7223 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7226 2011-10-16 Ulrich Drepper <drepper@gmail.com>
7228 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7230 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7231 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7232 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7233 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7234 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7235 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7236 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7237 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7238 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7239 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7240 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7241 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7242 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7243 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7244 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7245 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7246 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7247 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7248 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7249 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7250 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7251 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7253 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7254 ceil, ceilf, floor, floorf.
7256 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7257 Perform IRELATIVE relocations last.
7259 * elf/do-rel.h: Add another parameter nrelative, replacing the
7260 local variable with the same name. Change name of the function
7261 to end in Rel or Rela (uppercase).
7262 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7263 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7264 elf_dynamic_do_##reloc function.
7266 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7268 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7269 is sufficient, at least on modern CPUs.
7271 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7273 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7274 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7276 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7278 * math/bits/math-finite.h: Add entries for exp.
7279 * math/e_expl.c: Add __*_finite alias.
7280 * sysdeps/i386/fpu/e_exp.S: Likewise.
7281 * sysdeps/i386/fpu/e_expf.S: Likewise.
7282 * sysdeps/i386/fpu/e_expl.c: Likewise.
7283 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7284 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7287 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7288 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7289 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7291 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7292 is sufficient, at least on modern CPUs.
7294 * ctype/ctype-info.c (__ctype_init): Define.
7295 * include/ctype.h (__ctype_init): Declare.
7296 (__ctype_b_loc): The variable is always initialized.
7297 (__ctype_toupper_loc): Likewise.
7298 (__ctype_tolower_loc): Likewise.
7299 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7300 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7302 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7304 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7306 * configure.in: Also look in $cxxmachine/include for C++ system
7309 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7311 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7312 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7313 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7314 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7315 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7316 (USE_AS_WMEMCMP): New macro.
7318 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7319 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7320 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7321 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7322 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7323 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7324 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7325 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7326 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7327 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7328 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7329 (USE_AS_WMEMCMP): New macro.
7330 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7331 * sysdeps/string/test-memcmp.c: Update.
7334 * wcsmbs/wmemcmp.c: Update.
7335 (WMEMCMP): New macro.
7338 2011-10-12 Andreas Jaeger <aj@suse.de>
7341 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7343 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7345 * libio/iofwide.c (do_length): Avoid warning.
7347 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7349 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7351 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7353 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7354 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7355 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7356 * sysdeps/i386/i686/fpu/e_log.S: New file.
7357 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7358 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7360 * ctype/ctype.h: Add support for inlined isXXX functions when
7363 2011-10-14 Andreas Schwab <schwab@redhat.com>
7365 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7367 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7369 2011-10-13 Roland McGrath <roland@hack.frob.com>
7372 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7374 2011-10-13 Andreas Schwab <schwab@redhat.com>
7376 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7377 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7380 * sysdeps/x86_64/memrchr.S: Check for zero size.
7382 * string/stratcliff.c: Add memrchr tests.
7384 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7387 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7388 rawmemchr-sse2 rawmemchr-sse2-bsf.
7389 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7390 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7391 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7392 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7393 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7394 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7395 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7396 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7397 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7398 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7399 * string/memrchr.c (MEMRCHR): New macro.
7401 2011-10-12 Ulrich Drepper <drepper@gmail.com>
7403 Add integration with gcc's -ffinite-math-only and optimize wrapper
7405 * Versions.def: Define GLIBC_2.15 version for libm.
7406 * math/Makefile (headers): Add bits/math-finite.h.
7407 * math/bits/math-finite.h: New file.
7408 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7409 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7410 * math/e_acoshl.c: Add __*_finite alias.
7411 * math/e_acosl.c: Likewise.
7412 * math/e_asinl.c: Likewise.
7413 * math/e_atan2l.c: Likewise.
7414 * math/e_atanhl.c: Likewise.
7415 * math/e_coshl.c: Likewise.
7416 * math/e_exp10.c: Likewise.
7417 * math/e_exp10f.c: Likewise.
7418 * math/e_exp10l.c: Likewise.
7419 * math/e_exp2l.c: Likewise.
7420 * math/e_fmodl.c: Likewise.
7421 * math/e_gammal_r.c: Likewise.
7422 * math/e_hypotl.c: Likewise.
7423 * math/e_j0l.c: Likewise.
7424 * math/e_j1l.c: Likewise.
7425 * math/e_jnl.c: Likewise.
7426 * math/e_lgammal_r.c: Likewise.
7427 * math/e_log10l.c: Likewise.
7428 * math/e_log2l.c: Likewise.
7429 * math/e_logl.c: Likewise.
7430 * math/e_powl.c: Likewise.
7431 * math/e_sinhl.c: Likewise.
7432 * math/e_sqrtl.c: Likewise.
7433 * math/e_scalb.c: Completely rewritten and optimized.
7434 * math/e_scalbf.c: Likewise.
7435 * math/e_scalbl.c: Likewise.
7436 * math/w_acos.c: Likewise.
7437 * math/w_acosf.c: Likewise.
7438 * math/w_acosl.c: Likewise.
7439 * math/w_acosh.c: Likewise.
7440 * math/w_acoshf.c: Likewise.
7441 * math/w_acoshl.c: Likewise.
7442 * math/w_asin.c: Likewise.
7443 * math/w_asinf.c: Likewise.
7444 * math/w_asinl.c: Likewise.
7445 * math/w_atan2.c: Likewise.
7446 * math/w_atan2f.c: Likewise.
7447 * math/w_atan2l.c: Likewise.
7448 * math/w_atanh.c: Likewise.
7449 * math/w_atanhf.c: Likewise.
7450 * math/w_atanhl.c: Likewise.
7451 * math/w_exp10.c: Likewise.
7452 * math/w_exp10f.c: Likewise.
7453 * math/w_exp10l.c: Likewise.
7454 * math/w_fmod.c: Likewise.
7455 * math/w_fmodf.c: Likewise.
7456 * math/w_fmodl.c: Likewise.
7457 * math/w_j0.c: Likewise.
7458 * math/w_j0f.c: Likewise.
7459 * math/w_j0l.c: Likewise.
7460 * math/w_j1.c: Likewise.
7461 * math/w_j1f.c: Likewise.
7462 * math/w_j1l.c: Likewise.
7463 * math/w_jn.c: Likewise.
7464 * math/w_jnf.c: Likewise.
7465 * math/w_log.c: Likewise.
7466 * math/w_logf.c: Likewise.
7467 * math/w_logl.c: Likewise.
7468 * math/w_log10.c: Likewise.
7469 * math/w_log10f.c: Likewise.
7470 * math/w_log10l.c: Likewise.
7471 * math/w_log2.c: Likewise.
7472 * math/w_log2f.c: Likewise.
7473 * math/w_log2l.c: Likewise.
7474 * math/w_pow.c: Likewise.
7475 * math/w_powf.c: Likewise.
7476 * math/w_powl.c: Likewise.
7477 * math/w_remainder.c: Likewise.
7478 * math/w_remainderf.c: Likewise.
7479 * math/w_remainderl.c: Likewise.
7480 * math/w_scalb.c: Likewise.
7481 * math/w_scalbf.c: Likewise.
7482 * math/w_scalbl.c: Likewise.
7483 * math/w_sqrt.c: Likewise.
7484 * math/w_sqrtf.c: Likewise.
7485 * math/w_sqrtl.c: Likewise.
7486 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7487 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7489 * math/math_private.h: Declare __kernel_standard_f.
7490 * math/w_cosh.c: Remove cruft and optimize a bit.
7491 * math/w_coshf.c: Likewise.
7492 * math/w_coshl.c: Likewise.
7493 * math/w_exp2.c: Likewise.
7494 * math/w_exp2f.c: Likewise.
7495 * math/w_exp2l.c: Likewise.
7496 * math/w_hypot.c: Likewise.
7497 * math/w_hypotf.c: Likewise.
7498 * math/w_hypotl.c: Likewise.
7499 * math/w_lgamma.c: Likewise.
7500 * math/w_lgamma_r.c: Likewise.
7501 * math/w_lgammaf.c: Likewise.
7502 * math/w_lgammaf_r.c: Likewise.
7503 * math/w_lgammal.c: Likewise.
7504 * math/w_lgammal_r.c: Likewise.
7505 * math/w_sinh.c: Likewise.
7506 * math/w_sinhf.c: Likewise.
7507 * math/w_sinhl.c: Likewise.
7508 * math/w_tgamma.c: Likewise.
7509 * math/w_tgammaf.c: Likewise.
7510 * math/w_tgammal.c: Likewise.
7511 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7512 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7513 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7514 Minor optimizations. Pretty printing. Remove cruft.
7515 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7516 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7517 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7518 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7519 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7520 * sysdeps/i386/fpu/e_asin.S: Likewise.
7521 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7522 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7523 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7524 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7525 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7526 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7527 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7528 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7529 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7530 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7531 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7532 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7533 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7534 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7535 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7536 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7537 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7538 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7539 * sysdeps/i386/fpu/e_log.S: Likewise.
7540 * sysdeps/i386/fpu/e_log10.S: Likewise.
7541 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7542 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7543 * sysdeps/i386/fpu/e_log2.S: Likewise.
7544 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7545 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7546 * sysdeps/i386/fpu/e_logf.S: Likewise.
7547 * sysdeps/i386/fpu/e_logl.S: Likewise.
7548 * sysdeps/i386/fpu/e_pow.S: Likewise.
7549 * sysdeps/i386/fpu/e_powf.S: Likewise.
7550 * sysdeps/i386/fpu/e_powl.S: Likewise.
7551 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7552 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7553 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7554 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7555 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7556 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7557 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7558 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7559 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7569 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7573 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7574 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7577 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7581 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7582 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7583 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7584 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7585 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7586 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7587 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7588 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7589 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7590 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7591 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7592 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7593 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7594 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7595 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7596 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7597 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7598 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7599 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7600 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7601 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7620 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7629 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7632 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7636 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7637 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7638 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7640 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7641 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7643 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7645 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7646 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7648 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7649 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7650 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7651 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7652 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7653 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7654 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7655 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7656 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7657 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7658 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7659 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7660 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7661 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7662 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7663 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7664 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7665 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7666 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7667 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7668 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7669 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7670 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7671 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7672 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7673 (__isnanf): Likewise.
7674 (__isinf_ns): Likewise.
7675 (__isinf_nsf): Likewise.
7676 (__finite): Likewise.
7677 (__finitef): Likewise.
7678 (__ieee754_sqrt): Define as macro.
7679 (__ieee754_sqrtf): Define as macro.
7680 (__ieee754_sqrtl): Define as macro.
7681 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7683 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7684 __FINITE_MATH_ONLY__ consistent.
7685 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7687 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7689 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7692 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7694 2011-10-09 Ulrich Drepper <drepper@gmail.com>
7696 * po/ja.po: Update from translation team.
7698 2011-10-08 Roland McGrath <roland@hack.frob.com>
7700 * locale/programs/locarchive.c (prepare_address_space): New function.
7701 (create_archive, enlarge_archive, open_archive): Use it.
7703 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7704 inside [SHARED], where it is used.
7706 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7708 * nss/getent.c (netgroup_keys): Remove unused variable.
7709 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7711 2011-10-08 Ulrich Drepper <drepper@gmail.com>
7713 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7714 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7715 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7716 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7717 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7718 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7719 * math/Makefile (libm-calls): Add s_isinf_ns.
7720 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7721 * math/multc3.c: Likewise.
7722 * math/s_casin.c: Likewise.
7723 * math/s_casinf.c: Likewise.
7724 * math/s_casinl.c: Likewise.
7725 * math/s_ccos.c: Likewise.
7726 * math/s_ccosf.c: Likewise.
7727 * math/s_ccosl.c: Likewise.
7728 * math/s_ctan.c: Likewise.
7729 * math/s_ctanf.c: Likewise.
7730 * math/s_ctanh.c: Likewise.
7731 * math/s_ctanhf.c: Likewise.
7732 * math/s_ctanhl.c: Likewise.
7733 * math/s_ctanl.c: Likewise.
7734 * math/w_fmod.c: Likewise.
7735 * math/w_fmodf.c: Likewise.
7736 * math/w_fmodl.c: Likewise.
7737 * math/w_remainder.c: Likewise.
7738 * math/w_remainderf.c: Likewise.
7739 * math/w_remainderl.c: Likewise.
7740 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7741 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7742 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7743 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7744 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7745 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7746 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7747 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7749 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7751 * stdio-common/printf_fphex.c: Likewise.
7752 * stdio-common/printf_size.c: Likewise.
7754 * math/e_exp10.c: Include math_private.h using <...> not "...".
7755 * math/e_exp10f.c: Likewise.
7756 * math/e_exp10l.c: Likewise.
7757 * math/e_exp2l.c: Likewise.
7758 * math/e_j0l.c: Likewise.
7759 * math/e_j1l.c: Likewise.
7760 * math/e_jnl.c: Likewise.
7761 * math/e_lgammal_r.c: Likewise.
7762 * math/e_rem_pio2l.c: Likewise.
7763 * math/e_scalb.c: Likewise.
7764 * math/e_scalbf.c: Likewise.
7765 * math/e_scalbl.c: Likewise.
7766 * math/k_cosl.c: Likewise.
7767 * math/k_sinl.c: Likewise.
7768 * math/k_tanl.c: Likewise.
7769 * math/s_cacoshf.c: Likewise.
7770 * math/s_catan.c: Likewise.
7771 * math/s_catanf.c: Likewise.
7772 * math/s_catanh.c: Likewise.
7773 * math/s_catanhf.c: Likewise.
7774 * math/s_catanhl.c: Likewise.
7775 * math/s_catanl.c: Likewise.
7776 * math/s_ccosh.c: Likewise.
7777 * math/s_ccoshf.c: Likewise.
7778 * math/s_ccoshl.c: Likewise.
7779 * math/s_cexp.c: Likewise.
7780 * math/s_cexpf.c: Likewise.
7781 * math/s_cexpl.c: Likewise.
7782 * math/s_clog.c: Likewise.
7783 * math/s_clog10.c: Likewise.
7784 * math/s_clog10f.c: Likewise.
7785 * math/s_clog10l.c: Likewise.
7786 * math/s_clogf.c: Likewise.
7787 * math/s_clogl.c: Likewise.
7788 * math/s_csin.c: Likewise.
7789 * math/s_csinf.c: Likewise.
7790 * math/s_csinh.c: Likewise.
7791 * math/s_csinhf.c: Likewise.
7792 * math/s_csinhl.c: Likewise.
7793 * math/s_csinl.c: Likewise.
7794 * math/s_csqrt.c: Likewise.
7795 * math/s_csqrtf.c: Likewise.
7796 * math/s_csqrtl.c: Likewise.
7797 * math/s_ctan.c: Likewise.
7798 * math/s_ctanf.c: Likewise.
7799 * math/s_ctanh.c: Likewise.
7800 * math/s_ctanhf.c: Likewise.
7801 * math/s_ctanhl.c: Likewise.
7802 * math/s_ctanl.c: Likewise.
7803 * math/s_ldexp.c: Likewise.
7804 * math/s_ldexpf.c: Likewise.
7805 * math/s_ldexpl.c: Likewise.
7806 * math/s_significand.c: Likewise.
7807 * math/s_significandf.c: Likewise.
7808 * math/s_significandl.c: Likewise.
7809 * math/w_acos.c: Likewise.
7810 * math/w_acosf.c: Likewise.
7811 * math/w_acosh.c: Likewise.
7812 * math/w_acoshf.c: Likewise.
7813 * math/w_acoshl.c: Likewise.
7814 * math/w_acosl.c: Likewise.
7815 * math/w_asin.c: Likewise.
7816 * math/w_asinf.c: Likewise.
7817 * math/w_asinl.c: Likewise.
7818 * math/w_atan2.c: Likewise.
7819 * math/w_atan2f.c: Likewise.
7820 * math/w_atan2l.c: Likewise.
7821 * math/w_atanh.c: Likewise.
7822 * math/w_atanhf.c: Likewise.
7823 * math/w_atanhl.c: Likewise.
7824 * math/w_cosh.c: Likewise.
7825 * math/w_coshf.c: Likewise.
7826 * math/w_coshl.c: Likewise.
7827 * math/w_dremf.c: Likewise.
7828 * math/w_exp10.c: Likewise.
7829 * math/w_exp10f.c: Likewise.
7830 * math/w_exp10l.c: Likewise.
7831 * math/w_exp2.c: Likewise.
7832 * math/w_exp2f.c: Likewise.
7833 * math/w_fmod.c: Likewise.
7834 * math/w_fmodf.c: Likewise.
7835 * math/w_fmodl.c: Likewise.
7836 * math/w_hypot.c: Likewise.
7837 * math/w_hypotf.c: Likewise.
7838 * math/w_hypotl.c: Likewise.
7839 * math/w_j0.c: Likewise.
7840 * math/w_j0f.c: Likewise.
7841 * math/w_j0l.c: Likewise.
7842 * math/w_j1.c: Likewise.
7843 * math/w_j1f.c: Likewise.
7844 * math/w_j1l.c: Likewise.
7845 * math/w_jn.c: Likewise.
7846 * math/w_jnf.c: Likewise.
7847 * math/w_jnl.c: Likewise.
7848 * math/w_lgamma.c: Likewise.
7849 * math/w_lgamma_r.c: Likewise.
7850 * math/w_lgammaf.c: Likewise.
7851 * math/w_lgammaf_r.c: Likewise.
7852 * math/w_lgammal.c: Likewise.
7853 * math/w_lgammal_r.c: Likewise.
7854 * math/w_log.c: Likewise.
7855 * math/w_log10.c: Likewise.
7856 * math/w_log10f.c: Likewise.
7857 * math/w_log10l.c: Likewise.
7858 * math/w_log2.c: Likewise.
7859 * math/w_log2f.c: Likewise.
7860 * math/w_log2l.c: Likewise.
7861 * math/w_logf.c: Likewise.
7862 * math/w_logl.c: Likewise.
7863 * math/w_pow.c: Likewise.
7864 * math/w_powf.c: Likewise.
7865 * math/w_powl.c: Likewise.
7866 * math/w_remainder.c: Likewise.
7867 * math/w_remainderf.c: Likewise.
7868 * math/w_remainderl.c: Likewise.
7869 * math/w_scalb.c: Likewise.
7870 * math/w_scalbf.c: Likewise.
7871 * math/w_scalbl.c: Likewise.
7872 * math/w_sinh.c: Likewise.
7873 * math/w_sinhf.c: Likewise.
7874 * math/w_sinhl.c: Likewise.
7875 * math/w_sqrt.c: Likewise.
7876 * math/w_sqrtf.c: Likewise.
7877 * math/w_sqrtl.c: Likewise.
7878 * math/w_tgamma.c: Likewise.
7879 * math/w_tgammaf.c: Likewise.
7880 * math/w_tgammal.c: Likewise.
7882 * po/ja.po: Update from translation team.
7884 2011-09-29 Andreas Jaeger <aj@suse.de>
7887 * sunrpc/netname.c (netname2host): Fix logic.
7891 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7893 * math/w_remainder.c (__remainder): Likewise.
7894 * math/w_remainderf.c (__remainderf): Likewise.
7895 * math/libm-test.inc (remainder_test): Add test cases.
7897 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7899 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7902 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7904 * string/test-memcmp.c: Avoid unncessary #defines.
7905 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7907 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7909 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7910 Use new sse2 version for core i3 - i7 as it's faster
7912 (bit_Prefer_PMINUB_for_stringop): New.
7913 * sysdeps/x86_64/rawmemchr.S: Update.
7914 Replace with faster SSE2 version.
7915 * sysdeps/x86_64/memrchr.S: New file.
7916 * sysdeps/x86_64/memchr.S: Update.
7917 Replace with faster SSE2 version.
7919 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7921 * elf/dl-load.c (lose): Add cast to avoid warning.
7923 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7925 * po/ca.po: Update from translation team.
7927 * inet/getnetgrent_r.c: Hook up nscd.
7928 * nscd/Makefile (routines): Add nscd_netgroup.
7929 (nscd-modules): Add netgroupcache.
7930 (CFLAGS-netgroupcache.c): Define.
7931 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7932 (cache_search): Add const to second parameter.
7933 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7935 (dbs): Add netgrdb entry.
7936 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7937 (verify_persistent_db): Handle netgrdb.
7938 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7939 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7941 (netgroup_response_header): Define.
7942 (innetgroup_response_header): Define.
7943 (datahead): Add netgroup_response_header and innetgroup_response_header
7945 * nscd/nscd.conf: Add entries for netgroup cache.
7946 * nscd/nscd.h (dbtype): Add netgrdb.
7947 (_PATH_NSCD_NETGROUP_DB): Define.
7948 (netgroup_iov_disabled): Declare.
7949 (xmalloc, xcalloc, xrealloc): Move declarations here.
7950 (cache_search): Adjust prototype.
7951 Add netgroup-related prototypes.
7952 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7953 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7954 (__nscd_innetgr): Declare.
7955 * nscd/selinux.c (perms): Use access_vector_t as element type and
7956 add netgroup-related initializers.
7957 * nscd/netgroupcache.c: New file.
7958 * nscd/nscd_netgroup.c: New file.
7959 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7960 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7961 For four parameters use innetgr.
7962 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7963 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7964 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7965 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7967 * nscd/connections.c (register_traced_file): Don't register file
7968 for disabled databases.
7970 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7972 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7974 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7975 from tree and freeing node.
7977 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7979 * nss/nsswitch.c (__nss_database_lookup): Handle
7980 nss_parse_service_list out of memory case.
7982 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7984 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7987 2011-10-04 Andreas Schwab <schwab@redhat.com>
7989 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7990 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7992 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7993 elf_machine_rela, elf_machine_lazy_rel.
7994 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7995 (ELF_DYNAMIC_DO_REL): Likewise.
7996 (ELF_DYNAMIC_DO_RELA): Likewise.
7997 (ELF_DYNAMIC_RELOCATE): Likewise.
7998 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7999 to ELF_DYNAMIC_DO_REL.
8000 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8001 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8002 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8004 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8005 skip_ifunc, don't call ifunc function if non-zero.
8006 (elf_machine_rela): Likewise.
8007 (elf_machine_lazy_rel): Likewise.
8008 (elf_machine_lazy_rela): Likewise.
8009 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8010 (elf_machine_lazy_rel): Likewise.
8011 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8013 (elf_machine_lazy_rel): Likewise.
8014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8016 (elf_machine_lazy_rel): Likewise.
8017 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8018 (elf_machine_lazy_rel): Likewise.
8019 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8020 (elf_machine_lazy_rel): Likewise.
8021 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8022 (elf_machine_lazy_rel): Likewise.
8023 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8024 (elf_machine_lazy_rel): Likewise.
8025 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8026 (elf_machine_lazy_rel): Likewise.
8027 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8028 (elf_machine_lazy_rel): Likewise.
8030 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8032 * nss/nss_files/files-init.c (_nss_files_init): Use static
8033 initialization for all the *_traced_file variables.
8035 2011-09-28 Andreas Schwab <schwab@redhat.com>
8037 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8039 2011-09-27 Roland McGrath <roland@hack.frob.com>
8042 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8044 2011-09-27 Andreas Schwab <schwab@redhat.com>
8046 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8047 Reread the line before reparsing it.
8049 2011-09-26 Andreas Schwab <schwab@redhat.com>
8051 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8053 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8054 Maxim Kuvyrkov <maxim@codesourcery.com>
8055 Joseph Myers <joseph@codesourcery.com>
8057 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8058 if needed for __stack_chk_guard.
8060 2011-09-19 Roland McGrath <roland@hack.frob.com>
8062 * sysdeps/posix/spawni.c (script_execute): Always define it.
8063 It will be optimized away if unused.
8064 (maybe_script_execute): New function.
8065 (__spawni): Call it.
8067 * Makerules: Don't include tls.make.
8068 (config-tls): Always set to thread.
8069 * tls.make.c: File removed.
8071 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8073 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8074 * config.make.in (CPPFLAGS-config): New substituted variable.
8076 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8078 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8081 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8082 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8084 2011-09-15 Roland McGrath <roland@hack.frob.com>
8086 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8087 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8088 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8089 (CALL_FAIL): Likewise.
8090 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8091 (CALL_FAIL): Macro removed.
8092 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8094 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8096 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8097 for __FINITE_MATH_ONLY__ == 1.
8099 2011-09-15 Andreas Schwab <schwab@redhat.com>
8101 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8102 __ieee754_sqrt instead of sqrt.
8103 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8104 __ieee754_sqrtf instead of sqrtf.
8105 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8106 __floorf instead of floorf.
8107 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8108 __floorf, __truncf instead of floorf, truncf.
8110 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8112 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8114 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8115 __extern_always_inline.
8116 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8119 2011-09-14 Andreas Schwab <schwab@redhat.com>
8121 * elf/rtld.c (dl_main): Also relocate in dependency order when
8122 doing symbol dependency testing.
8124 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8126 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8127 Always define `refsym'.
8129 2011-09-13 Andreas Schwab <schwab@redhat.com>
8131 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8132 (__FD_ELT): Renamed from __FDELT.
8133 * misc/bits/select2.h (__FD_ELT): Likewise.
8134 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8135 __FD_MASK instead of __FDELT, __FDMASK.
8136 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8138 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8141 * elf/Makefile (gen-ldd): Fix pattern.
8143 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8144 (init_tls): Likewise.
8146 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8148 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8150 2011-09-12 Andreas Schwab <schwab@redhat.com>
8152 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8153 `struct cmsghdr *' instead of `void *'.
8154 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8157 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8159 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8161 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8164 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8166 * configure.in: Remove --with-tls option.
8167 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8168 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8169 out in case it is missing.
8170 * sysdeps/ia64/elf/configure.in: Likewise.
8171 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8172 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8173 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8174 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8175 * sysdeps/sh/elf/configure.in: Likewise.
8176 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8177 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8178 * sysdeps/x86_64/elf/configure.in: Likewise.
8179 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8180 * sysdeps/mach/hurd/tls.h: Likewise.
8183 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8186 * configure.in: Fix use of AC_INIT.
8188 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8190 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8192 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8194 * malloc/hooks.c: Likewise.
8197 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8198 variables statically.
8199 (narenas): Initialize.
8200 (list_lock): Initialize.
8201 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8202 initializtion of main_arena and list_lock. Small cleanups.
8203 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8204 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8205 Add initializers to main_arena and mp_.
8206 (malloc_state): Remove pagesize member. Change all users to use
8209 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8210 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8211 is always initialized.
8213 * malloc/malloc.c: Removed unused configurations and dead code.
8214 * malloc/arena.c: Likewise.
8215 * malloc/hooks.c: Likewise.
8216 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8218 * include/tls.h: Removed. USE___THREAD must always be defined.
8219 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8220 * elf/dl-libc.c: Likewise.
8221 * elf/dl-tsd.c: Likewise.
8222 * include/errno.h: Likewise.
8223 * include/netdb.h: Likewise.
8224 * include/resolv.h: Likewise.
8225 * inet/herrno-loc.c: Likewise.
8226 * inet/herrno.c: Likewise.
8227 * malloc/arena.c: Likewise.
8228 * malloc/hooks.c: Likewise.
8229 * malloc/malloc.c: Likewise.
8230 * resolv/res-state.c: Likewise.
8231 * resolv/res_libc.c: Likewise.
8232 * sysdeps/i386/dl-machine.h: Likewise.
8233 * sysdeps/ia64/dl-machine.h: Likewise.
8234 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8235 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8236 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8237 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8238 * sysdeps/sh/dl-machine.h: Likewise.
8239 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8240 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8241 * sysdeps/unix/i386/sysdep.S: Likewise.
8242 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8243 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8244 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8245 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8246 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8247 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8248 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8249 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8251 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8252 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8253 * sysdeps/x86_64/dl-machine.h: Likewise.
8254 * tls.make.c: Likewise.
8256 * configure.in: Remove --with-__thread option. Make tests for
8257 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8258 tls_model attribute fail if no support is available. Remove
8260 * Makeconfig: Adjust for dropped configure option. All features are
8262 * Makerules: Likewise.
8263 * Versions.def: Likewise.
8264 * argp/argp-fmtstream.c: Likewise.
8265 * argp/argp-fmtstream.h: Likewise.
8266 * argp/argp-help.c: Likewise.
8267 * assert/assert.c: Likewise.
8268 * config.h.in: Likewise.
8269 * config.make.in: Likewise.
8270 * configure: Likewise.
8271 * configure.in: Likewise.
8272 * csu/Versions: Likewise.
8273 * csu/init.c: Likewise.
8274 * elf/tst-audit2.c: Likewise.
8275 * elf/tst-tls10.c: Likewise.
8276 * elf/tst-tls10.h: Likewise.
8277 * elf/tst-tls11.c: Likewise.
8278 * elf/tst-tls12.c: Likewise.
8279 * elf/tst-tls14.c: Likewise.
8280 * elf/tst-tlsmod11.c: Likewise.
8281 * elf/tst-tlsmod12.c: Likewise.
8282 * elf/tst-tlsmod13.c: Likewise.
8283 * elf/tst-tlsmod13a.c: Likewise.
8284 * elf/tst-tlsmod14a.c: Likewise.
8285 * elf/tst-tlsmod15b.c: Likewise.
8286 * elf/tst-tlsmod16a.c: Likewise.
8287 * elf/tst-tlsmod16b.c: Likewise.
8288 * elf/tst-tlsmod7.c: Likewise.
8289 * elf/tst-tlsmod8.c: Likewise.
8290 * elf/tst-tlsmod9.c: Likewise.
8291 * gmon/gmon.c: Likewise.
8292 * grp/fgetgrent_r.c: Likewise.
8293 * grp/putgrent.c: Likewise.
8294 * hurd/fopenport.c: Likewise.
8295 * include/libc-symbols.h: Likewise.
8296 * include/tls.h: Likewise.
8297 * intl/gettextP.h: Likewise.
8298 * intl/loadinfo.h: Likewise.
8299 * locale/global-locale.c: Likewise.
8300 * locale/localeinfo.h: Likewise.
8301 * mach/devstream.c: Likewise.
8302 * malloc/arena.c: Likewise.
8303 * malloc/set-freeres.c: Likewise.
8304 * misc/err.c: Likewise.
8305 * misc/getttyent.c: Likewise.
8306 * misc/mntent_r.c: Likewise.
8307 * posix/getopt.c: Likewise.
8308 * posix/wordexp.c: Likewise.
8309 * pwd/fgetpwent_r.c: Likewise.
8310 * resolv/Versions: Likewise.
8311 * resolv/res_hconf.c: Likewise.
8312 * shadow/fgetspent_r.c: Likewise.
8313 * shadow/putspent.c: Likewise.
8314 * stdio-common/printf_fphex.c: Likewise.
8315 * stdio-common/tmpfile.c: Likewise.
8316 * stdlib/abort.c: Likewise.
8317 * stdlib/fmtmsg.c: Likewise.
8318 * sunrpc/auth_unix.c: Likewise.
8319 * sunrpc/clnt_perr.c: Likewise.
8320 * sunrpc/clnt_tcp.c: Likewise.
8321 * sunrpc/clnt_udp.c: Likewise.
8322 * sunrpc/clnt_unix.c: Likewise.
8323 * sunrpc/openchild.c: Likewise.
8324 * sunrpc/svc_simple.c: Likewise.
8325 * sunrpc/svc_tcp.c: Likewise.
8326 * sunrpc/svc_udp.c: Likewise.
8327 * sunrpc/svc_unix.c: Likewise.
8328 * sunrpc/xdr.c: Likewise.
8329 * sunrpc/xdr_array.c: Likewise.
8330 * sunrpc/xdr_rec.c: Likewise.
8331 * sunrpc/xdr_ref.c: Likewise.
8332 * sunrpc/xdr_stdio.c: Likewise.
8334 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8336 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8338 2011-07-03 Andreas Jaeger <aj@suse.de>
8340 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8341 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8342 regenerate with gen-libm-tests.pl.
8344 2010-05-12 Petr Baudis <pasky@suse.cz>
8347 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8348 around j0() zero points by switching to j1().
8349 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8354 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8356 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8358 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8360 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8361 Patch in part by Pavel Roskin <proski@gnu.org>.
8364 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8366 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8367 Free memory block if necessary.
8370 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8371 be NULL. Don't lock in this case.
8373 2011-09-09 Roland McGrath <roland@hack.frob.com>
8375 * elf/elf.h (ELFOSABI_GNU): New macro.
8376 (ELFOSABI_LINUX): Define to that.
8378 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8380 * string/strncat.c (strncat): Undef the symbol in case it has been
8381 defined in bits/string.h.
8383 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8385 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8387 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8390 2011-08-17 Andreas Jaeger <aj@suse.de>
8392 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8394 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8395 Ian Lance Taylor <iant@google.com>
8397 * math/libm-test.inc (lround_test): New testcase.
8398 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8400 2011-09-08 Ulrich Drepper <drepper@gmail.com>
8402 * Makefile: Remove support for automatic cvs check-ins.
8403 * Makerules: Likewise.
8404 * config.make.in: Likewise.
8405 * configure.in: Likewise.
8406 * intl/Makefile: Likewise.
8407 * locale/Makefile: Likewise.
8408 * po/Makefile: Likewise.
8409 * posix/Makefile: Likewise.
8410 * sysdeps/gnu/Makefile: Likewise.
8411 * sysdeps/mach/hurd/Makefile: Likewise.
8412 * sysdeps/sparc/sparc32/Makefile: Likewise.
8415 * posix/Makefile (bug-regex32-ENV): Define.
8416 Patch by John Stanley <jpsinthemix@verizon.net>.
8418 * misc/Makefile (headers): Add bits/select2.h.
8419 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8420 * misc/bits/select2.h: New file.
8421 * include/bits/select2.h: New file.
8422 * debug/Makefile (routines): Add fdelt_chk.
8423 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8424 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8426 * debug/fdelt_chk.c: New file.
8428 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8429 * wcsmbs/test-wmemcmp.c: Likewise.
8430 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8431 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8433 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8435 * string/Makefile (strop-tests): Add memcmp.
8436 * string/test-wmemcmp.c: New file.
8437 * string/test-memcmp.c: Add wmemcmp support.
8439 2011-09-08 Roland McGrath <roland@hack.frob.com>
8442 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8445 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8446 garbage value in a __mach_port_mod_refs call in the cases of the
8447 task-self and thread-self ports.
8449 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8451 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8453 2011-09-08 Andreas Schwab <schwab@redhat.com>
8455 * elf/dl-load.c (lose): Check for non-null L.
8457 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8459 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8461 * elf/dl-libc.c (dlerror_run): Pass back error code from
8465 * elf/dl-load.c (lose): Free l_origin if it is valid.
8467 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8469 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8470 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8472 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8473 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8474 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8476 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8478 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8479 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8480 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8481 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8482 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8483 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8484 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8485 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8486 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8487 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8489 2011-08-15 Alan Modra <amodra@gmail.com>
8492 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8493 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8494 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8495 ppc_mcount to static-only-routines.
8496 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8498 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8499 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8501 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8503 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8504 for finite and infinity parameters.
8506 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8508 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8509 and add nop instructions for throughput optimization.
8510 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8512 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8514 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8515 aligned copy for power7 with vector-scalar instructions.
8516 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8518 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8523 2011-09-07 Andreas Schwab <schwab@redhat.com>
8526 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8529 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8531 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8532 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8533 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8534 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8537 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8539 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8540 Forgot to demangle the pointer.
8542 * sysdeps/i386/sysdep.h: Define atom_text_section.
8543 * sysdeps/x86_64/sysdep.h: Likewise.
8544 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8545 section with atom_text_section.
8546 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8547 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8548 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8549 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8550 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8552 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8553 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8554 already be defined. Change to take two parameters and don't assign
8555 result to variable. Adjust all users.
8556 Define INTERNAL_GETTIME if not already defined.
8557 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8560 HAVE_CLOCK_GETTIME_VSYSCALL.
8561 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8563 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8564 gettimeofday vsyscall, just use time.
8566 2011-09-06 Andreas Schwab <schwab@redhat.com>
8568 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8571 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8573 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8575 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8577 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8578 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8579 syscall if possible.
8581 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8583 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8584 e_ident. Don't pass to find_mapsXX.
8585 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8587 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8589 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8590 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8591 * sysdeps/x86_64/multiarch/strchr.S: Update.
8592 Check bit_slow_BSF bit.
8593 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8594 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8595 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8597 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8600 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8603 (__spawni): Change last parameter to be flag. Test
8604 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8605 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8606 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8607 * posix/spawni.c: Likewise.
8608 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8609 * posix/spawnp.c: Likewise. Change normal version to use
8610 SPAWN_XFLAGS_USE_PATH.
8611 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8612 SPAWN_XFLAGS_TRY_SHELL.
8615 * posix/glob.h: Remove gcc 1.x support.
8618 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8620 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8622 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8623 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8625 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8626 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8627 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8628 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8629 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8630 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8632 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8634 * sysdeps/x86_64/wcscmp.S: New file.
8636 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8637 wcscmp-c wcscmp-sse2
8638 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8639 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8640 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8641 * wcsmbs/wcscmp.c: Allow renaming.
8643 2011-09-05 David S. Miller <davem@davemloft.net>
8645 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8646 stack slot, rather than the struct return pointer slot.
8647 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8648 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8650 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8652 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8654 * po/ja.po: Update from translation team.
8657 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8658 kernel in 64-bit binaries.
8660 2011-09-01 David S. Miller <davem@davemloft.net>
8662 * elf/elf.h (HWCAP_SPARC_*): Move to..
8663 * sysdeps/sparc/sysdep.h: this new file and add new values.
8664 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8665 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8666 _DL_HWCAP_COUNT to 24.
8667 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8669 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8670 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8671 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8672 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8673 instead of magic constants.
8674 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8676 2011-08-31 David S. Miller <davem@davemloft.net>
8678 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8679 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8680 Reimplement to do errno handling inline.
8681 (SYSCALL_ERROR_HANDLER): New macro.
8682 (__SYSCALL_STRING): Do not do errno handling in asm.
8683 (__CLONE_SYSCALL_STRING): Delete.
8684 (__INTERNAL_SYSCALL_STRING): Delete.
8685 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8686 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8687 (PSEUDO): Reimplement to do errno handling inline.
8688 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8689 (SYSCALL_ERROR_HANDLER): New macro.
8690 (__SYSCALL_STRING): Do not do errno handling in asm.
8691 (__CLONE_SYSCALL_STRING): Delete.
8692 (__INTERNAL_SYSCALL_STRING): Delete.
8693 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8694 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8696 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8697 (inline_syscall*): Add 'err' argument.
8698 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8699 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8700 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8701 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8703 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8704 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8706 2011-08-30 Andreas Schwab <schwab@redhat.com>
8708 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8710 2011-08-29 Jiri Olsa <jolsa@redhat.com>
8712 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8715 2011-08-24 David S. Miller <davem@davemloft.net>
8717 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8719 2011-08-24 Andreas Schwab <schwab@redhat.com>
8721 * elf/Makefile: Add rules to build and run unload8 test.
8722 * elf/unload8.c: New file.
8723 * elf/unload8mod1.c: New file.
8724 * elf/unload8mod1x.c: New file.
8725 * elf/unload8mod2.c: New file.
8726 * elf/unload8mod3.c: New file.
8728 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8731 2011-08-23 David S. Miller <davem@davemloft.net>
8733 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8734 subtract stack bias.
8735 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8736 %sp not %fp in calculations.
8737 (_JMPBUF_UNWINDS_ADJ): Likewise.
8739 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8740 (aio_suspend): Call it to force an exception region around the
8741 AIO_MISC_WAIT() invocation.
8743 2011-08-23 Andreas Schwab <schwab@redhat.com>
8745 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8748 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8750 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8752 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8754 (Elf64_FuncDesc): Remove.
8756 2011-08-22 David S. Miller <davem@davemloft.net>
8758 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8759 sigaltstack check, add missing cfi directives.
8760 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8761 missing cfi directives, and sigaltstack handling.
8763 2011-08-16 Andreas Schwab <schwab@redhat.com>
8766 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8767 object is seen twice.
8768 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8770 * elf/Makefile (distribute): Add tst-initorder2.c.
8771 (tests): Add tst-initorder2.
8772 (modules-names): Add tst-initorder2a tst-initorder2b
8773 tst-initorder2c tst-initorder2d. Add rules to build them.
8774 ($(objpfx)tst-initorder2.out): New rule.
8775 * elf/tst-initorder2.c: New file.
8776 * elf/tst-initorder2.exp: New file.
8778 2011-08-22 Andreas Schwab <schwab@redhat.com>
8780 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8782 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8783 dependencies back to end of function.
8785 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8788 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8791 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8792 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8793 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8794 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8795 of __vdso_gettimeofday.
8796 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8797 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8799 (_libc_vdso_platform_setup): Remove initialization of
8800 __vdso_gettimeofday and __vdso_time.
8802 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8804 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8806 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8809 * elf/dl-open.c (add_to_global): Report additions to the global scope
8810 for LD_DEBUG=scopes.
8811 (dl_open_worker): Also print scope of newly loaded dependencies.
8812 (_dl_show_scope): Indicate if there is no scope.
8815 * stdio-common/Makefile (tests): Add bug24.
8816 * stdio-common/bug24.c: New file.
8818 2011-08-19 Andreas Jaeger <aj@suse.de>
8821 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8822 non-existant file when using close-on-exec mode.
8824 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8826 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8827 the very first instruction.
8829 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8830 the CFI state in the end.
8831 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8832 inclusion of dl-trampoline.h.
8833 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8835 2011-08-19 Andreas Schwab <schwab@redhat.com>
8837 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8838 expectations for long double.
8840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8841 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8843 2011-08-14 David S. Miller <davem@davemloft.net>
8845 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8846 artificual limit depends upon the system page size.
8848 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8850 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8851 * resolv/Makefile: Define CFLAGS-libresolv.
8853 2011-08-17 Andreas Schwab <schwab@redhat.com>
8855 * nss/makedb.c (compute_tables): Make variables used in nested
8858 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8860 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8861 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8862 if buffer was too small.
8864 * elf/pldd.c (main): Attach to all threads in the process.
8865 Rewrite /proc handling to use *at functions.
8867 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8869 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8870 specifies first scope to show.
8871 (dl_open_worker): Update callers. Move printing scope of new
8872 object to before the relocation.
8873 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8874 * sysdeps/generic/ldsodefs.h: Update declaration.
8876 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8877 string for the scope number.
8879 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8881 * nscd/servicescache.c (cache_addserv): Make sure written is always
8884 2011-08-14 Roland McGrath <roland@hack.frob.com>
8886 * sysdeps/i386/i486/bits/atomic.h
8887 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8888 statement expression, so as to suppress "set but not used" warning.
8889 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8891 * string/strncat.c (STRNCAT): Use prototype definition.
8893 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8894 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8896 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8897 (localedef-modules): Add localedef.
8898 (locale-modules): Add locale.
8900 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8901 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8904 2011-08-14 David S. Miller <davem@davemloft.net>
8906 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8907 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8909 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8911 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8912 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8913 * elf/rtld.c (dl_main): Set l_name of vDSO.
8914 Call _dl_show_scope when DL_DEBUG_SCOPES.
8915 (process_dl_debug): Recognize scopes flag and also set it for all.
8916 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8917 Declare _dl_show_scope.
8919 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8920 (do_dlopen): Pass caller_dlopen to dl_open.
8921 (__libc_dlopen_mode): Initialize caller_dlopen.
8923 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8924 of libc. Make tolower call locale-independent. Optimize a bit by
8925 using isdigit instead of isalnum.
8926 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8928 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8930 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8931 was a dependency or dynamically loaded.
8933 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8935 * intl/l10nflist.c: Allow architecture-specific pop function.
8936 * sysdeps/x86_64/l10nflist.c: New file.
8938 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8941 2011-08-10 Andreas Schwab <schwab@redhat.com>
8943 * include/dirent.h: Add libc_hidden_proto for scandirat and
8944 scandirat64. Don't declare __scandirat64.
8945 * dirent/scandirat.c: Add libc_hidden_def.
8946 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8947 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8949 2011-08-10 David S. Miller <davem@davemloft.net>
8951 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8953 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8954 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8955 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8957 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8959 * Versions.def [libc]: Add GLIBC_2.15.
8960 * dirent/Makefile (routines): Add scandirat and scandirat64.
8961 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8963 * dirent/dirent.h: Declare scandirat and scandirat64.
8964 * dirent/scandirat.c: New file.
8965 * dirent/scandirat64.c: New file.
8966 * sysdeps/wordsize-64/scandirat.c: New file.
8967 * sysdeps/wordsize-64/scandirat64.c: New file.
8968 * dirent/opendir.c: Define opendirat.
8969 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8971 * dirent/scandir64.c: Adjust for scandir.c change.
8972 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8973 __scandirat64, and __scandir_cancel_handler.
8974 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8975 additional parameter and use openat instead of open (outside of ld.so).
8976 Add new __opendir as wrapper around __opendirat.
8977 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8978 here without requiring old scandirat implementation.
8980 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8982 * dirent/scandir.c (cancel_handler): Renamed to
8983 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8984 defined. Adjust users.
8985 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8986 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8988 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8990 * string/test-string.h (IMPL): Use __STRING to expand name and then
8993 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8996 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8998 * string/Makefile: Update.
8999 (strop-tests): Append strncat.
9000 * string/test-wcscmp.c: New file.
9001 New comprehensive test for wcscmp.
9002 * string/test-strcmp.c: Update.
9005 2011-07-22 Andreas Schwab <schwab@redhat.com>
9007 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9010 2011-07-26 Andreas Schwab <schwab@redhat.com>
9012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9013 encoding to ACE if AI_IDN.
9015 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9017 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9018 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9020 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9022 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9023 Fix overflow bug in strncat.
9024 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9026 * string/test-strncat.c: Update.
9027 Add new tests for checking overflow bugs.
9029 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9031 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9032 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9033 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9034 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9035 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9036 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9037 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9038 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9039 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9041 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9042 (USE_AS_STRCAT): Define.
9043 Add strcat and strncat support.
9044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9046 2011-07-25 Andreas Schwab <schwab@redhat.com>
9048 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9049 __n bigger than INT_MAX+1.
9050 (__strncmp_g): Likewise.
9052 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9054 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9055 * libio/stido.h: Likewise.
9057 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9059 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9062 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9063 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9064 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9065 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9066 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9069 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9072 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9074 (_dl_x86_64_save_sse): Likewise.
9076 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9080 (_dl_x86_64_save_sse): Likewise.
9082 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9084 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9086 2011-07-21 Andreas Schwab <schwab@redhat.com>
9088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9090 (_dl_x86_64_save_sse): Use correct AVX check.
9092 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9094 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9095 bug in strncpy/strncat.
9096 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9098 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9100 * string/tester.c (test_strcat): Add tests for different alignments
9101 of source and destination.
9102 (test_strncat): Likewise.
9104 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9107 * posix/glob.c (glob): Check passed in values before using them in
9108 expressions to avoid some overflows.
9109 (glob_in_dir): Likewise.
9112 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9113 check for AVX enablement so that we don't crash with old kernels and
9115 * elf/tst-audit4.c: Add same checks here.
9116 * elf/tst-audit6.c: Likewise.
9118 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9120 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9122 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9124 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9126 * po/cs.po: Update from translation team.
9127 * po/bg.po: Likewise.
9129 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9131 * misc/sys/cdefs.h: Add support for const attribute.
9132 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9133 to gnu_dev_{major,minor,makedev} functions.
9135 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9137 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9139 2011-07-20 Andreas Schwab <schwab@redhat.com>
9141 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9144 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9146 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9147 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9148 register in order to avoid conflicts with the soft frame pointer
9149 being held in r11 when necessary.
9150 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9151 (INTERNAL_VSYSCALL_NCS): Likewise.
9153 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9155 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9156 * elf/dl-fini.c (_dl_fini): Adjust caller.
9157 * elf/dl-close.c (_dl_close_worker): Likewise.
9158 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9160 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9162 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9163 "aux_cache->nlibs < 0".
9165 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9166 in the reload-count case.
9168 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9171 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9172 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9173 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9174 * sysdeps/x86_64/multiarch/strcat.S: New file.
9175 * sysdeps/x86_64/multiarch/strncat.S: New file.
9176 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9177 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9178 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9179 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9180 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9181 (USE_AS_STRCAT): Define.
9182 Add strcat and strncat support.
9183 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9184 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9185 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9186 * string/strncat.c: Update.
9187 (USE_AS_STRNCAT): Define.
9188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9189 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9191 * sysdeps/x86_64/multiarch/init-arch.h
9192 (bit_Prefer_PMINUB_for_stringop): New.
9193 (index_Prefer_PMINUB_for_stringop): Likewise.
9194 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9195 bit_Prefer_PMINUB_for_stringop.
9197 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9199 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9201 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9202 of casting of buffer.
9203 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9204 buffer32 and buffer64.
9205 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9206 writes instead of casting of buffer.
9207 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9209 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9212 2011-07-19 Andreas Schwab <schwab@redhat.com>
9214 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9216 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9218 * nscd/nscd.c (termination_handler): Don't do anything for a database
9219 if it has not yet been initialized.
9221 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9223 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9225 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9227 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9229 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9231 * po/nl.po: Update from translation team.
9232 * po/sv.po: Likewise.
9234 2011-07-16 Roland McGrath <roland@hack.frob.com>
9236 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9237 now disallowed by GCC.
9239 * configure.in (use-default-link): Default to yes if a test -shared
9240 link meets our qualifications.
9241 * configure: Regenerated.
9243 * config.make.in (output-format): New variable.
9244 * configure.in: Check for ld --print-output-format support.
9245 * configure: Regenerated.
9246 * Makerules ($(common-objpfx)format.lds)
9247 [$(output-format) != unknown]: Just use $(output-format),
9248 instead of the linker-script munging.
9250 2011-07-14 Roland McGrath <roland@hack.frob.com>
9252 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9253 of $(common-objpfx)shlib.lds.
9254 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9256 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9257 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9259 * configure.in (-z relro check): Adjust test code to add a large
9260 writable data section after it.
9261 * configure: Regenerated.
9263 2011-07-11 Roland McGrath <roland@hack.frob.com>
9265 * configure.in (-z relro check): Fix test code to make the variable
9267 * configure: Regenerated.
9269 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9271 * nscd/nscd.h (struct traced_file): Define.
9272 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9273 elements. Add traced_files.
9274 (inotify_fd): Declare.
9275 (register_traced_file): Declare.
9276 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9277 (inotify_fd): Export.
9278 (resolv_conf_descr): Remove.
9279 (nscd_init): Move inotify descriptor creation to main.
9280 Don't register files for notification here.
9281 (register_traced_file): New function.
9282 (invalidate_cache): Don't use reset_res to determine whether to call
9283 res_init, go through the list of registered files.
9284 (main_loop_poll): The inotify descriptors are now stored in the
9285 structures for the traced files.
9286 (main_loop_epoll): Likewise
9287 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9288 to __nss_disable_nscd.
9289 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9290 for a database anymore. Check the records for all the registered
9292 * nss/Makefile (libnss_files-routines): Add files-init.
9293 (libnss_db-routines): Add db-init.
9294 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9295 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9296 * nss/nss_db/db-init.c: New file.
9297 * nss/nss_files/files-init.c: New file.
9298 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9299 __nss_lookup_function.
9300 (__nss_lookup_function): Call nss_load_library.
9301 (nss_load_all_libraries): New function.
9302 (__nss_disable_nscd): Take parameter with callback function for files
9303 to register. Set is_nscd. Load all the DSOs for the NSS modules
9304 used for the cached services.
9305 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9306 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9307 options for features to all the files in nscd.
9309 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9311 2011-07-10 Roland McGrath <roland@hack.frob.com>
9313 * csu/elf-init.c (__libc_csu_init): Comment typo.
9315 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9317 * po/pl.po: Update from translation team.
9318 * po/ja.po: Likewise.
9319 * po/ru.po: Likewise.
9320 * po/ko.po: Likewise.
9321 * po/fr.po: Likewise.
9323 2011-07-09 Roland McGrath <roland@hack.frob.com>
9325 * configure.in (.ctors/.dtors header and trailer check):
9326 Use an empirical test on a built program.
9327 * configure: Regenerated.
9329 * configure.in (-z relro check): Use an empirical test on a built DSO.
9330 Detect, but do not require, on ia64.
9331 * configure: Regenerated.
9333 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9334 Update tests that use readelf to use $READELF instead.
9335 * configure: Regenerated.
9337 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9339 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9340 if the result is not used.
9342 2011-07-05 Andreas Jaeger <aj@suse.de>
9345 * stdlib/tst-strtod.c: Add testcase.
9347 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9349 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9350 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9351 The latter has a higher limit. Take additional parameter to pass to
9353 (__pathconf): Pass file to __statfs_link_max.
9354 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9356 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9360 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9361 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9363 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9364 (__statfs_filesize_max): Likewise.
9365 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9367 2011-07-05 Andreas Jaeger <aj@suse.de>
9369 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9371 2011-07-06 Marek Polacek <mpolacek@redhat.com>
9373 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9375 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9378 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9380 * Makefile (strop-tests): Add strncat.
9381 * string/test-strncat.c: New file.
9383 2011-06-30 Marek Polacek <mpolacek@redhat.com>
9385 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9387 2011-06-21 Andreas Jaeger <aj@suse.de>
9389 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9390 Copy rule from iconvdata/Makefile.
9392 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9395 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9396 but no long options are defined, just return 'W'.
9398 2011-06-22 Marek Polacek <mpolacek@redhat.com>
9401 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9403 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9405 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9407 (innetgr): Likewise.
9409 2011-07-05 Roland McGrath <roland@hack.frob.com>
9411 * config.make.in (install_root): Default to $(DESTDIR).
9413 2011-07-05 Ulrich Drepper <drepper@gmail.com>
9415 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9417 2011-07-02 Roland McGrath <roland@hack.frob.com>
9419 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9421 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9422 containing directory rather than embedding absolute directory names.
9424 * scripts/check-local-headers.sh: Rewritten using awk.
9425 Match by word, not by line. Print error messages for matches.
9426 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9428 * Makerules [shlib-lds-flags empty]:
9429 ($(common-objpfx)libc_pic.opts): New target.
9430 ($(common-objpfx)libc_pic.os.clean): New target.
9431 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9433 * config.make.in (OBJCOPY): New variable.
9434 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9435 * configure: Regenerated.
9437 * config.make.in (use-default-link): New variable.
9438 * configure.in (use_default_link): Grok --with-default-link to set it.
9439 * configure: Regenerated.
9440 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9441 (shlib-lds, shlib-lds-flags): Define to empty.
9443 * Makerules (shlib-lds): New variable.
9444 (shlib-lds-flags): New variable.
9445 (build-shlib, build-moduile, build-module-asneeded): Use it.
9446 ($(common-objpfx)libc.so): Use $(shlib-lds).
9447 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9448 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9450 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9451 DT_FLAGS/DT_FLAGS_1 with zero flags.
9453 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9454 linker script munging.
9456 2011-07-02 Ulrich Drepper <drepper@gmail.com>
9458 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9460 * crypt/sha512.c (sha512_process_block): Perform total addition using
9461 128-bit if possible.
9462 (__sha512_finish_ctx): Likewise.
9463 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9465 * crypt/sha256.c (SWAP64): Define.
9466 (sha256_process_block): Perform total addition using 64-bit if
9468 (__sha256_finish_ctx): Likewise.
9470 2011-07-01 Ulrich Drepper <drepper@gmail.com>
9472 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9473 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9474 * nscd/hstcache.c (cache_addhst): Likewise.
9475 * nscd/grpcache.c (cache_addgr): Likewise.
9476 * nscd/aicache.c (addhstaiX): Likewise
9477 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9479 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
9481 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9482 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9483 * nscd/hstcache.c (cache_addhst): Likewise.
9484 * nscd/grpcache.c (cache_addgr): Likewise.
9485 * nscd/aicache.c (addhstaiX): Likewise
9487 2011-07-01 Andreas Schwab <schwab@redhat.com>
9489 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9490 domain only when needed.
9492 2011-06-30 Andreas Schwab <schwab@redhat.com>
9494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9497 2011-06-29 Ulrich Drepper <drepper@gmail.com>
9499 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9500 are re-adding the entry.
9501 * nscd/servicescache.c (cache_addserv): Likewise.
9503 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9505 * sysdeps/generic/dl-irel.h: fix protection against multiple
9507 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9509 2011-06-28 Ulrich Drepper <drepper@gmail.com>
9512 * malloc/memusage.sh: Fix quoting in message.
9513 * debug/xtrace.sh: Likewise.
9515 * configure.in: Remove support for --experimental-malloc option, make
9517 * config.make.in: Likewise.
9518 * malloc/Makefile: Likewise.
9520 2011-06-27 Andreas Schwab <schwab@redhat.com>
9522 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9523 two-byte characters.
9525 2011-06-27 Roland McGrath <roland@hack.frob.com>
9527 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9528 AC_CACHE_CHECK invocation.
9529 * configure: Regenerated.
9531 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9533 2011-06-27 Ulrich Drepper <drepper@gmail.com>
9536 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9537 bit from old_res_options.
9539 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9541 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9542 value type for setfct.
9544 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9546 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9547 __gettimeofday instead of gettimeofday.
9549 2011-06-26 Ulrich Drepper <drepper@gmail.com>
9551 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9553 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9555 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9557 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9560 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9563 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9564 strcpy-sse2-unaligned strncpy-sse2-unaligned
9565 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9566 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9567 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9568 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9569 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9570 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9571 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9572 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9573 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9574 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9575 (STRCPY): Support SSE2 and SSSE3 versions.
9577 2011-06-24 Ulrich Drepper <drepper@gmail.com>
9580 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9581 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9582 kernels which artificially limit size of requests.
9584 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9586 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9587 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9588 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9589 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9590 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9591 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9592 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9593 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9594 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9595 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9596 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9597 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9598 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9599 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9600 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9602 Enable unaligned load optimization for Intel Core i3, i5 and i7
9604 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9606 (index_Fast_Unaligned_Load): Define.
9607 (HAS_FAST_UNALIGNED_LOAD): Define.
9609 2011-06-23 Marek Polacek <mpolacek@redhat.com>
9611 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9613 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9616 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9617 until it is clear that the information is realy needed.
9618 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9620 2011-06-22 Andreas Schwab <schwab@redhat.com>
9622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9624 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9627 /sys/devices/system/cpu/online if it is usable.
9629 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9630 reading the information from the /proc filesystem to once a second.
9632 2011-06-21 Andreas Jaeger <aj@suse.de>
9634 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9635 NULL after inclusion of kernel headers.
9637 2011-06-21 Ulrich Drepper <drepper@gmail.com>
9639 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9640 calls to internal_setent.
9643 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9644 addresses using gethostbyname4_r ignore IPv4 addresses.
9646 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9647 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9649 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9651 2011-06-20 David S. Miller <davem@davemloft.net>
9653 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9655 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9657 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9659 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9660 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9661 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9662 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9663 * sysdeps/x86_64/dl-irel.h: Likewise.
9665 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9666 * elf/dl-sym.c: Likewise.
9668 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9670 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9671 need to dereference resplen2.
9673 2011-06-14 Andreas Schwab <schwab@redhat.com>
9675 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9677 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9679 * Makeconfig: Define vardbdir and inst_vardbdir.
9680 * nss/Makefile: Add rules to install db-Makefile.
9682 * nss/nss_db/db-XXX.c: Cleanup.
9684 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9685 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9687 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9688 * nss/makedb.c: Implement -g option to specify that value strings
9689 are generated and should not be added to table iterated over for
9691 * nss/nss_db/db-initgroups.c: New file.
9693 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9696 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9697 (internal_getgrouplist): Adjust to name change.
9698 Update use_initgroups_entry if this is not the first call.
9699 * nss/databases.def: Add initgroups entry.
9701 * nss/makedb.c (compute_tables): Check result of multiple hash table
9702 sizes to minimize maximum chain length.
9704 2011-06-14 Ulrich Drepper <drepper@gmail.com>
9706 * Versions.def: Add entry for libnss_db.
9707 * shlib-versions: Likewise.
9708 * nss/Makefile: Add rules to build libnss_db.
9709 * nss/Versions: Add libnss_db information. Organize libnss_files
9711 * nss/db-Makefile: Add gshadow support. Change rules for the new
9712 makedb progra. Some minor improvements to generate smaller files.
9713 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9715 * nss/makedb.c: ...here.
9716 Improve database format to be smaller and require less memory at
9718 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9720 * nss/nss_db/db-netgrp.c: Likewise.
9721 * nss/nss_db/db-open.c: Likewise.
9722 * nss/nss_files/flies-XXX.x: Adjust comments.
9723 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9724 * nss/nss_files/files-grp.c: Likewise.
9725 * nss/nss_files/files-hosts.c: Likewise.
9726 * nss/nss_files/files-network.c: Likewise.
9727 * nss/nss_files/files-proto.c: Likewise.
9728 * nss/nss_files/files-pwd.c: Likewise.
9729 * nss/nss_files/files-rpc.c: Likewise.
9730 * nss/nss_files/files-service.c: Likewise.
9731 * nss/nss_files/files-sgrp.c: Likewise.
9732 * nss/nss_files/files-spwd.c: Likewise.
9733 * nss/nss_db/db-alias.c: Removed.
9734 * nss/nss_db/dummy-db.h: Removed.
9736 2011-06-02 Ulrich Drepper <drepper@gmail.com>
9738 * nss/makedb.c: Rewritten to not use database library.
9739 * nss/Makefile: Update to build new makedb program.
9741 2011-06-14 Andreas Jaeger <aj@suse.de>
9743 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9746 2011-06-10 Andreas Schwab <schwab@redhat.com>
9748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9751 2011-06-10 Roland McGrath <roland@hack.frob.com>
9753 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9754 * elf/Makefile ($(objpfx)ld.so): Likewise.
9756 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9757 Don't list ld.so twice in dependencies.
9759 * posix/bug-regex31.c: Include <stdlib.h>.
9761 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9763 * nis/nss_compat/compat-spwd.c
9764 (getspent_next_nss_netgr): Remove unused variable.
9765 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9767 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9768 nonmembers" output to use the right array.
9770 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9772 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9774 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9775 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9776 * catgets/gencat.c (read_input_file): Likewise.
9777 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9779 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9780 variable definition inside #if's controlling its use.
9782 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9784 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9786 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9788 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9791 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9793 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9794 * configure: Regenerated.
9796 * Makerules: Revert last change.
9797 * elf/Makefile: Likewise.
9799 2011-06-09 Roland McGrath <roland@hack.frob.com>
9801 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9802 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9803 (reloc-link): Likewise.
9805 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9807 * elf/Makefile: Add rules to build pldd.
9808 * elf/pldd.c: New file.
9809 * elf/pldd-xx.c: New file.
9811 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9813 * version.h: Update for 2.15 development version.
9815 2011-06-07 David S. Miller <davem@davemloft.net>
9817 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9819 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9820 elf_machine_lazy_rel): Likewise.
9821 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9822 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9823 elf_machine_lazy_rel): Likewise.
9824 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9825 dl_hwcap via passed in argument.
9826 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9829 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9831 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9833 2011-06-06 Roland McGrath <roland@hack.frob.com>
9836 * manual/fdl-1.1.texi: New file, verbatim from:
9837 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9838 * manual/lgpl-2.1.texi: New file, verbatim from:
9839 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9840 * manual/Makefile (licenses): New variable, list those new file names.
9842 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9844 * manual/fdl.texi: File removed.
9845 * manual/lesser.texi: File removed.
9846 * manual/libc.texinfo (Copying, Documentation License):
9847 Use new @include file names, put @appendix directive before @include.
9849 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9852 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9853 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9854 (mq_open): Add __NTH.
9856 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9859 Assume Intel Core i3/i5/i7 processor if AVX is available.
9861 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9866 2011-05-31 Andreas Schwab <schwab@redhat.com>
9868 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9869 memory. Use alloca_account. Fix memory leak when retrying.
9871 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9873 * version.h (RELEASE): Bump for 2.14 release.
9874 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9876 * config.make.in (RANLIB): Remove entry.
9878 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9880 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9881 (libc.pot): Work around missing support for .ksh extension in xgettext.
9884 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9885 if both request failed.
9886 (send_dg): In case of server errors clear resplen or *resplen2.
9889 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9890 when there are multiple maps.
9891 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9892 (_dl_fini): Remove test here.
9894 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9896 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9899 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9900 bit from old_res_options.
9901 (gaih_inet): Likewise.
9904 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9907 * resolv/res_init.c (res_setoptions): Make the code more compact.
9910 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9914 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9916 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9919 * malloc/malloc.h: Declare malloc hook variables as volatile.
9921 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9925 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9926 raise in the comment.
9927 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9928 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9929 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9931 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9934 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9935 grow the buffers more if it already has to be sufficient.
9936 (build_wcs_upper_buffer): Likewise.
9937 * posix/regexec.c (check_matching): Likewise.
9938 (clean_state_log_if_needed): Likewise.
9939 (extend_buffers): Don't enlarge buffers beyond size of the input
9941 Patches mostly by Emil Wojak <emil@wojak.eu>.
9942 * posix/bug-regex32.c: New file.
9943 * posix/Makefile (tests): Add bug-regex32.
9945 * locale/findlocale.c (_nl_find_locale): Return right away if
9946 _nl_explode_name failed.
9947 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9949 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9951 * debug/xtrace.sh: Unify messages.
9952 * malloc/memusage.sh: Likewise.
9955 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9956 time symbol from vDSO. Substitute with vsyscall if not available.
9957 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9960 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9961 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9962 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9963 Add sendmmsg and internal_sendmmsg.
9964 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9965 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9966 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9968 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9969 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9970 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9972 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9975 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9976 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9978 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9982 * iconvdata/Makefile (tests): Add bug-iconv9.
9983 * iconvdata/bug-iconv9.c: New file.
9985 2011-05-27 Andreas Schwab <schwab@redhat.com>
9988 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9990 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9992 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9993 (struct user_regs_struct): Change intcs field back to cs.
9995 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9997 * po/ja.po: Update from translation team.
9999 2011-05-23 Ulrich Drepper <drepper@gmail.com>
10002 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10003 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10005 2011-05-20 Andreas Schwab <schwab@redhat.com>
10007 * stdlib/longlong.h: Update from GCC.
10009 2011-05-23 Andreas Schwab <schwab@redhat.com>
10011 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10013 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10014 Add parameter name.
10015 (__sysconf): Pass it down.
10017 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10020 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10022 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10023 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10024 add in in __libc_use_alloca calls. Adjust callers.
10025 (glob): Use malloc in some situations.
10027 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10028 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10031 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10033 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10034 and CLOCK_BOOTTIME_ALARM.
10037 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10040 * string/_strerror.c (__strerror_r): Print negative errors as signed
10044 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10045 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10046 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10048 * configure.in: Fix typo in redirection and correct removal of test
10049 files in two cases.
10052 * locale/setlocale.c (new_composite_name): Fix test to check for
10053 identical name of all categories.
10056 * libio/filedoalloc.c (local_isatty): New function.
10057 (_IO_file_doallocate): Use local_isatty.
10058 * stdio-common/perror.c (perror): In case a new stream is used
10059 forward the stream error.
10060 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10063 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10068 * include/alloca.h (extend_alloca_account): Define.
10071 * posix/regex.h: Fix comments with documentation of user-accessible
10072 fields after compilation and describe correct free'ing of pattern
10073 after re_compile_pattern.
10074 Patch by Reuben Thomas <rrt@sc3d.org>.
10076 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10078 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10079 and -mno-altivec to prevent the compiler from using Altivec and/or
10080 VSX instructions when the corresponding registers are not available.
10082 2011-05-19 Andreas Schwab <schwab@redhat.com>
10084 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10086 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10088 * libio/freopen.c (freopen): Use __dup2, not dup2.
10089 * libio/freopen64.c (freopen64): Likewise.
10091 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10094 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10095 * math/Makefile (tests): Add test-powl.
10096 (CFLAGS-test-powl.c): Define.
10097 * math/test-powl.c: New file.
10099 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10101 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10103 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10106 * iconvdata/gb18030.c: Update to GB18020-2005.
10108 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10110 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10111 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10112 Patch by Aharon Robbins <arnold@skeeve.com>.
10115 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10119 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10120 through underflows.
10123 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10124 point to strings before performing equality test for error_one_per_line
10128 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10131 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10132 (struct user_fpregs_struct): Avoid __uint*_t types.
10135 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10136 symbol info. Use it instead of calling _dl_addr locally.
10137 (lock_and_info): New function.
10138 (tr_freehook): Call lock_and_info and pass symbol info as additional
10139 parameter to tr_where.
10140 (tr_mallochook): Likewise.
10141 (tr_reallochook): Likewise.
10142 (tr_memalignhook): Likewise.
10144 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10145 used and couldn't be at all thread-safe.
10147 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10149 * libio/freopen.c (freopen): Don't close old file descriptor
10150 before the new one is opened. Instead dup the new file descriptor
10151 to the old one after the new stream is created.
10152 * libio/freopen64.c (freopen64): Likewise.
10153 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10154 * libio/fileops.c (_IO_new_file_close_it): Handle new
10155 _IO_FLAGS2_NOCLOSE flag.
10156 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10157 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10158 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10159 _IO_FLAGS2_NOCLOSE flag.
10160 * include/unistd.h: Add hidden_proto for dup3.
10161 Define __have_dup3.
10162 * io/dup3.c: Define hidden symbol.
10163 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10166 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10167 when an incomplete long option is used.
10168 * posix/tst-getopt_long1.c: New file.
10169 * posix/Makefile (tests): Add tst-getopt_long1.
10172 * scripts/config.guess: Update from autoconf-2.68.
10173 * scripts/config.sub: Likewise.
10176 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10178 (has_cpuclock): ...this. New function.
10179 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10180 macro here based on has_cpuclock code.
10183 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10184 First byte (not low byte) is now always NUL.
10185 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10187 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10188 Use non-cancelable interfaces.
10191 * locale/iso-639.def: Add entry for Sorani.
10194 * include/stdlib.h: Move include protection to the right place.
10195 Define abort_msg_s. Declare __abort_msg with it.
10196 * stdlib/abort.c (__abort_msg): Adjust type.
10197 * assert/assert.c (__assert_fail_base): New function. Majority
10198 of code from __assert_fail. Allocate memory for __abort_msg with
10200 (__assert_fail): Now call __assert_fail_base.
10201 * assert/assert-perr.c: Remove bulk of implementation. Use
10202 __assert_fail_base.
10203 * include/assert.hL Declare __assert_fail_base.
10204 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10206 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10208 2011-05-14 Ulrich Drepper <drepper@gmail.com>
10212 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10213 until all modules are registered in the DTV.
10214 * elf/Makefile: Add rules to build and run tst-tls19.
10215 * elf/tst-tls19.c: New file.
10216 * elf/tst-tls19mod1.c: New file.
10217 * elf/tst-tls19mod2.c: New file.
10218 * elf/tst-tls19mod3.c: New file.
10219 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10222 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10226 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10227 two-byte sequence errors.
10228 * iconvdata/Makefile (tests): Add bug-iconv8.
10229 * iconvdata/bug-iconv8.c: New file.
10232 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10235 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10238 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10239 (dummy_getcfa): New function.
10240 (init): Get _Unwind_GetCFA address, use dummy if not found.
10241 (backtrace_helper): In recursion check, also check whether CFA changes.
10242 (__backtrace): Completely initialize arg.
10244 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10245 storing incomplete byte sequence in state object. Avoid testing for
10246 guaranteed too small input if we know there is enough data available.
10248 2011-05-11 Andreas Schwab <schwab@redhat.com>
10250 * Makeconfig (+link-pie): Indent.
10251 * Rules (binaries-pie): Define if $(have-fpie) and
10253 (binaries-shared): Also filter out $(binaries-pie).
10254 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10255 * nscd/Makefile (others-pie): Add nscd.
10256 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10257 ($(objpfx)nscd): Remove command override.
10258 * login/Makefile (others-pie): Add pt_chown.
10259 ($(objpfx)pt_chown): Remove command override.
10260 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10261 remove command overrides.
10263 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10265 * libio/tst_putwc.c: Fix error messages.
10268 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10269 currently writing and seek to current position when not.
10270 * libio/Makefile (tests): Add bug-fclose1.
10271 * libio/bug-fclose1.c: New file.
10273 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10276 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10277 don't set DF_1_NODELETE here.
10278 (do_lookup_x): When entering new entry test for copy relocation
10279 and if necessary set DF_1_NODELETE flag.
10280 * elf/tst-unique4.cc: New file.
10281 * elf/tst-unique4.h: New file.
10282 * elf/tst-unique4lib.cc: New file.
10283 * elf/Makefile: Add rules to build and run tst-unique4.
10284 Patch by Piotr Bury <pbury@goahead.com>.
10286 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10289 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10292 * misc/mntent_r.c (addmntent): Flush the stream after the output
10295 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10296 (is_trusted_path_normalize): Skip initial colon. Append slash
10297 to empty buffer. Duplicate is_trusted_path code but allow
10298 constructed patch to be prefix.
10299 (is_dst): Allow $ORIGIN followed by /.
10300 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10301 Correct testing of result of is_trusted_path_normalize
10302 (decompose_rpath): Fix warning.
10304 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10307 * grp/initgroups.c (internal_getgrouplist): When we found the service
10308 list through the initgroups entry in nsswitch.conf do not always
10309 continue on a successful lookup. Don't always use the
10310 __nss_group_database value if it is set.
10311 * nss/nsswitch.conf (initgroups): Change action for successful db
10312 lookup to continue for compatibility.
10314 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10317 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10319 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10321 * iconvdata/tst-tables.sh: Likewise.
10322 * iconvdata/cp770.c: New file.
10323 * iconvdata/cp771.c: New file.
10324 * iconvdata/cp772.c: New file.
10325 * iconvdata/cp773.c: New file.
10326 * iconvdata/cp774.c: New file.
10327 * iconvdata/testdata/CP770: New file.
10328 * iconvdata/testdata/CP770..UTF8: New file.
10329 * iconvdata/testdata/CP771: New file.
10330 * iconvdata/testdata/CP771..UTF8: New file.
10331 * iconvdata/testdata/CP772: New file.
10332 * iconvdata/testdata/CP772..UTF8: New file.
10333 * iconvdata/testdata/CP773: New file.
10334 * iconvdata/testdata/CP773..UTF8: New file.
10335 * iconvdata/testdata/CP774: New file.
10336 * iconvdata/testdata/CP774..UTF8: New file.
10338 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10340 * iconvdata/gen-8bit-gap.sh: Likewise.
10341 * iconvdata/gen-8bit.sh: Likewise.
10343 * locale/iso-639.def: Add ary entry.
10346 * locale/C-translit.h.in: Add U20A1 transliteration.
10349 * locale/iso-639.def: Add wae entry.
10350 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10353 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10357 * locale/C-translit.h.in: Add entry for U20B9.
10358 Patch by pravin.d.s@gmail.com.
10360 2011-05-08 Ulrich Drepper <drepper@gmail.com>
10363 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10364 ENAMETOOLONG use generic getcwd.
10365 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10366 in rtld. Use *stat64.
10367 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10368 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10369 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10370 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10371 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10372 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10373 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10374 __fstatat64 macros.
10375 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10376 * dirent/rewinddir.c: Add libc_hidden_def.
10377 * sysdeps/mach/hurd/rewinddir.c: Likewise.
10378 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
10380 * include/dirent.h (__alloc_dir): Add flags parameter.
10381 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10382 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10384 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10385 from fdopendir if O_CLOEXEC is already set.
10387 2011-03-15 Alan Modra <amodra@gmail.com>
10389 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10390 l_tls_firstbyte_offset non-zero. Save padding offset in
10391 l_tls_firstbyte_offset for later use.
10392 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10393 freeing static tls block.
10395 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10397 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10398 where #ifdef was intended. The intent is to prevent ARG_MAX from
10399 being defined by the kernel headers.
10401 2011-05-07 Ulrich Drepper <drepper@gmail.com>
10404 * resolv/resolv.h: Define RES_NOTLDQUERY.
10405 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10406 no-tld-query and set RES_NOTLDQUERY.
10407 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10408 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10409 modern BIND to search name as TLD unless forbidden.
10411 2011-05-07 Petr Baudis <pasky@suse.cz>
10412 Ulrich Drepper <drepper@gmail.com>
10415 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10416 (is_trusted_path): ...to here.
10417 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10418 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10419 using is_trusted_path_normalize() in setuid scripts.
10421 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10423 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10424 __BEGIN/__END_DECLS.
10426 2011-05-06 Ulrich Drepper <drepper@gmail.com>
10428 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10429 NSS_STATUS_NOTFOUND if no record was found.
10431 2011-05-05 Andreas Schwab <schwab@redhat.com>
10433 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10434 (headers-not-in-tirpc): Remove rpc/netdb.h
10435 * resolv/netdb.h: Revert last change.
10437 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10439 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10440 circular dependency between libgcc.a and libc.a.
10442 2011-05-05 Andreas Schwab <schwab@redhat.com>
10444 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10445 * nis/Makefile: Don't install rpcsvc/*.
10446 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10447 instead of <rpc/types.h>.
10448 (MAXHOSTNAMELEN): Define.
10450 2011-05-03 Andreas Schwab <schwab@redhat.com>
10452 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10454 2011-04-28 Maciej Babinski <mbabinski@google.com>
10457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10458 gethostbyname4_r when IPv6 results are possible.
10460 2011-05-02 Ulrich Drepper <drepper@gmail.com>
10463 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10464 _PC_PIPE_BUF handling.
10466 2011-04-30 Bruno Haible <bruno@clisp.org>
10469 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10470 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10472 * inet/getnameinfo.c (getnameinfo): Likewise.
10474 2011-04-29 Ulrich Drepper <drepper@gmail.com>
10476 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10477 to groups setting in database lookup.
10478 * nss/nsswitch.conf: Add initgroups entry.
10480 2011-04-22 Ulrich Drepper <drepper@gmail.com>
10483 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10485 Patch by Eric Blake <eblake@redhat.com>.
10487 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10489 * sunrpc/Makefile (need-export-routines): Add svc_run.
10490 (routines): Remove svc_run.
10491 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10492 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10493 * sunrpc/svc_run.c (svc_run): Likewise.
10494 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10496 2011-04-21 Ulrich Drepper <drepper@gmail.com>
10498 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10499 problem in reallocation in last patch.
10501 2011-04-20 Ulrich Drepper <drepper@gmail.com>
10503 * sunrpc/Makefile: Move inclusion of Rules.
10505 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10507 * nss/nss_files/files-initgroups.c: New file.
10508 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10509 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10510 _nss_files_initgroups_dyn.
10512 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10514 * elf/elf.h (R_ARM_IRELATIVE): Define.
10516 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10518 * po/ru.po: Update from translation team.
10520 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10522 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10525 2011-02-06 Mike Frysinger <vapier@gentoo.org>
10528 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10529 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10530 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10531 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10532 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10534 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10536 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10538 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10540 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10542 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10545 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10547 * stdlib/bug-getcontext.c: New file.
10548 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10550 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10552 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10553 instructions into .machine "z9-109".
10554 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10555 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10557 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10559 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10560 between environment variables and auxiliary vector.
10562 2011-04-16 Ulrich Drepper <drepper@gmail.com>
10564 * Makefile: Add rules to build linkobj/libc.so.
10565 * include/libc-symbols.h: Define libc_hidden_nolink.
10566 * include/rpc/auth.h: Mark functions which are to be hidden.
10567 * include/rpc/auth_des.h: Likewise.
10568 * include/rpc/auth_unix.h: Likewise.
10569 * include/rpc/clnt.h: Likewise.
10570 * include/rpc/des_crypt.h: Likewise.
10571 * include/rpc/key_prot.h: Likewise.
10572 * include/rpc/pmap_clnt.h: Likewise.
10573 * include/rpc/pmap_prot.h: Likewise.
10574 * include/rpc/pmap_rmt.h: Likewise.
10575 * include/rpc/rpc_msg.h: Likewise.
10576 * include/rpc/svc.h: Likewise.
10577 * include/rpc/svc_auth.h: Likewise.
10578 * include/rpc/xdr.h: Likewise.
10579 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10580 * nss/Makefile: Likewise.
10581 * sunrpc/Makefile: Don't install headers. Build library with normal
10582 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10583 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10584 for the compat linking library. Remove use of INTDEF/INTUSE.
10585 * sunrpc/auth_none.c: Likewise.
10586 * sunrpc/auth_unix.c: Likewise.
10587 * sunrpc/authdes_prot.c: Likewise.
10588 * sunrpc/authuxprot.c: Likewise.
10589 * sunrpc/clnt_gen.c: Likewise.
10590 * sunrpc/clnt_perr.c: Likewise.
10591 * sunrpc/clnt_raw.c: Likewise.
10592 * sunrpc/clnt_simp.c: Likewise.
10593 * sunrpc/clnt_tcp.c: Likewise.
10594 * sunrpc/clnt_udp.c: Likewise.
10595 * sunrpc/clnt_unix.c: Likewise.
10596 * sunrpc/des_crypt.c: Likewise.
10597 * sunrpc/des_soft.c: Likewise.
10598 * sunrpc/get_myaddr.c: Likewise.
10599 * sunrpc/key_call.c: Likewise.
10600 * sunrpc/key_prot.c: Likewise.
10601 * sunrpc/netname.c: Likewise.
10602 * sunrpc/pm_getmaps.c: Likewise.
10603 * sunrpc/pm_getport.c: Likewise.
10604 * sunrpc/pmap_clnt.c: Likewise.
10605 * sunrpc/pmap_prot.c: Likewise.
10606 * sunrpc/pmap_prot2.c: Likewise.
10607 * sunrpc/pmap_rmt.c: Likewise.
10608 * sunrpc/publickey.c: Likewise.
10609 * sunrpc/rpc_cmsg.c: Likewise.
10610 * sunrpc/rpc_common.c: Likewise.
10611 * sunrpc/rpc_dtable.c: Likewise.
10612 * sunrpc/rpc_prot.c: Likewise.
10613 * sunrpc/rpc_thread.c: Likewise.
10614 * sunrpc/rtime.c: Likewise.
10615 * sunrpc/svc.c: Likewise.
10616 * sunrpc/svc_auth.c: Likewise.
10617 * sunrpc/svc_authux.c: Likewise.
10618 * sunrpc/svc_raw.c: Likewise.
10619 * sunrpc/svc_run.c: Likewise.
10620 * sunrpc/svc_simple.c: Likewise.
10621 * sunrpc/svc_tcp.c: Likewise.
10622 * sunrpc/svc_udp.c: Likewise.
10623 * sunrpc/svc_unix.c: Likewise.
10624 * sunrpc/svcauth_des.c: Likewise.
10625 * sunrpc/xcrypt.c: Likewise.
10626 * sunrpc/xdr.c: Likewise.
10627 * sunrpc/xdr_array.c: Likewise.
10628 * sunrpc/xdr_float.c: Likewise.
10629 * sunrpc/xdr_intXX_t.c: Likewise.
10630 * sunrpc/xdr_mem.c: Likewise.
10631 * sunrpc/xdr_rec.c: Likewise.
10632 * sunrpc/xdr_ref.c: Likewise.
10633 * sunrpc/xdr_sizeof.c: Likewise.
10634 * sunrpc/xdr_stdio.c: Likewise.
10636 2011-04-10 Ulrich Drepper <drepper@gmail.com>
10639 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10640 * sysdeps/ia64/dl-tls.h: Likewise.
10641 * sysdeps/powerpc/dl-tls.h: Likewise.
10642 * sysdeps/s390/dl-tls.h: Likewise.
10643 * sysdeps/sh/dl-tls.h: Likewise.
10644 * sysdeps/sparc/dl-tls.h: Likewise.
10645 * sysdeps/x86_64/dl-tls.h: Likewise.
10646 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10648 2011-03-14 Andreas Schwab <schwab@redhat.com>
10650 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10651 rpath element also skip the following colon.
10652 (expand_dynamic_string_token): Add is_path parameter and pass
10653 down to DL_DST_REQUIRED and _dl_dst_substitute.
10654 (decompose_rpath): Call expand_dynamic_string_token with
10655 non-zero is_path. Ignore empty rpaths.
10656 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10659 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10664 2011-04-09 Ulrich Drepper <drepper@gmail.com>
10667 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10668 Patch by Filipe David Manana <fdmanana@apache.org>.
10670 2011-04-07 Andreas Schwab <schwab@redhat.com>
10672 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10673 Maintain aligned stack.
10674 (CHECK_RSP): Remove unused macro.
10676 2011-04-03 Ulrich Drepper <drepper@gmail.com>
10678 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10679 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10681 2011-04-02 Ulrich Drepper <drepper@gmail.com>
10683 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10685 * include/features.h: Mention __USE_XOPEN2K8 in comment.
10687 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10690 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10691 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10692 * sysdeps/x86_64/memmove.c: New file.
10693 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10694 (memcpy): Renamed to ...
10695 (__new_memcpy): This.
10696 (memcpy): Provide GLIBC_2_14 memcpy.
10697 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10698 (memcpy): Provide GLIBC_2_2_5 memcpy.
10700 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10703 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10705 2011-03-30 Andreas Schwab <schwab@redhat.com>
10707 * misc/syncfs.c: New file.
10708 * misc/Makefile (routines): Add syncfs.
10709 * posix/unistd.h: Declare syncfs.
10710 * sysdeps/unix/syscalls.list: Add syncfs.
10712 2011-04-01 Andreas Schwab <schwab@redhat.com>
10714 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10716 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10717 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10718 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10719 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10721 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10722 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10724 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10726 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10727 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10728 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10730 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10732 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10734 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10735 sync_file_range.c with -fexceptions.
10736 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10737 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10738 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10739 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10740 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10741 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10742 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10743 sync_file_range as cancellation point
10744 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10745 now a wrapper around __call_sync_file_range with cancellation handling.
10746 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10747 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10748 function name to __call_sync_file_range.
10749 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10750 Add call_sync_file_range.
10752 2011-04-01 Andreas Schwab <schwab@redhat.com>
10754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10757 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10759 * iconv/iconv.h: Fix typo in comment.
10760 * io/fcntl.h: Likewise.
10761 * libio/stdio.h: Likewise.
10762 * posix/spawn.h: Likewise.
10763 * posix/unistd.h: Likewise.
10764 * stdlib/stdlib.h: Likewise.
10765 * time/time.h: Likewise.
10766 * wcsmbs/wchar.h: Likewise.
10768 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10769 open_by_handle): Add.
10770 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10771 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10772 Augment a few comments.
10773 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10774 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10775 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10777 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10778 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10781 * io/fcntl.h (AT_EMPTY_PATH): Define.
10783 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10785 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10786 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10787 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10789 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10790 * Versions.def: Add GLIBC_2.14.
10791 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10794 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10796 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10798 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10800 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10803 * string/test-strncmp.c (do_page_test): New function.
10804 (check2): Likewise.
10805 (test_main): Call check2.
10806 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10808 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10811 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10812 Handle cache information in CPU leaf 4.
10813 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10815 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10818 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10819 character representation.
10820 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10822 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10824 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10825 END(__isnan) to END(__isnanf) to match function entry point/label
10826 EALIGN(__isnanf,...).
10828 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10830 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10832 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10835 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10836 copy from the symbol referenced in the relocation to initialize the
10838 Patch by Piotr Bury <pbury@goahead.com>.
10839 * elf/Makefile: Add rules to build and tst-unique3.
10840 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10841 * elf/tst-unique3.cc: New file.
10842 * elf/tst-unique3.h: New file.
10843 * elf/tst-unique3lib.cc: New file.
10844 * elf/tst-unique3lib2.cc: New file.
10846 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10848 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10850 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10851 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10854 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10856 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10857 to-be-loaded object along a path to loader is ld.so.
10859 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10860 Ulrich Drepper <drepper@gmail.com>
10862 * sysdeps/x86_64/memset.S: After aligning destination, code
10863 branches to different locations depending on the value of
10864 misalignment, when multiarch is enabled. Fix this.
10866 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10868 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10869 Set _x86_64_preferred_memory_instruction for AMD processsors.
10870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10871 Set bit_Prefer_SSE_for_memop for AMD processors.
10873 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10875 * libio/fmemopen.c (fmemopen): Optimize a bit.
10877 2011-03-03 Andreas Schwab <schwab@redhat.com>
10879 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10881 2011-03-03 Roland McGrath <roland@redhat.com>
10883 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10885 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10887 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10888 __bzero_ultra1 instead of __memset_ultra1.
10890 2011-02-23 Andreas Schwab <schwab@redhat.com>
10891 Ulrich Drepper <drepper@gmail.com>
10894 * include/link.h (struct link_map): Add l_orig_initfini.
10895 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10896 returning unsuccessfully.
10897 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10898 close of a file loaded at startup, restore the original l_initfini
10900 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10901 list, store the pointer.
10902 * elf/Makefile ($(objpfx)noload-mem): New rule.
10903 (noload-ENV): Define.
10904 (tests): Add $(objpfx)noload-mem.
10905 * elf/noload.c: Include <memcheck.h>.
10906 (main): Call mtrace. Close all opened handles.
10908 2011-02-17 Andreas Schwab <schwab@redhat.com>
10911 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10912 dependencies are missing.
10914 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10916 Fix __if_freereq crash: Unlike the generic version which uses free,
10918 * sysdeps/mach/hurd/ifreq.h: New file.
10920 2011-01-27 Petr Baudis <pasky@suse.cz>
10921 Ulrich Drepper <drepper@gmail.com>
10924 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10925 to extend_alloca().
10926 * stdio-common/bug23.c: New file.
10927 * stdio-common/Makefile (tests): Add bug23.
10929 2010-09-28 Andreas Schwab <schwab@redhat.com>
10930 Ulrich Drepper <drepper@gmail.com>
10933 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10934 before performing relro protection. At old place add assertion
10935 to make sure nothing changed.
10937 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10938 Glauber de Oliveira Costa <glommer@gmail.com>
10940 * elf/elf.h: Add new ARM TLS relocs.
10942 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10945 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10947 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10949 * sysdeps/wordsize-64/tst-writev.c: New file.
10951 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10953 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10954 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10955 insns in _dl_start to prevent a TOC reference before relocs are
10958 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10961 * Makeconfig: Remove RANLIB definition.
10962 * Makerules: Don't use RANLIB.
10963 * aclocal.m4: Remove ranlib test.
10964 * configure.in: No need to check for ranlib.
10965 * elf/rtld-Rules: Don't use RANLIB.
10967 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10969 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10971 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10972 inclusion protection macro.
10974 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10975 SIGRTMIN and SIGRTMAX and print information in that case only when
10976 SIGRTMIN is defined.
10978 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10980 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10981 arginfo fn returning -1.
10983 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10984 and thousands string is zero terminated.
10986 2011-02-03 Andreas Schwab <schwab@redhat.com>
10988 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10989 sysdeps/unix/sysv/linux/bits/socket.h.
10991 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10993 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10994 (__CPU_COUNT): Remove old macros.
10995 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10996 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10997 (__CPU_ALLOC, __CPU_FREE): Add macros.
10998 (__sched_cpualloc, __sched_cpufree): Add declarations.
11000 2011-02-05 Ulrich Drepper <drepper@gmail.com>
11002 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11003 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11004 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11005 (readdhstai): Return value of addhstaiX call.
11006 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11007 (addgrbyX): Return value returned by cache_addgr.
11008 (readdgrbyname): Return value returned by addgrbyX.
11009 (readdgrbygid): Likewise.
11010 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11011 (addpwbyX): Return value returned by cache_addpw.
11012 (readdpwbyname): Return value returned by addhstbyX.
11013 (readdpwbyuid): Likewise.
11014 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11015 (addservbyX): Return value returned by cache_addserv.
11016 (readdservbyname): Return value returned by addservbyX:
11017 (readdservbyport): Likewise.
11018 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11019 (addhstbyX): Return value returned by cache_addhst.
11020 (readdhstbyname): Return value returned by addhstbyX.
11021 (readdhstbyaddr): Likewise.
11022 (readdhstbynamev6): Likewise.
11023 (readdhstbyaddrv6): Likewise.
11024 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11025 (readdinitgroups): Return value returned by addinitgroupsX.
11026 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11027 (prune_cache): Keep track of timeout value of re-added entries.
11028 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11029 * nscd/nscd.h: Adjust prototypes of readd* functions.
11031 2011-02-04 Roland McGrath <roland@redhat.com>
11033 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11034 (nis_stats): Likewise.
11035 * nis/nis_modify.c (nis_modify): Likewise.
11036 * nis/nis_remove.c (nis_remove): Likewise.
11037 * nis/nis_add.c (nis_add): Likewise.
11039 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11041 * posix/fnmatch_loop.c: Add some consts.
11043 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11045 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11048 * config.make.in (config-cflags-novzeroupper): Define.
11049 * configure.in: Substitute libc_cv_cc_novzeroupper.
11050 * elf/Makefile (AVX-CFLAGS): Define.
11051 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11052 (CFLAGS-tst-auditmod4a.c): Likewise.
11053 (CFLAGS-tst-auditmod4b.c): Likewise.
11054 (CFLAGS-tst-auditmod6b.c): Likewise.
11055 (CFLAGS-tst-auditmod6c.c): Likewise.
11056 (CFLAGS-tst-auditmod7b.c): Likewise.
11057 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11059 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11061 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11062 function to the callback.
11063 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11065 2011-02-02 Andreas Schwab <schwab@redhat.com>
11067 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11070 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11073 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11075 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11077 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11080 * elf/Makefile: Add rules to build and run new test.
11081 * elf/tst-initorder.c: New file.
11082 * elf/tst-initorder.exp: New file.
11083 * elf/tst-initordera1.c: New file.
11084 * elf/tst-initordera2.c: New file.
11085 * elf/tst-initordera3.c: New file.
11086 * elf/tst-initordera4.c: New file.
11087 * elf/tst-initorderb1.c: New file.
11088 * elf/tst-initorderb2.c: New file.
11089 * elf/tst-order-a1.c: New file.
11090 * elf/tst-order-a2.c: New file.
11091 * elf/tst-order-a3.c: New file.
11092 * elf/tst-order-a4.c: New file.
11093 * elf/tst-order-b1.c: New file.
11094 * elf/tst-order-b2.c: New file.
11095 * elf/tst-order-main.c: New file.
11096 New test case by George Gensure <werkt0@gmail.com>.
11098 2010-10-01 Andreas Schwab <schwab@redhat.com>
11100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11101 decoding ACE if AI_CANONIDN.
11103 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11105 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11107 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11109 * version.h (RELEASE): Bump for 2.13 release.
11110 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11112 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11114 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11116 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11117 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11118 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11119 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11120 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11121 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11123 * posix/getconf.c: Update copyright year.
11124 * catgets/gencat.c: Likewise.
11125 * csu/version.c: Likewise.
11126 * debug/catchsegv.sh: Likewise.
11127 * debug/xtrace.sh: Likewise.
11128 * elf/ldconfig.c: Likewise.
11129 * elf/ldd.bash.in: Likewise.
11130 * elf/sprof.c (print_version): Likewise.
11131 * iconv/iconv_prog.c: Likewise.
11132 * iconv/iconvconfig.c: Likewise.
11133 * locale/programs/locale.c: Likewise.
11134 * locale/programs/localedef.c: Likewise.
11135 * malloc/memusage.sh: Likewise.
11136 * malloc/mtrace.pl: Likewise.
11137 * nscd/nscd.c (print_version): Likewise.
11138 * nss/getent.c: Likewise.
11140 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11141 PF_CAIF, and PF_ALG.
11142 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11144 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11146 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11147 (modules-names): Use them.
11148 (ifunc-test-modules, ifunc-pie-tests): Define.
11149 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11150 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11151 (test-extras): Likewise.
11152 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11153 $(compile-command.c).
11154 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11155 (all-built-dso): Define.
11156 (check-textrel.out, check-execstack.out): Depend on it.
11158 * configure.in: Don't override --enable-multi-arch.
11160 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11163 * nscd/hstcache.c (tryagain): Define.
11164 (cache_addhst): Return tryagain not notfound for temporary errors.
11165 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11168 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11171 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11172 to make the syscall.
11173 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11176 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11177 and fall back to matching as normal character if the string ends before
11178 the matching ']' is found. This is what POSIX requires.
11179 * posix/testfnm.c: Adjust test result.
11180 * posix/globtest.sh: Adjust test result. Add new test.
11181 * posix/tst-fnmatch.input: Likewise.
11182 * posix/tst-fnmatch2.c: Add new test.
11184 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11186 * elf/Makefile (check-execstack): Revert last change. Depend on
11188 (check-execstack.h): New target.
11189 (generated): Add check-execstack.h.
11190 * elf/check-execstack.c: Include "check-execstack.h".
11191 (main): Revert last change.
11192 (handle_file): Return zero if GNU_STACK is absent and
11193 DEFAULT_STACK_PERMS doesn't include PF_X.
11195 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11197 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11198 in child fails because the descriptor is already closed.
11199 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11200 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11201 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11204 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11208 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11209 temporary buffer used to handle multi lookups locally.
11210 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11212 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11214 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11217 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11219 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11220 alignment for SSE2.
11222 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11225 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11226 characters. When rounding increased number of integer digits recompute
11228 * stdio-common/tst-grouping.c: New file.
11229 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11231 2011-01-09 Ulrich Drepper <drepper@gmail.com>
11233 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11234 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11236 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11238 * bits/select.h: Likewise.
11240 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11242 * po/ja.po: Update from translation team.
11244 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11247 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11248 implementation just like for lxstat, fxstatat, et al.
11250 2010-12-27 Jim Meyering <meyering@redhat.com>
11253 * posix/regexec.c (build_trtable): Return failure indication upon
11254 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11256 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11259 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11260 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11261 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11262 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11265 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11268 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11269 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11271 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11273 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11274 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11275 script has SORT_BY_INIT_PRIORITY.
11276 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11277 NO_CTORS_DTORS_SECTIONS is defined.
11278 * elf/soinit.c: Likewise.
11279 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11280 NO_CTORS_DTORS_SECTIONS is defined.
11281 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11282 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11283 * sysdeps/sh/init-first.c: Likewise.
11284 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11286 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11288 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11289 always use the slow path.
11291 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11293 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11294 similar rule which adds the sysdep directories to the header search in
11295 order to pick up the correct platform stackinfo.h.
11296 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11297 perform test if it is, otherwise return successfully without testing.
11298 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11299 DEFAULT_STACK_PERMS define in stackinfo.h.
11300 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11301 defined in stackinfo.h.
11302 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11303 DEFAULT_STACK_PERMS defined in stackinfo.h.
11304 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11305 * sysdeps/ia64/stackinfo.h: Likewise.
11306 * sysdeps/s390/stackinfo.h: Likewise.
11307 * sysdeps/sh/stackinfo.h: Likewise.
11308 * sysdeps/sparc/stackinfo.h: Likewise.
11309 * sysdeps/x86_64/stackinfo.h: Likewise.
11310 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11311 PF_X for powerpc64. Retain PF_X for powerpc32.
11313 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11315 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11317 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11318 GETDENTS_64BIT_ALIGNED.
11320 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11322 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11324 2010-12-10 Andreas Schwab <schwab@redhat.com>
11326 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11329 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11330 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11332 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11333 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11335 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11338 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11341 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11343 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11345 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11347 * po/it.po: Update from translation team.
11349 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11351 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11354 2010-11-30 Ulrich Drepper <drepper@gmail.com>
11356 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11358 2010-11-24 Andreas Schwab <schwab@redhat.com>
11360 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11362 (gaih_getanswer_slice): Likewise.
11364 2010-10-20 Jakub Jelinek <jakub@redhat.com>
11366 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11368 2010-05-31 Petr Baudis <pasky@suse.cz>
11371 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11372 silently even in the chroot mode.
11374 2010-11-22 Ulrich Drepper <drepper@gmail.com>
11376 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11377 last patch a bit. Pretty printing
11379 2010-05-31 Petr Baudis <pasky@suse.cz>
11382 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11383 initialization of skip_initgroups_dyn.
11385 2010-11-19 Ulrich Drepper <drepper@gmail.com>
11387 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11388 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11390 2010-11-16 Ulrich Drepper <drepper@gmail.com>
11392 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11394 2010-11-11 Andreas Schwab <schwab@redhat.com>
11396 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11397 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11398 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11399 ($(objpfx)tst-fnmatch-mem): New rule.
11400 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11401 * posix/tst-fnmatch.c (main): Call mtrace.
11403 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11406 Support Intel processor model 6 and model 0x2c.
11408 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
11410 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11413 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11416 * string/test-strncasecmp.c (check_result): New function.
11417 (do_one_test): Use it.
11418 (check1): New function.
11419 (test_main): Use it.
11420 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11421 Support strcasecmp and strncasecmp.
11423 2010-11-08 Ulrich Drepper <drepper@gmail.com>
11426 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11427 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11429 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11431 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11435 * sysdeps/x86_64/multiarch/bzero.S: New file.
11436 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11437 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11438 * sysdeps/x86_64/multiarch/memset.S: New file.
11439 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11441 Set bit_Prefer_SSE_for_memop for Intel processors.
11442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11444 (index_Prefer_SSE_for_memop): Define.
11445 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11447 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
11449 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11450 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11452 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11455 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11456 (__x86_64_raw_data_cache_size_half): Likewise.
11457 (__x86_64_raw_shared_cache_size): Likewise.
11458 (__x86_64_raw_shared_cache_size_half): Likewise.
11460 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11461 (__x86_64_raw_data_cache_size_half): Likewise.
11462 (__x86_64_raw_shared_cache_size): Likewise.
11463 (__x86_64_raw_shared_cache_size_half): Likewise.
11464 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11465 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11466 and __x86_64_raw_shared_cache_size_half. Round
11467 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11468 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11469 to multiple of 256 bytes.
11471 2010-11-03 Ulrich Drepper <drepper@gmail.com>
11474 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11475 of inacessible symlinks. Verify result of symlink before returning it.
11476 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11477 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11479 2010-10-28 Erich Ritz <erichritz@gmail.com>
11481 * math/math.h (isinf): Fix typo in comment.
11483 2010-11-01 Ulrich Drepper <drepper@gmail.com>
11485 * po/da.po: Update from translation team.
11487 2010-10-26 Ulrich Drepper <drepper@gmail.com>
11489 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11490 is added to the list.
11492 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11493 Ulrich Drepper <drepper@gmail.com>
11495 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11496 the global list here. Move code to...
11497 (_dl_add_to_namespace_list): ...here. New function.
11498 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11499 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11500 * elf/dl-load.c (lose): Don't remove the element from the list.
11501 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11502 (_dl_map_object): Likewise.
11504 2010-10-25 Ulrich Drepper <drepper@gmail.com>
11507 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11508 into all bytes of SSE register.
11509 Patch by Richard Li <richardpku@gmail.com>.
11511 2010-10-24 Ulrich Drepper <drepper@gmail.com>
11514 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11517 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11519 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11520 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11521 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11522 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11527 2010-10-22 Andreas Schwab <schwab@redhat.com>
11529 * include/dlfcn.h (__RTLD_SECURE): Define.
11530 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11531 mode & __RTLD_SECURE instead.
11532 (open_path): Rename preloaded parameter to secure.
11533 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11534 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11535 * elf/dl-deps.c (openaux): Likewise.
11536 * elf/rtld.c (struct map_args): Remove is_preloaded.
11537 (map_doit): Don't use it.
11538 (dl_main): Likewise.
11539 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11540 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11542 2010-09-09 Andreas Schwab <schwab@redhat.com>
11544 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11545 (sysd-rules-targets): Remove duplicates.
11546 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11547 rtld-%.$o dependency.
11549 2010-10-18 Andreas Schwab <schwab@redhat.com>
11551 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11552 _dl_map_object do it.
11554 2010-10-19 Ulrich Drepper <drepper@gmail.com>
11556 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11557 fast fma builtins, define the macros in the C99 standard.
11558 (FP_FAST_FMAF): Likewise.
11559 (FP_FAST_FMAL): Likewise.
11560 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11562 * bits/mathdef.h: Update copyright year.
11563 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11565 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11567 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11568 builtins, define the macros in the C99 standard.
11569 (FP_FAST_FMAF): Likewise.
11570 (FP_FAST_FMAL): Likewise.
11571 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11573 (FP_FAST_FMAF): Likewise.
11575 2010-10-15 Jakub Jelinek <jakub@redhat.com>
11578 * math/libm-test.inc (fma_test): Some new testcases.
11579 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11580 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11581 y and infinite z. Do multiplication by C already in long double.
11582 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11584 y and infinite z. Do bitwise or of inexact bit into u.d.
11585 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11586 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11587 * sysdeps/i386/fpu/s_fma.S: Removed.
11588 * sysdeps/i386/fpu/s_fmal.S: Removed.
11590 2010-10-16 Jakub Jelinek <jakub@redhat.com>
11593 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11594 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11595 computation is not scheduled after fetestexcept. Fix value
11596 of minimum denormal long double.
11598 2010-10-14 Jakub Jelinek <jakub@redhat.com>
11601 * math/libm-test.inc (fma_test): Add some more tests.
11602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11605 2010-10-15 Andreas Schwab <schwab@redhat.com>
11607 * scripts/data/localplt-s390-linux-gnu.data: New file.
11608 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11610 2010-10-13 Jakub Jelinek <jakub@redhat.com>
11613 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11614 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11616 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11618 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11619 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11620 if one of x and y is very large and the other is subnormal.
11621 * sysdeps/s390/fpu/s_fmaf.c: New file.
11622 * sysdeps/s390/fpu/s_fma.c: New file.
11623 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11624 * sysdeps/powerpc/fpu/s_fma.S: New file.
11625 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11626 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11627 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11629 2010-10-12 Jakub Jelinek <jakub@redhat.com>
11632 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11634 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11635 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11636 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11637 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11638 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11639 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11640 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11642 2010-10-12 Ulrich Drepper <drepper@redhat.com>
11645 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11646 * posix/bug-regex31.input: Add test case.
11648 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11650 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11651 * posix/bug-regex31.input: New file.
11654 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11655 (parse_sub_exp): Fix last change, use postorder.
11657 * posix/bug-regex31.c: New file.
11658 * posix/Makefile: Add rules to build and run bug-regex31.
11660 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11663 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11666 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11667 to have entries in sys_siglist.
11670 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11673 2010-10-07 Jakub Jelinek <jakub@redhat.com>
11676 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11677 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11678 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11679 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11680 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11681 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11682 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11683 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11684 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11685 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11686 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11687 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11688 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11689 * math/ftestexcept.c (fetestexcept): Likewise.
11690 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11691 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11692 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11693 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11694 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11695 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11696 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11698 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11701 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11704 2010-10-06 Ulrich Drepper <drepper@gmail.com>
11706 * string/bug-strstr1.c: New file.
11707 * string/Makefile: Add rules to build and run bug-strstr1.
11709 2010-10-05 Eric Blake <eblake@redhat.com>
11712 * string/str-two-way.h (two_way_long_needle): Always clear memory
11713 when skipping input due to the shift table.
11715 2010-10-03 Ulrich Drepper <drepper@gmail.com>
11718 * malloc/mcheck.c: Handle large requests.
11721 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11722 for strncmp and strncasecmp.
11723 * string/stratcliff.c: Add tests for strcmp and strncmp.
11724 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11726 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11728 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11731 2010-09-30 Andreas Jaeger <aj@suse.de>
11733 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11734 (CGROUP_SUPER_MAGIC): Define.
11735 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11736 Handle btrfs and cgroup file systems.
11737 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11740 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
11742 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11743 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11745 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11748 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11749 trying to locate the ELF header.
11751 2010-09-27 Andreas Schwab <schwab@redhat.com>
11754 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11755 Mask out sign-bit copies when constructing f_fsid.
11757 2010-09-24 Petr Baudis <pasky@suse.cz>
11759 * debug/stack_chk_fail_local.c: Add missing licence exception.
11760 * debug/warning-nop.c: Likewise.
11762 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11764 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11765 implementing getdents64 using getdents syscall, set d_type if
11766 __ASSUME_GETDENTS32_D_TYPE.
11768 2010-09-16 Andreas Schwab <schwab@redhat.com>
11770 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11771 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11773 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11776 * posix/unistd.h: Undo change of feature selection for ftruncate from
11779 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11781 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11784 2010-09-20 Andreas Schwab <schwab@redhat.com>
11786 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11788 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11790 2010-09-14 Andreas Schwab <schwab@redhat.com>
11792 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11793 variables after CHECK_SP call.
11794 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11796 2010-09-13 Andreas Schwab <schwab@redhat.com>
11797 Ulrich Drepper <drepper@redhat.com>
11799 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11800 re-relocationg ld.so.
11801 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11802 _dl_init_paths call.
11803 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11806 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11808 * resolv/res_init.c (__res_vinit): Count the default server we added.
11810 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11811 Ulrich Drepper <drepper@redhat.com>
11814 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11815 (____longjmp_chk): Use %ebx for saving value across system call.
11818 2010-09-06 Andreas Schwab <schwab@redhat.com>
11820 * manual/Makefile: Don't mix pattern rules with normal rules.
11822 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11824 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11826 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11827 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11828 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11829 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11833 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11836 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11837 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11839 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11841 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11842 * sysdeps/x86_64/addmul_1.S: Likewise.
11843 * sysdeps/x86_64/lshift.S: Likewise.
11844 * sysdeps/x86_64/mul_1.S: Likewise.
11845 * sysdeps/x86_64/rshift.S: Likewise.
11846 * sysdeps/x86_64/sub_n.S: Likewise.
11847 * sysdeps/x86_64/submul_1.S: Likewise.
11849 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11851 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11852 Define __sched_param instead of SCHED_* and sched_param when
11853 <bits/sched.h> is included with __need_schedparam defined.
11854 * bits/sched.h [__need_schedparam]
11855 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11856 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11857 (__defined_schedparam): Define to 1.
11858 (__sched_param): New structure, identical to sched_param.
11859 (__need_schedparam): Undefine.
11861 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11863 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11864 (epoll_create1): Declare.
11866 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11868 2010-08-31 Andreas Schwab <schwab@redhat.com>
11871 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11872 shifting retval into place.
11874 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11876 * nis/rpcsvc/nis.h: Update copyright notice.
11877 * nis/rpcsvc/nis.x: Likewise.
11878 * nis/rpcsvc/nis_callback.h: Likewise.
11879 * nis/rpcsvc/nis_callback.x: Likewise.
11880 * nis/rpcsvc/nis_object.x: Likewise.
11881 * nis/rpcsvc/nis_tags.h: Likewise.
11882 * nis/rpcsvc/yp.h: Likewise.
11883 * nis/rpcsvc/yp.x: Likewise.
11884 * nis/rpcsvc/ypupd.h: Likewise.
11885 * nis/yp_xdr.c: Likewise.
11886 * nis/ypupdate_xdr.c: Likewise.
11888 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11889 mainly the body of pmap_getport. Add parameters to specify timeouts.
11890 (pmap_getport): Use __libc_rpc_getport.
11891 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11892 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11893 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11895 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11900 2010-08-27 Roland McGrath <roland@redhat.com>
11902 * sysdeps/i386/i686/multiarch/Makefile
11903 (CFLAGS-varshift.c): New variable.
11905 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11907 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11908 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11910 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11912 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11914 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11916 * sysdeps/x86_64/strlen.S: Unroll the loop.
11917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11918 strlen-sse2 strlen-sse2-bsf.
11919 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11920 __strlen_no_bsf if bit_Slow_BSF is set.
11921 (__strlen_sse42): Removed.
11922 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11923 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11925 2010-08-25 Roland McGrath <roland@redhat.com>
11927 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11928 * sysdeps/x86_64/multiarch/varshift.c: New file.
11929 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11930 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11931 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11932 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11934 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11937 strlen-sse2 strlen-sse2-bsf.
11938 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11939 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11940 (__strlen_sse2): Removed.
11941 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11942 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11944 bit_Slow_BSF for Atom.
11945 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11946 (index_Slow_BSF): Define.
11947 (HAS_SLOW_BSF): Define.
11949 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11952 * resolv/res_init.c (__res_vinit): When no server address at all
11953 is given default to loopback.
11955 2010-08-24 Roland McGrath <roland@redhat.com>
11957 * configure.in: Remove config-name.h generation.
11958 * configure: Regenerated.
11959 * config-name.in: File removed.
11960 * scripts/config-uname.sh: New file.
11961 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11962 ($(objdir)config-name.h): New target.
11964 * sunrpc/rpc_parse.h: Avoid nested comment.
11966 2010-08-24 Richard Henderson <rth@redhat.com>
11967 Ulrich Drepper <drepper@redhat.com>
11968 H.J. Lu <hongjiu.lu@intel.com>
11970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11972 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11973 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11974 _mm_alignr_epi8 with _mm_loadu_si128.
11975 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11976 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11977 (__m128i_shift_right): Removed.
11978 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11979 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11980 * sysdeps/x86_64/multiarch/varshift.h: New file.
11981 * sysdeps/x86_64/multiarch/varshift.S: New file.
11983 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11985 * configure.in: Move assembler checks to before sysdep dir checking.
11987 2010-08-20 Petr Baudis <pasky@suse.cz>
11989 * LICENSES: Sync the sunrpc license.
11991 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11993 * sunrpc/auth_des.c: Update copyright notice once again.
11994 * sunrpc/auth_none.c: Likewise.
11995 * sunrpc/auth_unix.c: Likewise.
11996 * sunrpc/authdes_prot.c: Likewise.
11997 * sunrpc/authuxprot.c: Likewise.
11998 * sunrpc/bindrsvprt.c: Likewise.
11999 * sunrpc/clnt_gen.c: Likewise.
12000 * sunrpc/clnt_perr.c: Likewise.
12001 * sunrpc/clnt_raw.c: Likewise.
12002 * sunrpc/clnt_simp.c: Likewise.
12003 * sunrpc/clnt_tcp.c: Likewise.
12004 * sunrpc/clnt_udp.c: Likewise.
12005 * sunrpc/clnt_unix.c: Likewise.
12006 * sunrpc/des_crypt.c: Likewise.
12007 * sunrpc/des_soft.c: Likewise.
12008 * sunrpc/get_myaddr.c: Likewise.
12009 * sunrpc/getrpcport.c: Likewise.
12010 * sunrpc/key_call.c: Likewise.
12011 * sunrpc/key_prot.c: Likewise.
12012 * sunrpc/openchild.c: Likewise.
12013 * sunrpc/pm_getmaps.c: Likewise.
12014 * sunrpc/pm_getport.c: Likewise.
12015 * sunrpc/pmap_clnt.c: Likewise.
12016 * sunrpc/pmap_prot.c: Likewise.
12017 * sunrpc/pmap_prot2.c: Likewise.
12018 * sunrpc/pmap_rmt.c: Likewise.
12019 * sunrpc/rpc/auth.h: Likewise.
12020 * sunrpc/rpc/auth_unix.h: Likewise.
12021 * sunrpc/rpc/clnt.h: Likewise.
12022 * sunrpc/rpc/des_crypt.h: Likewise.
12023 * sunrpc/rpc/key_prot.h: Likewise.
12024 * sunrpc/rpc/netdb.h: Likewise.
12025 * sunrpc/rpc/pmap_clnt.h: Likewise.
12026 * sunrpc/rpc/pmap_prot.h: Likewise.
12027 * sunrpc/rpc/pmap_rmt.h: Likewise.
12028 * sunrpc/rpc/rpc.h: Likewise.
12029 * sunrpc/rpc/rpc_des.h: Likewise.
12030 * sunrpc/rpc/rpc_msg.h: Likewise.
12031 * sunrpc/rpc/svc.h: Likewise.
12032 * sunrpc/rpc/svc_auth.h: Likewise.
12033 * sunrpc/rpc/types.h: Likewise.
12034 * sunrpc/rpc/xdr.h: Likewise.
12035 * sunrpc/rpc_clntout.c: Likewise.
12036 * sunrpc/rpc_cmsg.c: Likewise.
12037 * sunrpc/rpc_common.c: Likewise.
12038 * sunrpc/rpc_cout.c: Likewise.
12039 * sunrpc/rpc_dtable.c: Likewise.
12040 * sunrpc/rpc_hout.c: Likewise.
12041 * sunrpc/rpc_main.c: Likewise.
12042 * sunrpc/rpc_parse.c: Likewise.
12043 * sunrpc/rpc_parse.h: Likewise.
12044 * sunrpc/rpc_prot.c: Likewise.
12045 * sunrpc/rpc_sample.c: Likewise.
12046 * sunrpc/rpc_scan.c: Likewise.
12047 * sunrpc/rpc_scan.h: Likewise.
12048 * sunrpc/rpc_svcout.c: Likewise.
12049 * sunrpc/rpc_tblout.c: Likewise.
12050 * sunrpc/rpc_util.c: Likewise.
12051 * sunrpc/rpc_util.h: Likewise.
12052 * sunrpc/rpcinfo.c: Likewise.
12053 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12054 * sunrpc/rpcsvc/key_prot.x: Likewise.
12055 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12056 * sunrpc/rpcsvc/mount.x: Likewise.
12057 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12058 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12059 * sunrpc/rpcsvc/rex.x: Likewise.
12060 * sunrpc/rpcsvc/rstat.x: Likewise.
12061 * sunrpc/rpcsvc/rusers.x: Likewise.
12062 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12063 * sunrpc/rpcsvc/spray.x: Likewise.
12064 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12065 * sunrpc/rtime.c: Likewise.
12066 * sunrpc/svc.c: Likewise.
12067 * sunrpc/svc_auth.c: Likewise.
12068 * sunrpc/svc_authux.c: Likewise.
12069 * sunrpc/svc_raw.c: Likewise.
12070 * sunrpc/svc_run.c: Likewise.
12071 * sunrpc/svc_simple.c: Likewise.
12072 * sunrpc/svc_tcp.c: Likewise.
12073 * sunrpc/svc_udp.c: Likewise.
12074 * sunrpc/svc_unix.c: Likewise.
12075 * sunrpc/svcauth_des.c: Likewise.
12076 * sunrpc/xcrypt.c: Likewise.
12077 * sunrpc/xdr.c: Likewise.
12078 * sunrpc/xdr_array.c: Likewise.
12079 * sunrpc/xdr_float.c: Likewise.
12080 * sunrpc/xdr_mem.c: Likewise.
12081 * sunrpc/xdr_rec.c: Likewise.
12082 * sunrpc/xdr_ref.c: Likewise.
12083 * sunrpc/xdr_sizeof.c: Likewise.
12084 * sunrpc/xdr_stdio.c: Likewise.
12086 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12089 2010-08-19 Andreas Schwab <schwab@redhat.com>
12091 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12093 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12095 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12096 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12097 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12098 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12099 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12100 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12101 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12102 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12103 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12104 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12105 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12106 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12107 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12108 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12110 2010-07-26 Anton Blanchard <anton@samba.org>
12112 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12113 * malloc/arena.c (heap_trim): Likewise.
12115 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12117 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12119 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12120 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12122 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12124 * sysdeps/i386/elf/Makefile: New file.
12126 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12128 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12129 from fanotify_init.
12130 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12131 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12133 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12135 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12137 * sysdeps/multiarch/strcmp.S: Likewise.
12139 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12141 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12142 strncase_l-nonascii.
12143 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12144 Add strncase_l-ssse3.
12145 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12146 * sysdeps/x86_64/strcmp.S: Likewise.
12147 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12148 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12149 * sysdeps/x86_64/strncase.S: New file.
12150 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12151 * sysdeps/x86_64/strncase_l.S: New file.
12152 * string/Makefile (strop-tests): Add strncasecmp.
12153 * string/test-strncasecmp.c: New file.
12155 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12158 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12159 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12161 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12163 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12165 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12167 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12168 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12169 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12171 2010-05-01 Alan Modra <amodra@gmail.com>
12173 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12174 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12175 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12176 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12177 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12178 tidying. Don't tail-call __sigjmp_save for static lib.
12179 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12181 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12182 (CALL_MCOUNT): Add eh info, and nop after bl.
12183 (TAIL_CALL_SYSCALL_ERROR): New macro.
12184 (PSEUDO_RET): Use it.
12185 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12186 Correct save location of integer regs and cr.
12187 (_dl_profile_resolve): Correct cr save location. Delete nops
12188 after bl when SHARED. Reduce cfi size a little by better
12189 placement of cfi directives.
12190 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12191 make a stack frame. Instead use parm save area as a temp.
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12193 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12195 Don't make a stack frame for parent, use parm save area.
12196 Increase child stack frame to 112 bytes. Don't save unused reg,
12197 and adjust reg usage. Set up cfi on error recovery and
12198 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12200 (__makecontext): Add dummy nop after jump to exit.
12201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12202 Use correct parm save area and cr save, reduce stack frame.
12203 Correct cfi for possible PSEUDO_RET frame setup.
12204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12205 Branch to local label emitted by PSEUDO_RET rather than
12208 2010-08-12 Andreas Schwab <schwab@redhat.com>
12211 * locale/programs/locale.c (print_assignment): New function.
12212 (show_locale_vars): Use it.
12214 2010-08-11 Ulrich Drepper <drepper@redhat.com>
12216 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12218 (struct statfs64): Likewise.
12219 (_STATFS_F_FLAGS): Define.
12220 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12221 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12222 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12223 (ST_VALID): Define locally.
12224 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12225 __statvfs_getflags, use the provided value.
12226 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12227 __ASSUME_STATFS_F_FLAGS.
12229 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12231 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12232 Add sys/fanotify.h.
12233 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12234 fanotify_mask for GLIBC_2.13.
12235 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12236 fanotify_init and fanotify_mark.
12237 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12238 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12240 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12242 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12243 prlimit64 for GLIBC_2.13.
12244 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12246 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12249 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12250 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12251 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12252 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12254 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12257 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12258 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12260 * nss/Makefile: Add rules to build and run tst-nss-test1.
12261 * shlib-versions: Add entry for libnss_test1.
12262 * nss/nss_test1.c: New file.
12263 * nss/tst-nss-test1.c: New file.
12265 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12266 (__nss_configure_lookup): Set appropriate entry in
12267 __nss_configure_lookup to true.
12268 * nss/nsswitch.h: Define enum with indeces of databases in
12269 databases and __nss_database_custom arrays. Declare
12270 __nss_database_custom.
12271 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12272 to avoid using nscd when custom rules are installed.
12273 * nss/getXXbyYY_r.c: Likewise.
12274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12276 * nss/nss_files/files-parse.c: Whitespace fixes.
12278 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12281 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12282 * posix/fnmatch_loop.c: Likewise.
12284 2010-07-17 Andi Kleen <ak@linux.intel.com>
12286 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12287 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12288 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12289 * Versions.def [GLIBC_2.13]: Add.
12291 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12293 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12294 Also fail if tpwd after pwuid call is NULL.
12296 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12298 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12299 when converting to ms.
12301 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12303 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12304 EOPNOTSUPP errors with ENOTTY.
12305 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12306 EOPNOTSUPP errors with ENOTTY.
12308 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12310 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12311 Add strcasecmp_l-ssse3.
12312 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12314 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12315 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12316 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12318 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12320 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12322 * string/Makefile (strop-tests): Add strcasecmp.
12323 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12324 strcasecmp_l-nonascii.
12325 (gen-as-const-headers): Add locale-defines.sym.
12326 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12327 * sysdeps/x86_64/strcasecmp.S: New file.
12328 * sysdeps/x86_64/strcasecmp_l.S: New file.
12329 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12330 * sysdeps/x86_64/locale-defines.sym: New file.
12331 * string/test-strcasecmp.c: New file.
12333 * string/test-strcasestr.c: Test both ends of the range of characters.
12334 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12336 2010-07-29 Roland McGrath <roland@redhat.com>
12339 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12341 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12343 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12346 2010-07-27 Andreas Schwab <schwab@redhat.com>
12348 * manual/memory.texi (Malloc Tunable Parameters): Document
12351 2010-07-26 Roland McGrath <roland@redhat.com>
12354 * configure.in (-fgnu89-inline check): Set and substitute
12355 gnu89_inline, not libc_cv_gnu89_inline.
12356 * configure: Regenerated.
12357 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12359 2010-07-26 Ulrich Drepper <drepper@redhat.com>
12361 * string/test-strnlen.c: New file.
12362 * string/Makefile (strop-tests): Add strnlen.
12363 * string/tester.c (test_strnlen): Add a few more test cases.
12364 * string/tst-strlen.c: Better error reporting.
12366 * sysdeps/x86_64/strnlen.S: New file.
12368 2010-07-24 Ulrich Drepper <drepper@redhat.com>
12370 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12371 lower-latency instructions.
12373 2010-07-23 Ulrich Drepper <drepper@redhat.com>
12375 * string/test-strcasestr.c: New file.
12376 * string/test-strstr.c: New file.
12377 * string/Makefile (strop-tests): Add strstr and strcasestr.
12378 * string/str-two-way.h: Don't undefine MAX.
12379 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12381 2010-07-21 Andreas Schwab <schwab@redhat.com>
12383 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12384 strcasestr-nonascii.
12385 (CFLAGS-strcasestr-nonascii.c): Define.
12386 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12387 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12388 Remove unused attribute.
12390 2010-07-20 Roland McGrath <roland@redhat.com>
12392 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12393 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12394 ld.so.cache was broken. With it, there is no way to disable dsocaps
12395 like LD_HWCAP_MASK can disable hwcaps.
12397 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12399 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12401 2010-07-16 Ulrich Drepper <drepper@redhat.com>
12403 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12404 call in strcasestr.
12405 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12406 __strcasestr_sse42_nonascii.
12407 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12408 strcasestr-nonascii.c.
12409 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12411 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
12413 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12414 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12415 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12416 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12418 2010-07-09 Ulrich Drepper <drepper@redhat.com>
12420 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12423 2010-07-06 Andreas Schwab <schwab@redhat.com>
12426 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12429 2010-07-06 Ulrich Drepper <drepper@redhat.com>
12431 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12432 _PC_PIPE_BUF using F_GETPIPE_SZ.
12434 2010-07-05 Roland McGrath <roland@redhat.com>
12436 * manual/arith.texi (Rounding Functions): Fix rint description
12437 implicit in round description.
12439 2010-07-02 Ulrich Drepper <drepper@redhat.com>
12441 * elf/Makefile: Fix linking for a few tests to make recent linker
12444 2010-06-30 Andreas Schwab <schwab@redhat.com>
12446 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12447 $(common-objpfx)libc_nonshared.a.
12449 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
12451 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12452 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12453 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12454 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12455 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12456 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12457 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12458 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12473 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12474 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12475 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12476 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12477 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12478 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12479 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12480 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12481 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12482 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12483 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12484 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12500 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12502 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12503 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12504 * string/memmove.c (memmove): Renamed to ...
12505 (MEMMOVE): ...this. Default to memmove.
12506 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12507 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12510 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12511 mempcpy-ssse3-back memmove-ssse3-back.
12512 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12513 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12514 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12515 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12516 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12517 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12518 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12519 * sysdeps/x86_64/multiarch/memmove.c: New file.
12520 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12521 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12522 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12523 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12524 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12525 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12527 (index_Fast_Copy_Backward): Define.
12528 (HAS_ARCH_FEATURE): Define.
12529 (HAS_FAST_REP_STRING): Define.
12530 (HAS_FAST_COPY_BACKWARD): Define.
12532 2010-06-21 Andreas Schwab <schwab@redhat.com>
12534 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12535 Restore proper fallback handling.
12537 2010-06-19 Ulrich Drepper <drepper@redhat.com>
12540 * posix/group_member.c (__group_member): Correct checking loop.
12542 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12543 OOM in getpwuid_r correctly. Return error number when the caller
12544 should return, otherwise -1.
12545 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12546 call returning > 0 value.
12547 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12549 2010-06-07 Andreas Schwab <schwab@redhat.com>
12551 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12552 libc_nonshared.a from targets in modules-names.
12554 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12556 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12559 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
12561 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12562 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12563 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12564 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12566 2010-06-02 Andreas Schwab <schwab@redhat.com>
12568 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12570 2010-06-14 Ulrich Drepper <drepper@redhat.com>
12572 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12574 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12575 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12577 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12579 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12581 2010-06-14 Roland McGrath <roland@redhat.com>
12583 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12585 2010-06-07 Jakub Jelinek <jakub@redhat.com>
12587 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12588 __REDIRECT followed by __THROW.
12589 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12590 * posix/getopt.h (getopt): Likewise.
12592 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12594 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12595 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12596 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12598 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12599 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12601 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
12603 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12605 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12609 Properly check family and model.
12611 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12613 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12615 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
12617 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12619 2010-05-21 Ulrich Drepper <drepper@redhat.com>
12621 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12624 2010-05-19 Andreas Schwab <schwab@redhat.com>
12626 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12629 2010-05-21 Andreas Schwab <schwab@redhat.com>
12631 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12632 and internal_recvmmsg.
12633 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12634 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12635 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12636 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12638 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12639 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12640 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12642 2010-05-20 Andreas Schwab <schwab@redhat.com>
12644 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12646 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
12648 POWER7 optimizations.
12649 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12650 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12652 2010-05-19 Ulrich Drepper <drepper@redhat.com>
12654 * version.h: Update for 2.13 development version.
12656 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
12658 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12659 exceptions. Return 0.
12661 2010-05-07 Roland McGrath <roland@redhat.com>
12663 * elf/ldconfig.c (main): Add a const.
12665 2010-05-06 Ulrich Drepper <drepper@redhat.com>
12667 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12668 (args_options): Add no-idn option.
12669 (ahosts_keys_int): Add idn_flags to ai_flags.
12670 (parse_option): Handle 'i' option to clear idn_flags.
12672 * malloc/malloc.c (_int_free): Possible race in the most recently
12673 added check. Only act on the data if no current modification
12676 See ChangeLog.17 for earlier changes.